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

I found five errors in my own paper on AI vs. web search energy

https://dupr.at/thermodynamic-efficiency-inversion
1•duprat•1m ago•0 comments

Building a Rust Inference Engine That Matches Llama.cpp

https://www.fratepietro.com/2026/ferrox-rust-gguf-inference-engine/
1•antonellof•2m ago•0 comments

Remover – AI tool to remove unwanted objects from videos

https://remover.work
1•lisaluan•2m ago•0 comments

GitHub Account Breach Fuels Shai-Hulud NPM Supply Chain Attack

https://www.esecurityplanet.com/threats/github-account-breach-fuels-shai-hulud-npm-supply-chain-a...
1•doodlebugging•7m ago•1 comments

Hackers' AI chat logs reveal evolving tactics

https://www.axios.com/2026/08/04/exclusive-hackers-ai-chat-logs-reveal-evolving-tactics
1•laacz•9m ago•0 comments

Show HN: I created a new Deep Learning Framework

https://picodl.vercel.app
1•alight•9m ago•0 comments

US Military GPS jamming operations cause civilian aircraft crash and wildfires

https://apnews.com/article/new-mexico-plane-crash-medevac-ntsb-gps-d95ba57711f926082d7f11d2c20f0f0d
1•ambigious7777•13m ago•0 comments

The workers caught in the AI transition

https://www.bbc.com/news/articles/cgr7nxve05go
1•geox•13m ago•0 comments

I-have-ADHD – A skill for coding assistant that stops it from burying the answer

https://github.com/ayghri/i-have-adhd
1•vismit2000•13m ago•0 comments

Brk or bust – a Kelly bet simulator

https://jaamesd.github.io/kelly-game/
1•andromeduck•15m ago•0 comments

OpenAI and Anthropic models went rogue in cyber tests, UK watchdog says

https://www.ft.com/content/480c18a3-e661-4c7c-aaa0-1763887144a2
3•tdsone3•18m ago•0 comments

Subscription-free LoRa Meshtastic phone built for reliable on and off-grid

https://specfive.com/products/spec5-spectre-pro
1•DanielSusca•20m ago•0 comments

Ferrari's Controversial Luce EV Has Reportedly Sold Out

https://robbreport.com/motors/cars/ferrari-luce-2026-production-run-sold-out-1238515555/
1•ZeljkoS•20m ago•0 comments

Soppo – A language that compiles to Go, with the features it's missing

https://github.com/halcyonnouveau/soppo
1•aghuang•20m ago•0 comments

SpaceX rocket part believed to have hit Moon as NASA prepares to study crash

https://www.bbc.com/news/live/cr3w09314x54t
2•hahahaa•21m ago•0 comments

GPT 5.6 Has 72 Possible Configurations. What's a Good Default?

https://sebastianraschka.com/blog/2026/gpt-5-6-configurations.html
1•alexmolas•23m ago•0 comments

Show HN: ModelPlane, one OpenAI-compatible gateway for AI models

https://modelplane.dev/
1•cyrbuzz•25m ago•0 comments

Apple Challenges UK iCloud Backdoor Order

https://reclaimthenet.org/apple-challenges-uk-icloud-backdoor-order
3•anonymousiam•29m ago•0 comments

When Compilers Disagree About UTF‑8

https://nemanjatrifunovic.substack.com/p/when-compilers-disagree-about-utf8
3•rbanffy•35m ago•1 comments

Nauru officially changes its name to Naoero

https://www.theguardian.com/world/2026/aug/03/nauru-officially-changes-its-name-to-naoero
2•Someone•36m ago•0 comments

Show HN: Online Sound Test, browser audio tests with guided troubleshooting

https://onlinesoundtest.com
1•zylics•37m ago•0 comments

Show HN: HN: Sandbox Your Agent with Runeward

https://github.com/Runewardd/runeward
1•tha_infra_guy•38m ago•0 comments

The Lua community needs to learn to move on

https://hisham.hm/2026/08/04/the-lua-community-needs-to-learn-to-move-on/
1•matheusmoreira•38m ago•0 comments

The Surprisingly Roots of the Renaissance Fair

https://www.smithsonianmag.com/history/the-surprisingly-radical-roots-of-the-renaissance-fair-180...
1•pantalaimon•40m ago•0 comments

Japan casts military buildup as path to economic prosperity

https://www.reuters.com/world/asia-pacific/japan-casts-military-buildup-path-economic-prosperity-...
2•mapping365•41m ago•0 comments

More than 400 detained, 156 of them minors, due to the wave of fires in France

https://www.democrata.es/en/international/more-than-400-detained-156-of-them-minors-due-to-the-wa...
1•fodmap•43m ago•0 comments

Time travellers are using LinkedIn to teach us about artificial intelligence

https://www.ft.com/content/4a4b442c-7ae4-4553-bcab-d744d8d46c79
1•97-109-107•48m ago•0 comments

Beating Castlevania with Antithesis

https://antithesis.com/blog/castlevania/
1•luu•48m ago•0 comments

SpaceX rocket thought to have crashed into the moon in unintentional collision

https://www.theguardian.com/science/2026/aug/05/spacex-rocket-moon-crash-impact-falcon-9
1•tosh•48m ago•0 comments

Wispr Flow launches a Granola-styled meeting notetaker

https://techcrunch.com/2026/08/05/wispr-flow-is-preparing-to-launch-a-meeting-notetaker-updated-t...
2•ramn7•50m ago•0 comments