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

The Oil Shocks of the 1970s

https://energyhistory.yale.edu/the-oil-shocks-of-the-1970s/
1•cs702•2m ago•0 comments

Search for Your Weather

https://weatherflip.com/
1•pppone•2m ago•0 comments

Security leaders say the next two years are going to be 'insane'

https://cyberscoop.com/ai-cyberattacks-two-years-insane-vulnerabilities-kevin-mandia-alex-stamos-...
1•rantingdemon•2m ago•0 comments

Endgame for the Open Web

https://www.anildash.com/2026/03/27/endgame-open-web/
1•MindGods•6m ago•0 comments

Build America, Buy America law causes construction delays amid US housing crisis

https://apnews.com/article/affordable-housing-construction-baba-hud-delays-4302744b3b5839268acaee...
1•petethomas•6m ago•0 comments

Waymo's skyrocketing ridership in one chart

https://techcrunch.com/2026/03/27/waymo-skyrocketing-ridership-in-one-chart/
1•simonpure•6m ago•0 comments

Simdxml for Python: a faster ElementTree you don't have to rewrite for

https://cigrainger.com/blog/simdxml-python/
2•cigrainger•10m ago•0 comments

Using a VPN May Subject You to NSA Spying

https://www.wired.com/story/using-a-vpn-may-subject-you-to-nsa-spying/
2•_____k•12m ago•0 comments

Show HN: Tiny filesystem honeypot for macOS with zero dependencies in Go

https://github.com/dweinstein/canary
1•dweinstein•14m ago•0 comments

Somewhere Between Prompt and Context Engineering

https://www.xiegerts.com/post/between-prompts-and-context/
1•siegers•16m ago•0 comments

Hack Club Magazine

https://magazine.hackclub.com
6•heygideon•17m ago•0 comments

Dear Substack: You are missing out on a big revenue model opportunity

https://olshansky.substack.com/p/dear-substack-you-are-missing-out
1•Olshansky•24m ago•0 comments

English Wikipedia prohibits the use of LLMs to generate or rewrite articles

https://en.wikipedia.org/wiki/Wikipedia:Writing_articles_with_large_language_models
2•p4bl0•26m ago•0 comments

Context Matters – Why Current LLMs Suck

https://blighhedges.substack.com/p/adaptive-prediction-under-constraints
1•excog•28m ago•0 comments

The Comforting Lie of SHA Pinning

https://www.vaines.org/posts/2026-03-24-the-comforting-lie-of-sha-pinning/
1•g-b-r•28m ago•0 comments

The Definitive Guide for Sales People to Learn Vibe Coding

https://arkweaver.com/blog/sales-vibe-coding-prototyping-for-reps
2•lackita•29m ago•0 comments

CrewForm – Open-source multi-agent AI orchestration platform

https://github.com/CrewForm/crewform
1•CrewForm•30m ago•0 comments

A Raspberry Pi 5 Kernel Survival Guide

https://www.eddieoz.com/the-nvme-ghost-in-the-machine-a-raspberry-pi-5-kernel-survival-guide/
1•eddieoz•31m ago•0 comments

DOJ confirms FBI Director Kash Patel's personal email was hacked

https://arstechnica.com/tech-policy/2026/03/doj-confirms-fbi-director-kash-patels-personal-email-...
10•sebastian_z•36m ago•0 comments

Petri Nets as Music Sequencers: Token Rings, Inhibitor Arcs, and Euclidean

https://blog.stackdump.com/posts/petri-net-sequencer
2•birdculture•40m ago•1 comments

John Bradley, author of xv, died

https://gab.com/markofafreeman/posts/116290669616400528
1•gpvos•41m ago•3 comments

US Battled Drone Incursions in Louisiana's Barksdale Bomber Base

https://www.twz.com/news-features/u-s-battled-drone-incursions-over-key-bases-at-home-after-launc...
3•throw0101a•43m ago•0 comments

iOS Exploit Chain Adopted by Multiple Threat Actors

https://cloud.google.com/blog/topics/threat-intelligence/darksword-ios-exploit-chain
1•zX41ZdbW•44m ago•0 comments

Ask HN: What's your desktop setup optimized to work with AI?

3•yungookim•47m ago•1 comments

Fear of Missing Code

1•lukol•51m ago•2 comments

Firefox is and always has been terrible

https://alexandmanu.com/blog/firefox-is-actually-terrible/
2•leksje•53m ago•7 comments

NASA to spend $20B to build a base on the moon

https://www.nbcnews.com/science/space/nasa-build-base-moon-20-billion-rcna264899
2•gmays•53m ago•2 comments

Why AI may increase competition but not success rates

https://arxiv.org/abs/2603.23685
5•will_pharaoh•54m ago•0 comments

The Autonomous Battlefield

https://www.foreignaffairs.com/middle-east/autonomous-battlefield
1•aanet•55m ago•2 comments

Canadian retiree required to give DNA at Blue Water Bridge

https://phoebewallhoward.substack.com/p/canadian-retiree-required-to-give
3•cf100clunk•56m ago•2 comments