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

China's Xiaomi MiMo Is Now 15X Faster Than ChatGPT and Claude

https://decrypt.co/370449/xiaomi-mimo-ultraspeed-ai-model-faster-chatgpt-claude
1•gmays•1m ago•0 comments

Show HN: Garden Letters – Floral Letter Design and Music

https://gardenletters.net
1•QingWu•7m ago•0 comments

Z-Library Lets People Run White-Label, Login-Only Pirate Mirrors

https://torrentfreak.com/z-library-lets-people-run-white-label-login-only-pirate-mirrors/
1•Cider9986•9m ago•0 comments

Anthropic Walks Back Policy That Could Have 'Sabotaged' Researchers Using Claude

https://www.wired.com/story/anthropic-responds-to-backlash-on-claudes-secret-sabotage-on-ai-resea...
3•ericflo•12m ago•1 comments

Tell HN: Anthropic's Fable model is too expensive

3•hyhmrright•14m ago•1 comments

What the Heck Happened to Mountain Bike YouTube? [video]

https://www.youtube.com/watch?v=_oQ4XY4P1n8
1•operatingthetan•15m ago•1 comments

Have a Thorny Medical Question? Your Doctor May Be Using A.I. For That

https://www.nytimes.com/2026/06/08/business/ai-medicine-doctors.html
1•lxm•16m ago•0 comments

Aram Harrow, quantum researcher: 'These computers won't take 10 years'

https://english.elpais.com/technology/2026-06-05/aram-harrow-quantum-researcher-these-computers-w...
2•olvy0•22m ago•0 comments

Canada introduces legislation to ban social media U16, regulate AI chatbots

https://finance.yahoo.com/news/canada-introduces-legislation-ban-social-205633582.html
1•1vuio0pswjnm7•23m ago•0 comments

Show HN: DocStreamAI – Automatic invoice/receipt collection for Quickbooks/Xero

https://docstreamai.com/
1•alexjimenez99•24m ago•0 comments

They Spent Years on a Math Problem. Then They Were Scooped by A.I

https://www.nytimes.com/2026/06/08/science/ai-scoop-young-mathematicians.html
1•lxm•25m ago•0 comments

The backlash against AI, in 4 charts

https://www.fastcompany.com/91553925/the-backlash-against-ai-in-4-charts
2•1vuio0pswjnm7•27m ago•0 comments

I made an agent skill for making HTML slides with consultant style

1•Hansun•28m ago•0 comments

200x kv Cache Compression

https://twitter.com/oneill_c/status/2064724063478767804
1•nico•29m ago•0 comments

Count Steps with 99.5% Accuracy

https://www.bambistep.com
1•stokaty•30m ago•0 comments

ComHub 64 USB Hub Review

https://lyonsden.net/comhub-review/
1•jandeboevrie•31m ago•0 comments

A Crime Doesn't Make a Child an Adult

https://www.theatlantic.com/ideas/2026/06/kids-adult-time-counterproductive/687449/
8•paulpauper•31m ago•2 comments

Gaslighting Openness

https://lucumr.pocoo.org/2026/6/10/gaslighting/
1•lumpa•31m ago•0 comments

Biotech Paper Game

https://www.overcomingbias.com/p/biotech-paper-game
1•paulpauper•32m ago•0 comments

If LLMs are all persona, whose persona are they?

https://persona.earthpilot.ai
1•paulpauper•34m ago•0 comments

Where in the world, and when, does this human artifact belong?

https://anthropeum.com/
1•js2•34m ago•0 comments

Show HN: I built a Red Flag Warning zone-check tool for the East Bay in 48h

https://redflag-check.info
3•vedant28t•40m ago•1 comments

SpaceX IPO demand is approaching four times oversubscribed, source says

https://www.reuters.com/world/spacex-ipo-demand-is-approaching-four-times-oversubscribed-source-s...
2•SilverElfin•40m ago•0 comments

Type the scene. Seedance 2.0 Mini films it

https://seedance2mini.ai/
2•xbaicai•40m ago•1 comments

Fidelity Bets People Want Their 401(k)s to Look More Like Pensions

https://www.wsj.com/personal-finance/retirement/fidelity-bets-people-want-their-401-k-s-to-look-m...
3•petethomas•42m ago•0 comments

Alleged Fable sabotage of an ML project

https://xcancel.com/adamislucky/status/2064731321360912433
2•gslepak•44m ago•0 comments

Explorable Explanations

https://worrydream.com/ExplorableExplanations/
1•soupspaces•45m ago•0 comments

What remains scarce after AGI?

https://www.dwarkesh.com/p/alex-imas-phil-trammell
2•gmays•47m ago•0 comments

Moomin (1990)

https://archive.org/details/moomin-1990
1•petethomas•48m ago•0 comments

Sestriere: Native MeshCore LoRa Mesh Client for Haiku OS

https://github.com/atomozero/Sestriere
3•iamnothere•48m ago•0 comments