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

The Interim Computer Museum

https://icm.museum/
7•mulmen•10m ago•1 comments

Apple *deletes* your Apple Music library if you unsubscribe

https://www.reddit.com/r/apple/comments/7niv58/fyi_apple_deletes_your_apple_music_library_if_you/
2•behnamoh•11m ago•0 comments

Can an earnest agreement with AI increase alignmnet. appears to be "YES "

https://www.echohive.ai/a-short-agreement-zero-observed-cheating
2•echohive42•19m ago•0 comments

A Dick Smith VZ200 without the Dick Smith

http://oldvcr.blogspot.com/2026/09/a-dick-smith-vz200-without-dick-smith.html
2•classichasclass•20m ago•0 comments

Don't call yourself an artisanal programmer

https://purplesyringa.moe/blog/dont-call-yourself-an-artisanal-programmer/
4•emschwartz•24m ago•2 comments

Professor Leonard is back [video]

https://www.youtube.com/watch?v=bIQZ6yahKJk
4•mindcrime•40m ago•0 comments

35 Years of Momentum – Troy Howard

https://blog.thoward37.me/articles/35-years-of-momentum/
4•thoward37•40m ago•2 comments

I was so frustrated with GitHub that I rebuilt it as a Chrome extension

https://gitquiet.com/
4•sasha_zelts•46m ago•1 comments

Don't Trust the Super-App: A Case Study of Russia's Max

https://arxiv.org/abs/2609.11814
3•sbulaev•46m ago•0 comments

Show HN: Open-Sourced Chrome Extension to Save, Organize and Switch Bookmarks

https://github.com/ringlochid/leotabs
6•ringlochid•48m ago•0 comments

>10x More Efficient Pretraining

https://magic.dev/blog/pretraining
2•gmays•54m ago•0 comments

Carissa Véliz: Beware the power of prediction [video]

https://www.ted.com/talks/carissa_veliz_beware_the_power_of_prediction
2•Anon84•57m ago•0 comments

Apple Considering Ads Inside Visual Intelligence, Code Suggests

https://www.macrumors.com/2026/09/10/apple-considering-ads-inside-visual-intelligence/
7•srik•57m ago•0 comments

I'm Back

https://blog.lsantos.dev/en/i-m-back/
2•khaosdoctor•1h ago•3 comments

AI's Code-Red Moment

https://www.theatlantic.com/technology/2026/09/dario-amodei-slow-down-ai-save-humanity/688610/
3•fortran77•1h ago•0 comments

Roadwright: Draw a wheel. See the road it rolls on

https://roadwright.baselashraf.com/
2•thunderbong•1h ago•0 comments

What makes an A2A network work?

https://www.monadix.ai/blog/a2a-strange-bedfellows-shared-goals
3•ivanzhaowy123•1h ago•0 comments

Nova Seed. Create an AI friend and build something together

https://github.com/mas-bandwidth/nova
2•gafferongames•1h ago•0 comments

Why are AI agents lying, cheating and coordinating?

https://yoshuabengio.org/en/publication/why-are-ai-agents-lying-cheating-and-coordinating
17•jonifico•1h ago•17 comments

Fresh Kills – World Trade Center Debris Burial Ground

https://www.youtube.com/watch?v=OdMqX_F66rE
2•dsr12•1h ago•0 comments

A.I. Slopware Is Everywhere Now. Nobody Is Using It

https://www.nytimes.com/2026/09/12/opinion/ai-software-coding-apps.html
10•colinprince•1h ago•0 comments

Asking Anthropic CEO: 'Do you earnestly believe that AI could kill all humans?'

https://www.cnn.com/business/video/anderson-cooper-anthropic-ceo-dario-amodei-could-ai-kill-human...
3•oxag3n•1h ago•0 comments

Scientists Create a New Form of Ice at More Than 2000°C

https://www.sciencealert.com/scientists-create-a-new-form-of-ice-at-more-than-2000-c
12•jnord•1h ago•3 comments

Carney's Bid to Make Canada an 'Associate Member' of the EU

https://www.wsj.com/world/europe/canada-alliance-eu-carney-276f1778
9•JumpCrisscross•1h ago•3 comments

OS that runs the Mars Rovers and Artemis is helping power the Roman Telescope

https://www.windriver.com/blog/NASA-Nancy-Grace-Roman-Space-Telescope
3•ReindeerFlotill•1h ago•1 comments

The Critical Period

https://www.cell.com/current-biology/fulltext/S0960-9822(07)01519-9
2•andsoitis•1h ago•0 comments

Apple wants to train AI on your private personal data

https://machinelearning.apple.com/research/introducing-third-generation-of-apple-foundation-models
24•croes•1h ago•16 comments

The Last AI Built by Humans: Toward Genuine Recursive Self-Improvement

https://arxiv.org/abs/2609.11873
2•mlmonkey•1h ago•1 comments

Using LLMs After a TBI

https://www.urgentteam.com/healthy-living-tips/think-f-a-s-t-act-faster-stroke-signs-that-cant-wait/
2•tj_astro•1h ago•3 comments

DNSCrypt

https://en.wikipedia.org/wiki/DNSCrypt
2•st_goliath•1h ago•0 comments