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•10mo 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 :)

Google Offers Free PC Upgrade for 500M Windows Users

https://www.forbes.com/sites/zakdoffman/2026/04/07/google-offers-free-pc-upgrade-for-500-million-...
1•blitzar•3m ago•0 comments

I still build apps for myself

https://blog.kulman.sk/why-i-still-build-ios-apps/
1•ig0r0•3m ago•0 comments

Pg_sage – Agentic Postgres Dba

https://github.com/jasonmassie01/pg_sage
1•pg_sage•5m ago•0 comments

Ask HN: Should AI credits be refunded on mistakes?

1•ed_elliott_asc•10m ago•1 comments

Surprising links between autism, Alzheimer's could change how we treat both

https://www.washingtonpost.com/health/2026/04/02/autism-alzheimers-link-research-treatment/
1•pseudolus•11m ago•1 comments

Why Claude Mythos is not AGI

https://lucrbvi.bearblog.dev/claude-mythos-is-not-agi/
2•lucrbvi•13m ago•1 comments

A little bit, everywhere, all at once

https://ghostsofthemachine.substack.com/p/a-little-bit-everywhere-all-at-once
1•gemniii•13m ago•0 comments

OpenSSH to warn for non post-quantum key agreement scheme

https://www.openssh.org/pq.html
1•j03b•14m ago•0 comments

They're Made Out of Meat (1991)

http://www.terrybisson.com/theyre-made-out-of-meat-2/
2•surprisetalk•14m ago•0 comments

Why LLMs Are Bad Writers but Good Editors

https://jasmi.news/p/ai-writing
2•surprisetalk•14m ago•0 comments

Why I'm a Quaker

https://thingofthings.substack.com/p/why-im-a-quaker
1•surprisetalk•14m ago•0 comments

Read Hobbes, Locke, Hume, and Mill via Earlymoderntexts.com

https://arjunpanickssery.substack.com/p/you-should-read-hobbes-locke-hume
1•surprisetalk•15m ago•0 comments

US disrupts Russian military-run DNS hijacking network

https://www.reuters.com/business/media-telecom/us-disrupts-russian-military-run-dns-hijacking-net...
2•2OEH8eoCRo0•17m ago•0 comments

Operation "Epic Fury" Deepens Transatlantic Rift: U.S., EU at Odds over Security

https://militarnyi.com/en/articles/operation-epic-fury-deepens-transatlantic-rift-u-s-and-europe-...
2•vrganj•18m ago•0 comments

Wrote an extension for the Thunderbird Client to help protect from Phishing

https://addons.thunderbird.net/en-US/thunderbird/addon/stop-phishing-me/
2•StopPhisingMe•19m ago•1 comments

The hundred most influential books since the war (2008)

https://web.archive.org/web/20100619010636/http://entertainment.timesonline.co.uk/tol/arts_and_en...
2•MyOtherAct•20m ago•0 comments

Who Would Be Scared If AI Replaced Their Jobs?

https://maxglobalnews.com/if-ai-takes-over-we-lose-our-jobs-but-if-ai-fails-we-also-lose-our-jobs/
1•videobroker•23m ago•0 comments

Show HN: Voxcode: local speech to text and ripgrep = transcript and code context

https://github.com/jensneuse/voxcode
1•jensneuse•24m ago•1 comments

Americans Are Drowning in Debt? 60% or More

https://www.patreon.com/posts/debt-slavery-is-155080852
3•videobroker•25m ago•0 comments

Apple in Talks to Boost Mac Neo Production as Sales Exceed Expectations

https://www.culpium.com/p/apple-in-talks-to-boost-mac-neo-production
2•kristianp•26m ago•0 comments

Understanding the Go Runtime: The System Monitor

https://internals-for-interns.com/posts/go-sysmon/
2•valyala•30m ago•0 comments

Greece to ban under-15s from social media from next year

https://news.sky.com/story/greece-to-ban-under-15s-from-social-media-from-next-year-13529181
6•austinallegro•33m ago•0 comments

Men Are Buying Hacking Tools to Use Against Their Wives and Friends

https://www.wired.com/story/men-are-buying-hacking-tools-to-use-against-their-wives-and-friends/
2•joozio•33m ago•0 comments

Breakthrough in AI Solving Math Conjectures: Peking Univ. Team's Exploration

https://chinaresearchcollective.substack.com/p/a-new-breakthrough-in-ai-solving
2•seekdeep•34m ago•2 comments

Did it get dumber? Tracking Claude Code and Codex according to HN comments

https://diditgetdumber.com/
2•lebek•34m ago•2 comments

RFC 0015: Pi Licensing

https://rfc.earendil.com/0015/
1•tosh•38m ago•0 comments

Reading /etc./passwd through a translation file upload (CVE-2026-32251)

https://simonkoeck.com/writeups/tolgee-xxe-translation-import
1•soeckly•38m ago•0 comments

Hugging Face Contributes Safetensors to PyTorch Foundation

https://www.linuxfoundation.org/press/pytorch-foundation-announces-safetensors-as-newest-contribu...
1•rbanffy•38m ago•0 comments

DuckLake's 900x Speed Claim:A Database in Your Catalog Is Worth Two in the Cloud

https://www.banandre.com/blog/ducklake-900x-speed-claim-data-inlining-analysis
1•pholanda•40m ago•0 comments

Why Your Engineering Team Is Slow (It's the Codebase, Not the People)

https://piechowski.io/post/codebase-drag-audit/
2•grepsedawk•41m ago•0 comments