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

AI Is Discovering the Doorman Fallacy [video]

https://www.youtube.com/watch?v=f-QzIum9bNU
1•bane•54s ago•0 comments

Europe swelters under heatwave, France restricts alcohol consumption

https://www.reuters.com/business/environment/europe-swelters-under-heatwave-prompting-crisis-talk...
1•montalbano•4m ago•0 comments

A short story about Indian scammers who called the cops on themselves

https://xcancel.com/zachxbt/status/2067938523986932005#m
1•Cider9986•8m ago•0 comments

The Scorpion and the Frog

https://en.wikipedia.org/wiki/The_Scorpion_and_the_Frog
1•password54321•8m ago•0 comments

Show HN: Alloy – a Torch backend and inference engine for Apple Silicon

https://github.com/rayanht/alloy
1•rayanht•9m ago•0 comments

Ask HN: Why are desktop AI apps so heavy?

1•yconst•11m ago•0 comments

Show HN: Botacts – Phonebook of AI Bots

https://botacts.com
1•christoph123•16m ago•0 comments

Dallas Fed: 30% of housing cost increase driven by unauthorized immigration [pdf]

https://www.dallasfed.org/~/media/documents/research/papers/2026/wp2607.pdf
7•silexia•17m ago•1 comments

EEG Machine

https://micahetter.me/EEGMachine/
2•geerlingguy•21m ago•0 comments

DOS Library utilizing a second CPU core

https://github.com/arjunae/2core_dos
1•beebix•26m ago•0 comments

Ask HN: What is your #1 practical lesson or "aha" moment from coding with AI?

2•johndavid9991•29m ago•1 comments

Supermarket giant Tesco sues VMware for breach of contract

https://www.theregister.com/software/2025/09/03/supermarket-giant-tesco-sues-vmware-for-breach-of...
9•wglb•32m ago•1 comments

A Day with Laravel #59 – Hand-curated Laravel packages, tutorials and trends

https://a-day-with-laravel.happyto.dev/p/a-day-with-laravel-059
1•happytodev•40m ago•1 comments

Show HN: LoopFlow – loop engineering for Claude Code

https://github.com/faisalishfaq2005/loopflow
2•faisalishfaq•41m ago•0 comments

Linux Eliminates the Strncpy API After Six Years of Work, 360 Patches

https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
23•simonpure•42m ago•4 comments

You're Accountable for the Team. You're Not in Charge of It

https://yourdevteamcoach.com/blog/youre-accountable-for-the-team-youre-not-in-charge-of-it
2•sea-gold•45m ago•1 comments

The UK will scan asylum seekers' faces for age checks

https://www.wired.com/story/facial-age-estimate-uk-asylum-seekers/
5•Lihh27•49m ago•0 comments

Trump says he no longer views Anthropic as a threat after G7 meeting

https://thenextweb.com/news/trump-anthropic-not-national-security-threat-axios-interview
19•billybuckwheat•51m ago•2 comments

Incorrectly Generated RSA Keys: How I Learned to Recover Lost Plaintexts

https://academic.oup.com/comjnl/article-abstract/66/6/1342/6995423?redirectedFrom=fulltext
2•rbanffy•52m ago•0 comments

Seeing the world in radio waves with the QuadRF

https://hackaday.com/2026/06/20/seeing-the-world-in-radio-waves-with-the-quadrf/
10•ikbdsk•54m ago•0 comments

RFC 9958: Post-Quantum Cryptography for Engineers

https://datatracker.ietf.org/doc/html/rfc9958
2•hasheddan•54m ago•0 comments

Solo Founder Sales Playbook –sales tools for technical founders who hate selling

https://getsalesspark.com/
1•erichensley•55m ago•0 comments

Workflow builder built with just Sandboxes

https://twitter.com/karatzas_thomas/status/2061840456992919997
1•szaneer•55m ago•0 comments

Pulse – a local dashboard for Claude Code, approve tool calls from your phone

https://github.com/nikitadoudikov/claude-pulse
2•nikitadvd•55m ago•0 comments

MosaicLeaks: Can your research agent keep a secret?

https://huggingface.co/blog/ServiceNow/mosaicleaks
1•gmays•56m ago•0 comments

The Tech Billionaire Plan to Destroy Democracy – GIL Duran – TMR [video]

https://www.youtube.com/watch?v=stPijjCneXM
3•wturner•58m ago•0 comments

'Helmsniff'; a Helm Security Scanner

https://github.com/VahidR/helmsniff
2•vahid_r•59m ago•0 comments

Why the EU rewrote its landmark AI law

https://www.theparliamentmagazine.eu/news/article/why-the-eu-rewroteits-landmark-ai-law
2•thinkingemote•1h ago•0 comments

UK Home Office launches £75M 'PoliceAI' to capitalise on artificial intelligence

https://www.publictechnology.net/2026/06/15/public-order-justice-and-rights/home-office-launches-...
32•thinkingemote•1h ago•46 comments

Scaling a Monolith to 1M LOC: 113 Pragmatic Lessons

https://www.semicolonandsons.com/articles/scaling-a-monolith-to-1m-loc-113-pragmatic-lessons
2•jackkinsella•1h ago•0 comments