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

John Deere owners will get the right to repair equipment under FTC settlement

https://apnews.com/article/john-deere-right-to-repair-agriculture-equipment-cb7514ffedb95c130a976...
1•djoldman•20s ago•0 comments

M64 Controller Review: The N64 Remote Perfected

https://retrododo.com/m64-controller-review-the-n64-remote-perfected/
1•bpierre•50s ago•0 comments

Hijacking Defensive Cyber AI Agents for Remote Code Execution

https://ainowinstitute.org/publications/friendly-fire-exploit-brief
1•Cynddl•2m ago•0 comments

The AI Bubble We need to talk

https://www.youtube.com/watch?v=2J2Fb1bBufA
1•cable2600•3m ago•0 comments

US rare earths flow to Asia as domestic demand is slow to emerge

https://arstechnica.com/science/2026/07/us-rare-earths-flow-to-asia-as-domestic-demand-is-slow-to...
1•jnord•4m ago•0 comments

Ask HN: What do you think of xsight labs?

1•m101•7m ago•0 comments

Telling Stories with Data (2023)

https://tellingstorieswithdata.com
1•matt_daemon•10m ago•0 comments

We made Grok 4.5, GPT-5.5, and Claude build the same apps

https://www.tryai.dev/blog/grok-4.5-vs-gpt-5.5-vs-claude-build-off
1•hershyb_•10m ago•0 comments

BassBet – Live Games, Fast Payouts and Big Wins Online

https://bassbet-login.com/en/
1•kalwrepo•15m ago•0 comments

Xsight labs - anyone talking about these guys?

https://xsightlabs.com/
2•m101•16m ago•1 comments

You may not need 8 hours of sleep

https://www.nytimes.com/2026/07/05/opinion/sleep-health-8-hours.html
2•dr_•19m ago•0 comments

Ghislaine Maxwell's Dad Sold Bugged Israeli Software to Two Nuclear Weapons Labs

https://alisav.substack.com/p/ghislaine-maxwells-father-sold-bugged
4•newspaper1•19m ago•0 comments

Suspecting AI cheating, Ivy League prof ordered in-person final; scores fell 50%

https://arstechnica.com/ai/2026/07/we-cannot-choose-to-become-idiots-the-ai-cheating-scandal-roil...
21•furcyd•26m ago•4 comments

Show HN: Schema_ferry – Continuous schema migration from MySQL to PostgreSQL

https://github.com/kyuuri1791/schema_ferry
1•kyuuri1791•27m ago•0 comments

Observations of a Journal Editor

https://uq.pressbooks.pub/editorobservations/
1•MrVandemar•28m ago•0 comments

Meta datacenter contractor flushed contaminated water

https://www.theguardian.com/us-news/2026/jul/08/meta-datacenter-ai-wyoming-water
3•doener•32m ago•2 comments

Visualizing Buns new Rust Files against the rest of the JavaScript / cpp

https://old.reddit.com/r/bun/comments/1ur8ka2/visualizing_the_rust_portion_of_bun_against/
1•fernando-ram•35m ago•0 comments

The family of a man shot by the Tennessee National Guard demands video release

https://apnews.com/article/memphis-national-guard-shooting-tyrin-johnson-6a1ea3e51176d8ddf6519f90...
14•petethomas•36m ago•0 comments

Family demands an independent probe after ICE officer shoots a man in Houston

https://apnews.com/article/ice-houston-shooting-lorenzo-salgado-araujo-2d01ba69caf2445f0500509689...
8•petethomas•40m ago•0 comments

The Trump admin is ramping up pressure on states to change election practices

https://apnews.com/article/trump-voting-threat-states-3ec6b7838c97342965416756c0b83496
5•petethomas•42m ago•0 comments

New report highlights reasons for hope in the climate fight

https://www.unep.org/news-and-stories/story/new-report-highlights-five-reasons-hope-climate-fight
2•cybermango•44m ago•0 comments

A New 'Little House' Expands and Updates the Prairie

https://www.nytimes.com/2026/07/08/arts/television/little-house-on-the-prairie-netflix.html
1•indigodaddy•46m ago•1 comments

Verbalizable Representations Form a Global Workspace in Language Models

https://transformer-circuits.pub/2026/workspace/index.html
3•tristenharr•46m ago•1 comments

Earth may survive the sun's death

https://www.space.com/astronomy/earth/earth-may-survive-the-suns-death-after-all-new-study-suggests
1•cybermango•48m ago•1 comments

Show HN: Udemy/Skillshare Meets Clippy

https://missionforgehq.com/
1•Drewsimpson•48m ago•0 comments

Show HN: Jdan's Japan subway station icons

https://trains.jordanscales.com/
1•jordanscales•50m ago•0 comments

NASA begins funding hardware for 'Skyfall' Mars helicopter mission

https://www.space.com/space-exploration/missions/nasa-begins-funding-hardware-for-skyfall-mars-he...
1•cybermango•50m ago•0 comments

Show HN: I ran 70 MCP servers in a sandbox and logged what they do

https://github.com/BhaveshThapar/mcp-audit
2•bthapar•53m ago•1 comments

Creatine doesn't just build muscle. It may also help fight cancer

https://www.sciencedaily.com/releases/2026/07/260701015237.htm
10•Jimmc414•55m ago•2 comments

Tripping on Acid

https://scotmurphy.com/2026/07/08/tripping-on-acid/
2•tekjess•57m ago•1 comments