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

The real mathematics is the one that we dream – David Bessis

https://davidbessis.substack.com/p/the-real-mathematics-is-the-one-that
1•lioeters•1m ago•0 comments

Silicon Valley Splits over Closing the Borders to Chinese A.I

https://www.nytimes.com/2026/07/25/technology/open-source-silicon-valley-china.html
2•dkobia•1m ago•0 comments

Nepo – the largest database of nepotism and nepo babies

https://www.nepodb.com/
1•poppypetalmask•8m ago•0 comments

Triton: DirectX 11 driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
1•generichuman•8m ago•0 comments

Show HN: Houhou – Resilience Policies Package for TypeScript Async Functions

https://hou2.vercel.app/
1•smokeeaasd•10m ago•0 comments

Stinkpot: SQLite-Backed Shell History

https://tangled.org/oppi.li/stinkpot
1•birdculture•15m ago•0 comments

Claude Usage Public Leaderboard

https://www.claudeusage.com/leaderboard
1•bazarkua•16m ago•0 comments

How the World Cup impacted global health?

https://ouraring.com/blog/2026-world-cup-data-story/
1•jenthoven•17m ago•0 comments

Books can't piss me off

3•emerongi•19m ago•1 comments

Should you use AI for a task? Here's a simple way to decide

https://www.theguardian.com/commentisfree/2026/jul/24/should-you-use-ai
1•flopsamjetsam•23m ago•2 comments

Brazil denies visas to U.S. officials who aimed to impugn electoral system

https://www.washingtonpost.com/world/2026/07/24/us-sending-envoys-question-brazilian-electoral-sy...
2•matheusmoreira•29m ago•2 comments

Dht-spy – BitTorrent DHT telemetry

https://dhtspy.net/
1•ogurechny•34m ago•0 comments

Show HN: Desktui – a remote desktop client for your terminal

https://github.com/mishushakov/desktui
3•ushakov•38m ago•0 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
7•oliculipolicula•38m ago•0 comments

Htmx 4: The Game

https://swag.htmx.org/products/htmx-4-the-game
3•geophph•52m ago•0 comments

Show HN: Routeveil – Shared-element and page transitions engine for React Router

https://www.routeveil.dev/lab/shared-elements
2•milkeviich•58m ago•0 comments

The Assumption of Maria (near future sci-fi)

https://www.lightspeedmagazine.com/fiction/the-assumption-of-maria/
5•swernli•58m ago•0 comments

The Dundee Time Capsule

https://www.greatwardundee.com/the-home-front/the-dundee-time-capsule/
1•xg15•59m ago•0 comments

"Loneliness influencers" are all the rage, but everyone is wrong about them

https://preta6.substack.com/p/loneliness-influencers-are-all-the
2•ropili•1h ago•0 comments

For coding agents, real-time collaboration beats the "wisdom of the crowd"

https://ykdojo.github.io/antigravity-cloud-run/experiments/collaboration-vs-wisdom-of-the-crowd/
2•ykev•1h ago•0 comments

Quantum internet leaves the lab

https://news.northwestern.edu/stories/2026/07/quantum-internet-leaves-the-lab
5•hhs•1h ago•0 comments

Algorithm-designed photonic circuits beyond human intuition

https://seas.harvard.edu/news/algorithm-designed-photonic-circuits-beyond-human-intuition-0
2•hhs•1h ago•0 comments

Where Your Mind Goes When You Stop

https://lanternhours.substack.com/p/where-your-mind-goes-when-you-stop
1•cuongvtran•1h ago•0 comments

Why Losing an Argument Feels Like Losing Yourself

https://lanternhours.substack.com/p/why-losing-an-argument-feels-like
2•cuongvtran•1h ago•0 comments

Clinical Failure Rates over the Decades: Yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
15•EA-3167•1h ago•9 comments

Trump's Push to Build Data Centers for the US Military

https://www.motherjones.com/politics/2026/07/data-centers-us-military-bases-public-lands/
3•cdrnsf•1h ago•0 comments

Ubuntu Pro auth service down?

https://ubuntu.com/login?next=/pro/attach?
1•spl757•1h ago•1 comments

Pangrandomonium: Rhizome Function Anagram Random Generator

https://zenodo.org/records/21551292
1•OCTADE•1h ago•1 comments

Wreckage of 1952 Pan Am plane crash found near Puerto Rico

https://www.theguardian.com/world/2026/jul/22/wreckage-found-1952-pan-am-plane-crash-air-safety-p...
2•firasd•1h ago•0 comments

Show HN: Cross-Platform Flutter and React-Native Plugin – FFmpeg-Kit-Extended

1•akashskypatel•1h ago•0 comments