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

Stack Rankings: A Comprehensive Guide

https://www.thehumancapitalhub.com/articles/stacked-rankings-a-comprehensive-guide
1•akkartik•2m ago•0 comments

Can A.I. Keep a Parent Alive?

https://www.newyorker.com/news/as-told-to/can-ai-keep-a-parent-alive
1•petethomas•5m ago•0 comments

Study: "Mommy, do you love your phone more than me?"

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1766665/full
1•hbcondo714•10m ago•0 comments

Show HN: I built a free app for New Yorkers to save money on groceries

https://sbnyc.app/
2•eli_yumnik•13m ago•0 comments

Fraym – AI that creates product demo videos for you

https://tryfraym.com
1•jrud•13m ago•0 comments

Just shipped rate limiting for hypersonic.js

https://github.com/hypersonic-js/hypersonic-js
1•joaquim_d•14m ago•1 comments

What will define Elon Musk's legacy? DOGE cuts to USAID Ebola programs

https://www.theguardian.com/technology/2026/jul/07/elon-musk-doge-cuts-usaid-ebola
4•tastyface•16m ago•1 comments

We cannot wait for better post-quantum signature algorithms

https://blog.cloudflare.com/ml-dsa-will-have-to-do/
1•mappu•19m ago•0 comments

Cleveland Fed's Hammack says AI could fuel inflation, rate hikes may be needed

https://www.cnbc.com/2026/06/30/cleveland-fed-president-hammack-sees-ai-fueling-inflation-says-ra...
2•mapping365•20m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
2•compiler-guy•23m ago•0 comments

Surgeons face higher infertility rates. UC may make it even harder to have kids

https://sfstandard.com/2026/07/09/ucsf-surgical-residents-fertility-benefits-occupational-hazard/
2•littlexsparkee•26m ago•1 comments

Warsh picks ex-BoE chief Mervyn King and tech boss Marc Andreessen to reform Fed

https://www.ft.com/content/e45a34e0-cd96-4b72-9ff3-380efc28a705
1•JumpCrisscross•28m ago•0 comments

Ukraine: How a kamikaze drone partially AI operated is attacking Russian convoys

https://www.france24.com/en/europe/20260601-ukraine-kamikaze-drone-partially-operated-ai-attackin...
1•rawgabbit•32m ago•0 comments

Total Construction Spending: Manufacturing in the United States

https://fred.stlouisfed.org/series/TLMFGCONS
1•mooreds•33m ago•0 comments

Show HN: Fortress – a stealth Chromium so your agents stop getting blocked

https://tilion.dev
5•arhamislam5766•35m ago•0 comments

Ask HN: What are you running locally on your machine with LLMs?

2•agcat•37m ago•1 comments

Goldman Sachs limits prediction market betting for employees

https://www.ft.com/content/7a2a3200-763f-4141-8372-f2f6afba521d
7•petethomas•37m ago•0 comments

Can you guess what percentage of the lines in OpenClaw were contributed by Pete?

https://www.reddit.com/r/PrincipalAi/s/fzWPLHanBs
1•fernando-ram•39m ago•1 comments

Brown says AI make student brain no work good, teacher should help use it better

https://www.theregister.com/ai-and-ml/2026/07/09/brown-says-ai-make-class-dumb-teacher-must-help-...
1•Bender•39m ago•0 comments

Ingit – Git GUI that runs in the browsers

https://github.com/capaj/ingit
2•Capaj•39m ago•3 comments

Patch for Windows Defender 0-day could allow attackers to fill hard disk

https://arstechnica.com/security/2026/07/patch-for-windows-defender-0-day-could-allow-attackers-t...
1•Bender•40m ago•0 comments

Michigan's explosive outbreak of diarrheal parasite jumps to over 1,200 cases

https://arstechnica.com/health/2026/07/michigans-explosive-outbreak-of-diarrheal-parasite-jumps-t...
8•Bender•40m ago•0 comments

Qubits can be cloned at will if encrypted with a single-use key

https://arxiv.org/abs/2602.10695
2•lisper•40m ago•0 comments

The Version Number Is Not the Territory

https://thebuild.com/blog/the-version-number-is-not-the-territory/
2•Shorn•41m ago•1 comments

The OpenClaw Foundation: Reining in a Viral AI Agent

https://techstrong.ai/articles/the-openclaw-foundation-reining-in-a-viral-ai-agent/
1•CrankyBear•41m ago•0 comments

Collapse of AMOC ocean current may be locked in

https://www.newscientist.com/article/2533017-collapse-of-amoc-ocean-current-may-already-be-locked...
3•Anon84•41m ago•0 comments

No Boss, No Money: The Raw Reality of China's Gen-Z Freelancers [video]

https://www.youtube.com/watch?v=eJZFUEQebbI
1•binyu•42m ago•0 comments

The OpenClaw Foundation

https://openclaw.ai/blog/introducing-openclaw-foundation
2•hrudolph•49m ago•0 comments

OpenAI's No. 2 Executive to Step Down in Latest Leadership Shake-Up

https://www.wsj.com/tech/openai-top-executive-fidji-simo-to-step-down-c3daca47
3•impish9208•51m ago•1 comments

28-Hour Day App

https://apps.apple.com/us/app/28-hour-day/id6752815000
3•28HourDev•54m ago•1 comments