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

Wirth's Law

https://en.wikipedia.org/wiki/Wirth%27s_law
1•RinTohsaka•5m ago•0 comments

Designing Software for Software Factories

https://blog.sshh.io/p/designing-software-for-software-factories
1•sshh12•5m ago•0 comments

The Ruby JRuby Was Built to Run

https://intertwingly.net/blog/2026/06/11/The-Ruby-JRuby-Was-Built-to-Run.html
1•mooreds•8m ago•0 comments

Rails: The Sharp Parts. Lock Is Not a Mutex

https://baweaver.com/writing/2026/06/05/rails-sharp-parts-lock-is-not-a-mutex/
1•mooreds•9m ago•0 comments

Timeline of HN

https://news.ycombinator.com/threads?id=ChrisArchitect
3•razor-thin•10m ago•0 comments

LLM Token Price Index

https://tokenpriceindex.com
1•zurtri•11m ago•1 comments

Building a Functional Lego Typewriter [video]

https://www.youtube.com/watch?v=ZIWTSkCVxjk
1•vinnyglennon•12m ago•0 comments

Battery recycling boom exposes schoolchildren to lead

https://www.ft.com/content/19beeed4-8c99-4de3-a163-9301210634ad
1•petethomas•14m ago•0 comments

VTubeMe

https://vtubeme.com
1•alekcac•16m ago•1 comments

Show HN: Pebble, an open-source alternative to Minecraft: Java Edition

https://github.com/thebriangao/pebble
1•briangao•18m ago•1 comments

Is the Twenty-First Century a Creative Void?

https://yalereview.org/article/audrey-wollen-david-marx-blank-space
1•tintinnabula•18m ago•0 comments

Show HN: How to prevent spam and disposable signups

https://emailverify.se/
1•the_plug•19m ago•0 comments

Amazon security research reportedly led to the White House's Anthropic Fable ban

https://www.theverge.com/ai-artificial-intelligence/949601/amazon-anthropic-fablemythos-governmen...
2•kikibobo69•19m ago•0 comments

W.H. Auden and James Schuyler in life and literature

https://hedgehogreview.com/web-features/thr/posts/companions-on-parnassus
2•Caiero•25m ago•0 comments

Bubbles.town – posts aggregated from 5007 independent, personal blogs

https://bubbles.town/
2•Curiositry•26m ago•0 comments

Rio 3.5 Open 397B – from Rio de Janeiro's city government

https://huggingface.co/prefeitura-rio/Rio-3.5-Open-397B
2•mcyc•32m ago•1 comments

Frontier: Elite 2 intro (Roland SCC-1) 1993 PC DOS [video]

https://www.youtube.com/watch?v=NzveVFilqMU
1•doener•34m ago•0 comments

Their friends are making $100M. Everyone else is wondering how to catch up

https://www.washingtonpost.com/technology/2026/06/13/ipo-boom-mints-thousands-new-millionaires-si...
2•edward•34m ago•4 comments

US orders Anthropic to disable AI models for all foreign nationals

https://www.aljazeera.com/news/2026/6/13/us-orders-anthropic-to-disable-ai-models-for-all-foreign...
3•untitled-now•37m ago•1 comments

What every coder should know about Gamma Correction

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
1•sph•38m ago•0 comments

Show HN: Awsmap – query your AWS inventory with SQL or plain English, offline

https://github.com/TocConsulting/awsmap
1•CloudHackerFr•42m ago•1 comments

Founders, your tech startup is not going public

https://sudbh11.substack.com/p/founders-your-software-company-is
3•sudbh11•46m ago•1 comments

Show HN: Bye-wk – Hide World Cup news from your feed

https://github.com/Braitenberg/bye-wk
1•kjex0•49m ago•0 comments

Designing a Symbol Layer

https://getreuer.info/posts/keyboards/symbol-layer/index.html
1•firephox•51m ago•0 comments

Is Privacy the Latest Luxury?

https://www.ft.com/content/185a3419-a760-468b-b71e-59095ab874e2
3•petethomas•51m ago•0 comments

Ask HN: How to avoid stressing yourself because of a micromanager?

3•ciwolex•52m ago•1 comments

Run your laptop from your couch – couchpilot

https://github.com/zkalykov/couchpilot
2•zkalykov•53m ago•1 comments

The Geomblog: The "Fable" of Anthropic and the USG

http://blog.geomblog.org/2026/06/the-fable-of-anthropic-and-usg.html
1•donohoe•53m ago•1 comments

Visa Vulnerability Agentic Harness (built with Mythos)

https://github.com/visa/visa-vulnerability-agentic-harness
1•binyu•57m ago•0 comments

Cambrian Explosion: When Complexity Met Complexity

https://medium.com/@rbridges_40571/the-cambrian-explosion-when-complexity-met-complexity-76d56f0f...
1•cleansingfire•57m ago•1 comments