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

Ask HN: In post AI world, who is responsible if the code break?

1•pranshuchittora•2m ago•0 comments

Why is Anthropic's public writing style so unlike Claude's?

https://cmart.blog/claude-writing/
1•chrismartin•2m ago•0 comments

Grok.com is returning Cloudflare Error 521

1•linzhangrun•5m ago•0 comments

LinkedIn says it won't be spending big on AI hardware this year

https://www.techradar.com/pro/linkedin-says-it-wont-be-spending-big-on-ai-hardware-this-year-but-...
1•01-_-•9m ago•0 comments

Apple challenges the UK's second attempt to gain access to iCloud data

https://www.euronews.com/next/2026/08/04/apple-challenges-the-uks-second-attempt-to-gain-access-t...
2•01-_-•11m ago•0 comments

A Common Thread

https://blog.oxplot.com/a-common-thread/
1•oxplot•11m ago•0 comments

reCAPTCHA-like verification now requires you to run curl – bash

1•dudalev•11m ago•2 comments

AI Futures Model: Timelines and Takeoff

https://www.aifuturesmodel.com/
1•m-novikov•12m ago•0 comments

How to Speak to City Councils About Public Safety Technology [pdf]

https://www.documentcloud.org/documents/28531454-flockbook/
1•Cider9986•13m ago•0 comments

What nobody tells you about writing agent skills

https://twitter.com/posthog/status/2084345938089316582
1•tosh•14m ago•0 comments

Understanding Dek Bass Through the Story of Bass Boss, DJ Khobir

https://pureemag.substack.com/p/idhar-attack-understanding-dek-bass
1•gregsadetsky•16m ago•1 comments

Tell HN: If you can hear this, you are the reaistance

1•reinitctxoffset•17m ago•0 comments

What Is Open Source Developer Relations?

https://opensourceonpurpose.substack.com/p/what-is-open-source-developer-relations
1•eigenBasis•21m ago•0 comments

The AI Revolution – History Repeating Itself – On Sentience

https://www.alanbonnici.com/2026/07/the-ai-revolution-history-repeating.html
1•TTMO•21m ago•0 comments

Quack: Turn DuckDB into a client-server database

https://duckdb.org/quack/
1•janandonly•22m ago•0 comments

When Every AI Trend Becomes a New Discipline [video]

https://www.youtube.com/watch?v=2myd3cgqe2k
1•v-mdev•23m ago•0 comments

First Draft of a Report on the EDVAC (von Neumann, 1945) [pdf]

https://web.mit.edu/sts.035/www/PDFs/edvac.pdf
1•thedreammachine•26m ago•0 comments

I wasted four months waiting for Anthropic to review my MCP

https://joshsymonds.com/blog/anthropic-hates-developers/
1•Veraticus•26m ago•0 comments

What I Want to Tell You About Orbs

https://ampcode.com/notes/what-i-want-to-tell-you-about-orbs
1•tosh•29m ago•0 comments

A Norwegian government agency made a parody of the enshittification phenomenon [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
3•acadapter•33m ago•0 comments

Voice notes shouldn't cross the ocean. Keep your thoughts private

https://derogab.com/2026/08/01/AI-Notes/
1•derogab•35m ago•0 comments

The frontier of GPQA-Dumb models

https://github.com/ninjahawk/bongochat
1•ninjahawk1•36m ago•1 comments

Show HN: Ragleap-RAG – RAG engine that documents what it doesn't do yet

https://github.com/antonyrag/ragleap-core
1•antonyragleap•40m ago•0 comments

Show HN: ArtDeck – An infinite canvas for collecting and studying references

https://getartdeck.com/
1•artdeck•41m ago•0 comments

He Wasn't Chasing Mountains

https://hasskhan.substack.com/p/he-wasnt-chasing-mountains
1•pradeepchhetri•41m ago•0 comments

Bloody Awful Work Creeps in When Standards Are Relaxed

https://dailysceptic.org/2026/08/02/bloody-awful-work-creeps-in-when-standards-are-relaxed/
2•Michelangelo11•43m ago•0 comments

Apple says MacBook Neo is pulling schools away from Windows and Chromebooks

https://9to5mac.com/2026/08/01/apple-says-macbook-neo-is-pulling-schools-away-from-windows-and-ch...
3•gslin•43m ago•0 comments

Nifty little macOS toolbar tool to track daily usage

https://github.com/shrivara/token-bar
1•Hasaber8•44m ago•0 comments

Show HN: Gainz.fast – Local Inference, Faster

https://gainz.fast/
1•carsenk•45m ago•0 comments

Show HN: Fruman – A 2D souls-like game demo running in web browser

https://fruman.baklab.app
1•Kholin•50m ago•0 comments