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

Ukraine hits Moscow refinery again

https://www.reuters.com/world/europe/russia-attacks-kyiv-with-missiles-local-authorities-say-2026...
1•JumpCrisscross•3m ago•0 comments

Show HN: Automatically Validate Python Packages

https://pypi.org/project/validatedata/
1•EdwardK1•6m ago•1 comments

Maslul – Smart LLM router – one call, the right model

https://github.com/iliatankelevich/maslul
1•iliatankelevich•9m ago•0 comments

I Hate Compilers

https://xeiaso.net/notes/2026/anubis-wasm-vendor-binary/
7•xena•16m ago•0 comments

Introducing Vercel Connect

https://vercel.com/blog/introducing-vercel-connect
3•MaxLeiter•17m ago•0 comments

The Teachers Getting $50k Bonuses Thanks to a Meta Data Center

https://www.wsj.com/us-news/education/the-teachers-getting-50-000-bonuses-thanks-to-a-massive-met...
3•tzury•17m ago•0 comments

Cursor and SpaceX: In search of a complete loop

https://kwokchain.com/2026/04/23/cursor-and-spacex-in-search-of-a-complete-loop/
3•jxmorris12•19m ago•0 comments

SF landlord killed tenant to clear Sunset home for sale, lawsuit alleges

https://sfstandard.com/2026/06/17/lawsuit-alleges-sf-landlord-killed-tenant-clear-home-sale/
3•arkadiyt•21m ago•0 comments

Ask HN: I miss Fable, anyone else does?

2•vrinda13•22m ago•0 comments

Amazon S3 Annotations

https://aws.amazon.com/blogs/aws/amazon-s3-annotations-attach-rich-queryable-context-directly-to-...
3•jacobwg•23m ago•0 comments

Ask HN: What's a prompt you've written that you're genuinely proud of?

4•akashwadhwani35•28m ago•1 comments

Show HN: Attagram, a tiny printer that gives kids a magical daily digest

https://www.attagram.com/
3•mvkel•30m ago•1 comments

Eve from Vercel

https://vercel.com/eve
4•MehrdadKhnzd•33m ago•1 comments

Bet on Centaurs

https://ajkprojects.com/bet-on-centaurs.html
2•ashleynewman•39m ago•0 comments

The Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
2•gmargari•41m ago•1 comments

Sigil – tamper-evident audit and signed scopes for LLM prompts

https://github.com/mr-gl00m/sigil
2•mr_gl00m•45m ago•0 comments

GitSwitcher – a macOS menu bar app for switching Git identities

https://www.botworker.org/
1•easonxia•47m ago•0 comments

Vulnerability Disclosure: Stealing Emails via Firefox's AI Features

https://insinuator.net/2026/06/vulnerability-disclosure-stealing-emails-via-firefoxs-ai-features/
5•_____k•48m ago•1 comments

Show HN: I built a tool which turns any website into promo video in minutes

https://www.clickcast.tech/
1•modulusme•51m ago•1 comments

An event-driven AI pipeline using FastAPI, Redpanda, and Docker

https://github.com/Infodatamatrix/AIKafkaPipelineDemo
1•infodatamatrix•51m ago•0 comments

Cervical cancer mortality trends following HPV vaccination in England, 2001–24

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)00918-9/fulltext
3•asplake•58m ago•1 comments

BBC to axe Radio 4's The World Tonight after more than 50 years

https://www.theguardian.com/media/2026/jun/17/bbc-boss-compulsory-redundancies-cuts
7•mellosouls•1h ago•2 comments

YaFF – High-performance C++ serialization library

https://github.com/yandex/yaff
1•Hixon10•1h ago•0 comments

The Next Computing Revolution May Come from Stacking Chips Like Skyscrapers

https://scitechdaily.com/the-next-computing-revolution-may-come-from-stacking-chips-like-skyscrap...
1•g-b-r•1h ago•0 comments

'Most famous tree in the world': Sherwood Forest's 1000-year-old Major oak dies

https://www.theguardian.com/environment/2026/jun/18/most-famous-tree-world-sherwood-forest-ancien...
9•mellosouls•1h ago•0 comments

GLM-5.2 is probably the most powerful text-only open weights LLM

https://simonwillison.net/2026/Jun/17/glm-52/
4•lumpa•1h ago•0 comments

Simpler, older version of Stonehenge found three miles from famous site

https://www.bbc.co.uk/news/articles/clyxw8550y8o
3•mellosouls•1h ago•2 comments

Interesting Google AI Results

https://www.google.com/search?q=nvm
2•throwaway_7678•1h ago•2 comments

SteamOS Linux 3.8 released as stable

https://store.steampowered.com/news/app/1675200/view/697641379212298072
25•jrepinc•1h ago•1 comments

Privacy-Preserving Age Verification–and Its Limitations [pdf]

https://www.cs.columbia.edu/~smb/papers/age-verify.pdf
1•wmf•1h ago•0 comments