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 AI Future Is for Everyone

https://www.wsj.com/opinion/the-ai-future-is-for-everyone-a0c24e20
1•ms7892•48s ago•0 comments

Colleges Must Ensure Grads Earn More or Lose Federal Aid

https://unusualwhales.com/news/colleges-must-ensure-grads-earn-more-or-lose-federal-aid
1•gmays•54s ago•0 comments

Federal Probe into Dodgers Owner's Financial Empire Was Sparked by Whistleblower

https://www.wsj.com/finance/regulation/federal-probe-into-dodgers-owners-financial-empire-was-spa...
1•petethomas•1m ago•0 comments

Show HN: Fastest non lossy JSON parser

https://github.com/skrcode/bestjsonformatter-cli
1•surajkrajan•2m ago•0 comments

ZFS Scrubs with no ECC (what could possibly go wrong?) (2025)

https://forums.truenas.com/t/zfs-scrubs-with-no-ecc-what-could-possibly-go-wrong/30863
1•thunderbong•2m ago•0 comments

Datatype: A variable font that turns text into charts

https://franktisellano.github.io/datatype/
1•CharlesW•3m ago•0 comments

The Wait Equation

https://en.wikipedia.org/wiki/The_Wait_Equation
1•Jimmc414•3m ago•0 comments

More planes get emergency auto-land tech

https://www.washingtonpost.com/transportation/2026/07/26/good-news-nervous-flyers-more-planes-get...
1•bookofjoe•4m ago•1 comments

Ask HN: What will it take you to shift to a new social media platform?

1•sahil423•4m ago•1 comments

Ask HN: Can't we think out of the box to kill the tumor?

1•kinj28•5m ago•0 comments

Show HN: Sessiongrep – Local-First Memory Across Claude Code, Codex, and Cursor

https://github.com/braincompany/sessiongrep
1•npx88•6m ago•0 comments

He Bought a House 'Sight Unseen.' Then He Found Three Dead Bodies

https://www.wsj.com/real-estate/he-bought-a-house-sight-unseen-then-he-found-three-dead-bodies-6c...
3•gmays•8m ago•1 comments

Show HN: HushRave – Silent disco on your guests' own phones, in sync

https://hushrave.com
1•rahulgolwalkar•10m ago•0 comments

Show HN: AeroSheet – 3D wings and airfoils go weee (in a spreadsheet)

https://workspace.google.com/marketplace/app/aerosheet/277780710399
1•hackiku•10m ago•0 comments

EPA says [dedicated] power for data centers can sidestep pollution laws

https://www.reuters.com/legal/litigation/epa-says-power-data-centers-can-sidestep-pollution-laws-...
4•HotGarbage•10m ago•0 comments

Boy George Releases Pro-Israel Song, We Will Dance Again

https://www.theguardian.com/music/2026/jul/27/you-say-genocide-i-say-war-boy-george-releases-pro-...
3•CharlesW•11m ago•1 comments

How I would implement an SSA-based compiler

https://gist.github.com/pizlonator/cf1e72b8600b1437dda8153ea3fdb963
1•achierius•12m ago•0 comments

Labwire, an open protocol for AI agents to control lab instruments

https://github.com/benchwire/labwire
1•RoboSy•13m ago•0 comments

Grok Introducing Build Mode

https://x.ai/news/grok-build-mode
2•BoumTAC•14m ago•0 comments

Bringing MCP 2026-07-28 to Claude

https://claude.com/blog/bringing-mcp-2026-07-28-to-claude
2•mfiguiere•16m ago•0 comments

WebScene. React, TypeScript, JavaScript in native application frameworks

https://old.reddit.com/r/WebScene/comments/1v966gv/webscene_run_packaged_react_typescript_and/
1•wiso•16m ago•0 comments

Navigating the solution space with agents

https://vimota.me/writing/navigating-the-solution-space-with-agents
1•vimota•17m ago•0 comments

Data centers may face temporary power cuts to prevent blackouts

https://techcrunch.com/2026/07/28/data-centers-may-face-temporary-power-cuts-to-prevent-blackouts...
3•speckx•17m ago•0 comments

Wildfires in south-west France flare up as region braces for new 40C heatwave

https://www.bbc.com/news/articles/c5yd8gly1ydo
2•saikatsg•18m ago•2 comments

Performance Has Layers

https://oxide.computer/blog/performance-has-layers
1•tosh•19m ago•0 comments

Show HN: Telemetry accumulates technical debt. We built a tool to clean it up

https://obics.io/blog/obics-observability-cost-saver-launch/
1•michaels9876•20m ago•1 comments

South Korea's KOSPI posts biggest fall since early March as chipmakers slump

https://www.reuters.com/world/asia-pacific/south-koreas-kospi-drops-7-global-chipmaker-selloff-de...
2•saikatsg•21m ago•0 comments

Mousecrack – Bypass captcha mouse detection with deep learning

https://github.com/puffinsoft/mousecrack
3•G3819•21m ago•1 comments

Community Ingress-Nginx Retired: How to Plan Your Migration

https://www.buoyant.io/blog/community-ingress-nginx-retired-how-to-plan-your-migration
3•PagCatOli•21m ago•0 comments

Obfuscation (Part II): Diamond IO

https://vitalik.eth.limo/general/2026/07/28/obfuscation_part_ii_diamond_io.html
1•elffjs•21m ago•0 comments