frontpage.
newsnewestaskshowjobs

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

The Race to Come Up with the Next Big Sleep Drug

https://www.wsj.com/health/pharma/the-race-to-come-up-with-the-next-big-sleep-drug-473a4a5e
1•bookofjoe•35s ago•0 comments

New York Has Sued Kalshi for Running Illegal Gambling Operation

https://ag.ny.gov/press-release/2026/governor-hochul-and-attorney-general-james-announce-new-york...
1•cdrnsf•2m ago•0 comments

The messy politics behind Google's big AI shakeup

https://www.theverge.com/tech/976108/google-ai-leadership-shakeup-jeff-dean-demis-hassabis-deepmind
1•Anon84•3m ago•0 comments

BMS ran AI for drug discovery 3 years- what they found and why they doubled down

https://blogs.nvidia.com/blog/bristol-myers-squibb-building-life-science-industrys-most-advanced-...
1•bcaulfield•3m ago•0 comments

With software alone, one B200 beats the LPU and gets close to Cerebras

https://runinfra.ai/news/b200-beats-the-lpu
2•OsamaJaber•3m ago•0 comments

Why AI is a risk to Communist China

https://www.economist.com/leaders/2026/08/06/why-ai-is-a-risk-to-communist-china
1•petethomas•3m ago•0 comments

Several plaster noses hidden in plain sight around London's Soho neighborhood

https://www.atlasobscura.com/places/seven-noses-of-soho
1•bcaulfield•3m ago•0 comments

Google shifts AI power back to Brin as DeepMind's Hassabis steps aside

https://giftarticle.ft.com/giftarticle/actions/redeem/1313659c-650d-45f9-9f81-f9f18a7f8b69
1•nmstoker•5m ago•0 comments

Kitesurf:The agent-first browser that runs in isolates on Cloudflare

https://blog.cloudflare.com/kitesurf/
2•cebert•9m ago•1 comments

AMA: MiniMax H3 Team – Ask anything about open video generation model

https://old.reddit.com/r/StableDiffusion/comments/1vh9rtw/ama_minimax_h3_team_ask_us_anything_abo...
1•embedding-shape•12m ago•0 comments

Metabase: Unauthenticated SQL injection in password reset (CVSS 10.0)

https://github.com/metabase/metabase/security/advisories/GHSA-vwf4-m7j8-wcjf
2•thejosh•16m ago•1 comments

Beyond the Library: An Agentic Framework for Autoformalizing Research Math

https://arxiv.org/abs/2606.31134
1•matt_d•17m ago•0 comments

Atari Legacy Magazine – By Paul Lefebvre

https://www.goto10retro.com/p/atari-legacy-magazine
1•rbanffy•17m ago•0 comments

MFLUSIVA

https://www.modernatx.com/ir-insights-mflusiva
1•jawns•18m ago•0 comments

GitHub Actions suffers second-longest major outage in its history

https://www.githubstatus.com/uptime/br0l2tvcx85d
40•KernelPryanic•19m ago•1 comments

GPS and the Lost Art of Getting Lost

https://www.newyorker.com/news/annals-of-inquiry/gps-and-the-lost-art-of-getting-lost
3•fortran77•22m ago•0 comments

Show HN: Learn System Design, one campaign at a time

https://scalequest.io/
2•raaa1•23m ago•0 comments

Show HN: Higher-dimensional lattices unfolded into the 2D plane

https://number-garden.com/?@THLP@
1•unitX•26m ago•1 comments

Welcoming the Nepalese Government to Have I Been Pwned

https://www.troyhunt.com/welcoming-the-nepalese-government-to-have-i-been-pwned/
11•gnabgib•26m ago•3 comments

In Menlo Park housing fight, Bonta sends potential warning to California cities

https://www.sfchronicle.com/realestate/article/housing-fight-menlo-park-bonta-22372361.php
2•randycupertino•26m ago•0 comments

Dice, (De)Convolution and Generating Functions

https://blog.demofox.org/2025/01/05/dice-deconvolution-and-generating-functions/
1•sebg•27m ago•0 comments

China built its 'Manhattan Project' to rival the West in AI chips [video]

https://www.youtube.com/watch?v=25ttDa0eqJQ
2•binyu•27m ago•0 comments

Show HN: Tmagnet – a terminal torrent client written in C

https://codeberg.org/ivanjeka/tmagnet
1•ivanjeka•28m ago•0 comments

Show HN: Pokémon Emerald Ported to Raspberry Pi Pico 2

https://github.com/mattdeeds/pokeemerald-rp2350
7•mdeeds•29m ago•0 comments

Priormarket – a fundamentals research terminal for Kalshi/Polymarket

1•mjarard•32m ago•0 comments

Waxrunner – Discogs wantlist cost optimization with a constraint solver

https://waxrunner.com/
1•hybridtheory•34m ago•0 comments

Owner of bike maker Raleigh files for insolvency

https://www.bbc.co.uk/news/articles/c4gv45w4j8eo
2•JohnHammersley•36m ago•3 comments

OpenAI's latest math breakthroughs commit research misconduct, experts say

https://www.scientificamerican.com/article/openais-latest-math-breakthroughs-commit-research-misc...
3•beardyw•37m ago•0 comments

ATProto for Distributed Systems Engineers

https://atproto.com/articles/atproto-for-distsys-engineers
4•LelouBil•42m ago•1 comments

Hazard Pointers for the Kernel

https://lwn.net/Articles/1084015/
1•signa11•43m ago•0 comments