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

US Supreme Court scales back Roundup cancer lawsuits

https://www.reuters.com/world/us-supreme-court-scales-back-roundup-cancer-lawsuits-2026-06-25/
1•Tomte•1m ago•0 comments

Complete text of carbonised Herculaneum scroll unlocked for first time

https://www.reuters.com/science/complete-text-carbonised-herculaneum-scroll-unlocked-first-time-2...
1•tylerchr•2m ago•0 comments

As banks close accounts, experts point to immigration crackdown

https://www.americanbanker.com/news/as-banks-close-accounts-experts-point-to-immigration-crackdown
1•petethomas•4m ago•0 comments

IBM Debuts First Sub-1 Nanometer Chip Technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
1•porridgeraisin•4m ago•0 comments

UK sales of electric vehicles just overtook petrol cars for the first time

https://www.carbonbrief.org/analysis-uk-sales-of-electric-vehicles-just-overtook-petrol-cars-for-...
1•j4mie•4m ago•0 comments

NationStates Turns Twenty (2022)

https://maxbarry.com/2022/11/12/news.html
1•altilunium•6m ago•0 comments

The U.S. last beat screwworm in 1966

https://www.texastribune.org/2026/06/25/texas-screwworm-history-eradication/
1•mzs•6m ago•0 comments

GTA 6 prices by country, $58 in South Korea to $107 in Israel

https://www.shanethegamer.com/esports-news/gta-6-prices-by-country/
2•misbloss•6m ago•0 comments

Gunship: Origins Devlog #1 – Flying the Latest Build [video]

https://www.youtube.com/watch?v=0fWPkThNmzg
1•skibz•7m ago•0 comments

How to Design Arrows

https://pangrampangram.com/blogs/journal/arrows
1•speckx•7m ago•0 comments

Show HN: Clutch – decentralized ride-sharing on-chain (open source)

https://clutchprotocol.io/
1•mehran_mazhar•8m ago•0 comments

Tracking and analyzing 340 AI leaders/blogs to find out what matters

https://brightray.ai/
1•lundbe•8m ago•1 comments

There's One Clear Reason Americans Are Gloomy About A.I

https://www.nytimes.com/2026/06/25/opinion/ai-americans-pessimism.html
1•xbryanx•8m ago•0 comments

Show HN: iOS Apps on Linux

https://github.com/Lore-Hex/QuillUI
1•ljlolel•8m ago•0 comments

Halvar's Guide to Entrepreneurship

https://thomasdullien.github.io/guides/entrepreneurship/
1•nekitamo•9m ago•0 comments

Capabilities.txt

https://www.capabilitiestxt.org/
2•pschmied•11m ago•0 comments

Show HN: Contraband – Ticketed VR cinema for indie and AI-made films

https://contraband.watch
1•phaedrus044•12m ago•0 comments

IBM says it can fit nearly 100B transistors on a chip

https://www.zdnet.com/education/computers-tech/ibm-claims-beyond-nanometer-milestone-with-sub-1-n...
1•CrankyBear•15m ago•0 comments

Why aren't there more AlphaFolds?

https://nkeivan.com/writing/why-no-more-alphafolds
1•nimski•15m ago•0 comments

Go Easy on the Feeds, Reddit

https://openrss.org/blog/go-easy-on-the-feeds-reddit
3•theanonymousone•16m ago•0 comments

The Agent Is Not the Scanner: Making AI Security Agents Better

https://shad0wmazt3r.github.io/ai-security
1•speckx•16m ago•0 comments

Cairn – Task tracker with no database; tasks are Markdown files in your repo

https://github.com/ShahramMebashar/cairn
1•talavoock•16m ago•0 comments

Democracy has a listening problem. These AI tools might help

https://www.fastcompany.com/91563889/democracy-has-a-listening-problem-these-ai-tools-could-actua...
2•johnshades•17m ago•0 comments

China's coal power on the rise again in '26, reversing first-in-a-decade decline

https://www.reuters.com/business/energy/chinas-coal-power-rise-again-2026-reversing-first-in-a-de...
5•littlexsparkee•18m ago•0 comments

Show HN: Pgrust, Postgres in Rust (passing 100% of Postgres regression tests)

https://github.com/malisper/pgrust
1•malisper•20m ago•0 comments

If you have a MSI EdgeXpert you haven't been getting firmware updates

https://forum-en.msi.com/index.php?threads/msi-edgexpert-firmware-updates.419482/
1•wtcross•21m ago•1 comments

The Benefits and Harms of Generative AI for Novice Programmers [video]

https://www.youtube.com/watch?v=HTUh0OO6Kmo
1•otterdude•21m ago•1 comments

Show HN: Traces – local-first ee tooling for part sourcing and schematic review

https://github.com/usetraces/traces
2•benstirling•21m ago•1 comments

The Digital Euro Is Coming: The EU's Convenience Paradox

https://medium.com/@wolfhf/the-digital-euro-is-coming-the-eus-convenience-paradox-874723b3f79f
1•lcubw•22m ago•0 comments

John-Chan

https://www.lowimpactfruit.com/p/john-chan
1•mnky9800n•23m ago•0 comments