frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Response Healing: Reduce JSON defects by 80%+

https://openrouter.ai/announcements/response-healing-reduce-json-defects-by-80percent
24•numlocked•1d ago

Comments

seawatts•1d ago
This is incredible!
top1aibooster•2h ago
> Here's something most developers overlook: if an LLM has a 2% JSON defect rate, and Response Healing drops that to 1%, you haven't just made a 1% improvement. You've cut your defects, bugs, and support tickets in half.

If part of my system can't even manage to output JSON reliably, it needs way more "healing" than syntax munging. This comes across as naive.

arm32•1h ago
But, but, you've just cut your defects, bugs, and support tickets in half!
Dylan16807•1h ago
Plus, that claim isn't even true. A 1% and 2% JSON defect rate are going to annoy a similar amount of people into filing bugs and tickets.
0cf8612b2e1e•1h ago
Sounds like we are twice as close to AGI!
nubg•1h ago
Dear Openrouter blog authors, could you please stop writing your blogposts with LLMs?

The content of your posts is really insightful and interesting, but it's feel like junk quality because of the way LLMs write blogposts.

What was your prompt?

re-thc•1h ago
Next up: blog healing
lab•1h ago
A lot of it was finger written -- curious which part sounded like LLM to you?
nubg•10m ago
Meaning parts were LLM written? With no disclosure?
stuaxo•1h ago
This is good, is there a python library to do this ?
wat10000•1h ago
I thought structured output was done by only allowing tokens that would produce valid output. For their example of a missing closing bracket, the end token wouldn't be allowed, and it would only accept tokens that contain a digit, comma, or closing bracket. I guess that must not be the case, though. Doing that seems like a better way to address this.
numlocked•1h ago
That is a way of doing that, but it's quite expensive computationally. There are some companies that can make it feasible [0], but it's often not a perfect process and different inference providers implement it different ways.

[0] https://dottxt.ai/

ViewTrick1002•1h ago
I have used structured outputs both with OpenAI and the Gemini models. In the beginning they had some rough edges but lately it's been smooth sailing.

Seems like Openrouter also supports structured outputs.

https://openrouter.ai/docs/guides/features/structured-output...

idle_zealot•59m ago
This really gets at the heart of my instinctive dislike of how LLMs are being deployed. A core feature of computers, and tools in general, is reliability. I like software because you can set something up, run it, and (ideally) know that it will do the same job the same way each subsequent time you run it. I want a button that is clearly labeled, and when pressed, does a specific thing, acting like a limb, an extension of my will. I do not, in almost all cases, want my computer to be another distinct entity that I conduct social interactions with.

Maybe people got used to computers being unreliable and unpredictable as the UIs we shipped became more distracting, less learnable, always shifting and hiding information, popping up suggestions and displaying non-deterministic-seeming behavior. We trained users to treat their devices like unruly animals that they can never quite trust. So now the idea of a machine that embodies a more clever (but still unreliable) animal to wrangle sounds like a clear upgrade.

But as someone who's spent an inordinate amount of time tweaking and tuning his computing environment to prune out flakey components and fine-tune bindings and navigation, the idea of integrating a tool into my workflow that does amazing things but fails utterly even 1% of the time sounds like a nightmare, a sort of perpetual torture of low-grade anxiety.

ksenzee•28m ago
> We trained users to treat their devices like unruly animals that they can never quite trust. So now the idea of a machine that embodies a more clever (but still unreliable) animal to wrangle sounds like a clear upgrade.

I wish I didn't agree with this, but I think you're exactly right. Even engineers dealing with systems we know are deterministic will joke about making the right sacrifices to the tech gods to get such-and-such working. Take that a step further and maybe it doesn't feel too bad to some people for the system to actually not be deterministic, if you have a way to "convince" it to do what you want. How depressing.

kristianp•39m ago
How do they know the output needs to be in json format?
lijok•26m ago
One of the best shitposts I have ever seen, by far. Absurdism taken to its finest form.
andy99•2m ago
I have various workflows for which I use Claude (sonnet 4.5 mostly) to emit json and it’s literally more common to have an API error than to get defective json out - I can’t recall it happening at all in the last six months, probably much longer. I remember a customer over a year ago that was using gpt4o and had some logic to fix json errors, so evidently it happened for them.

I recognize this is more of an issue with smaller cheaper models now, though if the model can’t make proper json, what else is it breaking.

Mistral OCR 3

https://mistral.ai/news/mistral-ocr-3
301•pember•1d ago•39 comments

CSS Grid Lanes

https://webkit.org/blog/17660/introducing-css-grid-lanes/
73•frizlab•55m ago•11 comments

A Better Zip Bomb

https://www.bamsoftware.com/hacks/zipbomb/
35•kekqqq•1h ago•7 comments

Garage – An S3 object store so reliable you can run it outside datacenters

https://garagehq.deuxfleurs.fr/
396•ibobev•7h ago•84 comments

TP-Link Tapo C200: Hardcoded Keys, Buffer Overflows and Privacy

https://www.evilsocket.net/2025/12/18/TP-Link-Tapo-C200-Hardcoded-Keys-Buffer-Overflows-and-Priva...
180•sibellavia•4h ago•50 comments

8-bit Boléro

https://linusakesson.net/music/bolero/index.php
113•Aissen•11h ago•23 comments

Graphite is joining Cursor

https://cursor.com/blog/graphite
144•fosterfriends•7h ago•166 comments

GotaTun -- Mullvad's WireGuard Implementation in Rust

https://mullvad.net/en/blog/announcing-gotatun-the-future-of-wireguard-at-mullvad-vpn
513•km•11h ago•106 comments

Amazon will allow ePub and PDF downloads for DRM-free eBooks

https://www.kdpcommunity.com/s/article/New-eBook-Download-Options-for-Readers-Coming-in-2026?lang...
493•captn3m0•13h ago•266 comments

Qwen-Image-Layered: transparency and layer aware open diffusion model

https://huggingface.co/papers/2512.15603
30•dvrp•19h ago•2 comments

Performance Hints (2023)

https://abseil.io/fast/hints.html
30•danlark1•5h ago•21 comments

NOAA deploys new generation of AI-driven global weather models

https://www.noaa.gov/news-release/noaa-deploys-new-generation-of-ai-driven-global-weather-models
51•hnburnsy•2d ago•29 comments

Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)

https://github.com/Lulzx/tinypdf
79•lulzx•1d ago•12 comments

Buteyko Method

https://en.wikipedia.org/wiki/Buteyko_method
16•rzk•1h ago•5 comments

Rust's Block Pattern

https://notgull.net/block-pattern/
81•zdw•18h ago•31 comments

Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer

https://stickerbox.com/
36•spydertennis•3h ago•37 comments

Monumental snake engravings of the Orinoco River (2024)

https://www.cambridge.org/core/journals/antiquity/article/monumental-snake-engravings-of-the-orin...
9•bryanrasmussen•1w ago•0 comments

Believe the Checkbook

https://robertgreiner.com/believe-the-checkbook/
102•rg81•7h ago•45 comments

The FreeBSD Foundation's Laptop Support and Usability Project

https://github.com/FreeBSDFoundation/proj-laptop
119•mikece•8h ago•41 comments

Reverse Engineering US Airline's PNR System and Accessing All Reservations

https://alexschapiro.com/security/vulnerability/2025/11/20/avelo-airline-reservation-api-vulnerab...
78•bearsyankees•4h ago•37 comments

The pitfalls of partitioning Postgres yourself

https://hatchet.run/blog/postgres-partitioning
30•abelanger•3d ago•3 comments

Response Healing: Reduce JSON defects by 80%+

https://openrouter.ai/announcements/response-healing-reduce-json-defects-by-80percent
24•numlocked•1d ago•18 comments

Lite^3, a JSON-compatible zero-copy serialization format

https://github.com/fastserial/lite3
116•cryptonector•6d ago•30 comments

Wall Street Ruined the Roomba and Then Blamed Lina Khan

https://www.thebignewsletter.com/p/how-wall-street-ruined-the-roomba
164•connor11528•4h ago•116 comments

Show HN: I Made Loom for Mobile

https://demoscope.app
52•admtal•5h ago•32 comments

History LLMs: Models trained exclusively on pre-1913 texts

https://github.com/DGoettlich/history-llms
734•iamwil•1d ago•361 comments

Prompt caching for cheaper LLM tokens

https://ngrok.com/blog/prompt-caching/
259•samwho•3d ago•65 comments

You can now play Grand Theft Auto Vice City in the browser

https://dos.zone/grand-theft-auto-vice-city/
239•Alifatisk•3h ago•69 comments

Getting bitten by Intel's poor naming schemes

https://lorendb.dev/posts/getting-bitten-by-poor-naming-schemes/
274•LorenDB•17h ago•144 comments

Detailed balance in large language model-driven agents

https://arxiv.org/abs/2512.10047
14•Anon84•3d ago•0 comments