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: RedAI – AI-driven vulnerability discovery and live validation

https://github.com/kpolley/redai
1•kpolls•1m ago•0 comments

Bun 1.1.13 out with memory fixes as dev complain of leaks

https://www.theregister.com/2026/04/21/anthropics_bun_1113_released_with_memory_fixes/
1•birdculture•2m ago•0 comments

The AI Power Bottleneck: Data Centers Meet the Steel Monopoly

https://blog.adafruit.com/2026/04/22/the-ai-power-bottleneck-data-centers-meet-the-steel-monopoly/
2•zdw•4m ago•0 comments

If This Road

https://ifthisroad.com/
1•Oarch•6m ago•0 comments

Tim Cook Regrets Maps Flub, Sees Apple Watch as His Proudest Work

https://www.bloomberg.com/news/articles/2026-04-22/tim-cook-regrets-maps-flub-sees-apple-watch-as...
1•amrrs•7m ago•0 comments

Polymarket weather bet manipulated with a hairdryer

https://twitter.com/aaronjmars/status/2047017251270734309
3•dnw•8m ago•0 comments

Show HN: Markdown editor with Obsidian-style inline live preview

https://kenforthewin.github.io/atomic-editor/
1•kenforthewin•8m ago•1 comments

How we think about truth, verification, and "time to first trust" at Webhound

https://www.webhound.ai/news/time-to-first-trust
1•mfkhalil•10m ago•0 comments

ICE detains wife of US Army soldier at immigration appointment

https://www.bbc.com/news/articles/c8r460gj7eko
6•tartoran•14m ago•0 comments

F-35s Quarterbacking Drones Seen as Gateway to USMC's 6th Gen Fighter

https://www.twz.com/air/f-35s-quarterbacking-drones-seen-as-gateway-to-usmcs-6th-gen-fighter
3•breve•16m ago•0 comments

Grasshopper: Advanced Tab Manager

https://addons.mozilla.org/en-US/firefox/addon/grasshopper-urls/
1•madprops•20m ago•0 comments

Qualtrics Survey Licensing Cost

1•rajivijay•21m ago•1 comments

Kahtooee.com

https://kahtooee.com
1•canihelpai•24m ago•1 comments

GCC 16 Compiler Nearly Ready for Release with Zen 6, AVX10.2, APX and Algol 68

https://www.phoronix.com/news/GCC-16.1-Coming-Soon
1•rbanffy•25m ago•0 comments

The Neon King of New Orleans

https://gardenandgun.com/new-orleans-neon-king
5•renameme•25m ago•0 comments

The Second Time Will Be the IPO Charm for Cerebras

https://www.nextplatform.com/compute/2026/04/22/the-second-time-will-be-the-ipo-charm-for-cerebra...
1•rbanffy•26m ago•0 comments

Chaotic fluctuations mark mental activity in task-based heart rate variability

https://www.nature.com/articles/s41598-026-43385-z
2•bookofjoe•27m ago•0 comments

How are we supposed to use AI?

https://petersmj.com/blog/technology-in-research/
1•petersmj•30m ago•1 comments

CATL to launch sodium-ion batteries in EVs in 2026, aiming for 370 miles range

https://electrek.co/2026/04/22/catl-launching-sodium-ion-batteries-evs-2026/
5•breve•32m ago•0 comments

Women in Gaza Sexually Abused by Hamas Fighters

https://www.dailymail.com/news/article-15732903/Women-living-Hamas-rule-Gaza-Mail-sexually-abused...
4•transfer92•32m ago•0 comments

Browser for Agents in a form of CLI, API or library

https://github.com/zarkones/Moroi-Browser
1•ZARKONES•35m ago•0 comments

Kalshi suspends 3 congressional candidates in 'insider trading' enforcement

https://www.cnbc.com/2026/04/22/kalshi-insider-trading-congress.html
1•shinryudbz•38m ago•0 comments

Investors lost billions on Trump's memecoin. Another gala won't fix that

https://arstechnica.com/tech-policy/2026/04/investors-lost-billions-on-trumps-memecoin-another-ga...
5•rbanffy•38m ago•0 comments

X is going to let Grok curate your timeline

https://www.theverge.com/tech/917113/x-ai-grok-timeline-curation
1•omer_k•39m ago•0 comments

The opportunity is in building ethical software that respects users needs

https://bhurghundii.substack.com/p/the-opportunity-is-in-building-ethical
2•sailorganymede•40m ago•0 comments

Bolt AI builder: Create apps and websites by chatting with AI

https://bolt.new
1•doener•41m ago•0 comments

My GLM-5.1 coding agent scored 94.3% on LiveCodeBench Lite (348/369)

3•univence•41m ago•0 comments

Failed Companies Are Selling Old Slack Chats and Email Archives to Train AI

https://gizmodo.com/failed-companies-are-selling-old-slack-chats-and-email-archives-to-train-ai-2...
8•CGMthrowaway•48m ago•1 comments

A Sony Walkman for the Spotify Era

https://nymag.com/strategist/article/sony-walkman-nwa306-review-2026.html
3•HardwareLust•51m ago•0 comments

Personal computing in the Anthropocene with eyes, minds and hearts wide open

https://smol.earth/manifesto.html
2•NoGravitas•56m ago•0 comments