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

The Work Runs on Different Maps

https://yusufaytas.com/the-work-runs-on-different-maps
1•yusufaytas•3m ago•0 comments

Lessons from running 14 AI agents in production for 6 months

https://orgtp.com/blog/the-weight-is-wrong-without-it
1•dsteel•8m ago•0 comments

Ask HN: How can I support the AI resistance movement financially?

4•roschdal•9m ago•1 comments

I built a simple uptime monitoring tool focused on fewer false alerts

https://pulsorup.com/
1•shura_dev•12m ago•1 comments

Defending Our Consciousness Against the Algorithms

https://nautil.us/defending-our-consciousness-against-the-algorithms-1279260
2•Brajeshwar•13m ago•0 comments

Accelerating Medical Treatments for Serious Mental Illness

https://www.whitehouse.gov/fact-sheets/2026/04/fact-sheet-president-donald-j-trump-is-acceleratin...
1•bkudria•15m ago•0 comments

How are you getting your first 100 paying teams for a Slack/Google Chat tool?

https://www.indiehackers.com/post/how-are-you-getting-your-first-100-paying-teams-for-a-slack-goo...
1•nehaagoyal•17m ago•0 comments

CrossOver 26.1 released for Linux and macOS

https://old.reddit.com/user/Wine_Reviews/comments/1sp6xl3/crossover_261_released_for_linux_and_mac/
1•twickline•17m ago•0 comments

The cost of inconsistent standups (and how we fixed it)

https://www.indiehackers.com/post/the-hidden-cost-of-inconsistent-standups-and-how-we-fixed-it-wb...
1•nehaagoyal•17m ago•0 comments

OpenAI Pulls Back from Stargate Norway Data Center Deal as Microsoft Takes Over

https://www.cnbc.com/2026/04/15/openai-stargate-norway-project-microsoft.html
1•ninjahawk1•18m ago•0 comments

Hyperloom – A concurrent state broker and time-travel debugger for AI

1•debabhishek•18m ago•0 comments

Xata OSS: Postgres platform with branching, now Apache 2.0

https://xata.io/blog/open-source-postgres-branching-copy-on-write
1•mebcitto•19m ago•0 comments

Letting Bots Learn to Move Like Players

https://remvst.substack.com/p/letting-bots-learn-to-move-like-players
1•riidom•22m ago•0 comments

macOS Notifications for Claude Code and AeroSpace

https://kulikalov.com/claude-code-aerospace-notifications/
1•kulikalov•26m ago•0 comments

Up There with Carnegie

https://superconnectorbook.com/
1•Chrisszz•26m ago•0 comments

Show HN: Deadline.email – a daily reminder that you'll die

https://deadline.email
1•onesandofgrain•27m ago•0 comments

The Government Blacklisted the Best AI. It Came Back with the Same Red Lines

https://liminaldr.substack.com/p/the-government-tried-to-blacklist
1•BlendedPanda•28m ago•1 comments

Ask HN: What's Your Daily Routine?

1•chistev•30m ago•3 comments

Show HN: Anya – Offline static malware analysis (Rust)

https://github.com/elementmerc/anya
1•ElementMerc•35m ago•0 comments

Anchormd – Generate AI coding agent context files from any GitHub repo

https://anchormd.dev
1•aretedriver•37m ago•0 comments

The LMAX Architecture

https://martinfowler.com/articles/lmax.html
2•tosh•43m ago•1 comments

Why insects aren't huge: a new challenge to a decades-old idea

https://www.nature.com/articles/d41586-026-00976-0
2•marojejian•44m ago•1 comments

Hardware Is Hard?

https://prdpx7.github.io/posts/hardware-is-hard/
3•prdpx7•45m ago•1 comments

Show HN: JSON-logic-path – JSON logic with jsonpath multi-value resolution

https://github.com/bayinfosys/json-logic-path
1•anax32•46m ago•1 comments

Corporate Profits Are at Record Highs. These 4 Factors Could Sink Them

https://www.nytimes.com/2026/04/18/business/dealbook/corporate-profits-record.html
2•jhonovich•46m ago•0 comments

Why Mechanical Sympathy? (2011)

https://mechanical-sympathy.blogspot.com/2011/07/why-mechanical-sympathy.html
1•tosh•48m ago•0 comments

Only Law Can Prevent Extinction

https://www.lesswrong.com/posts/5CfBDiQNg9upfipWk/only-law-can-prevent-extinction
2•namanyayg•48m ago•0 comments

How Long Can You Keep Peptides After Reconstitution?

https://lifeimprovementschemes.substack.com/p/how-long-can-you-keep-peptides-after
1•BenPace•48m ago•1 comments

The Fermi Paradox Is Nerdslop

https://monismos.substack.com/p/the-fermi-paradox-is-nerdslop
1•BenPace•48m ago•0 comments

I've Been Trying to Delay the Industrial Revolution (and I'm Failing)

https://lostfutures.substack.com/p/ive-been-trying-to-delay-the-industrial
1•BenPace•48m ago•0 comments