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

Leaked from Russia: 18 Videos of the Fuel Crisis Growing Fast

https://www.youtube.com/watch?v=yIj3CLqsOXs
1•consumer451•22s ago•0 comments

A weekly read on the US hay market

https://haywireag.com/
1•mooreds•23s ago•0 comments

Microsoft turns to AWS as GitHub faces AI capacity crunch

https://runtimewire.com/article/microsoft-github-aws-ai-capacity-crunch
1•ilreb•49s ago•0 comments

Anthropic Sued over Alleged False Advertising on Claude Max Subscription Limits

https://www.cnet.com/tech/services-and-software/anthropic-sued-alleged-false-advertising-claude-m...
1•SilverElfin•1m ago•0 comments

6th Finger Project (2022) [video]

https://www.youtube.com/watch?v=232jn-Vu6Rk
1•nivethan•2m ago•0 comments

Australia to probe assault claims by Gaza flotilla activists against Israeli[..]

https://www.bbc.com/news/articles/clyx4eny41zo
1•grugagag•3m ago•0 comments

Library

https://benbrown.com/library/
1•toomuchtodo•3m ago•1 comments

San Andreas fault reaches highest stress level in 1k years

https://mauinow.com/2026/06/15/san-andreas-fault-reaches-highest-stress-level-in-1000-years/
1•harambae•4m ago•0 comments

Microsoft Teams introduces office attendance tracking via Wi-Fi

https://www.pcworld.com/article/3165894/from-this-month-onwards-this-microsoft-programme-will-be-...
2•ilreb•4m ago•0 comments

Vance: Iran can have access to $300B reconstruction fund

https://thehill.com/homenews/administration/5924963-vance-iran-300b-reconstruction-fund/
3•GreenSalem•6m ago•0 comments

Woodrow Wilson: America's worst president for free speech

https://expression.fire.org/p/woodrow-wilson-americas-worst-president
2•iamnothere•6m ago•0 comments

The Talk Show: Live from WWDC 2026 [video]

https://www.youtube.com/watch?v=OtRgxqMuUY8
1•Austin_Conlon•14m ago•0 comments

SpaceX IPO leaves retail investors too few shares, tough hold-or-sell decision

https://www.cnbc.com/2026/06/15/spacex-ipo-leaves-retail-investors-with-too-few-shares-and-a-toug...
1•1vuio0pswjnm7•18m ago•0 comments

US Government warned Anthropic Fable was jailbroken, but firm 'refused' to fix

https://www.tomshardware.com/tech-industry/artificial-intelligence/trump-adviser-david-sacks-says...
1•frankacter•19m ago•0 comments

Our docs are shit and we're bad at teaching

https://deadsimpletech.com/blog/docs-shit-bad-at-teaching
1•cratermoon•20m ago•0 comments

Florida sues TikTok, claiming it violates state child safety law

https://www.reuters.com/legal/government/florida-sues-tiktok-claiming-it-violates-state-child-saf...
1•1vuio0pswjnm7•22m ago•0 comments

Information as Activation: Ontology of Observer-Dependent Information

https://philpapers.org/rec/HANIAA-5
2•hanhuiwen•23m ago•0 comments

Bored.com

https://www.bored.com/
1•tomrod•25m ago•0 comments

Show HN: Devloop, a local code/review loop for Codex and Claude Code

https://devloop.sh
1•satyaborg•26m ago•0 comments

Trump's Iran Truce Has the Hallmarks of Defeat

https://www.bloomberg.com/opinion/articles/2026-06-15/iran-us-peace-deal-trump-s-iran-truce-has-t...
7•GreenSalem•28m ago•0 comments

Carmen Li to Build a Futures Market for Compute

https://www.bloomberg.com/news/articles/2026-06-15/carmen-li-s-plan-to-build-a-futures-market-for...
1•GreenSalem•29m ago•0 comments

How to get empowered, not overpowered, by AI (2018) [video]

https://www.ted.com/talks/max_tegmark_how_to_get_empowered_not_overpowered_by_ai
2•andsoitis•36m ago•0 comments

Snake Game in Firefox's address bar after typing "25*6"

https://old.reddit.com/r/firefox/comments/1u6bdjy/hidden_snake_game/
4•exploraz•36m ago•2 comments

Pavel Durov – Communication Technology and the Struggle for Freedom

https://www.youtube.com/watch?v=1Yq_5aDdJ24
2•doppp•40m ago•0 comments

Base Fatality List

https://bfl.baseaddict.com/list
2•hluska•41m ago•0 comments

New Domain for Sign in with Apple and iCloud+ Hide My Email

https://developer.apple.com/news/?id=sus6t6ab
3•nnx•42m ago•0 comments

SVGs and PDFs can both be interactive

https://vexlio.com/blog/svgs-and-pdfs-can-both-be-interactive/
3•thunderbong•44m ago•0 comments

Anthropic pauses Claude Agent SDK policy

2•rbitar•46m ago•0 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
3•andsoitis•48m ago•6 comments

Show HN: Aspectarian – a Jyotiṣa transit reader for macOS using Claude

https://github.com/SpecStudio-net/Aspectarian
1•SpecStudioHN•48m ago•0 comments