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

People are transcribing your conversations without asking. That puts you at risk

https://werd.io/people-are-transcribing-your-conversations-without-asking-that-puts-you-at-risk/
1•benwerd•4m ago•0 comments

Toll: Constant memory rate limiter at any scale

https://github.com/satmihir/toll
2•jscrab•5m ago•0 comments

So bright the vision (1956) a story about machines writing instead of humans [pdf]

https://s3.us-west-1.wasabisys.com/luminist/EB/S/Simak%20-%20So%20Bright%20the%20Vision.pdf
2•marysminefnuf•7m ago•0 comments

Apollo 11 Guidance Computer (AGC) source code

https://github.com/chrislgarry/apollo-11
1•modinfo•10m ago•0 comments

Cosmonapse – an event-driven protocol for AI agent systems

https://github.com/Cosmonapse/cosmonapse-core
1•aqibkhan026•11m ago•0 comments

Run Ray on TPU, Part 1: The foundations

https://developers.googleblog.com/run-ray-on-tpu-part-1-the-foundations/
1•simonpure•13m ago•0 comments

IEA Predicts First Decrease in Global Oil Demand Since 2020

https://oilprice.com/Energy/Crude-Oil/IEA-Predicts-First-Decrease-in-Global-Oil-Demand-Since-2020...
3•toomuchtodo•13m ago•1 comments

New York blocks large data centers for a year

https://apnews.com/article/new-york-data-centers-moratorium-ai-c1e05b74208a6c570eec7c658ac8f187
6•gmays•14m ago•0 comments

State-by-State Data and ITEP Tax Inequality Index Map

https://itep.org/whopays-7th-edition/
2•speckx•15m ago•0 comments

A PHP server that can handle 10x as many concurrent requests as Nginx+PHP-fpm

https://github.com/Qbix/webserver/blob/main/README.md
1•EGreg•20m ago•0 comments

Oracle could face $7B collateral bill for Wisconsin data centre

https://www.ft.com/content/b37030b6-bda8-4ba9-8e08-e6b88687b8f5
1•toomuchtodo•22m ago•1 comments

curl_cffi - Python binding for curl-impersonate

https://github.com/lexiforest/curl_cffi
1•gregsadetsky•26m ago•0 comments

Concentrate: LLM Gateway

https://concentrate.ai
1•handfuloflight•33m ago•0 comments

Sakana Fugu-Cyber

https://sakana.ai/fugu-cyber-release/
2•ilreb•35m ago•1 comments

Show HN: Hospital Price Watch: Transparent, Shoppable Hospital Prices

https://hospitalpricewatch.com/
1•brad12345•36m ago•1 comments

Ramp Router

https://ramp.com/router/
2•handfuloflight•36m ago•0 comments

Show HN: AI meeting notes – no bot, insights and answers from your files (BYOK)

https://getaiassist.app/
1•rfigueror1•37m ago•0 comments

How Cursor Rebuilt Its Terraform Workflow with Masterpoint

https://masterpoint.io/case-studies/cursor/
1•mooreds•38m ago•0 comments

New Chrome plugin automates Reddit conversations

https://subsnipe.thomasunise.com/
2•is_dev_active•42m ago•0 comments

Ten-year-old butterfly researcher finds memories can be inherited

https://www.upworthy.com/ten-year-old-butterfly-researcher-discovers-that-memories-an-be-passed-d...
2•MaysonL•42m ago•0 comments

Freerange: Static fit checks for ordinary TypeScript layout code

https://github.com/chenglou/freerange
1•handfuloflight•50m ago•0 comments

British Standard – "Preparation of a liquor of tea for use in sensory tests" [pdf]

https://www.teahong.com/wp-content/uploads/2022/03/bs-6008-or-iso-3103.pdf
1•gregsadetsky•52m ago•0 comments

Homeric Question

https://en.wikipedia.org/wiki/Homeric_Question
3•thunderbong•1h ago•0 comments

Eye Tracking on Your Cellphone

https://gazecapture.csail.mit.edu/
2•soupspaces•1h ago•0 comments

Expect More Data Center Moratoriums – and Slower Growth

https://www.bloomberg.com/opinion/articles/2026-07-20/new-york-data-center-moratorium-friction-sl...
1•petethomas•1h ago•0 comments

Industrial DevOps

https://itrevolution.com/product/industrial-devops-book/
1•firesteelrain•1h ago•0 comments

Absurdity and hypocrisy in war, Celine [pdf]

https://neoalchemist.wordpress.com/wp-content/uploads/2012/06/louis-ferdinand-celine-journey-to-t...
1•DaveZale•1h ago•0 comments

Anthropic's Landmark $1.5B Copyright Settlement Is Approved

https://techcrunch.com/2026/07/20/anthropics-landmark-1-5b-copyright-settlement-is-approved/
4•golly_ned•1h ago•3 comments

The Rise (and Fall?) Of Palantir [video]

https://www.youtube.com/watch?v=SfGUzSYEqY0
2•figmert•1h ago•0 comments

Official Package Registry of Veryl

https://veryl-lang.org/blog/official-package-registry/
2•dalance•1h ago•2 comments