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

Low Danube river levels force Romania to shut down its nuclear power reactors

https://www.reuters.com/business/energy/low-danube-river-levels-force-romania-shut-down-both-its-...
1•_tk_•32s ago•0 comments

SFR (French Internet provider) is blocking opencode.ai

1•krikou•2m ago•0 comments

FreeBSD: Missing Mac validation in wg(4) packet decryption

https://www.freebsd.org/security/advisories/FreeBSD-SA-26:52.if_wg.asc
1•dchest•2m ago•1 comments

FreshSaaS.online

https://freshsaas.online/
1•Coineater•3m ago•2 comments

Jump Lists in Depth

https://binaryforay.blogspot.com/2016/02/jump-lists-in-depth-understand-format.html
1•ankitg12•10m ago•0 comments

Show HN: An app that logs your meal's calories from a photo

https://btrapp.com/
2•behzodhalil•11m ago•0 comments

Tiny circuit turns a hidden property of electrons into a working info channel

https://www.nanowerk.com/nanotechnology-news3/newsid=69875.php
1•geox•15m ago•0 comments

Replacing the Kobo Libra H2O Battery

https://ei3lh.eu/2025/11/20/replacing-the-kobo-libra-h2o-battery/
1•austinallegro•20m ago•0 comments

Lasers could help provide fuel for nuclear reactors

https://www.technologyreview.com/2026/07/27/1140798/laser-nuclear-enrichment/
1•rbanffy•21m ago•0 comments

Radiation Tradeoffs for Mars – How to get by when the sky wants you dead

https://mceglowski.substack.com/p/radiation-tradeoffs-for-mars
1•calcifer•21m ago•0 comments

Fleet: Hierarchical Task-Based Abstraction for Megakernels on Multi-Die GPUs

https://arxiv.org/abs/2604.15379
1•matt_d•21m ago•0 comments

North Korea-linked hackers targeted major NPM packages

https://aws.amazon.com/blogs/security/amazon-identifies-north-korean-hacker-group-behind-open-sou...
1•BlueBerry2001•27m ago•0 comments

When Your Video Call Freezes, the Problem Is Not What You Think

https://capytoolkit.com/blog/guides/video-call-freezes-p2p-connectivity-diagnostic/
1•CapyToolkit•28m ago•0 comments

Who decides when the task is done? Moving completion authority to checkers

https://zenodo.org/records/21698264
1•kushagrab21•29m ago•0 comments

Gen1Recomp – Native LÖVE2D Recreation of Poke Red, Blue and Yellow

https://github.com/bryanthaboi/gen1recomp
1•throwaway270925•30m ago•0 comments

Building an LSTM-Based Trading Model for Cryptocurrency Markets

https://medium.com/@DolphinDB_Inc/from-factor-discovery-to-live-signals-unified-stream-batch-proc...
2•napgirllll•30m ago•0 comments

Red Cross declares crisis over blood supply shortage in US for 2nd its history

https://www.bbc.com/news/articles/c74gze89783o
1•Teever•31m ago•0 comments

Qualcomm Completes Acquisition of Modular

https://www.modular.com/blog/qualcomm-completes-acquisition-of-modular
1•samuell•31m ago•0 comments

Elon Musk's xAI is trying to sue its way out of a Grok reckoning

https://arstechnica.com/tech-policy/2026/07/elon-musks-xai-is-trying-to-sue-its-way-out-of-a-grok...
3•rbanffy•32m ago•0 comments

An overlooked geothermal plant got a second chance

https://www.technologyreview.com/2026/07/29/1140896/geothermal-second-chance/
3•joozio•33m ago•0 comments

Highlights from the Discourse on the Hugging Face Incident

https://www.astralcodexten.com/p/highlights-from-the-discourse-on
2•Michelangelo11•35m ago•0 comments

Catch up TV on Android: what the streaming apps do

https://iptvespana.io/aplicaciones
1•thebrandonpatel•37m ago•1 comments

Catch Up TV on Android: What Works in 2026

https://iptvespana.io/precios
1•thebrandonpatel•40m ago•1 comments

A Genocide? In Gaza? and Still Ongoing?

https://medium.com/freedomofthought/a-genocide-in-gaza-and-still-ongoing-db9f01ae89fe
2•raynchad•41m ago•0 comments

Think

https://mark-sowell.medium.com/the-legacy-of-think-from-ibm-to-apples-think-different-and-beyond-...
1•andsoitis•43m ago•0 comments

Starliner might fly into space this year

https://arstechnica.com/space/2026/07/actually-starliner-might-fly-into-space-this-year/
2•rbanffy•46m ago•2 comments

The Origins of Vintage Comics Part 1

https://www.truegrittexturesupply.com/blogs/news/origins-of-the-vintage-comics-aesthetic-part-1
2•Michelangelo11•50m ago•0 comments

Character Study: The burgeoning field of fiction character biographies

https://lareviewofbooks.org/article/fictional-character-biographies-shakespeare-margaret-hannibal...
1•Caiero•52m ago•0 comments

Fuzzing with Agents? Generators Are All You Need

https://arxiv.org/abs/2604.01442
1•matt_d•56m ago•0 comments

Claude Opus 5 became ruthless when tasked with running a vending machine

https://techcrunch.com/2026/07/29/claude-opus-5-became-downright-ruthless-when-tasked-with-runnin...
3•WithinReason•59m ago•0 comments