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

1•Aeternexus•34s ago

Ig Nobel Prize Winners

https://arstechnica.com/science/2026/09/meet-the-2026-ig-nobel-prize-winners/
1•mkl•1m ago•0 comments

A Review of the Art of the Metaobject Protocol (2010) [pdf]

https://www.dreamsongs.com/Files/amop-review.pdf
1•Tomte•2m ago•0 comments

After 8 years, Europe's BepiColombo mission is on final approach to Mercury

https://arstechnica.com/space/2026/09/after-8-years-europes-bepicolombo-mission-is-on-final-appro...
1•Brajeshwar•3m ago•0 comments

Show HN: MCPay – spend authorization and per-call billing for MCP tools

https://github.com/yiaany/MCPay
1•eugenehizyyo•4m ago•0 comments

This Vintage Printing Press Has Become a Darling of Silicon Valley

https://www.wsj.com/arts-culture/books/arion-press-san-francisco-61ad3948
1•impish9208•5m ago•1 comments

How to Make LLMs Read Your Llms.txt

https://spock.is/writing/simulating-cosmic-rays-to-lobotomize-llms
1•BenediktHolm•5m ago•0 comments

Is your LLM Biased? Making ChatGPT evaluate itself

https://think-twice.me/is-ai-biased-or-sexist-making-chatgpt-evaluate-itself/
1•zug_zug•6m ago•0 comments

A Workaphile's Apology

https://moalquraishi.wordpress.com/2026/08/10/a-workaphiles-apology/
1•tepal•7m ago•0 comments

DHH Nazism Funded by 1Password VP Who Wrote "Honest Security"

https://www.flyingpenguin.com/dhh-nazism-funded-by-1password-vp-who-wrote-honest-security/
2•backlit4034•7m ago•0 comments

Rethinking how we name and classify our human ancestors

https://www.monash.edu/discovery-institute/news-and-events/news/2026-articles/rethinking-how-we-n...
1•geox•7m ago•0 comments

Chasing the Moon's Shadow

https://apod.nasa.gov/apod/astropix.html
1•MADEinPARIS•8m ago•1 comments

Adrian Pabst on the Liberal World Order [pdf]

https://cosmosandtaxis.org/wp-content/uploads/2022/09/smith_ct_vol10_iss9_10.pdf
1•brandonlc•9m ago•0 comments

(available in 1 hour) AI Slopacalypse – understanding all this crap

https://www.youtube.com/@robertviragh6527
1•logicallee•10m ago•1 comments

Unpopular Opinion: Google should keep its original form

1•OsamaMustafaa•11m ago•0 comments

Terence Tao on the Navier-Stokes Equations

https://mathstodon.xyz/@tao/117207849921390904
3•aaraujo002•12m ago•0 comments

Oura's rings found their way onto fingers

https://www.economist.com/business/2026/09/04/how-ouras-rings-found-their-way-onto-millions-of-fi...
1•andsoitis•13m ago•0 comments

Show HN: Build and embed a game on any website

https://app.fusionery.com/embed-games
1•websitescenes•14m ago•0 comments

New method predicts where massive earthquakes will strike

https://phys.org/news/2026-09-method-massive-earthquakes.html
1•pseudolus•15m ago•0 comments

How Scared Should We Be of A.I.?

https://www.nytimes.com/2026/09/05/opinion/ai-silicon-valley.html
1•jeffwass•15m ago•0 comments

Structure Around Intelligence – AI Native

1•OsamaMustafaa•16m ago•0 comments

Show HN: I built a browser-based image toolbox with crop zoom layers conversion

https://algolassi.online/developer-tools/image-tools/
1•noobplus•21m ago•1 comments

Health-tracking smart ring maker Oura to list on Nasdaq

https://www.theguardian.com/business/2026/sep/04/health-tracking-smart-ring-maker-oura-to-list-on...
1•bookofjoe•21m ago•0 comments

Cybercab Launches in Austin

https://mycybercab.com/cybercab-launch-event
12•xfour•22m ago•0 comments

A more hackable ARM Cortex M0 brain upgrade for Casio's iconic F-91W

https://www.crowdsupply.com/oddly-specific-objects/sensor-watch-pro
2•Bluestein•23m ago•0 comments

FYI, I am Not Dave Shea (2006)

https://davidseah.com/2006/01/fyi-i-am-not-dave-shea/
2•Tomte•23m ago•0 comments

Mountain lion prey-selection in a community of native and introduced ungulates

https://www.frontiersin.org/journals/conservation-science/articles/10.3389/fcosc.2026.1779101/full
1•bushwart•25m ago•1 comments

Francis Fukuyama: The American Right Has Gone Off the Deep End

https://jacobin.com/2026/09/fukuyama-trump-conservatism-bureaucracy-democracy
3•YeGoblynQueenne•26m ago•3 comments

US shale growth is collapsing

https://twitter.com/ekwufinance/status/2093732187841400853
1•JumpCrisscross•26m ago•0 comments

The "$60 Gaming PC" – AMD BC-250 (2025)

https://devquasar.com/hardware/the-60-gaming-pc-amd-bc-250/
15•networked•27m ago•6 comments