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

Hi

https://veritect.vercel.app
1•mantle_labs•43s ago•0 comments

C Strings: A 50-Year Mistake

https://longtran2904.substack.com/p/c-strings-a-50-year-mistake
1•theanonymousone•5m ago•0 comments

Show HN: Like Claude Code for Images

https://visuali.io
1•visuali•6m ago•0 comments

More than 100 homes destroyed in Norway fire

https://www.reuters.com/business/environment/more-than-50-homes-destroyed-norway-fire-2026-07-17/
1•littlexsparkee•7m ago•0 comments

Show HN: Sentinel – open-source QA agent that reads your code before it clicks

1•asenna•8m ago•0 comments

AMD Ryzen 7 7700X3D Review: 3D V-Cache Gaming Performance for Less – HotHardware

https://hothardware.com/reviews/amd-ryzen-7-7700x3d-gaming-cpu-review
1•rbanffy•10m ago•0 comments

I Made My Blog Solar-Powered – An Update

https://louwrentius.com/i-made-my-blog-solar-powered-a-huge-update.html
1•louwrentius•11m ago•0 comments

GPT-5.6 Sol Ultra built a full Chrome V8 exploit chain from patch commits

https://www.hacktron.ai/blog/watching-gpt-55-sol-ultra-write-a-chrome-exploit-exploit-development...
1•nyku•11m ago•0 comments

When Rust Gets Ugly

https://corrode.dev/blog/ugly/
2•ethanplant•14m ago•0 comments

What Makes Humans Stupid

https://nautil.us/what-makes-humans-stupid-1282459
2•rbanffy•15m ago•0 comments

LANA Project Interim Report 2026: Computer-Assisted Verification of IUT Theory [video]

https://www.youtube.com/watch?v=KADN5NHmIfw
1•amichail•17m ago•0 comments

Open Book Touch: open-source e-reader

https://www.crowdsupply.com/oddly-specific-objects/open-book-touch
3•surprisetalk•19m ago•0 comments

128Gb Eight Channel Workstation Madness: Threadripper 3995WX in Windows 8.1

https://trackerninja.codeberg.page/post/128gb-eight-channel-workstation-madness-paired-with-threa...
1•spacedrone808•21m ago•0 comments

Building an Advanced Agentic Harness

https://data4sci.substack.com/p/building-an-advanced-agentic-harness
1•Anon84•22m ago•0 comments

Trump blames Canada for wildfire smoke, says he'll add cost to tariffs

https://www.reuters.com/world/ontario-buy-new-11-new-aircraft-very-difficult-wildfire-fight-2026-...
4•sleepyguy•23m ago•0 comments

Surprise and Delight [video]

https://www.youtube.com/watch?v=4J1dQIjneJY
2•Anon84•23m ago•0 comments

Webpack Is Now on Bluesky

https://bsky.app/profile/webpack.js.org
2•avivkeller•23m ago•0 comments

Topcoat: The full full-stack framework for Rust

https://github.com/tokio-rs/topcoat
3•wertyk•25m ago•0 comments

Caution: Children Might Impoverish Their Parents

https://retirementincomejournal.com/article/warning-children-might-impoverish-their-parents/
1•petethomas•26m ago•0 comments

Right to Repair Fundraiser Goal Reached

https://sfconservancy.org/news/2026/jul/16/software-right-to-repair-baltobu-fundraiser-succes/
1•nfriedly•27m ago•0 comments

Faulty Towers, vibe sickness, and the vibe bobsled

https://dustycloud.org/blog/faulty-towers-vibe-sickness-and-the-vibe-bobsled/
1•sanqui•31m ago•1 comments

Google Weather Lab 2

https://deepmind.google.com/science/weatherlab
2•xnx•35m ago•0 comments

Show HN: Tests.ws – WebSocket testing tools, language guides, Chrome extension

https://tests.ws/
1•gingermanymph•35m ago•0 comments

Aurora DSQL: Scalable, Multi-Region OLTP

https://arxiv.org/abs/2607.13276
2•shenli3514•36m ago•0 comments

Sliding into Silence? We Are Speaking 300 Daily Words Fewer Every Year

https://journals.sagepub.com/doi/10.1177/17456916261425131
1•Pamar•37m ago•1 comments

China's Latest A.I. Breakthrough Threatens America's Lead

https://www.nytimes.com/2026/07/17/business/china-ai-moonshot-kimi.html
2•petilon•38m ago•0 comments

Grumpy Website

https://grumpy.website/
3•Gecko4072•40m ago•0 comments

The first patch is a price check, not the product

https://github.blog/engineering/the-cost-of-saying-yes-has-changed/
1•logickkk1•40m ago•0 comments

Static search trees: 40x faster than binary search (2024)

https://curiouscoding.nl/posts/static-search-tree/
2•lalitmaganti•42m ago•0 comments

China's Xi Jinping launches new AI alliance, WAICO

https://www.aljazeera.com/news/2026/7/17/chinas-xi-jinping-launches-new-ai-alliance-what-is-it
3•culi•42m ago•2 comments