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

Ring Holders Club

https://www.ringholders.club
1•pipnonsense•1m ago•0 comments

RISC-V SpacemiT K3 Boot Process

https://blog.ludovic.dev/2026/06/08/spacemit-k3-boot-process.html
1•luyu_wu•1m ago•0 comments

"iNTERFACEWARE is now entering it's fifth phase"

https://www.interfaceware.com
1•nkrumm•3m ago•0 comments

Firefox adds Google Play Integrity checks for it's AI features

https://bugzilla.mozilla.org/show_bug.cgi?id=2015109
1•drewfax•6m ago•0 comments

CC-Ledger: Per-PR cost and token analyzer for devs tired of tokenmaxxing

https://github.com/delta-hq/cc-ledger
1•tejpal-diffuse•8m ago•0 comments

Show HN: Free summary, fact check, ELI5 of any text on CPU

https://github.com/kouhxp/fftext
1•mrkn1•9m ago•0 comments

FreezeTube – 200-line Chrome extension that disables YouTube's infinite scroll

https://chromewebstore.google.com/detail/freezetube/jbhihladabkggdgbhkgdgpbjjogehgnk
1•OmarElboray•9m ago•0 comments

Ubiquitination of glycogen and metabolites in cells and tissues

https://www.nature.com/articles/s41586-026-10548-x
1•PaulHoule•10m ago•0 comments

Vercel Settles with DOJ for Not Complying with Electronic Search Warrant

https://www.justice.gov/opa/pr/contempt-proceedings-failure-comply-search-warrant-conclude-vercel...
1•benjaminhays•11m ago•0 comments

GTM Is a Creative Act

https://atlas.attio.com/gtm-is-a-creative-act
1•tanishqkanc•12m ago•0 comments

Bus, cars, houses torched in Belfast anti-immigration riots

https://www.thetimes.com/uk/crime/article/bus-cars-protests-belfast-immigration-t59n3lsf8
1•alephnerd•12m ago•1 comments

Ax-engine: Native Apple Silicon ML inference runtime with a fast Rust core

https://github.com/defai-digital/ax-engine
1•automatosx•12m ago•0 comments

Tests suggest Russian satellites can jam GPS on a continental scale

https://arstechnica.com/space/2026/06/tests-suggest-russian-satellites-can-jam-gps-on-a-continent...
1•jonbaer•13m ago•0 comments

Show HN: KnowledgeMCP – Turn any docs into an MCP endpoint (0 LLM at query time)

https://github.com/hashwnath/KMCP
2•Hashwanths•16m ago•0 comments

Tesla fans, feeling duped, take the Elon Musk-owned company to court

https://www.rnz.co.nz/news/business/597777/tesla-fans-feeling-duped-take-the-elon-musk-owned-comp...
4•billybuckwheat•17m ago•0 comments

Ottawa's bill regulating social media, AI expected to include age restrictions

https://www.cbc.ca/news/politics/online-harms-social-media-ban-youth-teens-9.7228651
4•pseudolus•17m ago•0 comments

We had to build new evals for Fable

https://hex.tech/blog/fable-evals/
2•izzymiller•18m ago•0 comments

Task Force on the Declassification of 'Federal Secrets'

https://www.youtube.com/watch?v=4couUZtAkew
2•keepamovin•20m ago•0 comments

macOS Container Machines

https://github.com/apple/container/blob/main/docs/container-machine.md
6•timsneath•24m ago•0 comments

Claude Fable 5's system prompt leaked

https://twitter.com/elder_plinius/status/2064478648057610422
3•rob•27m ago•0 comments

Microsoft Defender 'RoguePlanet' zero-day grants SYSTEM privileges

https://www.bleepingcomputer.com/news/microsoft/microsoft-defender-rogueplanet-zero-day-grants-sy...
2•882542F3884314B•28m ago•0 comments

Microsoft AI head calls out Anthropic for acting like Claude is conscious

https://www.theverge.com/tech/947197/microsoft-ai-mustafa-suleyman-anthropic-claude-conscious
2•Timofeibu•28m ago•0 comments

AT&T "You Will" Commercials (1993) [video]

https://www.youtube.com/watch?v=a2EgfkhC1eo
2•madrox•31m ago•0 comments

Miasma Supply Chain Attack Toolkit Source Code Leaked on GitHub

https://safedep.io/inside-the-miasma-supply-chain-attack-toolkit/
2•birdculture•33m ago•0 comments

Show HN: agent skill to generate aesthetic and interactive diagrams

https://github.com/plannotator/effective-html
2•ramoz•37m ago•0 comments

AI Subscriptions Are Dead

https://twitter.com/i/status/2064492311686607161
2•twapi•40m ago•0 comments

The History of Neural Networks, 1900-1990 [video]

https://www.youtube.com/watch?v=Ab44IusdINA
1•zetalyrae•40m ago•0 comments

The AI Curse (Vis the Lisp Curse)

https://blog.djhaskin.com/blog/the-ai-curse/
1•djha-skin•43m ago•0 comments

Show HN: Crxray – Git clone but for Chrome extension source code

https://github.com/collinboler/crxray
3•chaddover•44m ago•1 comments

Run the void test on Claude Fable 5 here

https://getswiftapi.com/void-test
2•rayanpal_•44m ago•1 comments