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

Huawei's telephoto lens identified a plane as a bird

https://xcancel.com/youy1qwq/status/2075444313132351828
1•robin_reala•2m ago•0 comments

One email to summarize all your emails

https://suminone.click/
1•evgy•4m ago•0 comments

We tried London's first driverless bus

https://www.londoncentric.media/p/londons-first-driverless-bus
1•BerislavLopac•8m ago•0 comments

We re living in a tick nightmare

https://www.nytimes.com/2026/07/11/opinion/ticks-disease-lyme-alpha-gal.html
1•yeknoda•8m ago•0 comments

I created a font called Ghost Font that only humans can read

https://twitter.com/ericlu/status/2075876651574210643
1•mcenedella•9m ago•1 comments

I miss post-internet art

https://spectator.com/article/i-miss-post-internet-art/
1•thinkingemote•12m ago•0 comments

Only 5L,If you want to take 5090 to college, Try this case – FE9 Build [video]

https://www.youtube.com/watch?v=McSLH-_unfk
1•ksec•12m ago•0 comments

Microsoft admits Windows 11 has a GDID tracker with no off switch

https://www.windowslatest.com/2026/07/10/you-cant-fully-disable-microsofts-gdid-windows-11-tracke...
4•GBiT•13m ago•0 comments

The crypto billionaires building a world where money buys you a vote

https://www.bbc.co.uk/news/articles/cly8eqyj8e2o
4•BerislavLopac•14m ago•0 comments

New York Times and Other Publishers Ask Court to Penalize OpenAI

https://www.nytimes.com/2026/07/09/technology/new-york-times-openai.html
2•1vuio0pswjnm7•17m ago•1 comments

Let's build a simple interpreter for APL – part 1

https://mathspp.com/blog/lsbasi-apl-part1
1•mpweiher•17m ago•0 comments

USAA closed 51% of home insurance claims without making a payment in 2025

https://www.expressnews.com/business/article/san-antonio-usaa-insurance-claims-rejected-22293061.php
2•gscott•17m ago•0 comments

Good Questions

https://www.economist.com/business/2026/07/09/the-secret-to-good-questions
1•andsoitis•18m ago•0 comments

40 Years of AVM/Fritz: From BTX Hobby Project to Router Icon

https://www.heise.de/en/news/40-Years-of-AVM-Fritz-From-BTX-Hobby-Project-to-Router-Icon-11357116...
1•sebastian_z•18m ago•0 comments

Dora Compliance for Email: Mapping Sender Authentication to Article 9-10-11

https://dmarcguard.io/blog/dora-email-authentication/
1•meysamazad•19m ago•0 comments

How the Rule-Breaking Octopus Is Rewriting the Evolution of Intelligence

https://nautil.us/how-the-rule-breaking-octopus-is-rewriting-the-evolution-of-intelligence-1282633
1•Brajeshwar•20m ago•0 comments

I was wrong about game development

https://mijndertstuij.nl/posts/i-was-wrong-about-game-development/
2•meysamazad•21m ago•0 comments

What I Expect from an Editor as a Programmer

https://plaindrops.de/blog/2026/programming/
1•meysamazad•21m ago•0 comments

How Does AI Work? [video]

https://www.youtube.com/watch?v=YmLp8qe87A0
1•luispa•22m ago•0 comments

Ask HN: My father died and I need to find my path

1•c4kar•22m ago•1 comments

Thomas Midgley Jr

https://en.wikipedia.org/wiki/Thomas_Midgley_Jr.
1•chistev•26m ago•0 comments

DoS Attack on Crates.io

https://status.crates.io/incidents/h2fxgl2jtc5q
2•garo-pro•29m ago•1 comments

PR Reminder Bot – Node.js tool that Slack-nags you about stale PRs

https://github.com/Enox77/pr-reminder-bot
1•Enox77•30m ago•0 comments

The world bank has ditched its climate targets

https://www.economist.com/finance-and-economics/2026/07/06/the-world-bank-has-ditched-its-climate...
1•andsoitis•30m ago•0 comments

Show HN: Agent OS – a local-first harness for reliable software agents

https://github.com/earthwalker17/agent-os
1•MonoEarthwalker•31m ago•0 comments

The largest available Minecraft world, totalling 15 TB

https://2b2t.place/1million
1•_____k•32m ago•0 comments

Litert.js, Google's High Performance Web AI Inference

https://developers.googleblog.com/litertjs-googles-high-performance-web-ai-inference/
1•simonpure•32m ago•0 comments

Can Nix Be a Better Arch Linux AUR?

https://grigio.org/can-nix-be-a-better-arch-linux-aur/
1•grigio•32m ago•0 comments

GitHub – PolymathicAI/The_well: A 15TB Collection of Physics Simulation Datasets

https://github.com/PolymathicAI/the_well/
1•bilsbie•35m ago•0 comments

Seaboard maker Roli fights to avoid second collapse

https://www.thetimes.com/business/companies-markets/article/seaboard-maker-roli-fights-to-avoid-s...
1•startupfreak•38m ago•0 comments