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

Time Pricing Big Macs Around the World

https://newsletter.humanprogress.org/p/time-pricing-big-macs-around-the
1•surprisetalk•42s ago•0 comments

New Codex and Chat GPT app is a bit confusing to use?

https://learn.chatgpt.com/docs/app
1•strax01•1m ago•0 comments

Scientists Say a Critical Ocean Current System May Be Past Point of No Return

https://gizmodo.com/scientists-say-a-critical-ocean-current-system-may-already-be-past-the-point-...
1•pseudolus•3m ago•0 comments

All-New Aito M9 Surpasses 10K Deliveries in 3 Weeks,Total Deliveries Exceed 300K

https://english.news18a.com/m/news/english_272310.html
1•teleforce•4m ago•0 comments

How do you use Vim in the era of AI?

2•rstagi•4m ago•0 comments

We Put an L7 Firewall in the Kernel

https://yeet.cx/blog/l7-firewall-in-the-kernel
1•ok_major_9889•4m ago•0 comments

A Plan to Stop Solar Storms from Sending Us Back to the Stone Age

https://www.wsj.com/science/space-astronomy/solar-storm-what-is-stormwall-e2ca1823
2•fortran77•4m ago•1 comments

StubHub's 'marketplace for fans' is run by a mass scalper, SEC filings reveal

https://www.cbc.ca/lite/story/9.7265230
2•colinprince•5m ago•0 comments

AI Transport v0.5.0: durable execution with Steps

https://ably.com/blog/ai-transport-durable-execution-steps
1•zknill•7m ago•0 comments

Show HN: Runloom – Go-style coroutines for Python free-threaded

https://github.com/robertsdotpm/runloom
2•Uptrenda•8m ago•0 comments

Ryanair Passenger Partly Sucked Out of Jet as Window Breaks

https://www.seattletimes.com/business/passenger-partly-sucked-out-of-boeing-jet-as-window-dislodges/
1•alpha_squared•9m ago•0 comments

Fighting Fires with Figures, Experts Are Trying to Stop Europe from Burning

https://www.nytimes.com/2026/07/10/world/europe/fire-climate-change-heat-wave-global-warming.html
1•mitchbob•10m ago•1 comments

Society for the Diffusion of Useful Knowledge

https://en.wikipedia.org/wiki/Society_for_the_Diffusion_of_Useful_Knowledge
1•nstents•11m ago•0 comments

Show HN: LanceDB VS Code Extension

https://github.com/eozsahin1993/lancedb-explorer
2•emrecodes•11m ago•0 comments

Why Do You Suck at Juggling?

https://pgadey.ca/notes/suck-at-juggling/
2•surprisetalk•15m ago•0 comments

A 4x4 MIMO SDR tile for spatial RF vision and beamforming

https://www.crowdsupply.com/scale-rf/quadrf
2•supermdguy•15m ago•0 comments

Europe's Largest Unions Demand Right to Cancel Work on Days Above 30C

https://novaramedia.com/2026/07/09/europes-largest-unions-demand-right-to-cancel-work-on-days-abo...
2•robtherobber•16m ago•1 comments

If Microsoft sold off Xbox, who would even buy it?

https://www.theverge.com/games/962837/microsoft-xbox-spin-off-sell-divest-layoffs-asha-sharma
1•cavemandaveman•21m ago•0 comments

Show HN: Eveagents.dev

https://www.eveagents.dev/
3•elwingo1•21m ago•0 comments

Give Your AI Assistant a Private Memory

https://hister.org/posts/give-your-ai-assistant-a-private-memory
4•mstef•23m ago•0 comments

"Rights for robots" and the AI slavery fantasy

https://pluralistic.net/2026/07/10/posthuman-as-in-no-humans/
1•hn_acker•25m ago•0 comments

Man nearly sucked out of window mid-air on Ryanair plane

https://www.bbc.co.uk/news/articles/cgk65knkyzdo
3•philbo•25m ago•0 comments

Conviviality in Computational Science

https://blog.khinsen.net/posts/2026/07/06/conviviality.html
1•birdculture•26m ago•0 comments

Moving a Rust WebRTC SFU to thread-per-core: 70ms → 10ms P99.99 latency

https://pulsebeam.dev/blog/moving-to-thread-per-core
1•lherman•27m ago•1 comments

The Language of AI Could Change How Humans Speak

https://www.schneier.com/blog/archives/2026/07/the-language-of-ai-could-change-how-humans-speak.html
1•caisah•27m ago•0 comments

China lands reusable rocket for the first time

https://www.theverge.com/science/963861/china-lands-reusable-rocket-for-first-time
1•barbacoa•28m ago•0 comments

AI has lost all meaning

https://newslttrs.com/ai-has-lost-all-meaning/
3•spzb•31m ago•0 comments

Show HN: Hallint – lint AI-generated code for security issues

https://github.com/Asyncinnovator/hallint
1•coder_xyz•32m ago•1 comments

The Small Steps Trick That Works EveryTime

https://lazydevcoder.medium.com/the-small-steps-trick-that-works-every-time-74cf3e092429
1•rammy1234•33m ago•0 comments

Bringing back Eisenhower's process for getting rid of process

https://www.governance.fyi/p/bringing-back-eisenhowers-process
2•bigbobbeeper•34m ago•0 comments