on-internet

#219 (2022)

Darkening skies come reckoning for our punishment… Continue reading on Medium »

The passing

With compassion and care, a veterinarian helps Cindy say a tender final goodbye to her beloved elderly dog, Fiona - by Aeon Video Watch on Aeon

Alone-together in Karachi

Here, women pass from father to husband, like property. My friend and I rented our own apartment instead - by Sadia Khatri Read on Psyche

“The River Can’t Be Trusted”

"On July 8, 2025, three people at an RV park died in a flood. Some first responders say the tragedy could have been avoided, while leaders insist they did all they could."

A spot instance can vanish mid-job

We wrote the code that re-runs a CI job when AWS takes its spot instance away, and set up a test to interrupt one on purpose. AWS interrupted the test job for real before we could, and the re-run did not happen. This is the fourth of five posts about running each GitHub Actions job on its own EC2 spot instance. The first post covers the design. Spot instances are why a job costs a fraction of a cent, and the price is that AWS can reclaim one with two minutes' warning. This post is about making that invisible to the person waiting for a green check. It took three attempts. Attempt one: mark it,

EC2 says no in four ways

One afternoon ten CI jobs queued within a second of each other, and four of them started three minutes late. EC2 had capacity for all ten the whole time. This is the third of five posts about running each GitHub Actions job on its own EC2 spot instance. The first post covers the design. This one is about the single API call the whole system depends on, RunInstances, and the two bugs that taught us where a retry belongs. The version that almost worked A job chooses a pool with a label, and a pool is a list of three instance types, newest generation first. To launch, we try each type in each of

GitHub sends events late, twice, or never

On 10 November 2026, during a GitHub incident, our runner control plane refused 17 CI jobs in 13 minutes. It logged no error, because from where it stood nothing had failed. This is the second of five posts about running each GitHub Actions job on its own EC2 instance. The first post covers the design. This one is about the only input the system has, GitHub's workflow_job webhook, and what it takes to build on an input you cannot trust. The version that fits on a napkin The design looks like two event handlers: on queued: launch an instance for the job; on completed: record the result. It ran

The Water at Laodicea

Nov 25, 2026, 5:22 AM ET (rev. 5) Continue reading on Medium »

Bias or Filter? Make Address Autocomplete Follow Your Map (MapLibre + JavaScript)

Your user is looking at a map of downtown Seattle. They type "400 Broad St" into the search box next to it. Which 400 Broad Street do they mean? Almost certainly the one on the map: the Space Needle's address. But the search box doesn't know about the map, so it offers Des Moines, Utica and Georgetown too. In this tutorial we connect the two. The search box gets a bias to the map center, so nearby addresses come first, and an "Only in this map area" switch that turns on a filter, so only addresses on the visible map are suggested. Both follow the map as the user pans and zooms. At the end, we

AI agency vs AI engineer: who to hire for an AI agent

Hire an AI agency when several workstreams have to move at once and you want a bench. Hire one senior AI engineer when you need a single agent, written by the person you talk to, with the repo and the accounts in your name. Hire in-house when the system will still be changing in a year and you already have someone who can manage that person. That is the decision. Vetting the person is a different page: Hire an AI engineer. Cost, without a made-up rate card, is in AI agent development cost. When an AI agency wins An agency sells capacity: more than one person, a schedule, and someone whose job

The Rule That Stops Claude Code From Deleting Your Work: Never Delete, Quarantine

If you let an AI coding agent tidy up your project, sooner or later it will delete something you needed. Not out of malice — out of confidence. The file looked unused. The folder looked like a duplicate. The cleanup looked obvious. The fix is one rule, written down where the agent has to read it: Never delete. Move it to a quarantine folder and ask. That single rule — plus a short written rules list around it — is what turned my Claude Code sessions from "fast but occasionally scary" into something I can leave running. Here is the whole system. TL;DR Put a no-delete rule in your project instru

Gumroad Fees Explained: A $9 Sale Actually Nets You $7.04

TL;DR A direct Gumroad sale is charged 12.9% + $0.80 in total: Gumroad's 10% + $0.50 fee, plus 2.9% + $0.30 card processing. Because of the fixed $0.80, the effective rate depends on your price: $5 sale → you keep $3.56 (28.9% gone) $9 sale → you keep $7.04 (21.8% gone) $19 sale → you keep $15.75 (17.1% gone) $49 sale → you keep $41.88 (14.5% gone) Sales through Gumroad Discover cost a flat 30% instead. Rates below verified against Gumroad's official help page in November 2026. The fee breakdown Component Rate Fixed Gumroad fee (direct sales) 10% + $0.50 Card processing 2.9% + $0.30 Total, dir

Your Team Keeps Talking About Queues and Someone Mentioned Little's Law

Your service handles requests from a message queue. After a busy morning, someone in the team chat writes that the connection pool is far too small for this load, by Little's law. Two other people agree. You are not sure whether you are allowed to ask what Little's law is. You are, and the good news is that it fits on one line. In 1961 John Little, an operations researcher, published a proof of a formula that people in queueing theory had been using for some time. It says that L = λ × W. L is the average number of things in the system. λ, the Greek letter lambda, is the rate at which they arri

Ansible bound our scanner API to the wrong network card on the new depot gateways because the default route used the other one

Each of our depots has a small Debian gateway that the handheld scanners talk to. Our playbook templates the scanner API's configuration, and one line in it has been the same for four years: bind_address: {{ ansible_default_ipv4.address }}. Every gateway had one network card on the depot LAN, so the default IPv4 address and the LAN address were the same thing. In November we opened two new depots with a new gateway build. These have two network cards. enp1s0 is on the depot LAN. enp2s0 is a dedicated internet line for carrier traffic, and the default route goes out through it, because that is

How a Six-Hour Analytics Query on a Replica Stopped Vacuum on the Primary and Tripled Order Latency

15:12 IST, Wednesday. Datadog: p95 on GET /orders is 410 ms and climbing. It was 38 ms this morning. Nothing deployed since Monday. the scramble Priya gets paged first because the alert routes to the orders on-call. She posts the graph in the incident channel: latency is not a step, it is a ramp, starting around 09:30 and getting steeper every hour. A ramp usually means something is accumulating. First theory: the planner picked a bad plan after yesterday's stats refresh. I run EXPLAIN (ANALYZE, BUFFERS) on the list query and compare it to the saved plan from last week. Same plan, same index (

Tracking "I'll pay on Friday": a simple promise log for late invoices

A client replies "payment goes out Friday." That can be more useful than silence, but it only helps if you can see later whether Friday came and went. A small log is enough. Here is the format, with placeholder data: Invoice Amount Original due date Promised date Promised by Status [#] [amount] [date] [date] [name] open Fill in a row when the promise is made. Update the status when the date passes: paid, or promise missed. When the promised date has passed. Check whether the payment arrived. Allow for processing time, and look at what you have already said to this client. Then send a short mes

Logistics Upload Screening — Batch Status, Progress, and Per-Item Evidence Retention

The bill for screening a logistics catalogue import has several parts: processing uploaded images, checking job status, retaining originals and results, and investigating disputed decisions. Processing every submitted image remains the main work term in a design that screens every upload. With an illustrative import of 1,000 images, screening at upload means 1,000 screening decisions; changing the polling interval cannot remove those decisions. Which term dominates the actual bill requires your workload and provider rates. Short answer: submit the images as one batch, persist its identifier, a

Chapter 30

A New Family to Welcome Continue reading on Medium »

Older stories