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•7mo 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 Future of Software Engineering: Efficiency, Learning Velocity, Small Teams

https://blog.rastrian.dev/post/the-future-of-software-engineering-efficiency-learning-velocity-sm...
1•rastrian•5m ago•0 comments

China is building most powerful hydropower system deep in the Himalayas

https://www.cnn.com/2025/12/17/china/china-largest-hydropower-dam-intl-hnk-dst
1•thunderbong•6m ago•0 comments

Rob Pike Goes Nuclear over GenAI

https://imgur.com/nUJCI3o
10•signa11•11m ago•1 comments

How Email Works

https://sushantdhiman.substack.com/p/how-email-actually-works-ep-1-behind
1•signa11•14m ago•0 comments

Going boldly into the COSMIC desktop environment

https://lwn.net/Articles/1050268/
2•signa11•18m ago•0 comments

Multiscale Aperture Synthesis Imager

https://www.nature.com/articles/s41467-025-65661-8
1•wisty•19m ago•0 comments

Trump Administration to Overhaul Lottery System for H-1B Visas

https://www.ft.com/content/2e50f86f-2a40-4e5c-9470-7978b979c081
1•dsmark•19m ago•1 comments

The Optimization Trap: Why Doing Everything Right Feels Wrong

https://www.slideshare.net/slideshow/the-optimization-trap-why-doing-everything-right-feels-wrong...
2•realitydrift•22m ago•0 comments

Apple's App Course Runs $20k a Student. Is It Worth It?

https://www.wired.com/story/apple-app-making-course-michigan-state-university/
1•gpi•23m ago•0 comments

Encryption is not enough: Shifting the economics of surveillance

https://drive.proton.me/urls/ZTM6NE0D70#5o2bMEjLUMXx
2•justinjeff•24m ago•1 comments

Google to allow Gmail users to change their primary email address

https://www.neowin.net/news/google-to-finally-allow-gmail-users-to-change-their-primary-email-add...
1•mikece•27m ago•0 comments

Show HN: Debug Buddy – A Chrome extension for console errors using Claude

https://github.com/mechramc/debug-buddy-claude
1•mechramc•31m ago•1 comments

The Compiler Is Your Best Friend, Stop Lying to It

https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it
1•thunderbong•36m ago•0 comments

I made a tool to remove ChatGPT watermarks

https://www.gptcleanup.com/
1•emmanuelasika•36m ago•1 comments

Judge Blocks Detention of British Researcher Who Scrutinizes Online Hate

https://www.nytimes.com/2025/12/25/us/politics/imran-ahmed-judge-order.html
3•perihelions•37m ago•1 comments

Snowfall in Basic

https://www.goto10retro.com/p/snowfall-in-basic
1•ibobev•41m ago•0 comments

Easily Dealing with Any-Dimensional Planes

https://gpfault.net/posts/hyperplanes.html
1•ibobev•41m ago•0 comments

Time in C++: Inter-Clock Conversions, Epochs, and Durations

https://www.sandordargo.com/blog/2025/12/24/clocks-part-5-conversions
2•ibobev•42m ago•0 comments

Apple hit with $115M fine for "burdensome" App Store privacy policy

https://arstechnica.com/tech-policy/2025/12/apple-hit-with-115m-for-extremely-burdensome-app-stor...
2•yellow_postit•45m ago•0 comments

Koine

https://github.com/pattern-zones-co/koine
1•handfuloflight•46m ago•0 comments

Gone, Numb. // An essay as I explore justice.gov records

https://operand.online/chronicle/numb
3•c4lliope•49m ago•0 comments

Rocket Engine Wasn't Designed by Humans

https://www.youtube.com/watch?v=6Xx1GXjRbMk
1•bane•57m ago•0 comments

Ask HN: How would you formalize a time-based macroeconomic model?

1•AGsist•1h ago•0 comments

Show HN: Snipscribe – a digital organizer for your pen and paper notes

https://snipscribe.com/
3•wisemonk314•1h ago•1 comments

Winter braid lecture notes [pdf]

https://www.numdam.org/item/10.5802/wbln.9.pdf
1•marysminefnuf•1h ago•0 comments

Show HN: Browser extension that brings Vim motions to Google Docs

https://github.com/tirthd16/dockeys
1•tirthd•1h ago•0 comments

Running Quantized MobileNetV2 on ESP32 for Railway Crack Detection (Under $10)

https://medium.com/python-in-plain-english/frugal-innovation-building-a-real-time-railway-safety-...
2•hemanthmuralik•1h ago•1 comments

Stereoscopic Technologies and Heart Rate Variability in Extreme VR Gaming

https://www.mdpi.com/2227-7080/13/12/545
1•PaulHoule•1h ago•0 comments

Toward Training Superintelligent Software Agents Through Self-Play SWE-RL (Meta)

https://arxiv.org/abs/2512.18552
1•xhevahir•1h ago•0 comments

Fake MAS Windows activation domain used to spread PowerShell malware

https://www.bleepingcomputer.com/news/security/fake-mas-windows-activation-domain-used-to-spread-...
3•smurda•1h ago•0 comments