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

What Luxury Housing Does to Homelessness [video]

https://www.youtube.com/watch?v=rQW4W1_SJmc
1•felineflock•7m ago•0 comments

SupererDuperer

https://www.shirtpocket.com/blog/supererduperer
1•zdw•8m ago•0 comments

Cursor removed cost information from the usage page and CSV export

https://forum.cursor.com/t/usage-page-to-token-amount-what/167153
1•EugeneOZ•9m ago•0 comments

Explorative modeling: Train on the best of K guesses

https://alexiglad.github.io/blog/2026/explorative_modeling/
1•DSemba•11m ago•0 comments

The fall and rise of the English country house

https://www.english-heritage.org.uk/visit/inspire-me/the-fall-and-rise-of-the-english-country-house/
1•EndXA•12m ago•0 comments

Anthropic brags that its models committing crimes without being told to do so

https://www.cnbc.com/2026/07/30/anthropic-says-claude-gained-unauthorized-access-to-others-system...
1•zapataband1•12m ago•1 comments

PoE2 devs convinced Nvidia to fix a driver bug by sending it a PC

https://www.pcgamer.com/games/rpg/after-a-year-and-a-half-of-rigorous-testing-path-of-exile-2-dev...
2•exec•12m ago•0 comments

Token Reduction Is Not Cost Reduction

https://arxiv.org/abs/2607.12161
2•umitkaanusta•15m ago•1 comments

How to Stop Procrastinating

https://www.economist.com/science-and-technology/2026/07/31/how-to-stop-procrastinating
1•bookofjoe•17m ago•1 comments

CJEU Judgment on Knowledge of Foreign Copyright Laws and Geoblocking Measures

https://blog.ericgoldman.org/archives/2026/07/cjeu-judgment-on-geoblocking-standards-for-knowledg...
1•hn_acker•18m ago•1 comments

Toast IDE Gets Markdown Spell Checking

https://github.com/paradise-runner/toast
1•dividedcomet•18m ago•0 comments

Ask HN: Any tips for a college freshman enrolled in computer science?

1•NotParth11•19m ago•0 comments

The NUMBER – trusted number infrastructure

https://rounded.lol/
1•thunderbong•20m ago•0 comments

Burn Their Money –> Humans and Freedom

https://github.com/peterlodri-sec/burn-em-bitches-money
1•pocok0xRE•20m ago•0 comments

Not just Neanderthals: Ghost lineage in Africa left its mark on our DNA

https://arstechnica.com/science/2026/07/not-just-neanderthals-ghost-lineage-in-africa-left-its-ma...
1•Brajeshwar•21m ago•0 comments

Playing Original Xbox Game Discs on a PC. Real Backward Compatibility

https://gdox.korze.org/wtf/
2•korze•23m ago•1 comments

Ls-guard: generate and audit Postgres/Supabase RLS from a spec

https://github.com/greyrow/rls-guard
2•greyrow•26m ago•0 comments

Show HN: DSCode – Coding Agent Powered by DeepSeek

https://dscode.ai/
1•qwikhost•27m ago•0 comments

Single-file Ada 83 LLVM compiler

https://github.com/AdaDoom3/Ada83/tree/main
1•roger23•27m ago•3 comments

Fidelity Is Not Safety: Compressed LLMs Pass Quality Guards yet Invent

https://arxiv.org/abs/2607.28196
1•sbulaev•27m ago•0 comments

A few simple tricks for building chatbots with nice UX

https://christopherkrapu.com/blog/2026/simple-things-ai-engineering/
2•ckrapu•30m ago•0 comments

What If We Can Never Trust A.I.?

https://www.newyorker.com/culture/open-questions/what-if-we-can-never-trust-ai
1•replatformradar•30m ago•0 comments

"Bettering Myself" by Ottessa Moshfegh

https://electricliterature.com/bettering-myself-ottessa-moshfegh/
2•js2•31m ago•1 comments

Reaping the Whirlwind – Inside the Potomac River Midair Collision

https://admiralcloudberg.medium.com/reaping-the-whirlwind-inside-the-potomac-river-midair-collisi...
2•sklargh•35m ago•0 comments

Libadwaita: Splitting GTK and Design Language

https://tesk.page/2024/06/03/libadwaita-splitting-gtk-and-design-language/
1•mariuz•37m ago•0 comments

Fuse Programming Language

https://fuselang.org
1•the_unproven•37m ago•0 comments

Archaeologists Find Ancient Glyphs in the Amazon

https://www.nytimes.com/2026/07/31/world/americas/amazon-archaeology-geoglyphs.html
1•wglb•39m ago•1 comments

The Age of Technology Companies

https://shxxxjin.substack.com/p/the-age-of-technology-companies
1•brainer•44m ago•0 comments

docs: Add AI Section to CONTRIBUTING.md

https://github.com/thelounge/thelounge/pull/5130/files
1•MaxLeiter•45m ago•0 comments

LLMs Can Infer Political Alignment from Online Conversations

https://arxiv.org/abs/2603.11253
1•Anon84•45m ago•0 comments