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

Lessons from Building an Autonomous Claude Code Assistant

https://substack.com/home/post/p-195976188
1•scrollinondubs•1m ago•0 comments

The $11B Casino-Style Economy Built on Players Who Can Never Cash Out

https://www.bloomberg.com/features/2026-social-casino-apps-addiction/
1•FiddlerClamp•7m ago•0 comments

Loadam – k6 load tests, contract suites, and MCP servers from any OpenAPI spec

https://www.npmjs.com/package/loadam
1•Dexcodes•7m ago•0 comments

Stupid NYT

https://walzr.com/stupid-nyt
2•jbegley•7m ago•1 comments

A little comparison between R and Kap

https://blog.dhsdevelopments.com/a-little-comparison-between-r-and-kap
1•tosh•8m ago•0 comments

Attracting Early Stage Investors: Evidence from a Randomized Experiment (2015)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2432044
1•downbad_•10m ago•1 comments

Thomson Reuters Hit with Privacy Litigation in Michigan Re:Display of SSN Digits

https://www.law.com/2026/05/01/thomson-reuters-hit-with-privacy-class-action-in-michigan-over-dis...
1•1vuio0pswjnm7•12m ago•0 comments

How is it that Jakarta has improved so much?

https://indevelopmentmag.com/jakarta-transit-transformation/
1•paulpauper•12m ago•0 comments

CISA KEV: Linux "Copy Fail" CVE-2026-31431 Turns Kernel Bug into Patch Deadline

https://windowsforum.com/threads/cisa-kev-linux-copy-fail-cve-2026-31431-turns-kernel-bug-into-pa...
1•eth0up•13m ago•0 comments

Servers with Personality

https://caolan.uk/links/servers/
1•wrxd•15m ago•0 comments

Ask HN: What does a 9-year undetected memory-only Linux LPE imply?

1•eth0up•15m ago•0 comments

The STL for Geometry: Thirty-Year Evolution of C++ Libraries

https://polydera.com/algorithms/the-stl-for-geometry
1•ZigaSajovic•16m ago•0 comments

Scientists Create First-Ever 'Smell Map'

https://hms.harvard.edu/news/scientists-create-first-ever-smell-map
1•gmays•20m ago•0 comments

AI isn't coming for your job. It's coming for your mind

https://www.bailliegifford.com/en/uk/individual-investors/insights/ic-article/2026-q1-ai-isn-t-co...
1•XzetaU8•20m ago•0 comments

Can countries grow richer by exporting people, not goods?

https://www.economist.com/finance-and-economics/2026/04/30/can-countries-grow-richer-by-exporting...
1•andsoitis•22m ago•0 comments

Fungi and the Rise of Mammals [pdf]

https://journals.plos.org/plospathogens/article?id=10.1371/journal.ppat.1002808
1•thunderbong•22m ago•0 comments

AI threatens Big Law's talent pipeline

https://www.axios.com/2026/05/02/ai-lawyers-law-firms-artificial-intelligence
1•Brajeshwar•22m ago•0 comments

A lost galaxy called 'Loki' may be hiding inside the Milky Way

https://phys.org/news/2026-04-lost-galaxy-loki-milky.html
1•wglb•23m ago•1 comments

I made an Mobile-Coding Companion, seeking your reviews

https://www.remoot.dev
1•xporpy•24m ago•0 comments

Show HN: Writing a deep-research agent from scratch

https://deep-research-agent.pagey.site
1•freakynit•25m ago•0 comments

Modern C++ Programming: Busato

https://github.com/federico-busato/Modern-CPP-Programming
1•KnuthIsGod•26m ago•0 comments

Show HN: Verbalized-Sample-Skill.md Modal Probability-Ranked Answer Distribution

https://gist.github.com/spinchange/ebecc4a548bf163ce4fddae0699a8065
1•spinchange•28m ago•0 comments

The Mystery of the Missing Hotel Toothpaste (2013)

https://slate.com/human-interest/2013/07/toothpaste-in-hotels-why-do-they-provide-shampoo-soap-an...
1•downbad_•28m ago•1 comments

Museum of the Human Web

https://museum.parallel.ai/introduction?era=modern
1•TheBlapse•29m ago•0 comments

Data center land use issues are fake

https://blog.andymasley.com/p/data-center-land-use-issues-are-fake
1•Kye•30m ago•0 comments

Emergent Strategic Reasoning Risks in AI: A Taxonomy-Driven Evaluation Framework

https://arxiv.org/abs/2604.22119
1•gmays•30m ago•0 comments

DNS, the Phonebook That Isn't

https://toolkit.whysonil.dev/how-it-works/dns/
1•simplerhumane•31m ago•0 comments

MCP-ratchet: Go package for enforcing tool call order in MCP servers

https://github.com/hexxla/mcp-ratchet
1•sploitzberg•31m ago•0 comments

Why C++ is growing, and why C++26 will likely be adopted quickly [video]

https://www.youtube.com/watch?v=Qvr9MTAU_y4
1•dalvrosa•32m ago•0 comments

Meta's Pyrefly sabotages competing Python extensions without telling you

https://github.com/facebook/pyrefly/issues/3292
2•FossAndFurious•33m ago•1 comments