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

What's your "known-good" wiring pattern for large addressable LED installs?

1•emmasuntech•1m ago•1 comments

The state of Linux music players in 2026

https://crescentro.se/posts/linux-music-players-2026/
1•signa11•2m ago•0 comments

Disabling GitHub MCP on CC extended my sessions ~10%

https://staunch.ai/blog/disabling-github-mcp
1•irasigman•4m ago•0 comments

EU-India Free Trade,Investment Protection and Geographical Indications Agreement

https://policy.trade.ec.europa.eu/eu-trade-relationships-country-and-region/countries-and-regions...
2•Someone•4m ago•0 comments

DeepSeek-OCR 2

https://github.com/deepseek-ai/DeepSeek-OCR-2
1•wahnfrieden•5m ago•0 comments

From Hours to Seconds: Automating Python Security with AI?

https://nocomplexity.substack.com/p/from-hours-to-seconds-automating
1•runningmike•6m ago•0 comments

How do you use LLMs to verify databases with minimal hallucinations?

1•rochansinha•7m ago•0 comments

Windows Central Eliminates Most of Its Gaming Journalists

https://80.lv/articles/windows-central-eliminates-most-of-its-gaming-journalists
1•pjmlp•7m ago•0 comments

Anthropic launches the MCP Apps open spec, in Claude.ai

https://www.latent.space/p/ainews-anthropic-launches-the-mcp
1•swyx•8m ago•0 comments

What Happened to Apple App Clips?

3•tomtec•12m ago•1 comments

You gotta think outside the hypercube

https://lcamtuf.substack.com/p/you-gotta-think-outside-the-hypercube
1•fratellobigio•12m ago•0 comments

GiganticWebsites is AI and humans at its worst

https://github.com/Voultapher/blog/blob/main/posts/2026/gigantic-websites/text.md
1•Voultapher•13m ago•0 comments

Let's Talk About Those Watches in 'Severance'

https://www.hodinkee.com/articles/lets-talk-about-those-watches-in-severance
1•wslh•17m ago•0 comments

How to get your first customers[for Devs]

https://medium.com/@avneesh_67085/so-you-finished-your-mvp-heres-how-to-get-your-first-customers-...
1•mightymosquito•18m ago•0 comments

LLM Ad Blockers are coming

https://idiallo.com/blog/prompt-engineering-to-remove-ads
2•7777777phil•20m ago•0 comments

Roots is a game server daemon that manages Docker containers for game servers

https://github.com/SproutPanel/roots
1•Kerrick•22m ago•0 comments

Russia using Interpol's wanted list to target critics abroad, leak reveals

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

An ultra-high-resolution map of (dark) matter

https://www.nature.com/articles/s41550-025-02763-9
1•neom•23m ago•0 comments

Show HN: See how much things cost in terms of your runway

1•yakkomajuri•23m ago•0 comments

Hidden Preference to Auto-Resize Columns in the Finder on macOS

https://forums.realmacsoftware.com/t/auto-resizing-columns-in-finder/52435
1•7777777phil•23m ago•0 comments

Strong vs. swole: the surprising truth about building muscle

https://www.theguardian.com/lifeandstyle/2026/jan/26/strong-v-swole-building-muscle-bodybuilding-...
1•akbarnama•24m ago•0 comments

Sinofuturism (1839 – 2046 AD) [video]

https://vimeo.com/179509486
1•Antibabelic•25m ago•0 comments

The 17% Gap: Quantifying Epistemic Decay in AI-Assisted Survey Papers

https://arxiv.org/abs/2601.17431
1•jruohonen•31m ago•1 comments

Ask HN: How much emphasis to put on unit testing and when?

1•theturtlemoves•32m ago•1 comments

How to Make Your Photos Searchable for the Next 50 Years

https://medium.com/readers-club/the-archivists-secret-how-to-make-your-photos-searchable-for-the-...
2•sony_news•37m ago•0 comments

Logie Baird's Mechanical Televisor

https://paleotronic.com/2018/09/15/gadget-graveyard-bairds-mechanical-television/
1•empressplay•40m ago•0 comments

Y Combinator is no longer investing in Canadian startups

https://thelogic.co/news/exclusive/y-combinator-canada-startups/
3•joelkesler•41m ago•1 comments

Notification Overload (Discussion)

1•fractal618•42m ago•0 comments

Trade Commissioner says 'mother of all deals' will open India market for EU

https://www.euronews.com/my-europe/2026/01/26/exclusive-trade-commissioner-says-mother-of-all-dea...
1•saubeidl•43m ago•0 comments

Limit precise location from cellular networks

https://support.apple.com/en-us/126101
3•tony101•45m ago•0 comments