frontpage.
newsnewestaskshowjobs

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•1y 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 Open-Soruce Big Bang

https://webaligo.bearblog.dev/the-open-soruce-big-bang/
1•ilreb•1m ago•0 comments

Ukraine's Dr. Strangelove – a rocket designer with dubious past sets out to

https://www.theatlantic.com/national-security/2026/07/ukraine-denys-shtilerman-drone-missile/687931/
1•bell-cot•1m ago•0 comments

Avoidance 1.0: Making Every Run Fairer

https://simonskinner.me/blog/avoidance-1-0-making-every-run-fairer
1•vultuk•3m ago•0 comments

Beaver who escaped to find mate welcomes first kit

https://www.bbc.com/news/articles/c70gz4zpv97o
1•1659447091•4m ago•0 comments

Trump administration is dictating access to frontier AI models

https://www.cnbc.com/2026/07/17/white-house-ai-access-anthropic-openai.html
1•tosh•4m ago•0 comments

Warum fällt Abnehmen ab 35 plötzlich so schwer?

https://substack.com/profile/524692702-ketosana94/note/c-296895670
1•ketosana94•6m ago•0 comments

Pelican on a bicycle is a good benchmark, right?

https://playcode.io/blog/macbook-svg-benchmark
1•ianberdin•8m ago•0 comments

Show HN: A modern sample database for learning SQL – replace the Sakila database

https://github.com/rozhnev/university-db
1•rozhnev•9m ago•0 comments

Trump pitched $100k monthly fee for faster feed of US president's posts

https://www.reuters.com/business/media-telecom/trump-media-pitched-100000-monthly-fee-fast-feed-u...
1•Alien1Being•9m ago•0 comments

GitRoot

https://gitroot.dev/
1•ilreb•10m ago•0 comments

OT Credential Abuse: They Logged In. They Didn't Break In

https://www.emberot.com/resources/blog/ot-credential-abuse/
1•TheWiggles•14m ago•0 comments

Profile: GRU cyber and hybrid threat operations

https://www.gov.uk/government/publications/profile-gru-cyber-and-hybrid-threat-operations/profile...
1•azalemeth•15m ago•0 comments

I was tired of random feeds so I created my personal algorithm

1•Satya29•18m ago•0 comments

Glamorous Toolkit

https://gtoolkit.com//
1•Tomte•18m ago•0 comments

Show HN: ShellStack – Interactive cybersecurity learning platform with 280 tool

https://github.com/shlokkokk/ShellStack
1•shlokkshahh•22m ago•0 comments

12 Factor Agents

https://github.com/humanlayer/12-factor-agents
1•veleon•22m ago•0 comments

Agent-compiler: scripts for your recurring workflows (60–80% lesser tool calls)

https://www.npmjs.com/package/@woustachemaxd/agent-compiler
1•woustachemaxd•23m ago•0 comments

Show HN: Xata scratch – a branch for each psql session

https://xata.io/blog/the-instant-database-scratchpad-xata-scratch
1•tudorg•25m ago•0 comments

Startup credits hiding your real burn rate

https://economi.co/learn/cloud-credits-hiding-your-burn
1•pelle•26m ago•0 comments

Europe 2027, or how Europe can win

https://kdev.home.arpa/posts/europe-2027/
1•RedTachyon•27m ago•0 comments

Vikram-1: India's first private space rocket by Skyroot to carry diamond flower

https://www.bbc.com/news/articles/clyekv7rld3o
2•breve•28m ago•0 comments

The Man Who Killed Google Search (2024)

https://www.wheresyoured.at/the-men-who-killed-google/
2•thunderbong•31m ago•0 comments

AI Gets Trapped in a Circular Loop on Climate Science

1•radicon•34m ago•0 comments

Why is the determinant like that? [video]

https://www.youtube.com/watch?v=Sv7VseMsOQc
1•penguin_booze•36m ago•0 comments

Show HN: A done-for-you subscription app service for Instagram creators

https://www.officeos.co
1•Harro123•38m ago•0 comments

The 20x plan is now the 10x plan, and the 5x plan is the 2.5x plan

https://xcancel.com/bilawalsidhu/status/2078312397069009403
2•phaser•39m ago•0 comments

London Underground users should know about toxic dust risk, whistleblower says

https://www.theguardian.com/uk-news/2026/jul/18/london-underground-passengers-should-know-about-t...
2•YeGoblynQueenne•39m ago•0 comments

The Joy of Being Wrong

https://shortdiv.com/posts/the-joy-of-being-wrong/
1•haritha1313•40m ago•0 comments

Vibe Maintainer by Steve Yegge

https://steve-yegge.medium.com/vibe-maintainer-a2273a841040
2•haritha1313•41m ago•0 comments

Chasing the AI High: Clay, Kilns, and the Red Queen's Race

https://blog.moot.dev/chasing-the-ai-high-clay-kilns-and-the-red-queens-race/
1•haritha1313•41m ago•0 comments