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

Technological Determinism

https://en.wikipedia.org/wiki/Technological_determinism
1•senor_digimon•53s ago•0 comments

Coldcard Bitcoin Exploit Balloons to $88M as Attackers Keep Draining Wallets

https://decrypt.co/374817/coldcard-bitcoin-exploit-88-million-attackers-draining-wallets
1•chrisjj•5m ago•0 comments

Smoke Forecast

https://firesmoke.ca/forecasts/current/
1•Bender•7m ago•0 comments

Necropolitics

https://en.wikipedia.org/wiki/Necropolitics
2•thunderbong•8m ago•0 comments

Arch Linux disables AUR package adoption to stop malware flood

https://www.bleepingcomputer.com/news/security/arch-linux-disables-aur-package-adoption-to-stop-m...
1•akyuu•10m ago•0 comments

A fresh look at CPU silent data corruption in modern data centers

https://cacm.acm.org/research/revisiting-cpu-silent-data-corruptions-in-modern-datacenters/
1•visha1v•11m ago•0 comments

Show HN: [Target: Humanity] An experimental alternate reality game

https://TargetHumanity.com
2•MaxONeill159•12m ago•0 comments

Nanocodex: Building blocks for frontier OpenAI agents in Rust

https://github.com/gakonst/nanocodex
2•sygma•16m ago•0 comments

An airport search, a wiped phone and a potential test of Fourth Amendment

https://www.cnn.com/2026/08/02/politics/airport-search-left-wing-activist-phone-code-fourth-amend...
1•rawgabbit•16m ago•1 comments

Welcome to Agents Week

https://blog.cloudflare.com/agents-week-welcome/
6•tosh•16m ago•2 comments

How 'salmon' raised in landlocked Xinjiang is netting fans in China

https://www.scmp.com/economy/china-economy/article/3347727/how-salmon-raised-landlocked-xinjiang-...
1•ksec•17m ago•0 comments

SwiftUI After 7 Years: A Story of Mediocrity [video]

https://www.youtube.com/watch?v=3XaHHFOZeJg
2•mpweiher•17m ago•0 comments

North American construction is back–smaller and faster–at OPG's Darlington

https://www.ans.org/news/2026-06-05/article-8047/north-american-construction-is-back-smaller-and-...
1•mpweiher•18m ago•0 comments

The Myth of Snow Leopard

https://www.rubenerd.au/the-myth-of-snow-leopard/
2•speckx•19m ago•0 comments

The Creator Economy Has a New Middle Class

https://www.bloomberg.com/news/articles/2026-07-24/how-tiktok-creators-earn-midlevel-salaries-wit...
1•momentmaker•19m ago•1 comments

Show HN: An interactive in-browser tutorial for MarkoJS V6 with solvable lessons

https://markojs-tutorial.netlify.app/
1•defunkt-dev•20m ago•0 comments

Show HN: Social Hiking App

https://losttrail.app
1•lpeancovschi•22m ago•0 comments

Shelley Is a Coding Agent

https://github.com/boldsoftware/shelley
1•tosh•24m ago•0 comments

Which Countries Think They're on the Right Track?

https://www.visualcapitalist.com/how-people-around-the-world-feel-about-their-countries-in-2026/
1•theanonymousone•26m ago•0 comments

Combinatorial Materials Synthesis(2023) [pdf]

https://gregoire.people.caltech.edu/documents/22843/CombinatorialMaterialsSynthesis_preprint.pdf
1•o4c•26m ago•0 comments

Devtools must be open source

https://blog.exe.dev/devtools-must-be-open-source
2•tosh•26m ago•0 comments

AI and the iPod Test

https://www.psychologytoday.com/us/blog/the-digital-self/202607/ai-and-the-ipod-test
1•speckx•28m ago•0 comments

Show HN: Mapping Jensen Huang's five-layer AI stack to engineering degrees

https://ai-five-layer-map.pages.dev/
1•ithkai92•28m ago•0 comments

Show HN: Mousecrack – Bypass captchas with deep learning

https://github.com/puffinsoft/mousecrack
1•ReactRocks•30m ago•0 comments

I pointed my agent security tool at myself and four of the bugs were mine

https://agentmetry.ai/blog/dogfooding-found-five-bugs
1•blitzcrieg1•30m ago•0 comments

I built a real self-evolving operating system: Fable-OS

https://github.com/robiot/fable-os
2•robiot•33m ago•1 comments

Microsoft Paint used as a monitor to run Doom at up to 35 FPS

https://www.tomshardware.com/video-games/retro-gaming/microsoft-paint-used-as-a-monitor-to-run-do...
2•sbulaev•34m ago•0 comments

An OPML list of (most) blogs participating in Blaugust

https://82mhz.net/posts/2026/08/an-opml-list-of-most-blogs-participating-in-blaugust/
1•speckx•34m ago•0 comments

Show HN: EvoChess – start with 8 pawns, evolve your army

https://penkovsky.github.io/evochess/
3•penkovsky•34m ago•2 comments

Claude for ADHD: The Coding Workflow I Built for My Brain

https://chudi.dev/blog/claude-code-adhd-workflows
1•thenobsta•38m ago•0 comments