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

Show HN: Another experiment with an Erdos problem and LLMs

1•ilitirit•1m ago•0 comments

US power demand to reach record highs in 2026–2027 driven by AI and data centers

https://www.reuters.com/business/energy/us-power-use-beat-record-highs-2026-2027-ai-use-surges-ei...
1•latentframe•2m ago•1 comments

Ask HN: Will local models on normal hardware ever compete?

1•locusofself•4m ago•0 comments

Roast My Startup: Aluqos

https://www.aluqos.com/
1•ndossantos•9m ago•1 comments

Details That Make Interfaces Feel Better

https://jakub.kr/writing/details-that-make-interfaces-feel-better
1•vinhnx•10m ago•0 comments

Transformation and Analogies

https://camerongordon0.substack.com/p/on-transformation-and-analogies
1•iciac•13m ago•0 comments

Critical Thinking: The Architecture of Doubt

https://calltothink.com/blog/critical-thinking-architecture-of-doubt/
1•akarnam37•14m ago•0 comments

Show HN: Vibe Check – Client-side invisible Unicode steganography scanner

https://websationflow.com/
1•Raywob•14m ago•0 comments

I'm Not a Robot

https://sheets.works/data-viz/captcha
2•thunderbong•23m ago•0 comments

The Foldable iPhone Is Basically an iPad Mini That Folds in Half

https://gizmodo.com/the-foldable-iphone-is-basically-an-ipad-mini-that-folds-in-half-2000750451
1•thunderbong•30m ago•0 comments

Show HN: Paper Millionaire – A Startup Stock Option Horror Roguelike

https://paper-millionaire.pagey.site/
2•freakynit•38m ago•0 comments

Show HN: Free On-Brand AI Ad Maker

https://www.context.dev/free-tools/ad-maker
1•ICodeSometimes•38m ago•0 comments

Show HN: MemOperator-4B

https://huggingface.co/MemTensor/MemOperator-4B
2•MemTensor•40m ago•0 comments

Branimir Lambov from IBM on Cassandra

https://theconsensus.dev/p/2026/04/26/branimir-lambov-from-ibm-on-cassandra.html
2•SerCe•45m ago•0 comments

Surfshark releases new proprietary VPN protocol

https://www.zdnet.com/article/surfshark-dausos-vpn-protocol/
2•kitchi•46m ago•0 comments

Learning to Repair Lean Proofs from Compiler Feedback

https://arxiv.org/abs/2602.02990
1•matt_d•46m ago•0 comments

Italy to extradite suspected Chinese hacker wanted by US authorities

https://www.reuters.com/world/china/italy-extradite-suspected-chinese-hacker-wanted-by-us-authori...
1•NN88•50m ago•0 comments

Ask HN: Is there a way to render URLs to PDFs on Android?

1•Irongirl1•50m ago•1 comments

California's Billionaire Tax Has the Signatures to Make the Ballot, Backers Say

https://www.wsj.com/politics/policy/californias-billionaire-tax-has-the-signatures-to-make-the-ba...
7•testfoobar•55m ago•0 comments

Banning AI Art – Wallhaven

https://wallhaven.cc/forums/thread/4800
2•thedayisntgray•55m ago•2 comments

Low-Dose Aspirin Usage for Primary Prevention Has Fallen by >50% Since 2018

https://www.epicresearch.org/articles/low-dose-aspirin-usage-for-primary-prevention-of-cardiovasc...
1•salkahfi•55m ago•0 comments

Making UIs like text adventure games

https://en.andros.dev/blog/b5ba872a/making-uis-like-text-adventure-games/
1•andros•56m ago•0 comments

Framework's new Linux laptop is selling faster than its Windows one

https://www.pcworld.com/article/3123900/framework-new-linux-laptop-is-selling-faster-than-its-win...
9•Garbage•57m ago•1 comments

Show HN: Twitter Bulk Delete

https://chromewebstore.google.com/detail/twitter-bulk-delete-bulk/liocepnkgmapkfiplhhgjkokgnolglbc
2•qwikhost•59m ago•0 comments

PLA-Based triboelectric nanogenerators: Pathway to sustainable energy harvesting

https://www.sciencedirect.com/science/article/pii/S2773207X25000193
1•ludicrousdispla•1h ago•0 comments

Cursor Deleted Railway Production Volume and Backups

https://twitter.com/i/status/2048103471019434248
3•fastest963•1h ago•0 comments

YouTube Removes Alt-Right Criticism

https://www.youtube.com/post/UgkxiDyyBsYJwX0PKsnu2_AOGMhMYwm0qPKm
11•pkilgore•1h ago•0 comments

Making a Landing Page Work for Both Humans and AI Agents

https://docsalot.dev/blog/i-redesigned-my-landing-page-so-ai-agents-can-read-it
3•fazkan•1h ago•0 comments

AI and Digitalization in HTA: Enhancing Evidence, Equity and Efficiency [video]

https://www.youtube.com/watch?v=2wN0D-AqUQQ
1•DarkmSparks•1h ago•0 comments

Tin Can: a screen free phone for kids

https://www.tomsguide.com/phones/tin-can-everything-you-need-to-know-about-the-viral-screen-free-...
4•silverdrake11•1h ago•1 comments