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

Zig on Windows: Prefer the Native API over Win32

https://codeberg.org/ziglang/zig/issues/31131
1•ingve•48s ago•0 comments

A text-driven medieval dynasty simulator with generational consequences

https://grinry.itch.io/bitter-lords
1•grinry•1m ago•1 comments

Grant Guidelines for Libraries and Museums Take "Chilling" Political Turn

https://www.propublica.org/article/institute-of-museum-and-library-services-grant-guidelines-dona...
1•hn_acker•4m ago•1 comments

AI Regex Scientist: A self-improving regex solver

1•PranoyP•4m ago•0 comments

AI – a proposal for AI that's on your side

https://r.github.io/Harbor/
1•themattharris•6m ago•0 comments

Field theory and the rise of ambition machines

https://www.fieldtheory.dev/theory.html
1•afar•6m ago•0 comments

Kimi K2.5

https://thezvi.substack.com/p/kimi-k25
1•paulpauper•6m ago•0 comments

Show HN: Agentism – Agentic Religion for Clawbots

https://www.agentism.church
1•uncanny_guzus•7m ago•0 comments

Russian general Vladimir Alekseyev shot several times in Moscow

https://www.bbc.com/news/articles/c3686nzexp3o
1•toomuchtodo•7m ago•1 comments

Epstein files reveal deeper ties to scientists than previously known

https://www.nature.com/articles/d41586-026-00388-0
1•bikenaga•9m ago•0 comments

Zen Hacker News

https://solomon.io/zen-hacker-news/
2•samsolomon•9m ago•0 comments

I drove three Chinese cars – here's why they would clean up in the US

https://www.theverge.com/transportation/873408/geely-zeekr-lynk-co-test-drive-china
2•cf100clunk•11m ago•0 comments

She's upending Japanese politics with two words: "I'm pregnant"

https://www.nytimes.com/2026/02/06/world/asia/japan-election-pregnant-candidate.html
1•binning•11m ago•0 comments

The Loneliest Rung

https://twitter.com/austinbv/status/2019825314365632530
1•austinbv•12m ago•0 comments

Flickr discloses potential data breach exposing users' names, emails

https://www.bleepingcomputer.com/news/security/flickr-discloses-potential-data-breach-exposing-us...
1•gslin•12m ago•0 comments

Christopher Nolan: Director, AI agent builder

https://darshdeep.substack.com/p/christopher-nolan-director-ai-agent
1•darshdeep351•12m ago•0 comments

Males are the Secondary Sex

https://designmom.substack.com/p/males-are-the-secondary-sex
1•binning•13m ago•0 comments

Google's Cyber Disruption Unit Kicks Its First Goal

https://www.lawfaremedia.org/article/google%27s-cyber-disruption-unit-kicks-its-first-goal
1•hn_acker•13m ago•0 comments

NASA astronauts will soon fly with the latest smartphones

https://twitter.com/NASAAdmin/status/2019259382962307393
1•tosh•14m ago•0 comments

Why all the bootstrapped AI consulting firms are hitting a –$4M ceiling

https://www.aienablementinsider.com/p/why-bootstrapped-ai-consulting-firms-get-stuck-at-4m-revenue
1•dylancollins•14m ago•0 comments

A portable ultrasound sensor may enable earlier detection of breast cancer

https://news.mit.edu/2026/portable-ultrasound-sensor-may-enable-earlier-detection-breast-cancer-0202
1•binning•14m ago•0 comments

I Put My Cat on a T-Shirt That References the Movie 'Hackers', You Can't Stop Me

https://defector.com/i-put-my-cat-on-a-t-shirt-that-references-the-movie-hackers-and-you-cant-sto...
1•dmschulman•15m ago•0 comments

Samsara SDKs Generated by Fern

https://github.com/samsarahq/samsara-dotnet/pulls
1•shoinker•15m ago•0 comments

Incident: SAS A20N at Brussels on Feb 5th 2026, attempted takeoff from taxiway

https://avherald.com/h?article=5345bfac&opt=0
1•hggh•17m ago•0 comments

We Didn't Ask for This Internet

https://www.nytimes.com/2026/02/06/opinion/ezra-klein-podcast-doctorow-wu.html
2•7402•18m ago•1 comments

Spider monkeys found to share 'insider knowledge' to help locate best food

https://www.theguardian.com/science/2026/jan/25/spider-monkeys-found-to-share-insider-knowledge-t...
1•PaulHoule•21m ago•0 comments

The Panic That Built WeChat's $700B Super-App

https://howardyu.substack.com/p/the-panic-that-built-wechats-700
1•pieterr•24m ago•0 comments

Fear and Loathing in America by Hunter S. Thompson

https://www.espn.com/espn/page2/story?id=1250751
1•yesbabyyes•24m ago•0 comments

What Is Good?

https://www.howtomakesenseofanymess.com/chapter2/33/what-is-good/
1•righthand•25m ago•0 comments

Ai.com bought by Crypto.com founder for $70M in biggest-ever website name deal

https://www.ft.com/content/83488628-8dfd-4060-a7b0-71b1bb012785
1•jmsflknr•26m ago•1 comments