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

P6 Micro-Ops: Decode, Flags, Control Flow, and Macro Aliasing

https://nand2mario.github.io/posts/2026/p6_basics/
1•zdw•1m ago•0 comments

Art, AI and the Problem That Never Was

https://escandescenze.github.io/2026/11/22/proof-of-human-art.html
1•andreanerla•3m ago•0 comments

Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis

https://philpapers.org/rec/NIEIOT-2
1•chaosprint•4m ago•0 comments

A Zip Archive That Boots Your PC Is Now a Reality

https://linuxiac.com/a-zip-archive-that-boots-your-pc-is-now-a-reality/
1•st_goliath•5m ago•0 comments

Modernizing iperf/iperf3 and introducing fireperf

https://blog.daniel-baumann.ch/posts/20261122-1.html
1•edward•8m ago•0 comments

U.S. Military Supremacy in Asia Is Over

https://maritime-executive.com/editorials/us-military-supremacy-in-asia-is-over
1•gumby•15m ago•0 comments

US drivers pay an extra $12B a year for digital car repairs

https://www.theregister.com/personal-tech/2026/11/22/as-cars-go-digital-us-consumers-pay-an-extra...
1•nephihaha•18m ago•0 comments

We trained Machine Learning agents and tested them on 50k+ bets. The result

https://oddsfy.ai/artigos/ml-agents-50k-bets/
1•josuramos•20m ago•0 comments

Shipping 100 PRs to production in a week

https://lethain.com/passing-100-prs-in-a-week/
1•gpi•23m ago•2 comments

Raise Hand If You Think Your AWS API Keys Were Exfiltrated

https://serendb.com/blog/raise-your-hand-if-you-think-your-aws-api-keys-were-exfiltrated
2•taariqserendb•26m ago•0 comments

Localcode, open source agentic coding on your Mac with one command

https://github.com/mjwsolo/localcode
1•mjwsolo•27m ago•0 comments

Show HN: Aaf-gate – policy gate and kill switch for existing agent runtimes

https://github.com/buberlo/aaf-gate
1•buberlo•28m ago•0 comments

Erectile dysfunction drug could hold promise for Alzheimer's disease

https://theconversation.com/could-an-erectile-dysfunction-drug-offer-a-new-way-to-treat-alzheimer...
2•elo2000•29m ago•0 comments

Show HN: Scheduling a Simulated Vertical Farm

https://greenmaxxing.netlify.app/?present=1
2•bakingsoda•34m ago•0 comments

The Usefulness of Useless Knowledge [pdf]

https://www.ias.edu/sites/default/files/library/UsefulnessHarpers.pdf
7•hectormauer•34m ago•0 comments

March 19, 1800: Alexander von Humboldt Hunts Electric Eels

https://web.archive.org/web/20241104172250/https://www.aps.org/archives/publications/apsnews/2017...
2•gregsadetsky•36m ago•0 comments

Tactical Team Changes from AI

https://staysaasy.com/tactical-team-changes-from-ai/
2•kiyanwang•37m ago•0 comments

GTA 6's fictional porn studio "Booty Bang" now has a real AI parody site

https://bootybang.ai/
2•luciacaminos•38m ago•0 comments

Bumbition

https://www.noahpinion.blog/p/bumbition
2•Curiositry•41m ago•0 comments

Working as Intended (audio fix) [video]

https://www.youtube.com/watch?v=Z6_ENp_fO_Y
1•masteranza•42m ago•1 comments

The Drucker Drift

https://seths.blog/2026/08/the-drucker-drift/
2•fagnerbrack•45m ago•0 comments

DropICS – Drag-and-drop .ics/.csv into Google Calendar (no data sent)

https://github.com/patpat9/dropics
1•jxpatpat•45m ago•0 comments

Tomato Fraud? When San Marzano Is "San Marzano" – Cinco Tomatos

https://slate.com/life/2026/11/cento-san-marzano-tomato-sauce-recipes-lawsuit.html
2•ncr100•46m ago•1 comments

Thanks for asking I went back and worked on this specific failure scenario

https://github.com/avelone123123/shard
1•avelone•49m ago•0 comments

Agent swarm trying to solve P vs. NP

https://pequalnp.com/
7•bananaflag•52m ago•1 comments

"You and Your Research" by Dr. Richard W. Hammin [pdf]

https://www.cs.virginia.edu/~robins/YouAndYourResearch.pdf
1•arbayi•54m ago•0 comments

Planetwurst – The World Atlas of Sausages

https://planetwurst.com/
1•MiscIdeaMaker99•57m ago•1 comments

Making a font for the Jamaican flag alphabet

https://digitalseams.com/blog/making-a-font-for-the-jamaican-flag-alphabet
3•bobbiechen•57m ago•1 comments

Show HN: PortReaper – see which project and git branch holds each port on a Mac

https://github.com/amitgal45/portreaper
1•amitgal45•57m ago•1 comments

Jon Stewart's 2004 appearance on Crossfire

https://en.wikipedia.org/wiki/Jon_Stewart%27s_2004_appearance_on_Crossfire
7•gregsadetsky•58m ago•0 comments