frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Plot lines of code over time in Git repositories

https://github.com/emanueldonalds/git-loc-plot
2•genericspammer•1y ago
It's a small wrapper around cloc (https://github.com/AlDanial/cloc), which just provides a convenient way to plot lines of code over time in a Git repository.

The script runs cloc on each commit in your current branch, starting from HEAD tracing back until the first commit.

For large repositories with many commits, you can tell it to only count every n:th commit with the '--step' option to speed up processing.

The way it works is quite sub-optimal, since every single file is counted in each commit, even if the file didn't change since last iteration. Might be a fun project later to find some nice optimizations, maybe by counting files one by one and keeping a dict of line count by file hash, or something along those lines.

Maybe someone will find this script useful, maybe not, anyways happy to hear if someone has any thoughts :)

Electric Cheaper to Operate Than Diesel for Almost Half of Trucks Sold in EU

https://cleantechnica.com/2026/09/28/electric-trucks-cheaper-to-operate-than-diesel-for-almost-ha...
1•gumby•14s ago•0 comments

China's AI Ecosystem: A Background Explainer

https://oxfordchinapolicylab.org/research/china-s-ai-ecosystem-a-background-explainer
1•herbertl•1m ago•0 comments

OmniAtlas – paste a job posting, get a matched learning path

https://omniatlas.ai/match
1•hamidsth•1m ago•0 comments

Starship Is in Orbit

https://www.theguardian.com/science/2026/sep/28/spacex-starship-rocket-orbits-earth-texas
1•saikatsg•2m ago•0 comments

Headed for the Exit: The Great Engineering Leader Career Break

https://newsletter.pragmaticengineer.com/p/the-great-engineering-leader-career-break
2•iamflimflam1•2m ago•0 comments

California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops

https://www.kqed.org/news/12101534/california-farmers-are-struggling-to-sell-grapes-as-demand-for...
1•randycupertino•3m ago•0 comments

Scientists solve 1840s space weather mystery

https://arstechnica.com/science/2026/09/scientists-solve-1840s-space-weather-mystery/
2•gumby•4m ago•0 comments

Show HN: Add hourly schedules to your ChatGPT Ads

https://campaignhours.com/
1•alentodorov•4m ago•0 comments

rewriting the Angular compiler in Rust

https://blog.angular.dev/an-update-on-angulars-typescript-7-powered-compiler-9619a35e2b0a
2•0xedb•4m ago•0 comments

Online toxicity silences the majority and fuels power users

https://www.psypost.org/how-online-toxicity-silences-the-majority-and-fuels-power-users/
1•bjourne•5m ago•0 comments

Voice middleware for Gemini Live with decoupled VAD and local interruption

https://sagethegreat.vercel.app/
1•Sabeski•5m ago•0 comments

AI's hidden $3T bill could wreck the world economy

https://www.telegraph.co.uk/business/2026/09/28/ais-hidden-3tn-bill-could-wreck-the-world-economy/
2•elorant•6m ago•0 comments

My 1 TB Mac needed 8 TB to migrate, apparently

https://shivankaul.com/blog/migration-assistant-sparse-files
1•speckx•6m ago•0 comments

Reverse Engineering the iPod Classic's Undocumented Mikey Chip

https://terminalbytes.com/reverse-engineering-ipod-classic-mikey-chip/
2•ibobev•9m ago•0 comments

It's Time to Investigate the AI Labs

https://calnewport.com/its-time-to-investigate-the-ai-labs/
4•ibobev•10m ago•0 comments

What If Automating AI R&D Triggers an Intelligence Explosion?

https://www.thefai.org/posts/what-if-automating-ai-r-and-d-triggers-an-intelligence-explosion
1•mellosouls•10m ago•0 comments

Dropping Swift from our Bevy iOS crates

https://rustunit.com/blog/2026/09-04-bevy-ios-crates-objc2/
1•ibobev•10m ago•0 comments

Executable Archaeology: Simon's Version of Yngve's Sentence Generator (1961)

https://github.com/jeffshrager/ExecutableArchaeology/tree/main/SimonYngveSentenceGenerator
1•abrax3141•11m ago•0 comments

Why mental metaphors do not help us understand chatbot mistakes

https://link.springer.com/article/10.1007/s11229-026-05551-8
1•ThrowawayR2•11m ago•0 comments

Edge Is Pretending to Be Chrome

https://idiallo.com/blog/edge-imitates-chrome
2•foxfired•18m ago•0 comments

What Do You Mean by "This"? Rethinking Selection for AI Interfaces

https://medium.com/ai-widgets/what-do-you-mean-by-this-rethinking-selection-for-ai-interfaces-880...
1•azhenley•18m ago•0 comments

F/OSS Comics #10: The Life of Dennis Ritchie

https://fosscomics.com/posts/10.%20The%20Life%20of%20Dennis%20Ritchie/
1•joonehur•18m ago•0 comments

California expanded the right to delete today

https://www.getprivisy.com/blog/sb-923-ccpa-right-to-delete-signed
2•patrickwdaly•19m ago•0 comments

Helion Moves Goalpost on Fusion

https://www.axios.com/local/seattle/2026/09/28/helion-energy-orion-fusion-microsoft-commercial-po...
2•strongpigeon•19m ago•0 comments

First Breath – an open-source inner life for AI agents

https://first-breath-website.vercel.app/
1•aipixedev•19m ago•0 comments

Image similarity using ORB from OpenCV

https://jonatron.github.io/orb_similarity/demo/similarity.html
1•jonatron•20m ago•0 comments

Anthropic's Claude Max Plans Are Misleading at Best

https://nooneshappy.com/article/anthropics-claude-max-plans-are-misleading-at-best/
1•speckx•22m ago•0 comments

Ask HN: Do you have small victories to share for us to celebrate?

1•jamwise•24m ago•1 comments

Raleigh Vektar Restoration (2020)

https://retromash.com/2020/06/26/raleigh-vektar-restoration-part-1-the-arrival/
1•robin_reala•26m ago•0 comments

Build native iOS and Android apps at once, with your own AI

https://modaal.dev/
1•olenami•27m ago•0 comments