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 :)

Elon Musk's Vision of the Future

https://www.economist.com/business/2026/07/23/elon-musks-vision-of-the-future
1•dsubburam•1m ago•0 comments

In search of a collaborative internet without big tech and server farms

https://seamside.com/docs/
2•akumpf•3m ago•0 comments

The Elm Architecture, Without Elm

https://bichanna.github.io/posts/tea-time/
1•theanonymousone•4m ago•0 comments

Namecheap Gave My Account to an Unverified Third Party Just Because They Asked

4•Thrashed•5m ago•0 comments

Microsoft responds to LG monitors installing McAfee ads on Windows

https://arstechnica.com/gadgets/2026/07/microsoft-responds-to-lg-monitors-installing-mcafee-ads-o...
2•worldsavior•7m ago•0 comments

Exploring Gymflation with AI

https://cbowdon.github.io/posts/gymflation/
1•sebg•8m ago•0 comments

Doctor Dario (Game)

https://doctordario.ai/
1•ipince•10m ago•0 comments

Evaluating AI Agents: A Production Blueprint with Strands and AgentCore

https://aws.amazon.com/blogs/machine-learning/evaluating-ai-agents-a-production-blueprint-with-st...
1•Imbiss•10m ago•0 comments

Colorblind: Checking figure accessibility for colour blind people

https://quantixed.org/2022/05/19/colorblind-checking-figure-accessibility-for-colour-blind-people/
1•sebg•10m ago•0 comments

Stripe in talks to buy OpenRouter for ~10B

https://www.wsj.com/tech/ai/stripe-in-talks-to-buy-buzzy-ai-model-marketplace-openrouter-decc6a74
3•htrp•11m ago•0 comments

Ask: Why does everything Microsoft create lately feel fragile and half-baked?

2•nothrowaways•13m ago•0 comments

ADTs (Algebraic Data Types) in Java

https://rockthejvm.com/articles/algebraic-data-types-in-java
1•theanonymousone•14m ago•0 comments

Official Swedish dictionary completed after 140 years (2023)

https://www.theguardian.com/world/2023/oct/25/official-swedish-dictionary-completed-after-140-years
2•theanonymousone•15m ago•0 comments

CalMac ferry bridge visits paused over passenger's filming with smart glasses

https://www.bbc.co.uk/news/articles/c77grkz46k3o
2•AndrewDucker•15m ago•0 comments

Show HN: AgentPulse, drift investigation for multi-agent systems

https://prove-ai.github.io/agentpulse/
1•leylal0016•15m ago•0 comments

AI Coding Will Prevent Expertise

https://larsfaye.com/articles/ai-coding-will-prevent-expertise
1•ragall•17m ago•0 comments

Couple pay >$800k for a gene-editing therapy for their daughter. She died.

https://www.science.org/content/article/exclusive-death-girl-chinese-gene-editing-trial-was-never...
2•Shortness8•18m ago•0 comments

Directed Agentic Graphs

https://jlowin.dev/blog/directed-agentic-graphs
1•tayloramurphy•18m ago•0 comments

Easy A's, Less Pay: The Long-Term Effects of Grade Inflation

https://www.nber.org/papers/w34952
1•sebg•19m ago•0 comments

Flock's CEO Says Its ALPRs Don't Do Video After Repeatedly Announcing They Can

https://www.404media.co/flocks-ceo-says-its-alprs-dont-do-video-after-repeatedly-announcing-they-...
1•cdrnsf•20m ago•0 comments

How does Q-head work in batch training in Tiny Recursive Networks?

https://www.kaggle.com/discussions/questions-and-answers/728582
1•SamCoding•20m ago•1 comments

DOJ Says Government Can Use TikTok Again Because 'Owned' No Longer Means 'Owned'

https://www.techdirt.com/2026/07/23/government-lawyers-say-trump-admin-can-use-tiktok-again-becau...
2•hn_acker•20m ago•0 comments

Project management in your repo

https://github.com/lovelace-co/lovelace
1•LambrosP•22m ago•0 comments

Show HN: LLM-budget-cap – atomic Redis spend cap for LLM APIs

https://github.com/Rentheria/llm-budget-cap
1•Rentheria•22m ago•0 comments

Show HN: Grounded-forge – RAG with summaries and task views precomputed ingest

https://github.com/chrisgagne/grounded-forge
1•chrisgagne•23m ago•0 comments

Show HN: Experimental freshness-first caching library for FastAPI

https://github.com/grandimam/zinda
1•grandimam•24m ago•0 comments

Technology Modernization Fund: Small Savings Achieved So Far

https://www.gao.gov/products/gao-26-107737
1•Jimmc414•27m ago•0 comments

Moss Is Generating Electrical Waves That Look Startlingly Like a Neural Network

https://www.sciencealert.com/moss-behaves-a-little-like-a-really-slow-brain-scientist-discovers
1•petethomas•28m ago•0 comments

How the most-used zero-knowledge proof system (Groth16) works

https://blog.zksecurity.xyz/posts/pudding-10-groth16/
1•baby•28m ago•0 comments

Demand for extra CPU capacity? Use a bug in POWER8 firmware

https://theibmi.org/2017/05/25/bug-in-mme-firmware/
1•rbanffy•28m ago•0 comments