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

Loop Engineering

https://twitter.com/i/status/2064127981161959567
2•twapi•1m ago•0 comments

Rutger Bregman and His School for Moral Ambition Lacks Moral Ambition

https://louwrentius.com/rutger-bregman-his-school-for-moral-ambition-lacks-moral-ambition.html
1•louwrentius•2m ago•0 comments

Supporting Exchange and beyond

https://brendan.abolivier.bzh/exchange-pt-2/
1•babolivier•3m ago•0 comments

A new study says people love working from home, but does it love them back?

https://www.npr.org/2026/06/08/nx-s1-5848125/remote-work-mental-health-isolation
2•xrd•4m ago•0 comments

Exposing the Solid State Donut Battery. It's Over. [video]

https://www.youtube.com/watch?v=j5oyVNjrUPI
2•jbardnz•5m ago•0 comments

GNU Binutils 2.46.1 Released

https://sourceware.org/pipermail/binutils/2026-June/149568.html
2•edelsohn•5m ago•0 comments

Semantics for 2D Rasterization

https://arxiv.org/abs/2603.23696
2•coffeeaddict1•8m ago•0 comments

SpaceX has just officially unveiled its AI1 satellite

https://twitter.com/SawyerMerritt/status/2064108916611420273
2•redox99•11m ago•0 comments

Remembering the USS Liberty – and why it still matters

https://captimes.com/opinion/guest-columns/opinion-remembering-the-uss-liberty-and-why-it-still-m...
3•kumarski•11m ago•1 comments

170k Claude queries per gallon of gas?

https://claude.ai/share/44fdc891-0fe5-40f3-a5b5-b203bbb6ab02
2•millisecond•12m ago•1 comments

AI Is Upending One of Finance's Cushiest Jobs

https://www.bloomberg.com/news/features/2026-06-05/ai-is-upending-traditional-financial-advisor-jobs
2•ctkhn•14m ago•2 comments

JNU, an Vibe Coded Operating System

3•annoymousperson•17m ago•0 comments

AI Has Broken Hiring

https://hbr.org/2026/06/ai-has-broken-hiring-heres-how-to-fix-it
2•seafaithless•19m ago•0 comments

BofA Warns It's Time to 'Take Profits' as Red Flags Multiply

https://www.bloomberg.com/news/articles/2026-06-08/bofa-warns-it-s-time-to-take-profits-as-red-fl...
10•petethomas•27m ago•0 comments

Show HN: Mach – A compiled systems language looking for contributions

https://github.com/octalide/mach
4•octalide•32m ago•0 comments

Show HN: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
3•x1colegal•37m ago•0 comments

Show HN: Sudo Report – Drudge closne for AI/tech/product

https://wwe.sudoreport.com
3•ataturkle•39m ago•0 comments

WhatsApp disrupted spear phishing attempts, asks court to hold NSO in contempt

https://arstechnica.com/tech-policy/2026/06/meta-alleges-nso-violated-spyware-injunction-with-new...
2•SockThief•41m ago•0 comments

Why Compiler Engineers Avoid Strassen's Algorithm for Matrix Multiplication

https://leetarxiv.substack.com/p/why-compilers-rarely-use-strassens-algorithm
3•birdculture•47m ago•0 comments

How to Measure Time to First Token (TTFT)

https://qainsights.com/how-to-measure-time-to-first-token-ttft-in-ai-systems/
2•qainsights•50m ago•0 comments

Germany and France Scrapped the FCAS

https://www.reuters.com/business/aerospace-defense/german-french-leaders-unable-resolve-fcas-figh...
6•signatoremo•52m ago•0 comments

Tim Cook's Final WWDC Showed Why Apple Still Always Wins in the End

https://www.inc.com/connor-jewiss/tim-cook-final-wwdc-showed-why-apple-still-always-wins-in-the-e...
3•connorjewiss•53m ago•0 comments

Rediscovered: The Lost Audio of Sherlock Holmes

https://sherlock-holmes.org.uk/rediscovered-the-lost-audio-of-sherlock-holmes/
2•austinallegro•54m ago•0 comments

Life Cycle Costing Approach of Carbon Capture and Storage at Hunter Unit 3

https://www.mdpi.com/1996-1073/19/9/2010
2•PaulHoule•56m ago•0 comments

Hiring Co-Founder

2•Chukz•57m ago•0 comments

Major earthquake off Cuba's coast felt across Florida

https://www.wesh.com/article/earthquake-rocks-cuba-shaking-felt-across-florida/71526284
3•eth0up•57m ago•0 comments

Apple drops support for a long list of Apple Watches with latest OS updates

https://www.theverge.com/news/946147/apple-watchos-27-ipados-27-supported-devices-dropped
5•ValentineC•57m ago•1 comments

Product teams struggled to create intent. AI let them think they could skip it

https://productpicnic.beehiiv.com/p/product-teams-struggled-to-create-intent-ai-let-them-think-th...
3•healsdata•1h ago•0 comments

Building Bulletproof React Components

https://shud.in/thoughts/build-bulletproof-react-components
3•plurby•1h ago•0 comments

Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]

https://letsencrypt.org/documents/LE-SA-v1.7-June-04-2026-diff.pdf
6•piskov•1h ago•2 comments