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

One user got 200 users on Signal app

https://twitter.com/agravaani/status/2128671665693630601
1•stereoradonc•51s ago•0 comments

Getting my home IT ready for quantum computers

https://marionogueira.com/Post-Quantum-Encryption/
1•meetpateltech•4m ago•0 comments

Soldiers of Misfortune: The Drawings of Urs Graf the Elder

https://publicdomainreview.org/essay/soldiers-of-misfortune/
1•HowardLien•4m ago•0 comments

NIST Statement on Implications of Recent Research on Cryptographic Security

https://www.nist.gov/pqc/nist-statement-implications-recent-research-cryptographic-security
2•halcdev•5m ago•1 comments

Coulomb Explosion

https://en.wikipedia.org/wiki/Coulomb_explosion
1•tiagod•5m ago•0 comments

Apple Watch AI Conversation Rewind, Recap Features Begin Beta Testing

https://hyper.ai/cn/stories/8f6f2c9dfcc5798645ff613676ec13c7
2•GloVin•6m ago•0 comments

Reverse Video Search – trace the source of any video clip

https://reversevideosearch.co/
1•bpmkeyfinder•8m ago•0 comments

Software Factory

https://en.wikipedia.org/wiki/Software_factory
1•Austin_Conlon•9m ago•0 comments

What the December 2 Cryptography Warnings Mean for Normal People

https://jmalicki.github.io/posts/what-the-december-2-crypto-warnings-mean-for-normal-people/
1•jmalicki•10m ago•0 comments

A new form of memory helps robots learn complex skills

https://news.mit.edu/2026/new-form-memory-helps-robots-learn-complex-skills-1201
1•flaburgana•12m ago•0 comments

Weird Little Guys of FOSS

https://drewdevault.com/weird-guys/
2•doppp•12m ago•0 comments

Show HN: Nails, a Rails-inspired web framework in Rust

https://github.com/wesleygrimes/nails
1•wesgrimes•15m ago•0 comments

US-backed peacekeeping force to enter Gaza within 60 days

https://www.reuters.com/world/europe/foreign-peacekeepers-deploy-gaza-within-60-days-commander-sa...
1•geox•15m ago•0 comments

Nvidia's Huang says chips were smuggled to China in Senate committee grilling

https://www.bbc.com/news/articles/cmrrgn7k29wdo
1•colinprince•18m ago•0 comments

GPT-Live [video]

https://www.youtube.com/watch?v=87DwPZhcdTQ
1•sweetheart•19m ago•0 comments

For the first time, America's population is shrinking

https://economist.com/united-states/2026/12/03/for-the-first-time-americas-population-is-shrinking
2•andsoitis•22m ago•0 comments

KubeCon NA 2026: O11y Notes from a 13,000-Kilometer Journey to Salt Lake City

https://victoriametrics.com/blog/kubecon-na-2026-observability/index.html
1•jiekun•26m ago•0 comments

Rebutting Josephson's MSR claims about SMRs

https://energyfromthorium.com/2026/12/02/josephson-rebuttal-smr-msr/
1•pombo•28m ago•0 comments

Why are there 5,280 feet in a mile instead of a round 5,000?

https://www.reddit.com/r/AlwaysWhy/comments/1yb0pux/why_are_there_exactly_5280_feet_in_a_mile_ins...
2•thunderbong•28m ago•1 comments

Architectural breakdownof Qwen 4 35bA3B MOE ( 56B)

https://mostlyquantized.com/blog/qwen4-35b-a3b
2•phenomenon0•30m ago•0 comments

Cantor-Backed BGC Alerts Singapore Police over Unusual Trades

https://www.bloomberg.com/news/articles/2026-12-04/cantor-backed-bgc-alerts-singapore-police-over...
1•petethomas•31m ago•0 comments

A YouTube → Last.fm scrobbler, as told by the agent

https://udia.ca/posts/2026/12/youtube-lastfm-scrobbler/
1•udia•31m ago•0 comments

Designs by Gestalt, the AI model that beat professional designers

https://gestalt.stream/d
2•hjun1052•32m ago•1 comments

The Nature of the Job

https://pete.garden/the-nature-of-the-job
1•Letterui•34m ago•0 comments

Why Software Is Eating the World (2011)

https://a16z.com/why-software-is-eating-the-world/
1•bkudria•35m ago•0 comments

When does a physical system compute?

https://royalsocietypublishing.org/rspa/article/470/2169/20140182/79750/When-does-a-physical-syst...
1•nill0•35m ago•0 comments

I bought 100 e-ink shelf tags for a project that fell through.Now they're clocks

https://terenceang.com/blog/2026-08-18-hema-esl-clock
1•TanZeng•36m ago•0 comments

SmallBall Baseball

https://play.smallball.com
2•edwould•38m ago•0 comments

StarTropics

https://en.wikipedia.org/wiki/StarTropics
1•sans_souse•38m ago•0 comments

El Niño, November 2026, on the Spilhaus projection

https://oguzhankose.com/work/el-nino-november-2026/
2•AlenaSato•41m ago•0 comments