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

Energy-Based Models Explained: The AI Beyond Next-Token [video]

https://www.youtube.com/watch?v=NYmXYF8A3Q4
1•binyu•2m ago•0 comments

Software as Executable Domain Knowledge

https://swipeleft.ai/servicematch/papers/software-as-executable-domain-knowledge/
1•jamesrbockrath•4m ago•0 comments

Graphify – Less token use for Claude Code

https://github.com/Graphify-Labs/graphify
1•potatobox•6m ago•0 comments

X changes revenue sharing to reward original content

https://twitter.com/XCreators/status/2085835082166653393
1•judah•13m ago•0 comments

Show HN: Agent Tunnels – coding agents collaborate across companies

https://agenttunnels.com/
2•lakshman111•16m ago•1 comments

Chilean Supreme Court ruling on the protection of brain activity 2023

https://pmc.ncbi.nlm.nih.gov/articles/PMC10929545/
1•rmason•20m ago•1 comments

Show HN: Tocic – Chatbot table of content browser extension

https://addons.mozilla.org/en-US/firefox/addon/tocic-chatbot-table-of-content/
1•a_c•20m ago•0 comments

Ex-Gawker editor AJ Daulerio on life after addiction

https://www.theguardian.com/media/ng-interactive/2026/aug/06/aj-daulerio-gawker-sobriety-addiction
1•Michelangelo11•21m ago•0 comments

Biomes – Exotic Matter Chapter 1 Now Available (Indie Mmorpg)

https://www.glitch.fun/games/42de534c-600f-4228-af9e-b69faef94cce/play
1•bingewave•21m ago•0 comments

How and Why I Stopped Buying New Laptops (2020)

https://solar.lowtechmagazine.com/2020/12/how-and-why-i-stopped-buying-new-laptops/
1•downbad_•23m ago•1 comments

Archive of Animal Photography Reveals 18,000 Species and Counting

https://www.smithsonianmag.com/science-nature/this-amazing-archive-of-animal-photography-reveals-...
3•sohkamyung•28m ago•0 comments

Right to Repair–For Your Body

https://fourthievesvinegar.org/
6•_____k•30m ago•0 comments

Show HN: Dirblock+envblock – tiny whitelist guards for dirs and env secrets

https://github.com/roku-oss/dirblock
1•pfrench42•31m ago•1 comments

Show HN: More Branchless Optimization

https://sites.google.com/view/david-kooi/blog/branchless_in_c
1•kooi•31m ago•0 comments

Show HN: Turnfeed – a social feed inside ChatGPT

https://chatgpt.com/plugins/plugin_asdk_app_69f121f489748191a86a5a4f1dbe27b2?q=turnf
1•TheodorNEngoy•36m ago•0 comments

Show HN: Emacs Liquid Glass

https://github.com/larrasket/emacs-liquid-glass
1•lr0•37m ago•0 comments

Show HN: CrossPlay - Games, puzzles and tools for your e-reader

https://crossplay.ma-r-s.com
1•ma-r-s•38m ago•0 comments

Detecting breaking API changes in Go with golang.org/x/exp/cmd/apidiff

https://medium.com/dev-genius/detecting-breaking-api-changes-in-go-with-apidiff-bd608bbc7996
1•cheikhdev•38m ago•0 comments

How to Survive an Infestation of Toxic Caterpillars

https://www.newyorker.com/science/elements/how-to-survive-an-infestation-of-toxic-caterpillars
2•petethomas•38m ago•0 comments

MacSurf and the State of AI Assisted Projects

https://www.patreon.com/MacSurf/posts/macsurf-state-of-166060679
1•mplsllc•39m ago•0 comments

Tucows

https://en.wikipedia.org/wiki/Tucows
2•reaperducer•40m ago•0 comments

Show HN: Jobman – nohup with retries, timeouts, and dependencies

https://github.com/ryancswallace/jobman
1•ryancswallace•43m ago•1 comments

Working on Economics with Fable 5

https://wilsoniumite.com/2026/08/03/working-on-economics-with-fable-5/
2•Wilsoniumite•45m ago•0 comments

Chernobyl's Robots, or the Hackathon from Hell

https://hackaday.com/2026/08/07/chernobyls-robots-or-the-hackathon-from-hell/
1•rustoo•45m ago•0 comments

Target Is Slicing Open Pokémon Card Boxes Before They're Sold to Deter Scalpers

https://www.ign.com/articles/target-is-slicing-open-pokmon-card-boxes-before-theyre-sold-in-a-bid...
2•TMWNN•46m ago•1 comments

U.S. Department of Energy Launches the Genesis Open Models Initiative

https://genesisopenmodels.anl.gov/
3•moelf•50m ago•0 comments

Cowchat – Let Claude, Codex, and other agents talk to each other locally

https://cowchat.cowboy.inc/
2•ryanlchan•50m ago•1 comments

Musk Refuses Ukrainian Request to Enable Starlink for Deep Strikes Inside Russia

https://united24media.com/world/elon-musk-refuses-ukrainian-request-to-enable-starlink-for-deep-s...
3•CharlesW•51m ago•0 comments

Not-So-Kosher Slaughterhouse

https://rumble.com/v798evg-secret-kosher-slaughterhouse-exposed-in-england-sickening-investigatio...
1•krautburglar•51m ago•0 comments

"I built a speed/distance tracker for my hamster, uploads to his Strava account"

https://www.reddit.com/r/SideProject/comments/1v9uyq0/i_built_a_speeddistance_tracker_for_my_hams...
1•zdw•52m ago•0 comments