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

Ask HN: If you dislike AI, why don't you prove it?

1•SuboptimalEng•31s ago•0 comments

Treating Dockerfiles as shell scripts (2020)

https://jakewharton.com/treating-dockerfiles-as-shell-scripts/
1•hard_times•1m ago•0 comments

Nao7 Project

https://maxtronics.com/en/nao7/
1•Bluestein•2m ago•0 comments

If I Could Only Do One Exercise, It Would Be Squats

https://julienreszka.com/blog/if-i-could-only-do-one-exercise-it-would-be-squats/
1•julienreszka•2m ago•0 comments

Show HN: Riyadh Tech Week – a year-round guide to Saudi Arabia's tech ecosystem

https://riyadhtechweek.com/
2•aidarousheikh•5m ago•0 comments

Anthropic IPO filing will show AI backlash as a risk factor, sources say

https://www.cnbc.com/2026/08/21/-anthropic-ipo-filing-will-show-ai-backlash-as-risk-sources-say.html
2•newsomix9xl•5m ago•0 comments

The Machinery of Servitude

https://the-machinery-of-servitude.netlify.app/
2•vibeaidden•6m ago•0 comments

Show HN: Structural code grep across public GitHub repositories

https://grep.codemod.com/
3•mohebifar•7m ago•0 comments

Fintex on X: "The Math of Why Bigger AI Keeps Getting Smarter (Scaling Laws)

https://twitter.com/_yusufknl/status/2090429393139097948
2•bilsbie•10m ago•0 comments

That's Rich: Crashing Monterey Car Week

https://www.insidehook.com/autos/thats-rich-crashing-monterey-car-week
2•RickJWagner•13m ago•1 comments

The Billion-Dollar Industry That's Keeping Your Beer Cold and Saving Lives

https://www.texasmonthly.com/culture/billion-dollar-packaged-ice-industry-reddy/
1•momentmaker•14m ago•0 comments

Greenwich moon time? The high-stakes race to set lunar clocks

https://www.ft.com/content/d09e9c05-60c8-4c8a-8230-a5476a049b88
2•cl42•16m ago•0 comments

AI and Chauffeur Knowledge

https://www.aaron-gray.com/ai-and-chauffeur-knowledge/
1•aarongray•17m ago•0 comments

Learning about "The Unix Time-Sharing System"

https://playtechnique.io/long/the-unix-time-sharing-system.html
1•gwynforthewyn•17m ago•1 comments

Treat your brain like a baby

https://gisbi.me/blog/treat-your-brain-like-a-baby
1•Gisbitus•20m ago•0 comments

Memories stick around even after half the synapses are gone

https://arstechnica.com/science/2026/08/memories-stick-around-even-after-half-the-synapses-are-gone/
2•sbulaev•21m ago•0 comments

The war on data centres is a bit fake

https://www.economist.com/business/2026/08/19/the-war-on-data-centres-is-a-bit-fake
1•edward•22m ago•0 comments

A Chrome extension to filter X (Twitter) posts by country or region

https://chromewebstore.google.com/detail/country-filter-for-x-twit/cocohplmilpblbkoikolbhakjipccioa
2•apoorvdarshan•23m ago•0 comments

ReiserFS

https://en.wikipedia.org/wiki/ReiserFS
1•tosh•23m ago•0 comments

Full Self-Driving Is the Best Thing about the New Tesla Model Y

https://www.wsj.com/lifestyle/cars/tesla-model-y-review-13d303c1
2•bookofjoe•24m ago•1 comments

Agency Costs of Free Cash Flow, Corporate Finance and Takeovers [pdf]

https://www.liuyanecon.com/wp-content/uploads/Jensen-1986.pdf
1•highfrequency•24m ago•0 comments

Thruact – agents name a job, not a vendor

https://thruact.com
1•itsparkstime•28m ago•0 comments

The Pyramid Community Relay

https://spatianostra.com/the-pyramid-community-relay/
1•Bluestein•29m ago•0 comments

Show HN: AI as Cognitive Gym Equipment

https://bookerapp.replit.app/book/ai-cognitive-gym/ai-as-cognitive-gym-equipment
1•ersinesen•30m ago•0 comments

U.S. bond intervention is like 'paying your mortgage with your credit card,'

https://www.cnbc.com/2026/08/21/us-bond-intervention-shifting-problem-future-jpmorgan.html
1•johnbarron•31m ago•0 comments

Calamites is a genus of extinct arborescent (tree-like) horsetails

https://en.wikipedia.org/wiki/Calamites
1•r721•32m ago•0 comments

Why do we get sleepy? How neurons control sleep drive

https://www.unibas.ch/en/News-Events/News/Uni-Research/Why-do-we-get-sleepy-sleep-drive-sleep-reg...
1•theanonymousone•32m ago•0 comments

One of the worst scientific papers I've ever seen

https://statmodeling.stat.columbia.edu/2026/08/22/this-is-one-of-the-worst-scientific-papers-ive-...
3•Tomte•35m ago•1 comments

Multilingual people may have brains up to 13 years younger

https://www.sciencedaily.com/releases/2026/08/260821012226.htm
2•theanonymousone•36m ago•0 comments

Enlightenment

https://en.wikipedia.org/wiki/Enlightenment_(window_manager)
1•tosh•39m ago•0 comments