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

Tailwind Labs fired engineers while making –$1M from sponsors

1•danver0•1m ago•0 comments

Gritter Tracker – Traffic Scotland

https://www.traffic.gov.scot/gritter-tracker
1•robin_reala•1m ago•0 comments

Aharonov–Bohm interference in even-denominator fractional quantum Hall states

https://www.nature.com/articles/s41586-025-09891-2
1•bookofjoe•3m ago•0 comments

Trump Invoking 'Insurrection Act' Speculation Grows After ICE Shooting

https://www.newsweek.com/trump-insurrection-act-ice-shooting-walz-11328894
1•SilverElfin•4m ago•2 comments

Judges Question Key Copyright Test in Case over Miles Davis Tattoo

https://petapixel.com/2026/01/07/judges-question-key-copyright-test-in-photographers-case-against...
1•bahmboo•5m ago•0 comments

Americans by Name, Punished for Believing It

https://boltsmag.org/prosecuted-for-voting-american-samoans-alaska/
2•jaredwiener•5m ago•0 comments

Cas12a3 CRISPR System Targets tRNA Without Destroying Host Cell

https://www.genengnews.com/topics/genome-editing/cas12a3-crispr-system-targets-trna-without-destr...
1•7777777phil•6m ago•0 comments

AI Created This Game

https://www.pixelfork.ai/publish/35167c97-998d-4ba8-9808-fbe4ce17df77
2•fkhasiyev•8m ago•1 comments

Gov. Hochul seeks restrictions on 3D printers and ghost guns

https://gothamist.com/news/gov-hochul-seeks-restrictions-on-3d-printers-and-ghost-guns
3•kaladin-jasnah•8m ago•1 comments

Smaller than you thought: Putting the US AI boom(let) in perspective

https://www.ft.com/content/918fbc46-56a9-4225-b2cd-77fb4a532218
1•7777777phil•11m ago•0 comments

The Identity of Indiscernibles (1952)

https://www.jstor.org/stable/2252291
1•measurablefunc•11m ago•0 comments

Former Google CEO Eric Schmidt accused of rape, surveillance by ex-mistress

https://www.news.com.au/world/north-america/former-google-ceo-eric-schmidt-accused-of-rape-survei...
2•xqcgrek2•13m ago•1 comments

Virginia Faulkner: Writer, Editor and Ghostwriter?

https://lithub.com/virginia-faulkner-writer-editor-and-ghostwriter/
1•samclemens•15m ago•0 comments

A US-China War Would Be a Catastrophe for Everyone

https://medium.com/@gp2030/a-us-china-war-would-be-a-catastrophe-for-everyone-1bfdc6991b15
2•light_triad•16m ago•1 comments

Mabl vs. Mechasm: From low-code recordings to agentic E2E testing

https://mechasm.ai/blog/mabl-vs-mechasm
1•sleepless02•18m ago•1 comments

Flint Confirms Biodegradable Paper Batteries Are Now in Production

https://audioxpress.com/news/flint-confirms-biodegradable-paper-batteries-are-now-in-production
1•rmason•19m ago•0 comments

Who's ranking for 'vibe coding' in the USA?

https://seo-landscape-vibe-coding.netlify.app/
1•astonfred•20m ago•0 comments

Why SemVer fails when you patch old versions and what to do instead

https://beza1e1.tuxen.de/patching_old_versions.html
1•todsacerdoti•23m ago•0 comments

A data model for Git (and other docs updates)

https://jvns.ca/blog/2026/01/08/a-data-model-for-git/
1•jefurii•23m ago•0 comments

Iran Protest Map

https://pouyaii.github.io/Iran/
5•breppp•23m ago•0 comments

Ask HN: What will you pick as your database of 2026 Yugabyte, TiDB or SurrealDB?

2•marknefedov•25m ago•1 comments

Grok Deepfaked Renee Nicole Good's Body into a Bikini

https://www.motherjones.com/politics/2026/01/grok-x-musk-deepfake-renee-good-ice/
2•cdrnsf•26m ago•3 comments

Google Play to Enforce New 30% Corner Radius for App Icons

https://thirtypercentage.vercel.app
2•indest•29m ago•0 comments

Show HN: Freenet alpha, a drop-in decentralized replacement for the web

1•sanity•32m ago•0 comments

Lord of War, meet Lord of Tokens: Testing image models on design-agency work

https://singhkays.com/blog/lord-war-test-image-models/
1•singhkays•33m ago•0 comments

Tips for AI Coding with Ralph Wiggum

https://www.aihero.dev/tips-for-ai-coding-with-ralph-wiggum
2•handfuloflight•39m ago•1 comments

Agcom: 14M fine to Cloudflare for failing to block pirated content

https://en.ilsole24ore.com/art/agcom-sanctions-14-million-cloudflare-for-not-blocking-pirated-con...
2•klez•43m ago•1 comments

Tiny viral 'switch' offers hope against drug-resistant bacteria

https://phys.org/news/2025-12-tiny-viral-drug-resistant-bacteria.html
1•PaulHoule•44m ago•0 comments

Show HN: 'Clip to Discourse' Chrome Extension

https://chromewebstore.google.com/detail/clip-to-discourse/copdhiejkkdblhdcdjapcoalldkondhi
1•pacharanero•45m ago•0 comments

TikZ Paper-Folding Diagrams Library

https://tikz.dev/library-folding
1•agarttha•46m ago•0 comments