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

My file access workaround for cron in Tahoe

1•noduerme•1m ago•0 comments

Using LLMs effectively isn't about prompting

https://www.seangoedecke.com/beyond-prompting/
1•adityaathalye•4m ago•0 comments

Smoking ban for people born after 2008 in the UK agreed

https://www.bbc.co.uk/news/articles/cn08jy6w0l5o
1•AndrewDucker•5m ago•0 comments

Claude Sonnet 4.6 thinking duplicates what it has said, wasting tokens

1•szmarczak•6m ago•0 comments

French prosecutors issue summons to Musk after raid on X offices in Paris

https://courthousenews.com/french-prosecutors-issue-summons-to-musk-after-raid-on-x-offices-in-pa...
2•vrganj•6m ago•0 comments

AI Prevents Meritocracy

https://www.privacyguides.org/videos/2026/04/19/interview-with-carissa-veliz-author-of-privacy-is...
1•freddyym•6m ago•0 comments

Global growth in solar "the largest ever observed for any source"

https://arstechnica.com/science/2026/04/global-growth-in-solar-the-largest-ever-observed-for-any-...
1•AndrewDucker•7m ago•0 comments

Java script error: why The Devil Wears Prada 2's Starbucks tie-in leaves a taste

https://www.theguardian.com/film/2026/apr/21/the-devil-wears-prada-2-starbucks-collaboration
1•TruffleLabs•7m ago•1 comments

California tries to fix its housing mess

https://economist.com/united-states/2025/10/14/california-tries-to-fix-its-housing-mess
1•andsoitis•9m ago•0 comments

Digging for clues about the North Pole's past

https://www.technologyreview.com/2026/04/21/1135231/digging-for-truth-north-pole-past-seabed/
1•joozio•11m ago•0 comments

Schmoozebots: Study finds flattery will get AI everywhere

https://www.theregister.com/2026/04/20/chatbots_win_trust_by_sounding/
1•pseudolus•12m ago•1 comments

Ask HN: Is taking input from your microphone a TRNG?

1•smalltorch•12m ago•0 comments

BlackRock's AI Transformation

https://www.wsj.com/cio-journal/inside-blackrocks-ai-transformation-03a1e8c7
1•monkeydust•12m ago•0 comments

Quantum 'Jamming' Explores the Fundamental Principles of Nature

https://www.quantamagazine.org/quantum-jamming-explores-the-truly-fundamental-principles-of-natur...
1•pseudolus•13m ago•0 comments

Laws of Software Engineering

https://lawsofsoftwareengineering.com
2•milanm081•15m ago•0 comments

Show HN: Rapunzel, a tree-style tab browser for agents

https://github.com/salmanjavaid/rapunzel
1•WasimBhai•16m ago•0 comments

My favorite hard science fiction books by old masters

https://bookdna.com/best-books/hard-science-fiction-by-old-masters
2•bwb•17m ago•1 comments

AI Affiliate Campaign Builder

https://www.indiehackers.com/product/ai-affiliate-campaign-builder
1•rooseveltc•17m ago•0 comments

An amateur historian's favorite books about the Silk Road

https://bookdna.com/best-books/silk-road
1•bwb•19m ago•1 comments

Mail.gnu.org Is Down

1•phyzix5761•19m ago•0 comments

Show HN: Doxa – open-source platform for multiagent simulations using easy YAML

https://vincenzomanto.github.io/Doxa/
2•dinarino•21m ago•1 comments

Apple ignores DMA interoperability requests and contradicts own documentation

https://fsfe.org/news/2026/news-20260420-01.html
4•kirschner•22m ago•0 comments

I moved my AI's memory into a local database (better than folders and .md)

https://github.com/bradwmorris/ra-h_os/
3•bradwmorris•23m ago•1 comments

Good architecture shouldn't need a carrot or a stick

https://frederickvanbrabant.com/blog/2026-04-17-good-architecture-shouldnt-need-a-carrot-or-a-stick/
1•TheEdonian•24m ago•0 comments

Florida Man Working as Ransomware Negotiator Pleads Guilty to Ransomware Attacks

https://www.justice.gov/opa/pr/florida-man-working-ransomware-negotiator-pleads-guilty-conspiracy...
3•campuscodi•24m ago•0 comments

Grafana Labs acquires Logline to accelerate needle-in-the-haystack log queries

https://grafana.com/blog/grafana-labs-acquires-logline/
1•mkmk•25m ago•0 comments

The Technological Republic

https://twitter.com/PalantirTech/status/2045574398573453312
1•MrBuddyCasino•25m ago•1 comments

Kimi K2.6 with Strix: a quick test

https://theartificialq.github.io/2026/04/21/kimi-k26-with-strix-a-quick-test.html
1•TheArtificialQ•27m ago•0 comments

Show HN: Unwired – LLM-powered DNS to filter the internet

https://github.com/moe18/Unwired
1•mchab•27m ago•0 comments

Curator – Private "End of the World" Library

https://www.lianza.org.nz/professional-development/vacancies/curator-private-end-of-the-world-lib...
1•keithnz•30m ago•1 comments