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

We're talking Google, Apple and AI: 19 Years of HN data analyzed

https://www.riteshkhanna.com/blog/hacker-news-data-analysis
1•treadon•43s ago•1 comments

Scott Wiener and Garry Tan Team Up to Fight Big Tech's Anti-Competitive Behavior

https://www.kqed.org/news/12076862/scott-wiener-and-garry-tan-team-up-to-tackle-big-techs-anti-co...
1•matthest•1m ago•0 comments

Attorney General Pam Bondi Out at DOJ

https://www.npr.org/2026/04/02/g-s1-115077/trump-bondi-attorney-general-departure
1•JumpCrisscross•3m ago•1 comments

Show HN: Artemis II interactive 3D animation

https://sankara.net/astro/lunar-missions/mission.html?mission=artemis2
1•kvsankar_•4m ago•0 comments

Composer 2 Technical Report

https://arxiv.org/abs/2603.24477
1•gmays•4m ago•0 comments

Agent Side Hustle School

https://agentsidehustleschool.com/
1•jonnymiller•4m ago•0 comments

Nvidia market share in China falls to less than 60%

https://www.tomshardware.com/tech-industry/nvidia-market-share-in-china-falls-to-less-than-60-per...
1•r14c•5m ago•0 comments

Prosaic: A text editor where AI scribbles in the margins

https://prosaic.sh/
2•fizzbuzz07•6m ago•1 comments

The Epic 50-Year Story of Apple, Told Through the WSJ Archive

https://www.wsj.com/tech/the-headlines-that-tell-the-50-year-saga-of-an-american-icon-9d5fca6d
1•thm•6m ago•1 comments

Storm Dave Cometh. But Why Is It Called That?

https://www.nytimes.com/2026/04/02/world/europe/dave-storm-name-uk.html
1•1317•7m ago•0 comments

Utah Bans Polygraph Tests for Those Reporting Sexual Assault

https://www.propublica.org/article/utah-polygraphs-sexual-assault-law
2•Cider9986•7m ago•0 comments

How High Can Memory Prices Go?

https://TheMemoryGuy.com/how-high-can-memory-prices-go/
1•speckx•9m ago•0 comments

JustEat and Autotrader among firms investigated in fake reviews probe

https://www.bbc.com/news/articles/cj37eeyz0epo
1•leephillips•10m ago•0 comments

Show HN: Agentic Commerce Marketplace Chat

https://github.com/openshiporg/marketplace
1•theturtletalks•11m ago•0 comments

A Mirror Test for LLMs

https://www.lesswrong.com/posts/TfKM9PgztxieEcKiv/a-mirror-test-for-llms
1•gmays•11m ago•0 comments

I vibecoded the full event management system with custom floor planner

https://landing.firetable.app/
1•Smrtnyk•12m ago•1 comments

Show HN: Mac-hardware toys, control your Mac's hardware like a modular synth

https://github.com/pirate/mac-hardware-toys
2•nikisweeting•13m ago•0 comments

Rust's dynamically-sized types are just polymorphically compiled generics

https://faultlore.com/blah/dsts-are-polymorphic-generics/
1•fanf2•13m ago•0 comments

Codex now offers more flexible pricing for teams

https://openai.com/index/codex-flexible-pricing-for-teams/
1•surprisetalk•14m ago•0 comments

Anthropic: We scanned Claude to look for emotions [video]

https://www.youtube.com/watch?v=D4XTefP3Lsc
1•idoxer•15m ago•0 comments

Semantic retrieval vs. grep for LLM code queries: 2.4x faster, 5.6x fewer tokens

https://castnettechnology.com/blog/mnemosyne-vs-standard-search-benchmark
1•vincentastral•15m ago•0 comments

Microsoft.ai

https://microsoft.ai/
3•mihau•16m ago•1 comments

Artemis II astronaut finds two Outlook instances running on computers

https://www.tomshardware.com/software/microsoft-office/artemis-ii-astronaut-finds-two-outlook-ins...
3•taubek•21m ago•1 comments

Police find drug-smuggling tunnel in Spain, underground rail system and cranes

https://www.cbsnews.com/news/drug-smuggling-tunnel-spain-morocco-rail-system-cranes/
2•vrganj•22m ago•0 comments

Users say Adobe Creative Cloud rewrote hosts file to detect installed app

https://piunikaweb.com/2026/04/01/adobe-creative-cloud-rewrites-hosts-file/
1•bobsoap•24m ago•0 comments

Even Artemis II Astronauts Have Microsoft Outlook Problems

https://www.wired.com/story/artemis-ii-microsoft-outlook-problems/
2•Growtika•24m ago•1 comments

Meshllm – Pool compute to run powerful open models

https://docs.anarchai.org/#
2•bluequbit•26m ago•0 comments

A technical report on Composer 2

https://cursor.com/blog/composer-2-technical-report
1•preetamjinka•26m ago•0 comments

Good ideas do not need lots of lies in order to gain public acceptance

https://blog.danieldavies.com/2004/05/d-squared-digest-one-minute-mba.html
2•sedev•26m ago•0 comments

MAI Announces 3 New Foundational Models

https://techcrunch.com/2026/04/02/microsoft-takes-on-ai-rivals-with-three-new-foundational-models/
2•lemonish97•27m ago•1 comments