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

Show HN: Daftak – Organize information, not documents

https://www.daftak.com/
1•milad100•33s ago•0 comments

Cattle and wildlife thrive side-by-side in Zimbabwe

https://www.dailymaverick.co.za/article/2026-06-09-the-science-of-sharing-land-how-cattle-and-wil...
1•rbanffy•2m ago•0 comments

Show HN: Paca – Lightweight Jira alternative for human-AI collaboration

https://github.com/Paca-AI/paca
1•pikann22•5m ago•0 comments

The five pillars of the post-AI interview

https://carette.xyz/posts/the_five_pillars_of_post_ai_interview/
1•weird_trousers•6m ago•0 comments

The PM Trap: AI Won't Turn Engineers into Managers

https://carette.xyz/posts/the_mud_and_the_mind/
1•LucidLynx•6m ago•0 comments

What Would It Look Like If the AI Bubble Popped?

https://www.thebignewsletter.com/p/what-would-it-look-like-if-the-ai
3•pimeys•10m ago•0 comments

The Fable 5 Jailbreak Shows Why AI Guardrails Alone Are Not Enough

https://www.agilehunt.com/blog/fable-5-jailbreak-ai-guardrails
2•vikzsharma•10m ago•0 comments

Espruino Performance Notes

https://www.espruino.com/Performance
1•tosh•11m ago•0 comments

A low-carbon computing platform from your retired phones

https://research.google/blog/a-low-carbon-computing-platform-from-your-retired-phones/
2•vikas-sharma•11m ago•0 comments

Anthropic Policy on the AI Exponential

https://www.anthropic.com/policy-on-the-ai-exponential
1•samber•13m ago•0 comments

Why Zig When There is C++, D, and Rust?

https://ziglang.org/learn/why_zig_rust_d_cpp/
2•tosh•14m ago•0 comments

MeshCore for Zephyr RTOS

https://github.com/liquidraver/ZephCore
1•BSDobelix•17m ago•0 comments

I Spent the Night Interviewing the AI the Government Just Recalled

https://blog.vigilharbor.com/door-with-no-lock
1•Calvin-Gibson•25m ago•0 comments

Mini Shai-Hulud, Miasma, and Hades Worms Target Bioinformati

https://socket.dev/blog/mini-shai-hulud-miasma-and-hades-worms-target-bioinformatics-and-mcp-deve...
1•rbanffy•27m ago•0 comments

Everything you ever wanted to know about anarchy (but were afraid to ask)

https://www.youtube.com/watch?v=L9V33prYC1U
1•RebootStr•40m ago•0 comments

AI calls for the most ambitious political agenda in the history of Europe

https://europe2031.ai/summary/
1•doener•41m ago•0 comments

Former OpenAI board member says Elon Musk offered her sperm donations

https://www.bbc.co.uk/news/articles/c33243j44p8o
1•xvxvx•47m ago•1 comments

Anthropic shuts down Fable, Mythos models following Trump admin directive

https://arstechnica.com/ai/2026/06/anthropic-shuts-down-fable-mythos-models-following-trump-admin...
1•jay_kyburz•50m ago•0 comments

Git 2.55-Rc0 Prepares for Rust to Be Enabled by Default

https://lore.kernel.org/git/xmqqik7pqeiq.fsf@gitster.g/
1•tjek•51m ago•0 comments

Pokémon Go players unwittingly contributed to tech with military drone uses

https://arstechnica.com/ai/2026/06/pokemon-go-players-unwittingly-contributed-to-tech-with-milita...
1•justaj•51m ago•0 comments

Meta's New AI Unit Is a Total Mess

https://www.wired.com/story/mark-zuckerberg-meta-employee-meeting-interrupt-ai/
2•reasonableklout•53m ago•0 comments

Solar-thermal desalination process operates at near 100% efficiency

https://physicsworld.com/a/solar-thermal-desalination-process-operates-at-near-100-efficiency/
1•zeristor•54m ago•0 comments

The Hacker Webring

https://ring.acab.dev/
1•thes1lv3r•59m ago•0 comments

Beeper – All your chats in one app

https://www.beeper.com/
2•thunderbong•1h ago•1 comments

Contrail Compute AIX the First RISC-V AI Execution Platform

https://www.epicsemi.com/products/contrail/contrail-compute/
1•EvgeniyZh•1h ago•0 comments

Factoring "short-sleeve" zero-heavy RSA keys with polynomials

https://blog.trailofbits.com/2026/06/12/factoring-short-sleeve-rsa-keys-with-polynomials/
2•fanf2•1h ago•0 comments

What if we legally required politicians to work regular jobs 2 months a year?

3•ekoeko•1h ago•2 comments

Validates AI

https://validates.ai/
2•bellannns•1h ago•0 comments

I got shadow banned on X, 3 mistakes that led me to it

https://www.indiehackers.com/post/i-got-shadow-banned-on-x-3-mistakes-that-led-me-to-it-MIYYUCRyR...
1•kartik0001•1h ago•0 comments

A major KPMG report on AI was found to be chock-full of AI hallucinations

https://www.techradar.com/pro/a-major-kpmg-report-on-ai-was-found-to-be-chock-full-of-ai-hallucin...
3•thm•1h ago•0 comments