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

Mental health startup graveyard v1.2: 542 dead companies, seven patterns

https://mentalium.me/en/research/mental-health-startup-graveyard-v1-2/
1•trubetskov•55s ago•0 comments

Claude breached 3 firms. Phinq holds the tool call that would've stopped it

https://www.phinq.co/
1•Hythamh12•1m ago•0 comments

Asynchronous I/O in DuckDB: Work, Thread, Work

https://duckdb.org/2026/07/31/asynchronous-io
1•pdet•1m ago•0 comments

The Malleable HTML File Specification

https://malleablehtmlfile.com/
1•akagusu•2m ago•0 comments

When Agentic Glue Melts: Exploiting Cloudflare Code Mode and Workers

https://research.checkpoint.com/2026/when-agentic-glue-melts/
1•shahartal•3m ago•0 comments

50k Boat Names

https://www.beautifulpublicdata.com/boat-names/
3•jonathanmkeegan•4m ago•0 comments

Signal is working on a paid option to create an account without a phone number

https://aboutsignal.com/news/signal-login-registration-without-a-phone-number/
2•Cider9986•5m ago•0 comments

We 10×Ed Our AWS Bill by Checking Our AWS Bill

https://ultrathink.art/blog/the-cost-dashboard-that-couldnt-see-itself
2•justinpaulson•5m ago•0 comments

If you don't hear sirens, police are sure you'll feel Rumbler's acoustic assault

https://www.latimes.com/california/story/2026-08-10/lapd-rolls-out-rumbler-siren-some-fear-acoust...
2•ck2•5m ago•1 comments

Bring Back the Blue-Book Exam

https://www.theatlantic.com/magazine/2026/09/higher-education-in-person-written-exams/687954/
1•mooreds•8m ago•0 comments

Using Claude Code to reclaim mobile app privacy

https://www.thatprivacyguy.com/blog/using-claude-to-reclaim-privacy/
1•AlexanderHanff•8m ago•1 comments

Video: Elephant's leg gets trapped in an EV charger cable, mom takes out charger

https://evwire.com/p/elephant-attacks-ev-charger-china-puer-yunnan
1•juurikas•9m ago•0 comments

Apple Briefly Posts China Guide for Connecting Siri to Qwen AI

https://www.macrumors.com/2026/08/10/apple-posts-guide-for-connecting-siri-to-qwen-ai/
3•tosh•11m ago•0 comments

Category Theory Illustrated: From Sets to Categories

https://abuseofnotation.github.io/category-theory-illustrated/02_category/
1•frenchie_sans•11m ago•0 comments

The agent principal-agent problem

https://crawshaw.io/blog/agent-principal-agent
1•mooreds•11m ago•0 comments

Banking AI XSS: The exploit is in the payment reference

https://positive.security/blog/banking-ai-xss
2•breakingsystems•11m ago•0 comments

The Problem with Vibe-Coded Flattery

https://tedium.co/2026/08/09/vibe-coding-insincerity/
1•speckx•12m ago•0 comments

Turn your AI chat into a document generation engine

https://docuqueue.com/mcp
1•dvcoolarun•13m ago•0 comments

Training was just a side effect

https://fffej.substack.com/p/training-was-just-a-side-effect
1•mooreds•14m ago•0 comments

A Promising Heart Drug Fails, Challenging a Long-Held Theory of Disease

https://www.nytimes.com/2026/08/06/science/heart-disease-drug-fails-novo-nordisk.html
1•bhouston•15m ago•1 comments

Show HN: Online Speedometer

https://kmspeedometer.com/
1•artiomyak•16m ago•0 comments

I explored Tokyo and found peace there

https://www.kulman.sk/en/how-i-explored-tokyo-and-found-peace/
2•ig0r0•18m ago•0 comments

Deslopifying

https://martinsos.com/posts/deslopifying
1•matijash•19m ago•0 comments

Wellington second-hand bookstore's mysterious orders

https://www.rnz.co.nz/life/books/wellington-second-hand-book-store-s-mysterious-orders
2•lostlogin•19m ago•0 comments

Gigantic DapuStor R6060 512TB E2 NVMe SSD Shown at FMS 2026 – ServeTheHome

https://www.servethehome.com/gigantic-dapustor-r6060-512tb-e2-nvme-ssd-shown-at-fms-2026/
3•rbanffy•20m ago•0 comments

Joint Letter of AFC, Concacaf and UEFA

https://www.uefa.com/news-media/news/02a8-21501c254976-ca8bc2039a0f-1000--open-letter-to-the-foot...
3•tcp_handshaker•21m ago•0 comments

Protect Your Relays

https://www.iroh.computer/blog/authenticated-relays
1•surprisetalk•22m ago•0 comments

Can Extreme Morning Sickness Be Cured?

https://www.newyorker.com/news/essay/can-extreme-morning-sickness-be-cured
1•bookofjoe•24m ago•1 comments

SETI@Home was the coolest thing

4•b112•26m ago•0 comments

Show HN: Synchrium, a synchronized timer where remote peers meet at zero

https://synchrium.com/
1•areich•29m ago•0 comments