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

What we once had (at the height of the XMPP era of the Internet) (2023)

https://www.kirsle.net/what-we-once-had-at-the-height-of-the-xmpp-era-of-the-internet
1•lolpython•46s ago•0 comments

One codebase → every store, registry, CDN, and channel. Ads on every network

https://github.com/profullstack/sh1pt
1•buffer_overlord•1m ago•0 comments

Scoring 500 Show HN Pages for AI Design Patterns

https://www.adriankrebs.ch/blog/design-slop/
1•hubraumhugo•2m ago•0 comments

Ask HN: What makes a good Product Manager

1•chairhairair•2m ago•0 comments

Git Blame: From Passive-Aggressive Forensics to Active-Aggressive Emails [pdf]

https://github.com/BarishNamazov/gitblame/blob/main/paper/gitblame.pdf
1•barishnamazov•3m ago•0 comments

Deploying Gemma 4 26B on an RTX 5090

https://datapnt.com/blog/deploying-gemma-4-26b-a4b-on-rtx-5090
1•sudo_ls_ads•4m ago•1 comments

Vercel Says Internal Systems Hit in Breach

https://decipher.sc/2026/04/19/vercel-says-internal-systems-hit-in-breach/
10•whiteyford•6m ago•0 comments

Reflections on Chi 2026

https://countingfromzero.blog/2026/04/19/reflections-on-chi-2026/
1•mooreds•8m ago•0 comments

The Draft Is Done. Now I Need Reviewers and Feedback (Elm Language)

https://cekrem.github.io/posts/the-draft-is-done-now-i-need-readers/
2•DASD•8m ago•0 comments

Claude Opus 4.7 API removes sampling parameters

https://platform.claude.com/docs/en/about-claude/models/migration-guide
1•curioussquirrel•8m ago•1 comments

Clerk – Auto-summarize Claude Code sessions into plain Markdown

https://github.com/vulcanshen/clerk
1•vulcanshen•9m ago•0 comments

Notion leaks email addresses of all editors of any public page

https://twitter.com/weezerOSINT/status/2045849358462222720
1•Tiberium•10m ago•0 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
1•zdw•10m ago•1 comments

Simulating a Glowing Fireplace with an RP2040

https://davidcapper.dev/posts/fire-string
1•thip•12m ago•0 comments

What if you didn't need to write back end code for your app?

https://linkedrecords.com/getting-started/
1•WolfOliver•12m ago•0 comments

Shinichi Mochizuki: On the Formalization of IUT: a preliminary progress report [video]

https://www.youtube.com/watch?v=H4n1XIa2flI
2•amichail•12m ago•0 comments

No More Cheap Claude: Four Principles of Token Economics in 2026

https://age-of-product.com/token-economics-2026/
1•swolpers•17m ago•0 comments

What I heard at OpenChain and Friends 2026

https://www.thomas-huehn.com/what-i-heard-at-openchain-friends-2026/
1•Tomte•18m ago•0 comments

Humanoid robots race past humans to set Beijing half-marathon record

https://www.lbc.co.uk/article/humanoid-robots-race-beijing-half-marathon-record-5HjdXyH_2/
2•chatmasta•19m ago•0 comments

Russia's doping program is run by the same FSB team that poisoned Navalny

https://theins.press/en/inv/291614
2•dralley•20m ago•0 comments

Prokudin-Gorskii

https://www.loc.gov/pictures/search/?st=grid&co=prok
1•KyleVlaros•20m ago•0 comments

Prepping for the Endgame of the Open Web

https://thehistoryoftheweb.com/prepping-for-the-endgame/
2•Brajeshwar•22m ago•0 comments

Show HN: React-native-Google-maps-plus – Google Maps for React Native

1•pinpong•22m ago•0 comments

MCP Spine – Middleware proxy for MCP with security, routing, and token control

https://github.com/Donnyb369/mcp-spine
1•Mxwell369•22m ago•0 comments

Acute exposure to caffeine improves foraging in an invasive ant (2024)

https://www.cell.com/iscience/fulltext/S2589-0042(24)01157-X?_returnURL=https%3A%2F%2Flinkinghub....
1•bookofjoe•24m ago•0 comments

Discord Read Receipts Exploit: When, How Often, How Long

https://paul.koeck.dev/writeups/discord-read-receipts
1•pauxel•25m ago•0 comments

LaunchWall .Online

1•tamimbuilds•27m ago•0 comments

Nvidia's once-tight bond with gamers is cracking over AI

https://www.cnbc.com/2026/04/18/nvidia-ai-backlash-gamers-geforce-gpu.html
1•Brajeshwar•30m ago•0 comments

InnerZero a local AI assistant where your memory never leaves your machine

https://innerzero.com
1•zotex•31m ago•0 comments

Evaluating Memory Models

https://garden.amcampbell.xyz/Spaced-Repetition/Evaluating-Memory-Models
1•gmays•34m ago•0 comments