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

Safer-dependencies claudecode skillpack to secure dependencies during developmnt

https://github.com/robert-auger/safer-dependencies
1•zenomorph•4m ago•1 comments

Sorry, A.I. Is Not Giving Us a Four-Day Workweek

https://www.nytimes.com/2026/07/06/opinion/ai-four-day-work-week-office.html
1•malloryerik•5m ago•0 comments

The Fourth Root Complexity of Data Movement

https://arxiv.org/abs/2606.30948
1•Jimmc414•6m ago•0 comments

Huawei Mate 90 series reportedly to feature new Kirin 2026 chip based on τ Law

https://technode.com/2026/07/06/huawei-mate-90-series-reportedly-to-feature-new-kirin-2026-chip-b...
1•yogthos•10m ago•0 comments

Beamforming

https://en.wikipedia.org/wiki/Beamforming
1•metadat•11m ago•0 comments

Anti-vaccers are fundamentally wrong about placebo-controlled trials

https://thelogicofscience.com/2026/07/06/anti-vaccers-are-fundamentally-wrong-about-placebo-contr...
2•bediger4000•13m ago•1 comments

Alternate Clock Designs and Time Systems

https://serialc.github.io/altClocks/
2•ethanpil•13m ago•0 comments

AI: The ROI Runway Could Be Long Outside the Tech Sector

https://www.apollo.com/wealth/insights-news/insights/daily-spark/ai-the-roi-runway-could-be-long-...
1•u1hcw9nx•14m ago•0 comments

Town Square Is a Beautiful Experiment

https://blakehouseholder.substack.com/p/town-square-is-a-beautiful-experiment
1•blake8086•14m ago•0 comments

Show HN: Otari: your open-source LLM control plane

https://github.com/mozilla-ai/otari
1•angpt•14m ago•0 comments

The Margin: a spoiler-aware wiki that self-updates as you read

https://worldfall.ink/margin/
1•pfwitt•15m ago•0 comments

Apollo economist says a 'painful repricing' of AI markets is possible

https://fortune.com/2026/07/06/ai-productivity-gains-bubble-painful-repricing-markets-torsten-slok/
1•u1hcw9nx•15m ago•0 comments

Taiganet.com, Home of the WS4000 Simulator

https://www.taiganet.com/
2•Aloha•17m ago•0 comments

Majority of id software to be laid off by Microsoft

https://bsky.app/profile/dark1x.bsky.social/post/3mpyugwk5yc27
4•LarsDu88•17m ago•2 comments

How HN: Sopsy – Commit encrypted secrets to Git, decrypt with Touch ID

https://sopsy-cli.dev/
1•kigster•18m ago•0 comments

The Master's Daughter- a novel about diffusion of technology and societal change

https://worldfall.ink/read/act-1/
1•pfwitt•18m ago•0 comments

OpenURMA: A Clean-Room Open Implementation of the Unified Bus Protocol

https://arxiv.org/abs/2605.28717
1•jimyl•19m ago•0 comments

Why does Chicago use Comic Sans on some elevator inspection certificates?

https://chicago.suntimes.com/2026/06/03/why-does-chicago-use-comic-sans-on-some-elevator-inspecti...
1•mattas•19m ago•0 comments

Welcome to the Luxury City Built by Taiwan's A.I. Boom

https://www.nytimes.com/2026/06/24/business/taiwan-chips-boom.html
1•reaperducer•21m ago•0 comments

DOGE Shrank the Payroll, Not the Deficit

https://rubbishtalk.com/economy/doge-shrank-the-payroll-not-the-deficit/
4•zaik•21m ago•0 comments

Show HN: Found.as – small contact page / digital business card

https://found.as/
1•ptramo•22m ago•0 comments

Learning to code is still worthwhile

https://stevekrouse.com/learn-to-code
21•stevekrouse•23m ago•1 comments

Knowledge factories and the industrialisation of knowledge work

https://www.sontoresearch.ai/blog/knowledge-factories-and-the-industrialisation-of-knowledge-work
1•jah242•23m ago•1 comments

Agentic BI Team: Orchestrate a BI Team from CLI

https://github.com/link7373/agentic-bi-team
1•link7373•24m ago•0 comments

Show HN: LangChain's OpenWiki agent based on PI.dev harness

https://github.com/barvhaim/pi-openwiki
1•bignet•27m ago•0 comments

Stanford Scientists Reverse Age-Related Memory Loss by Targeting the Gut

https://scitechdaily.com/stanford-scientists-reverse-age-related-memory-loss-by-targeting-the-gut/
1•amichail•28m ago•0 comments

AMD's Ryzen AI Halo makes local AI look easy, but it doesn't come cheap

https://www.theregister.com/ai-and-ml/2026/07/06/amds-ryzen-ai-halo-makes-local-ai-look-easy-but-...
3•geekinchief•29m ago•1 comments

Protecting Exploration in an Efficient System

1•rando77•31m ago•0 comments

German prosecutors allege Ukraine ordered Nord Stream pipeline attack

https://www.aljazeera.com/news/2026/7/2/german-prosecutors-allege-ukraine-ordered-nord-stream-pip...
2•khurs•31m ago•0 comments

Data centers make nearby neighborhoods hotter

https://coloradosun.com/2026/07/03/data-centers-make-nearby-neighborhoods-hotter/
4•gnabgib•33m ago•1 comments