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

Ford CEO Jim Farley said Trump would halve the EV market by ending subsidies

https://fortune.com/2025/12/16/ford-ceo-jim-farley-ev-tax-credit-donald-trump-ford-f150-lightning/
1•stevenjgarner•1m ago•0 comments

Zed Moves Toward Secure-by-Default: Introducing Worktree Trust

https://zed.dev/blog/secure-by-default
1•recov•1m ago•0 comments

Bring Your Own Key (BYOK) Is Now Live in JetBrains IDEs

https://blog.jetbrains.com/ai/2025/12/bring-your-own-key-byok-is-now-live-in-jetbrains-ides/
1•l2dy•2m ago•0 comments

Robot learns 1,000 tasks in a single day

https://scienceclock.com/robot-learns-1000-tasks-in-a-single-day/
1•ashishgupta2209•2m ago•0 comments

Making the Most of Bit Arrays in Gleam

https://gearsco.de/blog/bit-array-syntax/
1•crowdhailer•4m ago•0 comments

Variable Size MoEs

https://hbfreed.com/2025/12/16/variable-size-experts.html
2•hbfreed•6m ago•0 comments

Hardware-Attested Nix Builds

https://garnix.io/blog/attested-nix-builds/
1•todsacerdoti•9m ago•0 comments

De Tocqueville and the French Exception

https://www.economist.com/interactive/primers/liberalism/primer-2
1•finghin•10m ago•1 comments

Project Vend: Phase Two

https://www.anthropic.com/research/project-vend-2
1•dcre•11m ago•0 comments

Show HN: A lightweight DLP browser extension to prevent data leaks in LLM tools

https://www.asturic.com/
1•__alberto•11m ago•0 comments

Relocating for Tech Jobs in 2026

https://relocateme.substack.com/p/tech-talent-relocation-forecast-for
2•andrewstetsenko•11m ago•0 comments

Byrne and Storm's UK Online Safety Act Year in Review for 2025

https://prestonbyrne.com/2025/12/18/byrne-storms-uk-online-safety-act-year-in-review-for-2025/
1•iamnothere•11m ago•0 comments

Show HN: Call Santa AI with your kids. My new side project

https://callsantatonight.com/
1•s-stude•12m ago•0 comments

Ask HN: PMs using Linear: how do you keep decision context from getting lost?

1•istvan_intrnd•15m ago•0 comments

America's work-from-home capitals are in a sorry state

https://www.economist.com/graphic-detail/2025/11/27/americas-work-from-home-capitals-are-in-a-sor...
2•campuscodi•15m ago•1 comments

Principles of AI Product Design: Keep the User in the Driver's Seat

https://blog.dfeldman.co/principles-of-ai-product-design-keep-the-user-in-the-drivers-seat-170ae4...
1•schvenk•16m ago•1 comments

Show HN: MiraTTS, a 48kHz Open-Source TTS at 100x Real-Time Speed

https://github.com/ysharma3501/MiraTTS
1•Yatharth3501•17m ago•0 comments

Frontier AI Trends Report

https://www.aisi.gov.uk/frontier-ai-trends-report
1•jacekm•18m ago•0 comments

In secret missile factory, Ukraine is ramping up its domestic arms industry

https://www.bbc.co.uk/news/articles/c1dz6wgn2w9o
5•dredmorbius•18m ago•0 comments

Lunar impact flash detected on the Moon

https://armaghplanet.com/lunar-impact-flash-detected-on-the-moon-by-armagh-observatory-and-planet...
2•stevenjgarner•19m ago•1 comments

React Handbook

https://devouringdetails.com/resources/react-handbook
1•onuar•19m ago•0 comments

Trump Media to merge with nuclear fusion firm in $6B deal

https://www.bbc.co.uk/news/articles/cp9kv9lld38o
3•iamflimflam1•20m ago•0 comments

Show HN: Codeboards – A Developer Portfolio That Updates Itself

1•mkozak•21m ago•0 comments

Example for Minimalist Software Design

https://pokerino.io
1•swupel•21m ago•0 comments

Response Healing: Reduce JSON Defects by 80%+

https://openrouter.ai/announcements/response-healing-reduce-json-defects-by-80percent
11•numlocked•21m ago•1 comments

Em Dash in Reddit Comments, Interactive

https://intervolz.com/emdash-observer/
5•intervolz•22m ago•1 comments

Facebook tests £9.99 monthly subscription for sharing more than two links

https://www.bbc.com/news/articles/cp9kv3lezgro
2•victorbuilds•22m ago•0 comments

A little bit uncomfortable – All Things Distributed

https://www.allthingsdistributed.com/2025/12/a-little-bit-uncomfortable.html
2•rbanffy•22m ago•0 comments

McCarthy's 91-function: an unfortunate paradigm (EWD 845)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD845.html
2•throwoutway•23m ago•0 comments

A Codebase by an Agent for an Agent

https://ampcode.com/by-an-agent-for-an-agent
1•misternugget•25m ago•0 comments