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

A Bush Plane, 72 Cans of Beer and the Unlikely Case That Could Help Big Business

https://www.wsj.com/us-news/law/a-bush-plane-72-cans-of-beer-and-the-unlikely-case-that-could-hel...
1•mudil•56s ago•0 comments

Human military relevance is more important than economic relevance

https://www.lesswrong.com/posts/MSk9tqAmrmeasFgAZ/human-military-relevance-is-more-important-than...
1•BenPace•2m ago•0 comments

Show HN: Supalock – Open-source security scanner and agent skills for Supabase

https://github.com/hermes-lekkas/supalock
1•Hermes_dev•4m ago•0 comments

Show HN: Shotbox – I improved my native Mac screenshot experience

https://getshotbox.app/
1•jais_mukesh•7m ago•0 comments

9tab: 9front in a Browser Tab

https://9tab.us/
1•sprayk•8m ago•1 comments

Doom on an E-Paper price tag with 24KB RAM [video]

https://www.youtube.com/watch?v=WtvfnRPapb0
1•helsinkiandrew•10m ago•0 comments

Starlink Limits Force Ukraine to Fight with the Brakes On

https://www.wsj.com/world/how-starlink-limits-force-ukraine-to-fight-with-the-brakes-on-3fd1d605
3•rl3•15m ago•0 comments

Software Is Dead, Dying, or on Notice

https://www.codevoid.net/ruminations/2026/11/29/software-is-dead.html
3•grork•22m ago•1 comments

First Blood Drawn

https://marginalrevolution.com/marginalrevolution/2026/11/first-blood-drawn.html
2•Michelangelo11•25m ago•0 comments

How I Made a 3D Game in 1KB of JavaScript: Skydreams [video]

https://www.youtube.com/watch?v=rFjkGBYDIP0
2•sandebert•27m ago•0 comments

Europe cannot 'sleep through the AI revolution'

https://www.euronews.com/2026/11/18/europe-cannot-sleep-through-the-ai-revolution-tech-leaders-ur...
3•andsoitis•27m ago•0 comments

He won an award for his short story. Then he was accused of using AI

https://www.cnn.com/2026/11/29/africa/simbarashe-kundizeza-caine-prize-ai-controversy-cec
4•mooreds•27m ago•0 comments

America is snatching many of Europe's best founders

https://www.economist.com/business/2026/11/29/america-is-snatching-many-of-europes-best-founders
2•andsoitis•27m ago•0 comments

Flexibly Centering an Element with Side-Aligned Content

https://meyerweb.com/eric/thoughts/2022/04/26/flexibly-centering-an-element-with-side-aligned-con...
2•jez•30m ago•0 comments

Climate change is predicted to drive mass species turnover in cities

https://journals.plos.org/plosone/article/file?type=printable&id=10.1371/journal.pone.0299217
3•toomuchtodo•31m ago•1 comments

Show HN: Hampora AI – Autonomous AI Marketing Platform (Rish AI Labs)

https://hamporaai.com/
2•rishailabs•31m ago•0 comments

The Agent Use of Agent Beings

https://arxiv.org/abs/2605.10754
4•todsacerdoti•33m ago•0 comments

The Mick Jagger Interview

https://www.youtube.com/watch?v=qiBgj8pk0fA
2•Betelbuddy•33m ago•1 comments

Metafun: Premiers Pas

https://www.lesfichesabebert.fr/TeX/metafun/MetaFunPremierPas.html
2•todsacerdoti•33m ago•0 comments

Neural Amp Modeler (Nam) Architecture 2 (A2)

https://www.tone3000.com/blog/introducing-neural-amp-modeler-nam-architecture-2-a2
2•dsego•34m ago•0 comments

Every Las Vegas Flight in OpenTelemetry, Ahead of Re:Invent

https://www.dash0.com/blog/every-las-vegas-flight-in-opentelemetry-ahead-of-reinvent
3•mooreds•36m ago•0 comments

What Fable 5 co-authored in my repo: features designed to never fire

https://github.com/augustgermar/Lisan/issues/25
1•augustgermar•36m ago•0 comments

GloriART Internet Radio 3.0.0

https://gloriart.net/radio/
2•EmiIIius•46m ago•0 comments

How Abdul El-Sayed Pulled It Off

https://www.thebulwark.com/p/inside-story-the-making-of-a-brash-divisive-groundbreaking-senator-e...
2•Anon84•46m ago•0 comments

I Fucking Hate Snaps

https://ifuckinghatesnaps.com/
13•kennydale•46m ago•4 comments

Ask HN: Advice on Being a Founding Engineer?

1•nkcodes•52m ago•1 comments

Sony launches its new Walkman series, with a price tag of up to ¥655,000

https://www.japantimes.co.jp/business/2026/11/27/companies/new-sony-walkman/
2•mikhael•53m ago•0 comments

Nimony 0.6.4 release, a new compiler for the next Nim

https://nimony.org/version_0_6_4.html
2•llacane•55m ago•0 comments

A.I. Is His Wingman

https://www.nytimes.com/2026/11/29/technology/ai-dating-chatgpt-claude.html
2•vrganj•56m ago•1 comments

Winning Comma AI's PCB Golf Contest, Defending the Crown

https://anasmalas.com/7999/
2•ai_critic•59m ago•0 comments