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

Pi-based coding agent with hard budget caps

https://kimchi.dev/
1•testycool•4m ago•0 comments

Write Your Own Virtual Machine

https://www.jmeiners.com/lc3-vm/
1•shraddhaag•7m ago•0 comments

Forms in HTML Tables

https://forum.palemoon.org/viewtopic.php?t=33817
1•mimasama•9m ago•0 comments

AI can clone your indie game, but not its soul

https://twitter.com/robertvaradan/status/2106061989122334778
3•robertvaradan•14m ago•0 comments

Iran says it seized US underwater vehicle conducting 'espionage'

https://thearabweekly.com/iran-says-it-seized-us-underwater-vehicle-conducting-espionage
3•snarky-comments•15m ago•0 comments

Survival Ball Versus: The Sabbatical Sprint

https://lopespm.com/2026/10/04/survival_ball_versus.html
1•lopespm•20m ago•0 comments

Chalkboard and Avatar for AI Agents

https://github.com/zohayrslileh/more-space
1•zouhirdx•24m ago•1 comments

Give your AI agent awareness of what's happening around you

https://github.com/SyncSo-Inc/syncso
1•ts3479•25m ago•0 comments

Musk explains why Tesla Robotaxi isn't running at night, and Lidar is the answer

https://electrek.co/2026/10/03/tesla-robotaxi-pets-night-musk-lidar/
3•cisc•27m ago•0 comments

China's space plane appears to have released a mystery object in orbit

https://www.space.com/space-exploration/launches-spacecraft/chinas-space-plane-appears-to-have-re...
3•mooreds•32m ago•0 comments

What is the true reach of a human being?

https://www.echohive.ai/the-reach-of-being
1•echohive42•35m ago•0 comments

Ask HN: How different is Apple App Store and Play Store paid apps market

1•sahil423•36m ago•0 comments

What September's Employment Numbers Say [video]

https://www.youtube.com/watch?v=mlZg8gQAUTk
1•mooreds•36m ago•0 comments

Look for the Helpers

https://1429.help/about/
1•mooreds•38m ago•0 comments

Kansas Legislature's Cuts Compel Fort Hays State Uni to Close Sternberg Museum

https://kansasreflector.com/2026/09/30/budget-woes-compel-fort-hays-state-university-to-prepare-s...
1•rdmuser•38m ago•0 comments

Decoding Looped Transformers Better for Almost Free

https://arxiv.org/abs/2610.02185
1•simonpure•44m ago•0 comments

How the bad science of AI doomerism is good for big business

https://thebulletin.org/2026/09/how-the-bad-science-of-ai-doomerism-is-good-for-big-business/
4•paimapi•49m ago•0 comments

Packing Unit Squares in Squares: A Survey and New Results

https://erich-friedman.github.io/papers/squares/squares.html
3•thunderbong•50m ago•0 comments

Inside Anthropic's Quest to Instill Morality into Its A.I. Models

https://www.nytimes.com/2026/09/29/us/anthropic-claude-morals-ai.html
6•bookofjoe•59m ago•2 comments

Context Monorepos

https://backnotprop.com/blog/context-monorepos/
1•ramoz•1h ago•1 comments

Post-Quantum WireGuard vs. Classical: 37x Keys (2026)

https://shattered.io/post-quantum-wireguard-vs-classical-wireguard-2026/
1•msgchainhq•1h ago•0 comments

Robert X Cringley's Triumph of the Nerds and Nerds 2.0.1 [video]

https://www.youtube.com/watch?v=toSRmKKiosQ&list=PLAXA1ccaOnGdbStEwcKE56YzlYDYOx2Tx
6•JMiao•1h ago•0 comments

OpenAI's latest features take direct aim at the app store model

https://techcrunch.com/2026/09/29/openais-latest-features-take-direct-aim-at-the-app-store-model/
1•thm•1h ago•0 comments

Television

https://television.run/
2•ray__•1h ago•0 comments

I went looking for surveillance cameras in my neighbourhood

https://www.bbc.com/future/article/20260902-how-to-watch-the-cameras-that-watch-you
2•cisc•1h ago•0 comments

The Alto Line, a comfortable ride for the business executive

https://melvynschobel.substack.com/p/the-alto-line-a-comfortable-ride
1•dorygold•1h ago•1 comments

Row-level security performance in PostgreSQL, measured

https://now-next.nl/en/insights/row-level-security-performance-postgresql/
3•plaur782•1h ago•0 comments

Superharness Built This

https://djentic.ai/showcase/particle-engine/
1•kentino•1h ago•0 comments

Single cortical neurons as deep artificial neural networks

https://www.sciencedirect.com/science/article/pii/S0896627321005018
2•E-Reverance•1h ago•0 comments

Repeated scope failures in real Codex projects(GPT-6)

https://community.openai.com/t/repeated-scope-failures-in-real-codex-projects/1399757
1•Rapzid•1h ago•0 comments