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

Yes, you can create a lot with Pascal Today

https://www.getlazarus.org/
1•sysrpl•1m ago•1 comments

The Return of Wake-Sleep

https://twitter.com/nikogrupen/status/2108226990792900876
1•gmays•1m ago•0 comments

No One Is Coming to Fix the Subsea Cables (March 2026)

https://rb.ax/blog/no-one-is-coming-to-fix-the-subsea-cables/
1•speckx•1m ago•0 comments

The Subterranean Battle Playing Out Deep in Ukraine's Soviet-Era Pipelines

https://www.wsj.com/world/europe/the-subterranean-battle-playing-out-deep-in-ukraines-soviet-era-...
1•theflyingelvis•3m ago•0 comments

Vector indexes: HNSW, IVF-PQ, ScaNN, and which database to pick

https://www.tianjerry.com/blog/vector-indexes
1•t7y•4m ago•0 comments

Are time series foundation models ready to ship?

https://devetak.github.io/data/timestral_blog.html
1•burekqueen•4m ago•0 comments

Self-host your own Claude Artifacts

https://artifactserver.com/
2•ramoz•7m ago•0 comments

Metalenses and metamaterials could enable invisibility cloaks

https://bigthink.com/starts-with-a-bang/invisibility-cloak-183582/
1•dustfinger•8m ago•0 comments

Ads in ChatGPT Free and Go Plans

2•hliyan•9m ago•0 comments

AI Is 'Amplifying the Destruction' of War

https://www.404media.co/ai-is-already-amplifying-the-destruction-of-war/
1•gumby•12m ago•0 comments

A software factory is just a durable workflow

https://builders.cortex.io/blog/software-factory-automations/
1•nikhilunni•12m ago•0 comments

Quad9 (DNS Resolver) to Exit France

https://quad9.net/news/blog/au-revoir-france/
4•farrokhi•12m ago•0 comments

Understanding Proxy Servers: A Practical View for Web Developers

https://hideproxy.io/
1•MeadowMayer•12m ago•1 comments

DeepSeek just raised $15 billion to take on OpenAI and Anthropic

https://www.bloomberg.com/news/articles/2026-10-22/deepseek-raises-15-billion-in-challenge-to-lea...
4•mrkn1•12m ago•0 comments

Foursquare co-founder says equity holders saw no returns from its acquisition

https://techcrunch.com/2026/10/21/foursquare-co-founder-says-equity-holders-saw-no-returns-from-t...
2•goldfishgold•12m ago•1 comments

The Classical Determinism and The Quantum Theory by Prof.S.N.Bose 1944 [pdf]

https://www.bose.res.in/Prof.S.N.Bose-Archive/objects/0053.pdf
1•rramadass•13m ago•1 comments

The anatomy of a personal health agent

https://www.nature.com/articles/s41586-026-11161-8
1•brandonb•16m ago•0 comments

MPs moving to restrict gambling ads in Canada amid mounting harms

https://www.cbc.ca/news/investigates/gambling-ads-restrictions-canada-9.7388888
3•Teever•18m ago•0 comments

Show HN: Fidelic – A local Salesforce emulator that runs your Apex and org

https://www.fidelic.dev/
1•cliqer1•19m ago•0 comments

Enroute: Programmable Git infrastructure on object storage

https://enroute.sh
1•handfuloflight•19m ago•0 comments

Know what your startup offer is worth

https://compdecoder.com/
1•mbloom1915•19m ago•1 comments

In-Vivo CRISPR/Base-Editing "One-Shot" Therapies Targeting PCSK9

https://link.springer.com/article/10.1007/s11883-026-01470-8
3•brandonb•20m ago•0 comments

How eMudhra Bug Was Discovered

https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/0R3XLJL6FuE/m/JESKy8XoAgAJ
1•karel-3d•20m ago•0 comments

Wasp Framework 1.0 is coming

https://wasp.sh/blog/2026/10/20/wasp-1-0-is-coming
2•matijash•20m ago•0 comments

Show HN: Zilla – Use the OpenAI SDK to Call Claude and Gemini

https://github.com/aklivity/zilla-demos/blob/main/llm.gateway/README.md
2•kit2509•21m ago•0 comments

Migrate Your 300-Node Redis Cluster to Just 3 Lavik Nodes

https://lavik.dev/en/blog/300-redis-nodes-to-3-lavik-nodes/
2•hubertzhang•21m ago•1 comments

Let's Make Hiring Less of a Gamble

1•xarlon•23m ago•0 comments

Recreate the Apollo Guidance Computer

https://www.raspberrypi.com/news/recreate-the-apollo-guidance-computer/
1•Brajeshwar•23m ago•0 comments

Local network privacy is getting better

https://eclecticlight.co/2026/10/22/local-network-privacy-is-getting-better/
1•Brajeshwar•24m ago•0 comments

Tell your network to explain itself and then some

https://unixdigest.com/tutorials/tell-your-network-to-explain-itself-and-then-some.html
1•speckx•24m ago•0 comments