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

What I Learned Building 8 Tbps of CDN

https://elijah.com.au/writing/built-8tbps-cdn/
1•ghuntley•32s ago•0 comments

Money is only a problem to those who don't have it

https://www.alkemix.art/p/the-gathering-storm
1•vinyasi•1m ago•0 comments

Pgrls: Static Analyzer for Postgres Row-Level Security

https://github.com/pgrls/pgrls
1•dmitrymaranik•1m ago•0 comments

Decline in heavy-duty tools correlates with megaherbivore disappearance

https://www.sciencedirect.com/science/article/pii/S0277379126000818
1•wslh•2m ago•0 comments

Repeated Header in a Next.js page using iframe and bbpress

https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0trtbjg6ukyudwntawqv.png
1•Thompson_Li•3m ago•1 comments

Google Declaring War on the Web

https://tante.cc/2026/05/20/on-google-declaring-war-on-the-web/
2•cdrnsf•4m ago•0 comments

Replacing NZ public servants with AI could come with hidden costs, critics warn

https://www.rnz.co.nz/news/political/595847/replacing-public-servants-with-ai-could-come-with-hid...
3•billybuckwheat•5m ago•0 comments

Non-Mendelian inheritance of DNA methylation patterns in mice

https://www.nature.com/articles/s41588-026-02604-z
2•bookofjoe•6m ago•0 comments

Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos

https://github.com/kouhxp/yapsnap
3•mrkn1•9m ago•0 comments

Politics in the Age of NGOs as Arms of State Censorship

https://twitter.com/arctotherium42/status/2039127319202156745
2•barry-cotter•11m ago•0 comments

The Scale, the Plan, and the People

https://nooneshappy.com/article/the-scale-the-plan-and-the-people/
2•diebillionaires•12m ago•0 comments

America Turned Against AI According to the Poll Data: A Very Big Compilation

https://www.thealgorithmicbridge.com/p/how-america-turned-against-ai-according
4•gHeadphone•14m ago•0 comments

K3_AI: Run command on SpacemiT K3's AI cores

https://github.com/brucehoult/k3_ai/tree/main
2•hasheddan•15m ago•0 comments

Ascetic Computing

https://ratfactor.com/ascetic-computing
2•birdculture•16m ago•0 comments

My two-part desk setup

https://arslan.io/2025/11/18/my-two-part-desk-setup/
2•James72689•16m ago•0 comments

Show HN: Lessons from building a SIMA2 style agent in Roblox

https://www.frisson-labs.com/what-if-we-made-sima2-from-temu
2•ymaws•17m ago•0 comments

Show HN: Migo Games (Mac / iOS) – multiplayer mini games backed by elixir

https://apps.apple.com/us/app/migo-games/id6758592333
2•calflegal•18m ago•0 comments

Read Meta's Layoff Email to Employees

https://www.businessinsider.com/read-meta-layoff-email-employees-2026-5
3•metadat•18m ago•0 comments

SportsBookISH – Compare Kalshi event-contract odds vs. US sportsbooks

https://sportsbookish.com
2•kennyhyder•21m ago•1 comments

Claude.ai Pro plan quotas too small for deep research

https://www.williamangel.net/blog/2026/05/20/ClaudeAI-Pro-Plan-Gives-Single-Deep-Research.html
2•datadrivenangel•22m ago•0 comments

Anthropic will be scaling up on GB200 capacity in SpaceX Colossus 2

https://twitter.com/nottombrown/status/2057194829986300375
3•Rover222•23m ago•1 comments

GitHub's take on age assurance for developers

https://github.blog/news-insights/policy-news-and-insights/why-age-assurance-laws-matter-for-deve...
2•hanifbbz•24m ago•0 comments

Show HN: Runo – Scraping API that returns typed JSON, not raw HTML

https://scrapewithruno.com/?version=2.0
2•barebearcountry•25m ago•0 comments

PopuLoRA: Co-Evolving LLM Populations for Reasoning Self- Play

https://vmax.ai/team/populora-co-evolving-llm-populations-for-reasoning-self-play
11•AMavorParker•26m ago•1 comments

The SpaceX IPO filing has arrived

https://techcrunch.com/2026/05/20/the-spacex-ipo-filing-has-arrived/
3•doener•26m ago•2 comments

AI Didn't Invent Slop – It Scaled It

https://nadathurx.com/ai-slop-what-about-human-slop/
2•sjimdickens•27m ago•0 comments

Company wants to do the carbon footprint offset thing, but for AI usage

https://tokenoffset.com
2•jakehandy•30m ago•0 comments

Quantum computing is reaching its make-or-break moment

https://www.scientificamerican.com/article/quantum-computing-is-reaching-its-make-or-break-moment/
3•digital55•32m ago•0 comments

Linus Torvalds admits he has a 'love-hate relationship with AI'

https://www.zdnet.com/article/linus-torvalds-has-a-love-hate-relationship-with-ai/
6•CrankyBear•34m ago•0 comments

GPU Memory Math for LLMs: Formula That Tells You What Fits on Your GPU

https://theahmadosman.substack.com/p/gpu-memory-math-for-llms-2026-edition
7•XMasterrrr•36m ago•0 comments