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

AFK – Command center for teams running coding agents

https://www.mooglest.com/
1•lcavadas•2m ago•0 comments

Show HN: Defcon and HN, the only two audiences I might find

1•ycombiredd•7m ago•0 comments

Flesh Eating Bacteria Kills 5 in Louisiana

https://www.nytimes.com/2026/08/08/us/louisiana-vibrio-vulnificus-outbreak-flesh-eating-bacteria....
1•jihadjihad•9m ago•0 comments

Title 7 Disparate Impact Liability Makes Almost Everything Presumptively Illegal

https://www.nyujll.com/volume-14/title-vii-disparate-impact-liability-makes-almost-everything-pre...
1•like_any_other•9m ago•0 comments

JDK 28 EA Build 10 Now Available with JEP 401: Value Objects (Preview)

https://jdk.java.net/28/
1•birdculture•9m ago•0 comments

Open Paper – Attention Is All You Need

https://openpaper.ai/paper/share/d9b26659-0368-4d29-a9ba-680c687f1f1f
1•vednig•10m ago•0 comments

Show HN: Faaah – Filesystem as an AI Handler

https://github.com/sebastiancarlos/faaah
1•httbs•15m ago•0 comments

Depression has tripled in the last 15 years. Arthur Brooks about the cause

https://bigthink.com/series/full-interview/meaning-crisis-brooks/
1•lschueller•19m ago•0 comments

I built a client-side HEIC converter using WebAssembly

https://heictools.io
2•suolex•20m ago•0 comments

GPT-4 finished training four years ago today

https://twitter.com/gdb/status/2086092396023120286
3•nekofneko•23m ago•0 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
1•jmusall•23m ago•1 comments

Big Tech Changed Health Care. The System Must Keep Up

https://www.newsweek.com/big-tech-changed-health-care-the-system-must-keep-up-opinion-12291938
1•brandonb•27m ago•0 comments

Show HN: VD – TUI Password Manager and OTP Authenticator for Unix

https://github.com/ahmedhosssam/vd
2•ahmedhosssam•29m ago•0 comments

Ask HN: If Social network is created today, what do you want to see?

4•kocial•30m ago•6 comments

The Fool (Tarot Card)

https://en.wikipedia.org/wiki/The_Fool_(tarot_card)
1•jackhalford•37m ago•0 comments

How AI is breaking the British State

2•andsoitis•38m ago•1 comments

You can build an AI agent's memory layer with only Go's standard library

https://towardsdev.com/the-memory-efficient-ai-agent-building-a-context-engine-in-go-d4b7557c44d8...
2•cheikhdev•39m ago•0 comments

Google DeepMind enters a new era as co-founder Demis Hassabis shifts AI role

https://www.theguardian.com/technology/2026/aug/08/google-demis-hassabis-deepmind-shifts-role
3•flancian•39m ago•0 comments

Ask HN: Why is Open POWER Foundation a wasteland?

2•climate_denier_•39m ago•0 comments

My server is a phone now

https://seg6.space/posts/phone-server/
3•seg6•39m ago•0 comments

Show HN: Try Benzi – A coding harness/agent beating Claude Code itself on Sonnet

https://benzi.fly.dev/about
1•showhz•41m ago•0 comments

Show HN: iPhone app takes simultaneous images from 2 lenses, fuses into 1 photo

https://photosynthesis.camera
1•sajomes•41m ago•1 comments

How to Handle a Difficult Colleague

https://www.thetrueengineer.com/p/surviving-the-workplace-how-to-handle
2•adletbalzhanov•43m ago•1 comments

Should you stop cracking your knuckles?

https://www.bbc.com/future/article/20260807-should-i-stop-cracking-my-knuckles
3•tchalla•52m ago•0 comments

Confessions of a Democratic Socialist [video]

https://www.youtube.com/watch?v=61tUsrNejRM
1•donsupreme•55m ago•0 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
3•adletbalzhanov•56m ago•0 comments

How Can LLM RL Work Despite Information-Theoretic Inefficiency

https://www.beren.io/2026-07-26-How-Can-LLM-RL-Work-Despite-Information-Theoretic-Inefficiency/
1•sshh12•56m ago•0 comments

Show HN: Turn tweets into beautiful, shareable photos

https://tweet.download/
1•azeemkafridi•1h ago•0 comments

Show HN: ExpertCache – Run the Full GPT-OSS 120B (63GB) on a 16GB M1 Pro

https://github.com/amos-labs/expertcache
1•rick_barkley•1h ago•0 comments

Show HN: Inertia – Not your Grandfathers animation editor

https://inertiagraphics.com/
1•hpen•1h ago•0 comments