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

The Anti-Palantir Manifesto

https://nonogra.ph/the-anti-palantir-manifesto-07-20-2026
2•arkhiver•7m ago•0 comments

Website Screen Capture: Recordings Your AI Can Read

https://cbrowser.ai/blog/screen-capture-recordings-your-ai-can-read/
1•alexandriaeden•8m ago•0 comments

History and Scale of the H1B Visa

https://numberstation.fm/the-body-shop/
1•StrageMusik•8m ago•0 comments

The crash that wasn't: debugging CI with AI

https://abbyssoul.github.io/engineering/2026/07/19/the-crash-that-wasnt-debugging-kinjo-ci-with-a...
1•sagevoid•10m ago•0 comments

Open BFME 1

https://github.com/Open-BFME/Open-BFME-1
1•OsrsNeedsf2P•11m ago•0 comments

Why some DVLA digital services don't work at night

https://dafyddvaughan.uk/blog/2025/why-some-dvla-digital-services-dont-work-at-night/
1•herbertl•12m ago•0 comments

A Painter's New York Loft that he Moved into in 1967 [video]

https://www.youtube.com/watch?v=_A_u4N08B9U
1•toomuchtodo•15m ago•0 comments

'Live' World Cup Broadcast Is Not Live

https://www.nytimes.com/2026/07/18/sports/soccer/world-cup-live-tv-delay.html
1•lxm•19m ago•1 comments

Quartermaster – self-hosted license server with offline signing key

https://github.com/laudendev/quartermaster
1•laudendev•19m ago•0 comments

Epub.js: Enhanced EBooks in the Browser

https://github.com/futurepress/epub.js/
2•gurjeet•22m ago•0 comments

Unvibe Is Here

https://unvibe.live
1•PrestonSusanto•27m ago•0 comments

Show HN: Headroom – measure your GPU's true bandwidth ceiling for local AI

https://ar5en1c.github.io/headroom/
2•Ar5en1c•27m ago•0 comments

DeKalb deputy charged with Flock camera misuse; more Georgia officers fired

https://www.ajc.com/news/2026/07/3-more-georgia-police-officers-fired-over-alleged-flock-camera-m...
13•pir8life4me•30m ago•7 comments

I've Struggled with Addiction. I'm Staying Away from A.I. Chatbots

https://www.nytimes.com/2026/07/19/opinion/ai-attention-social-media-attachment.html
1•geox•32m ago•0 comments

The SLAP stack is the last server stack you'll ever need

https://blakewatson.com/journal/the-slap-stack-is-the-last-server-stack-youll-ever-need/
1•blakewatson•33m ago•0 comments

Production Deployments to Exe.dev

https://asadjb.com/blog/2026-07-19-production-deployments-to-exe-dev
1•asadjb•38m ago•0 comments

Flock cameras collecting face, clothing,tattoo identifiers

https://www.jalopnik.com/2217154/flock-cameras-collecting-more-than-plate-car-information/
2•pir8life4me•38m ago•2 comments

Freeze-Casting

https://en.wikipedia.org/wiki/Freeze-casting
1•soupspaces•39m ago•0 comments

PEP 829 – Package Startup Configuration Files

https://peps.python.org/pep-0829/
1•zahlman•40m ago•1 comments

Connection Machine Joins All to All to Optimize Better

https://spectrum.ieee.org/ising-machine
1•andsoitis•42m ago•0 comments

Reviving a 1996 IRC network from its own original, recovered source code

https://chatnet.gg/
3•casoalb•43m ago•0 comments

We Can't Harden Node.js Against Prototype Pollution

https://adventures.nodeland.dev/archive/no-we-cant-harden-nodejs-against-prototype/
1•Fudgel•48m ago•0 comments

Why Your Dashboard Is Lying to You (and What Works)

https://medium.com/@alanscottencinas/why-your-dashboard-is-lying-to-you-and-what-actually-works-d...
1•encinas88•48m ago•0 comments

Email Encryption

https://computer.rip/2026-07-19-email-encryption.html
2•zdw•50m ago•0 comments

Prompt Bill of Materials (PBOM) – an open standard for agentic workflows

https://github.com/EqoAI/pbom-spec
2•kavia•52m ago•0 comments

Ecological patterns in Pokémon games reflect those observed in the natural world

https://jgeekstudies.org/2026/07/19/ecological-patterns-in-pokemon/
1•zdw•53m ago•0 comments

Forget the model. When it comes to cybersecurity, it's all about the harness

https://cyberscoop.com/ai-cybersecurity-harness-autonomous-hacking/
5•Gaishan•54m ago•0 comments

Moonshine: Lets you stream games from your PC to any device running Moonlight

https://github.com/hgaiser/moonshine
2•wertyk•55m ago•0 comments

BeWide AI – I'm building one startup per week on YouTube

https://www.youtube.com/@bewideai
1•nikitafaesch•56m ago•1 comments

Studying Linux Schedulers, and Why Metrics Matter

https://pradyun.net/blog/metrics_matter.html
1•birdculture•57m ago•0 comments