frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Trueline – Hash-verified edits save 44% of Claude's output tokens

https://github.com/rjkaes/trueline-mcp
2•rjkaes•1h ago
Claude Code's built-in Edit tool uses string matching. To change five lines, the model echoes back those exact lines as `old_string`, then provides the replacement. That echoed text is pure overhead (it's already in the file) and it's spending output tokens, the most expensive token class, just to say "I mean this part."

For a typical 15-line edit, that's ~200 wasted output tokens. Do a few dozen edits in a session and you're burning real money on text the model already knows is there. Worse, if `old_string` appears more than once in the file, the edit fails and the model has to pad extra context lines until the match is unique.

I built an MCP plugin that replaces string matching with line-range references and hash verification. The model says which lines to replace, proves it read them correctly with a checksum, and provides only the new content. A 15-line edit goes from ~470 output tokens to ~263. That's a 44% reduction. If the file changed since the last read (you saved in your editor, another tool touched it), the hash check catches it instead of silently applying a stale edit.

Install is two commands:

    /plugin marketplace add rjkaes/trueline-mcp
    /plugin install trueline-mcp@trueline-mcp
Session hooks automatically redirect the agent to use trueline tools.

Inspired by Can Boluk's "The Harness Problem" and Seth Livingston's vscode-hashline-edit-tool for VS Code.

Blog post with more detail: https://www.wormbytes.ca/2026/03/04/trueline-mcp-announcemen...

Asymmetric Goal Drift in Coding Agents Under Value Conflict

https://arxiv.org/abs/2603.03456
1•lrakster•51s ago•0 comments

Is Web Development Returning to PHP?

https://andreasyanaram.medium.com/is-web-development-quietly-returning-to-php-8dd5c3d47eee
1•ulrischa•1m ago•0 comments

Containers, but Without the Magic Part 1: Networking

https://www.nightshift.sh/blog/containers-without-magic-01
1•tensor_ninja•3m ago•0 comments

Show HN: ColdPitch – Find anyone, get a personalized cold email in seconds

https://www.coldpitch.ai
1•arishec•3m ago•0 comments

Spawn-Agent: On chain monitoring and analytics infrastructure

https://github.com/Spawn-Agent/Spawn-Agent
1•tosh•3m ago•0 comments

Why do elephants have such wrinkly skin?

https://www.sciencefocus.com/nature/why-do-elephants-have-such-wrinkly-skin
1•thunderbong•3m ago•0 comments

Left-handed people may have a psychological edge in competition

https://phys.org/news/2026-03-left-people-psychological-edge-competition.html
2•simonebrunozzi•4m ago•0 comments

The OpenAI Files

https://www.theverge.com/openai/688783/the-openai-files-will-help-you-understand-how-sam-altmans-...
1•MrBuddyCasino•4m ago•0 comments

Show HN: I trained a small local model to translate natural language to CLI

https://github.com/spicy-lemonade/zest-cli-infra
1•kiki_kuuki•4m ago•0 comments

How we fixed Postgres connection pooling on serverless with PgDog

https://circleback.ai/blog/how-we-fixed-postgres-connection-pooling-on-serverless-with-pgdog
2•alihaghani•5m ago•0 comments

No Cloud, No Waiting: Tool-Calling Agents on Consumer Hardware with LFM2-24B-A2B

https://www.liquid.ai/blog/no-cloud-tool-calling-agents-consumer-hardware-lfm2-24b-a2b
1•nimar•5m ago•0 comments

Kaoslabs – My Linux VPS and self-hosting experiments

https://kaoslabs.org
1•wilhart•5m ago•1 comments

Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs

https://github.com/jetify-com/typeid
1•alcazar•9m ago•0 comments

Donald Trump insists there are no wind farms in China. Here are 20 in pictures

https://www.theguardian.com/us-news/gallery/2026/mar/05/pictures-china-wind-farms-trump
10•beardyw•9m ago•2 comments

Heuristics for lab robotics, and where its future may go

https://www.owlposting.com/p/heuristics-for-lab-robotics-and-where
1•abhishaike•10m ago•0 comments

.test

1•bengothard•10m ago•3 comments

AntScan – high-throughput phenomics of ant biodiversity via synchrotron

https://www.antscan.info
1•marojejian•10m ago•1 comments

Whats your strategy to stay productive post layoff?

2•d675•11m ago•1 comments

Let's Talk About Spaces in XMPP

https://mov.im/community/pubsub.movim.eu/Movim/fb46d699-adc1-4fda-a76e-71ca1d246b80
1•edhelas•11m ago•1 comments

React Grab

https://www.react-grab.com/
2•bpierre•12m ago•0 comments

Show HN: Nodes – Open-source decentralized Discord alt with E2E encrypted DMs

https://github.com/Leveq/Nodes
1•hackerwhosemans•12m ago•1 comments

Tim Cook Warned by CIA That China Could Move on Taiwan by 2027

https://www.macrumors.com/2026/02/24/tim-cook-warned-by-cia-china-taiwan-2027/
4•bananamogul•13m ago•1 comments

Towards Reliable Agentic Systems (Part 1) – Understanding Error

https://datda.substack.com/p/towards-building-reliable-agentic
1•rapatel0•14m ago•1 comments

Story Builder – AI branching narrative generator (CLI tool)

1•loder-coder•14m ago•0 comments

The Caterpillar Pickup Truck Is Real, but It's Not What People Were Hoping

https://www.thedrive.com/news/the-caterpillar-pickup-truck-is-real-but-its-not-what-people-were-h...
3•PaulHoule•15m ago•1 comments

Anthropic and The Pentagon are back at the negotiating table

https://www.cnbc.com/2026/03/05/anthropic-pentagon-ai-deal-department-of-defense-openai-.html
1•deanmoriarty•15m ago•0 comments

PromptOS

https://github.com/m727ichael/PromptOS
1•m727ichael•16m ago•0 comments

The Government Uses Targeted Advertising to Track Your Location

https://www.eff.org/deeplinks/2026/03/targeted-advertising-gives-your-location-government-just-as...
7•hn_acker•16m ago•1 comments

Testing multiplayer economies in a management game

https://store.steampowered.com/app/4332850/Global_Business_Tycoon/
1•luckypowa•16m ago•1 comments

Olmo Hybrid

https://allenai.org/blog/olmohybrid
1•linolevan•17m ago•0 comments