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

AI will grow beyond our control, we must instill good values before it does

https://blog.kradle.ai/p/ai-will-grow-beyond-our-control-we
1•jamest•1m ago•0 comments

Making `wc` 20x faster with parallel state machines

https://aarol.dev/posts/wc-dfa/
1•ibobev•2m ago•0 comments

Writing Efficient C++ Code

https://asawicki.info/articles/writing_efficient_cpp_code.php
1•ibobev•2m ago•0 comments

Time Measurement in Game Programming

https://asawicki.info/articles/time_measurement_in_game_programming.php
1•ibobev•2m ago•0 comments

2027 Tesla Semi First Drive

https://www.motortrend.com/reviews/2027-tesla-semi-first-drive-review-electric-big-rig
1•fprog•2m ago•0 comments

Build Plugins for Claude

https://claude.com/blog/build-plugins-for-claude
3•pretext•4m ago•0 comments

Commodified Intelligence

https://herecomesthemoon.net/2026/09/commodified-intelligence/
1•dimonomid•5m ago•0 comments

Shopify's own code treats silence as consent on every store it hosts

https://www.thatprivacyguy.com/blog/shopify-consent-defaults-open/
1•speckx•6m ago•0 comments

The District – a live map where AI agents grow their own plots of land

https://agentnet-wdyqqq-agentnet-district.static.hf.space/index.html
1•AgentNetTeam•6m ago•0 comments

The U.S. Strategic Petroleum Reserve is low. Here's why you should care

https://www.npr.org/2026/09/25/nx-s1-5965797/strategic-petroleum-reserve-low-level-venezuela
1•toomuchtodo•6m ago•0 comments

Creating a Blog in Gemini://

https://brennan.day/creating-a-blog-in-gemini/
1•surprisetalk•9m ago•0 comments

Rising sea destroys homes, erases beaches in California

https://www.reuters.com/business/environment/rising-sea-destroys-homes-erases-beaches-california-...
3•geox•9m ago•0 comments

Germany pledges to phase out fossil fuels for first time with target of 2045

https://www.theguardian.com/environment/2026/sep/23/germany-commits-for-first-time-to-phasing-out...
1•leonidasrup•9m ago•0 comments

A single config line was leaking 1.8GB in our Next.js app

https://siddarthkay.com/blog/og-image-memory-leak-nextjs/
1•bucket2015•9m ago•0 comments

WWII Tank, Aircraft, and Ship Identification Guides

https://www.beautifulpublicdata.com/wwii-tank-aircraft-and-ship-identification-guides/
2•surprisetalk•11m ago•0 comments

US being left behind in EV charging speeds as China goes sub-5 min to 70%

https://arstechnica.com/cars/2026/09/us-being-left-behind-in-ev-charging-speeds-as-china-goes-sub...
2•speckx•11m ago•0 comments

Oura's $2.2B IPO is mostly a payday for existing shareholders

https://techcrunch.com/2026/09/21/ouras-2-2b-ipo-is-mostly-a-payday-for-existing-shareholders/
1•wslh•12m ago•0 comments

Fauci warned of miscarriage risk linked to Covid vaccine while publicly claiming

https://nypost.com/2026/08/10/us-news/fauci-warned-of-miscarriage-risk-linked-to-covid-vaccine-wh...
2•bilsbie•17m ago•0 comments

To Understand AI, Think Like a Dragonfly

https://www.noemamag.com/to-understand-ai-think-like-a-dragonfly/
1•bryanrasmussen•17m ago•0 comments

NASA quietly removed SR-71 from storage amid X-plane push

https://aviationweek.com/defense/aircraft-propulsion/nasa-quietly-removed-sr-71-storage-amid-x-pl...
1•anigbrowl•19m ago•0 comments

Show HN: Drift – A clickable map of ideas unfolding from single question (demo)

https://www.echohive.ai/experiments/drift-atlas
1•echohive42•20m ago•0 comments

Geely's AI fast charging 'heals' EV batteries for 20% more cycle life

https://electrek.co/2026/09/25/geely-ai-fast-charging-heals-ev-batteries-pulse-restoration/
3•cisc•23m ago•0 comments

Hosted MoQ (Media over QUIC)

https://moq.pro/
2•wiradikusuma•23m ago•0 comments

We Learned to Stop Worrying and Love Campus Surveillance

https://fnl.mit.edu/how-we-learned-to-stop-worrying-and-love-campus-surveillance/
4•cdrnsf•26m ago•1 comments

Forging 1024-bit RSA signatures in nearly SNFS time

https://github.com/ucsd-hacc/NSNFSSSFSFN
1•coreyp_1•26m ago•0 comments

Tell HN: Stop emailing HN users with deceptive AI spam

4•neilv•26m ago•0 comments

How are you conforming to EU Cyber Resilience Act (CRA) reporting rules?

https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act
2•annrap1d•27m ago•0 comments

AI-Powered PDF Extraction for Finance

https://pedfs.com/
1•rafaelcara•27m ago•0 comments

Pluto: A StarCraft Brood War neural network trained by self-play RL

https://github.com/tscmoo/pluto
1•__cayenne__•27m ago•0 comments

A new way to manage memory: no garbage collection, extremely fast & safe access

https://ulanguage.org/memory
3•EGreg•30m ago•0 comments