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

eBay agreed to pay $50M to couple sent cockroaches, bloody pig mask

https://www.clickondetroit.com/business/2026/07/28/ebays-agreed-to-pay-nearly-50-million-to-coupl...
1•Alien1Being•2m ago•0 comments

Headroom cut 39% of my tokens and raised my Claude bill

https://brandonbarker.me/writing/headroom-fewer-tokens-bigger-bill
1•ProjectBarks•2m ago•0 comments

Claude Mythos Preview Finds Vulnerability in Weakened Form of AES

https://www.nytimes.com/2026/07/28/us/politics/anthropic-ai-encryption-security-aes.html
1•theCricketer•3m ago•0 comments

AT1C is an open protocol for cryptographically verifiable human authorisation

https://github.com/at1c-protocol/at1c-protocol-official/blob/main/docs/README.md
1•1obituary•5m ago•0 comments

VJamm 2 Coldcut set rundown [video]

https://www.youtube.com/watch?v=II_2KKYlEMQ
1•gregsadetsky•5m ago•0 comments

Show HN: Self-hosted AI gateway – MCP, budget, PII, smart router, fallback

https://github.com/ilter-ai/ilter
1•ykocaman•8m ago•0 comments

Three big AI trends collide

https://www.axios.com/2026/07/09/ai-trends-fable-5-sol-grok-china-us
1•gmargari•12m ago•0 comments

Commentary on N Guilty Men

https://medium.com/luminasticity/commentary-on-n-guilty-men-fc47d9dd0674
1•bryanrasmussen•17m ago•0 comments

The Cost of China's Free A.I

https://www.nytimes.com/2026/07/29/opinion/ai-china-us-free-models.html
1•kuboble•18m ago•0 comments

Spacesphere Live

https://spacesphere.sygnito.com/en
1•SYGNITO•19m ago•0 comments

Ran Moonshot's 2.8T-parameter Kimi K3 on a GPU-less mini-PC

https://github.com/ferrumox/rabbit
1•manuelslemos•22m ago•0 comments

AIs Don't Take Showers

https://chipx86.blog/2026/07/26/ais-dont-take-showers/
2•bw86•23m ago•0 comments

Proofchain – verify any database's history without trusting the operator

https://github.com/cipherxsniper/proofchain
2•cipherxsniper•24m ago•0 comments

Mapping CVEs to Mitre ATT&CK Techniques

https://arxiv.org/abs/2607.25572
2•adulau•34m ago•1 comments

Folding Paper Globes

https://foldingglobes.com/globes
2•dango2506•34m ago•0 comments

U of T mathematician Jacob Tsimerman awarded prestigious Fields Medal

https://www.utoronto.ca/news/nobel-prize-mathematics-u-t-mathematician-jacob-tsimerman-awarded-pr...
1•gregsadetsky•36m ago•0 comments

Chemical recycling plants closing in EU and US

https://www.chemistryworld.com/news/chemical-recycling-plants-closing-in-eu-and-us/4023904.article
2•latexr•41m ago•0 comments

Preempting the Prefill

https://inmyhead.is/blog/preempting-the-prefill-part-1/
4•adityau19•41m ago•0 comments

Claude Chat Container

https://claude.ai/share/24074801-092c-4a9c-970f-e533f58e88cd
3•_continuation•44m ago•1 comments

Security Determination on the Threat Posed by Foreign-Produced Power Inverters [pdf]

https://www.fcc.gov/sites/default/files/power-inverter-fcc-determination.pdf
1•Stevvo•51m ago•0 comments

Google rivals line up seeking damages after record $1B EU fine

https://www.reuters.com/legal/litigation/google-rivals-line-up-seeking-damages-after-record-1-bil...
4•1vuio0pswjnm7•53m ago•0 comments

Why Christopher Nolan shot "The Odyssey" on IMAX film [video]

https://www.youtube.com/watch?v=1GEqDZ3hQSo
1•handfuloflight•55m ago•0 comments

eBay pays $46M to journalists it targeted in harassment campaign

https://arstechnica.com/tech-policy/2026/07/ebay-former-execs-pay-56m-to-settle-bloody-pig-mask-h...
5•robin_reala•55m ago•2 comments

Dreams Drain Energy: The REM Sleep Paradox

https://www.tohoku.ac.jp/en/press/dreams_drain_energy_the_rem_sleep_paradox.html
2•giuliomagnifico•56m ago•0 comments

Raw Data, Wrong Answers

https://www.theclimatebrink.com/p/raw-data-wrong-answers
1•adrianN•56m ago•0 comments

Web Rendering in Iced: What Works

https://gofranz.com/blog/web-rendering-in-iced-what-actually-works/
1•chironjit•58m ago•0 comments

Kids who own phones have poorer reading comprehension scores than those who dont

https://newsroom.ucla.edu/releases/owning-a-cell-phone-associated-with-poorer-reading-comprehensi...
4•JeanKage•58m ago•0 comments

Paseo: Open-source desktop and mobile app for TUI coding agents (Codex, CC)

https://paseo.sh/
1•maxloh•59m ago•0 comments

Towards Automating Eval Engineering

https://twitter.com/Vtrivedy10/status/2079976006644072796
1•gmays•59m ago•0 comments

Show HN: FOSS sandbox platform for zero trust remote access without secrets

https://github.com/octelium/cordium
1•geoctl•1h ago•0 comments