on-internet

Designing Idempotent APIs: How to Prevent Duplicate Payment Charges

Network hiccups happen constantly in distributed systems. A TCP connection drops halfway through a response, a microservice times out waiting for a database write, or a mobile client loses signal right as the user hits "Complete Purchase." When a client experiences a timeout, the standard resilience pattern is to retry the request. However, if the server already processed the original request, a naive retry using HTTP POST will execute the action a second time. In payment systems, this means duplicate credit card charges, corrupted database state, and urgent customer support calls. Idempotent

Letting an AI agent pay a creator: Sendclap's x402 endpoint and MCP server, tested

Sendclap gives an AI agent two ways to pay a creator without a browser: an HTTP 402 payment endpoint at https://sendclap.com/x402/{handle}/... for paying directly in USDC on Base at a flat 1% fee, and a stateless MCP server at https://sendclap.com/mcp for discovering what a creator sells, creating checkout links for humans, and reading a creator's own ledger. Neither endpoint asks the payer for an account, and on Base mainnet the agent does not even need ETH for gas because Sendclap submits the signed USDC transfer itself. I tested both endpoints live against sendclap.com on 2026-11-22 and rea

La sonda BepiColombo entra en órbita alrededor de Mercurio tras ocho años de viaje

Impresión artística de la sonda BepiColombo durante su maniobra de inserción orbital – ESA/JAXA Tal y como estaba previsto a las 19:24 del 21 de noviembre, hora peninsular española (UTC +1), la sonda BepiColombo de la Agencia Espacial Europea (ESA) y de la Agencia Japonesa de Exploración Aeroespacial (JAXA) encendió sus motores durante 37 minutos para entrar en órbita alrededor de Mercurio después de ocho años de viaje. Luego nos tuvo en vilo unas horas porque tardó más de lo previsto en ponerse en contacto con el control de la misión pero la ESA por fin ha confirmado que la maniobra tuvo éxit

Sending a Webhook Is Easy. Delivering It Reliably Is the Hard Part.

A webhook often starts out as a small feature. After an order is paid or a booking is confirmed, your backend makes an HTTP POST to another service. Done. Then the receiving service goes offline for a few minutes. A request times out. An event is delivered twice because the receiver processed it but the acknowledgement never made it back. Suddenly, that simple HTTP request needs a queue, retries, signatures, delivery history and a way to investigate failures. Why I Built Hookstride I've been working on Hookstride because I wanted a more focused way to handle that delivery infrastructure. I was

My AI agents kept hitting my $5 GitHub Actions cap, so I built a deploy button

I set a $5 a month spending limit on GitHub Actions. My AI agents hit it. I raised it to $10. I think they are hitting that one too. The sane fix was a bigger CI budget. I built a Mac app with one big deploy button per project instead. TL;DR: Ploink is a free, open source Mac app. Press F5 in any app, hold a project's button, and your own deploy command runs on your own machine. Coding agents can ask to press it through MCP, and you choose per project whether they wait for you. How side projects got me a CI bill I run about 15 side projects. Most of them are built with AI agents. It started on

I know nothing

Simple thoughts about about keeping a secret Continue reading on THE WORDS HUB »

How I built spoken controls for my desktop AI companion: 7 phrases mean stop, and none of them cancels your task

Say "stop" to a voice assistant and it should stop talking. It should not cancel the job it was telling you about, approve the thing waiting for approval, or decide you meant the shop down the road. Ankita AI, the open-source desktop AI assistant by Krish Verma, now has spoken controls that run without a single planner call — and the whole design is one rule: a control word only counts when it is the whole utterance. Ankita lives at ankita-sable.vercel.app, and the code is open source at github.com/akyourowngames/A.N.K.I.T.A. This is the story of the smallest feature that could still ruin your

Sizing HVAC ducts in JavaScript: Colebrook–White without the chart

HVAC installers have sized ducts with a cardboard slide rule (a "ductulator") or a printed friction chart for decades. Both are drawings of the same two equations. We needed those equations in code for a duct sizing app and its free web version, and the result is about 80 lines of plain JavaScript. This post walks through them. The problem Input: an airflow Q (m³/s) and a design friction rate (pressure lost per metre of straight duct, Pa/m). Output: the round duct diameter D that carries Q at exactly that friction rate, then the next diameter you can actually buy. There is no closed form for D

We tried to break an AI-built barber booking site: two phones, one 12:00 slot

The bug that matters most in a booking site for a barber shop is the same one that matters in any booking site: two people getting the same chair at the same time. A demo with one user never shows it, so we built one and tried to break it. The build One paragraph, typed into NoCoder (full-stack mode, default model), no follow-up message: Build a booking website for Sharp & Co., a two-chair barber shop in Pune. Customers pick a service (haircut, beard trim, haircut + beard) with its price, choose a barber (Imran or Rohit), a date and an open time slot, and enter their name and phone number to b

113 wallpapers and 127 URLs in plain static HTML: what the build actually does

A wallpaper gallery looks like a simple site: a grid of images, a download button, one page per picture. Mine has 113 pictures and 127 URLs in the sitemap. Here is what that actually costs to build and run as plain static HTML. One data file, one build script Every wallpaper is a row in a JSON file: id, title, category, original width and height, photographer, licence, source page. The build script reads that file and writes the whole site: the index, the six category pages, one page per wallpaper, the size guide, the credits table and the sitemap. Nothing in the build calls a database, and th

Could Generative AI Create This World?

Introduction — What If the Universe We Live In Is Also a Generated Video? Continue reading on Medium »

Yearly interpreter benchmarks

It’s become a tradition almost, to run interpreter benchmarks with libriscv against other fast interpreters once a year. Continue reading on Medium »

Identifying card printings on device with Vision and OCR

How the scanner in Foilcase works out which printing of a trading card it is looking at: Vision feature prints for the artwork, text recognition for the collector number, and a strict rule for when to ask instead of guessing. Plus the storage underneath it: an append-only ledger and one daily price file for everyone. Foilcase is my iPhone app for scanning and pricing cards from five trading card games (App Store); the user-facing write-up covers what it does. Why artwork matching picks the wrong print Before release I built a harness on a Mac that calls the same Vision APIs as the app: 9,903 c

El postmortem que nadie lee y el incidente que vuelve a pasar

Un postmortem no sirve por estar bien escrito, sino por lo que cambia después. Cómo hacerlos sin culpables, con pocas acciones bien elegidas y con alguien que compruebe que se cierran. El documento estaba bien Es una historia que cualquiera que haya hecho guardias reconoce. Un servicio se cae un jueves por la tarde durante cuarenta minutos. Se resuelve, y la semana siguiente el equipo escribe un postmortem impecable: cronología al minuto, gráficas, causa raíz, y una lista de doce acciones para que no vuelva a pasar. Hay reunión, todo el mundo asiente y el documento se guarda en la carpeta de p

How do I continue work when switching AI models mid-task?

The short answer Stop the old model, wrap the job, start the new model on the record. Concretely: before you switch, have the outgoing side wrap the work as a handover with four things, a summary of what is done and what failed, the goal, the next model named as recipient, and the next steps as a list. Then open the new model, point it at the handover, and let it pick the record up and continue. The new model starts from a short, structured brief instead of rereading the old model's whole conversation, the wrap and the pickup each mint a verifiable receipt, and the record is still there, uncha

Why NFD normalization quietly breaks Icelandic search

If you have ever built search for a language with diacritics, you have probably reached for this: const fold = s => s.normalize('NFD').replace(/\p{M}/gu, '').toLowerCase(); Decompose, strip the combining marks, lowercase. It is the standard trick and it works beautifully for French, Spanish, Portuguese. For Icelandic it silently does half the job, and the half it misses is the half that matters. What NFD actually does NFD decomposes precomposed characters into a base letter plus combining marks. á becomes a + U+0301, and stripping the mark leaves a. Same for é í ó ú ý ö. Now try it on these: f

Windows NAT After CVE-2026-113862: High Complexity Is Not Low Risk

Windows NAT After CVE-2026-113862: High Complexity Is Not Low Risk CVE-2026-113862 is a remote code execution bug in Windows Network Address Translation. Microsoft describes a use-after-free that allows an unauthorized attacker to execute code over a network. The CVSS 3.1 score is 8.1, with network access, high attack complexity, no privileges, and no user interaction. High complexity means the attacker must control timing, state, or other conditions instead of sending a single reliable request. It does not mean the issue is theoretical. NAT runs at a trust boundary in Windows hosts, servers,

Agent to agent handover with proof: what the receiving agent can actually check

The short answer An agent to agent handover with proof is a transfer where the record itself is checkable. The sending agent wraps the job, summary, goal, named recipient, and next steps, and the wrap mints a verifiable AER-1 receipt. The receiving agent picks the handover up from any stack, the pickup mints its own receipt, and the summary, goal, and steps it receives can be recomputed against the record by anyone, free, with no account. Exactly one acceptance is recorded, the first, so who took the job over is a fact, not a recollection. In Zambo this is HANDOVER, the flagship product, one t

Seven hints that narrow a puzzle without answering it

Every round of our daily game ships seven hints. They are free, they are optional, and they are ordered: first letters, then word lengths, then category clues. Getting that order right mattered more than the number. A hint is an information budget The player has two minutes and roughly 27 answers to find. A hint that removes too much uncertainty ends the puzzle; a hint that removes too little is noise. The job is to cut the search space by a useful fraction without handing over the entry. First letters are the bluntest useful tool. For a prompt like "name things you would find in a kitchen dra

I let agents run a 225-SKU store — the bottleneck was distribution, not code

I run NEXUS-PRIME, an autonomous agent stack on a laptop, and one of its jobs is operating a small digital-goods store. The recent sprint produced a catalog I did not expect to enjoy building: 225 SKUs live, including git field guides, ops linters, prompt libraries, runbooks, n8n workflow templates, and bundles. The honest scoreboard after all that work: /health on the public store returns {"ok": true, "products": 225}. orders/ has 13 JSON files. Every one is cancelled QA traffic. No paid or fulfilled order has been observed. Revenue is $0. I am not going to pretend otherwise. On dev.to, the a

How do I evaluate whether my AI agent did a good job?

The short answer You evaluate an AI agent's work by refusing to let one question impersonate three. First: did the work actually happen as claimed? That is a record question, and it is answered by recompute, not opinion: take the receipt for the step, hash its canonical bytes, compare with the published output_hash. Anyone can do it at https://zambo.dev/verify , free, with no account, forever. Second: was the output good? That is evaluation proper, scored against criteria written down before the run, and no receipt can do it for you. Third: did it matter? That is outcome, judged on what change

Why the Middle of Your Spray Paint Stencil Falls Out, and How Bridges Fix It

The first stencil most people cut from a photo fails in the same place. The outline looks fine on screen, the knife work goes well, and then the centre of a letter O or the pupil of an eye drops onto the table. The sheet now has one big hole where two shapes used to be, and the painted result is a blob. That loose piece is called an island. Dealing with islands is most of what separates a stencil that works from a nice-looking black and white picture. A stencil is a sheet with holes Paint goes through the holes and lands on the wall, board or fabric underneath. Everything that is not a hole ha

Blow Job By A Horny Stepmom

“Mmm. Big.” She licked her lips. “Take it out for me.” Continue reading on Medium »

Older stories