frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo 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 :)

DeepSeek targets $20B valuation to stop poaching of staff

https://www.ft.com/content/f7c65d8e-aed1-4767-9ea3-9715cb8a24e0
1•petethomas•2m ago•0 comments

Gbrain-Evals

https://github.com/garrytan/gbrain-evals
1•mjtk•5m ago•1 comments

Pentagon email floats suspending Spain from NATO

https://www.reuters.com/world/pentagon-email-floats-suspending-spain-nato-other-steps-over-iran-r...
1•nistiminic•7m ago•0 comments

United plans fare hikes to offset fuel costs

https://www.usatoday.com/story/travel/airline-news/2026/04/22/united-airlines-ticket-prices/89734...
1•geox•10m ago•0 comments

When NASA Gave Spiders Drugs to See How It Affected Their Webs, 1995

https://rarehistoricalphotos.com/nasa-spiders-drugs-experiment/
1•simonebrunozzi•13m ago•0 comments

The Atari 1200XL – By Paul Lefebvre

https://www.goto10retro.com/p/inside-the-atari-1200xl
1•rbanffy•14m ago•0 comments

Show HN: Safer – Sleep better while AI agents have shell access

https://github.com/crufter/safer
1•friendly_chap•15m ago•0 comments

Xi Jinping wants a powerful currency. America's war has helped

https://www.economist.com/finance-and-economics/2026/04/23/xi-jinping-wants-a-powerful-currency-a...
1•petethomas•16m ago•0 comments

AI and Videogames – Conversational NPCs

https://www.youtube.com/watch?v=KfcIY0xePiM
1•frag•17m ago•0 comments

Why are the Mac mini and Mac Studio gradually becoming impossible to buy?

https://arstechnica.com/gadgets/2026/04/apples-m4-mac-mini-including-the-599-one-is-gradually-bec...
1•rbanffy•19m ago•1 comments

Business Ideas Under 5 Lakhs to Start Small – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/business-ideas-under-5-lakhs.aspx
1•saumyaraut11•21m ago•0 comments

The Viscous Frontier – How to Move When the Machine Stops Pulling

https://aneeshsathe.substack.com/p/the-viscous-frontier
1•boredgargoyle•22m ago•0 comments

Advantages of Longhand over Laptop Note Taking (2014) [pdf]

https://brucehayes.org/Teaching/papers/MuellerAndOppenheimer2014OnTakingNotesByHand.pdf
1•the-mitr•24m ago•0 comments

In a first, a ransomware family is confirmed to be quantum-safe

https://arstechnica.com/security/2026/04/now-even-ransomware-is-using-post-quantum-cryptography/
1•rbanffy•25m ago•0 comments

YouTube Meet the Line-Dancing Community Doodle Taking Up Resources

1•Throwthrowbob•29m ago•0 comments

Doby –Spec-first fix workflow for Claude Code that cuts navigation tokens by 95%

https://github.com/changmyoungkim/doby
1•changmyoungkim•29m ago•0 comments

Ask HN: Models Comparable to Opus 4.6?

3•islandbytes•31m ago•0 comments

Show HN: Gova – The declarative GUI framework for Go

https://github.com/NV404/gova
2•aliezsid•32m ago•0 comments

Show HN: Proving sdocs.dev is running the public code

https://sdocs.dev/trust
1•FailMore•34m ago•0 comments

How Do LLM Agents Think Through SQL Join Orders?

https://ucbskyadrs.github.io/blog/databricks/
1•matt_d•41m ago•0 comments

Is Unbound AI the future of adult entertainment?

https://unbound.video/landing4
3•Discuss-AI•43m ago•7 comments

The Most Controversial Post I Ever Wrote on Quora

https://derangedmathematician.substack.com/p/the-most-controversial-post-i-ever
1•wjholden•46m ago•0 comments

My .config Ship of Theseus

https://shift1w.com/blog/config-of-theseus/
2•jacobwiseberg•48m ago•0 comments

Pedal History Is in Danger – ChatGPT Is Rewriting Fact – and It's Getting Worse [video]

https://www.youtube.com/watch?v=0QynkC5HpcI
1•bryanrasmussen•50m ago•0 comments

Sinceerly: AI to undo your AI writing

https://sinceerly.com/
1•MrBuddyCasino•59m ago•0 comments

Ben Goldacre: OpenSAFELY in Brief

https://www.bennett.ox.ac.uk/blog/2025/02/opensafely-in-brief/
3•anitil•1h ago•1 comments

Do those that deserve the world, get the world?

https://dreamingtooloud.substack.com/p/do-those-that-deserve-the-world-get
1•homebush•1h ago•0 comments

AI-powered knowledge assistant for sexual and reproductive health

https://chathrp.org/
1•salkahfi•1h ago•0 comments

Quest Browser 146.0 adds experimental support for WebGPU in WebXR

https://bsky.app/profile/cabanier.bsky.social/post/3mk6ugjtbw22y
1•juretriglav•1h ago•0 comments

The importance of stupidity in scientific research (2008) [pdf]

https://web.stanford.edu/~fukamit/schwartz-2008.pdf
2•the-mitr•1h ago•0 comments