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

Remote (Latam) or San Francisco Onsite – Full Time

https://jobs.hireatomic.com/jobs/192386-ai-principal-software-engineer-us-saas-startup-remote
1•atomichire•20s ago•1 comments

Building a fault-tolerant metrics storage system at Airbnb

https://medium.com/airbnb-engineering/building-a-fault-tolerant-metrics-storage-system-at-airbnb-...
1•gpi•1m ago•0 comments

MAGA Has Exposed a Jesus Problem in US Christianity

https://recklessgrace.substack.com/p/maga-has-exposed-a-jesus-problem
2•TimW57•3m ago•0 comments

Show HN: Benchmarking how AI models write vulnerable code under pressure

https://leaderboard.atella.ai/code-security.html
1•kitdobyns•6m ago•0 comments

NASA's Curiosity rover finds organic molecules on Mars

https://www.theguardian.com/science/2026/apr/21/nasa-curiosity-rover-finds-organic-molecules-mars
3•billybuckwheat•6m ago•0 comments

the_world

https://hesnotjoking.substack.com/p/the-world-c8c
1•ucla_rob•8m ago•0 comments

UK Permanently Bans Tobacco for Anyone Born in 2009 or After

https://www.nytimes.com/2026/04/21/world/europe/uk-smoking-ban-2009.html
1•m-hodges•13m ago•1 comments

Migrate a Legacy Codebase with Sandbox Agents

https://developers.openai.com/cookbook/examples/agents_sdk/sandboxed-code-migration/sandboxed_cod...
1•gmays•16m ago•0 comments

Birthright Citizenship and Youth Crime

https://marginalrevolution.com/marginalrevolution/2026/04/birthright-citizenship-and-youth-crime....
3•pulisse•26m ago•1 comments

NeurIPS Supports Authors with Google's Paper Assistant Tool (Pat)

https://blog.neurips.cc/2026/04/21/neurips-supports-authors-with-googles-paper-assistant-tool-pat/
1•adt2bt•28m ago•0 comments

National Library Workers Day

https://ala-apa.org/nlwd/
1•ynac•29m ago•0 comments

Slash is a tiny helper that keeps you organized and focused

https://getslash.co/
2•igtztorrero•29m ago•0 comments

How to Implement an FPS Counter

https://vplesko.com/posts/how_to_implement_an_fps_counter.html
1•vplesko•29m ago•0 comments

Do This Instead of Rock Paper Scissors If You Are More Than 2 People

https://vplesko.com/posts/zimi_zami_zum.html
1•vplesko•30m ago•0 comments

2× – nine months later: We did it (Intercom)

https://ideas.fin.ai/p/2x-nine-months-later
1•mmarian•31m ago•0 comments

This Slug Can Survive on Photosynthesis [video]

https://www.youtube.com/watch?v=IH_uv4h2xYM
1•CharlesW•32m ago•0 comments

KDE at 30

https://kde.org/anniversaries/30/
2•kristianp•33m ago•0 comments

Apple's Cal AI crackdown signals it's still policing the App Store

https://techcrunch.com/2026/04/21/apples-cal-ai-crackdown-signals-its-still-policing-the-app-store/
3•CharlesW•34m ago•0 comments

The Infamous Coin Toss

https://ergodicityeconomics.com/2023/07/28/the-infamous-coin-toss/
1•efavdb•35m ago•0 comments

Global growth in solar "the largest ever observed for any source"

https://arstechnica.com/science/2026/04/global-growth-in-solar-the-largest-ever-observed-for-any-...
8•tambourine_man•36m ago•1 comments

Google Gemini Deep Research Agents Now Search Both Web and Private Data via MCP

https://the-decoder.com/google-launches-deep-research-and-deep-research-max-agents-to-automate-co...
2•demiurges•37m ago•0 comments

Meta will record employees' keystrokes and use it to train its AI models

https://techcrunch.com/2026/04/21/meta-will-record-employees-keystrokes-and-use-it-to-train-its-a...
1•cebert•39m ago•2 comments

San Diego rents declined more than 19 of 20 top US markets after surge in supply

https://www.kpbs.org/news/economy/2026/03/27/san-diego-rents-declined-more-than-19-of-nations-top...
33•littlexsparkee•40m ago•12 comments

I'm Sick of AI Everything

22•jonthepirate•41m ago•8 comments

Show HN: Twitter Bookmarks Downloader – Export and Bulk Delete X Bookmarks

https://chromewebstore.google.com/detail/twitter-bookmarks-downloa/kgmbiokleeacfnkfihheldbdapoifclb
1•qwikhost•43m ago•0 comments

The Wild Story of the Teton Dam Failure

https://www.youtube.com/watch?v=J7ieKmP96Hc
1•mhb•44m ago•0 comments

NASA Moonbound Episode 1 [video]

https://www.youtube.com/watch?v=bfw4G59j9uw
1•BiraIgnacio•46m ago•0 comments

Kubuntu 26.04 Beta – Resolute Raccoon

https://kubuntu.org/news/kubuntu-26-04-beta/
1•kristianp•48m ago•0 comments

Google WeatherNext 2 – Our most accurate AI weather forecasting technology

https://deepmind.google/science/weathernext/
2•Anon84•50m ago•0 comments

Topologies on Finite Groups that Contain Proper Subgroups

https://m-slee.netlify.app/posts/finite-topo-subgroups
1•richard_chase•50m ago•0 comments