frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Rewrite System Showdown: Stochastic Search vs. EqSat

https://arxiv.org/abs/2605.19005
1•pcfwik•3m ago•0 comments

Scheme Interpreter

https://cs61a.org/proj/scheme/
1•HiPHInch•5m ago•0 comments

Understanding KV Cache: The Hidden Memory Cost of Serving LLMs

https://melchi.me/posts/kv-cache/
1•colescodes•8m ago•0 comments

Opn-Chat

https://opn-chat-v1-freebuff.vercel.app
1•fcapuz•8m ago•0 comments

Workers in India are training robots that may replace them

https://indianexpress.com/article/business/workers-india-training-robots-replace-factory-10698712/
3•methuselah_in•9m ago•0 comments

Why does the arrow (->) operator in C exist?

https://stackoverflow.com/questions/13366083/why-does-the-arrow-operator-in-c-exist
2•gnabgib•13m ago•0 comments

Trump admin didn't want Ebola-exposed Americans, sent them to Berlin, Prague

https://arstechnica.com/health/2026/05/trump-admin-didnt-want-ebola-exposed-americans-sent-them-t...
3•donutshop•16m ago•0 comments

Housekeeping Wages to Top $110K Year in New York City by Early 2030s

https://loyaltylobby.com/2026/05/20/housekeeping-wages-to-top-110k-year-in-new-york-city-by-early...
1•lxm•19m ago•0 comments

Amazon E-Bikes Take Root in Manhattan and Brooklyn

https://www.nytimes.com/2026/05/19/business/amazon-cargo-bikes-delivery.html
1•lxm•19m ago•0 comments

Google's open source distributed agent runtime

https://github.com/google/ax
2•rnella01•23m ago•0 comments

Birth Rate Debate: 40% of Girls Will Never Be Mothers [video]

https://www.youtube.com/watch?v=8eCM3NTBeb4
2•poiuyt098•23m ago•1 comments

Why does the arrow (->) operator in C exist?

https://lobste.rs/s/garq37/why_does_arrow_operator_c_exist
2•maxloh•26m ago•1 comments

Why Fashion Needs a World Model

https://twitter.com/ArkidMitra/status/2057130009203298693
1•Arkid•27m ago•1 comments

Web5-Mesh (IAON)

https://github.com/mamanga1/Web5-Mesh/tree/main
1•mamanga•31m ago•1 comments

Show HN: SafeRun – Replay debugging and inline prevention for AI agents 3

1•Tidianez•32m ago•0 comments

25 years ago Sega figured out the internet with Phantasy Star Online

https://www.avclub.com/sega-phantasy-star-online-gaming
2•debo_•35m ago•0 comments

Show HN: Agent Chat Bridge – give AI IDE agents an async callback

https://github.com/sathvikc/agent-chat-bridge
1•sathvikchinnu•36m ago•0 comments

Xcodes: Command-line Xcode version manager

https://github.com/XcodesOrg/xcodes
1•Lwrless•39m ago•0 comments

Show HN: SnapAPI – Screenshot, metadata extraction, and PDF generation API

https://snap.michaelcli.com
1•msmolkin•40m ago•0 comments

Timmy the Whale Got Stranded Off the German Coast. Then Things Got Weird

https://www.nytimes.com/2026/05/20/world/europe/timmy-whale-dead-denmark-rescue.html
1•duxup•41m ago•1 comments

Figma Design Agent

https://www.figma.com/blog/the-figma-agent-is-here/
3•satvikpendem•42m ago•0 comments

The Google AI Pro plan just got a quiet downgrade

https://www.androidcentral.com/apps-software/ai/google-ai-pro-plan-just-got-a-quiet-downgrade
3•geox•44m ago•0 comments

Trump Executive Order Expands Bank Secrecy Act

https://www.therage.co/trump-executive-order-expands-bank-secrecy-act/
3•Cider9986•46m ago•2 comments

MoonRay, DreamWorks Animation's Open Source Production Renderer

https://www.aswf.io/news/moonray-dreamworks-animations-open-source-production-renderer-joins-the-...
3•qainsights•50m ago•1 comments

Ignis: Run Obsidian as a self-hosted web app

https://github.com/Nystik-gh/ignis
1•thunderbong•51m ago•0 comments

Apple's new iPhone comes with Israeli chips

https://nonogra.ph/apples-new-iphone-comes-with-israeli-chips-05-21-2026
12•han1•57m ago•1 comments

To study how chips work, MIT researchers built their own operating system

https://www.csail.mit.edu/news/study-how-chips-really-work-mit-researchers-built-their-own-operat...
3•littlexsparkee•1h ago•0 comments

I'm Filing for Justice Samuel Alito's Disbarment

https://cmarmitage.substack.com/p/samuel-alito-has-exposed-himself
23•ze0ng•1h ago•6 comments

Ultima Underworld Remake Released

https://kweepa.itch.io/unity-underground
2•vancroft•1h ago•0 comments

Androids Are All Dying, Except Google Pixel [video]

https://www.youtube.com/watch?v=Ph-TMMku1xk
2•mgh2•1h ago•1 comments