on-internet

How to Cut LLM API Costs by 50–75% Using Prompt Caching & DeepSeek Off-Peak Windows

markdown If you are building production apps with large language models, token costs add up fast—especially once your system prompts grow past a few thousand tokens or you start running high-volume batch jobs. Most developers just glance at a model's base per-million-token price, multiply by their rough prompt size, and call it a day. In practice, three variables change your real monthly bill dramatically: output token multipliers, prompt caching discounts, and time-of-day off-peak pricing. 1. Output Tokens Cost 3x–5x More Than Input Tokens Input tokens (your system instructions, retrieved RAG

Bolt and Replit app security: 6 things to check on your live deployment

Bolt and Replit apps ship fast, and the same few mistakes show up again and again. Here is what to check on a live deployment, and how to fix each one. 1. Secrets in the client bundle Anything prefixed for the browser (for example VITE_ or NEXT_PUBLIC_) is public. Do not put a service_role key, a Stripe secret or an AI provider key there. If one is already live, revoke it first, then move the call to a server function. 2. Replit and Bolt environment files Check that .env is not served at your domain, and that it is in .gitignore before the first commit. A key committed once stays in history ev

Keo: superintelligence you can learn from

This is Keo. You ask it something, and instead of handing you a block of text, it picks up the pen. It sketches the idea, writes the equation, erases what doesn't hold up, and talks you through each step as it draws. If you lose the thread, you stop it and ask. It answers right there on the same board and carries on from where you are. In the video, Keo works out how fast a satellite has to move to stay in low Earth orbit. It builds the answer up on the board one step at a time and lands on v = √(gR), about 7,900 meters per second. Why a board Most of what we learned well, we learned from some

Uptime monitor false alarms: why they happen and how to stop them

The phone buzzes at 2 a.m. "Site down." You open the laptop, load the site, and it's fine. The monitor says it recovered a minute later. Nobody else saw a thing. One false alarm is a nuisance. A few a week is worse than that, because people learn to ignore the alert, and the night it's real, nobody looks. A monitor that cries wolf ends up about as useful as no monitor at all. Most false alarms come from a handful of causes, and each has a fix. This guide goes through them. Why a monitor reports a site that isn't down An uptime check is one request, from one place, at one moment. Anything that

Race Conditions and Concurrency Bugs in ASP.NET

Seven concurrency bugs that actually shipped to Mattrx production, the symptom each one produced, and the before/after fix for every one… Continue reading on Medium »

dad

everytime when i think of you Continue reading on Medium »

DEFERRED HOPE IV

Do not get bitter at God or stop believing because of a deferred hope. Do not harden your heart. Do not stop seeking God and do not doubt… Continue reading on Medium »

Peaceful Close Neighbors (NO POLITICS) 6:12 a.m.

Deb Kowalski, 4 Larkspur: Did somebody leave the pool pump house open? The pool has been CLOSED since September and I can hear that thing… Continue reading on Medium »

How to reconcile a publishing job after a timeout

AI disclosure. An AI agent drafted this article using a verified publishing integration. The example identifiers below are illustrative. A publish request can time out after the remote site has created the post. Retrying the request at that point can create a duplicate. A worker needs a record of the attempt and a way to read the provider's result. Before sending the request, record the destination account, immutable revision ID, and attempt ID. Persist the sending state before the network call. If the worker crashes between sending the request and saving the result, the next worker can see th

Word-Level Timestamps for Animated Captions: Parakeet vs Whisper on a CPU Server

I'm building AutoCaptions, a tool that adds animated, word-by-word captions to short videos. Everything starts with one requirement: a start time for every word. Sentence-level timing is fine for subtitles, but a word can't light up on cue if you don't know when it was said. The constraint was cost. Transcription runs on a single ARM server with no GPU, shared with other sites. Here's what I tried and what I ended up shipping. The benchmark I benchmarked a handful of open models on clips that look like real uploads: YouTube-style talking heads, a noisy call, accented speech. Three made the cut

What Is OpenRoot? I Started an Open-Source Developer Program for Useful Projects

By Kristofer Jussmann I'm Kristofer Jussmann, and I started OpenRoot, an open-source developer program and builder community. The idea is simple: build something useful, host it in the open, keep direction of your own work, and have a place that will help people find it. This post is a hub for what OpenRoot is, why I started it, how you can join or contribute, and four projects I have been shipping inside the OpenRootdev GitHub organization: Harneloop, ToolIndex, ViperMesh for Blender, and Account Switcher (acswi). What is OpenRoot? OpenRoot is a developer program and builder community for use

Questions about running agent code in a microVM

Thanks to everyone who tried the quickstart. If you haven't yet, it's a small repo that runs code your agent wrote in a fresh Sandscale sandbox (a Firecracker microVM with its own kernel): https://github.com/sandscale/agent-quickstart. If a README step didn't work for you, or you hit an error, reply here or open an issue on the repo and I'll look at it. Sandscale is in early access and the Free plan is open: https://cloud.sandscale.dev/auth/signup.

Analyzing Wireshark Captures: A Developer's Guide to Reading the Wire

The bug was a 200ms latency spike in our API that happened only in production. Logs showed nothing. APM showed nothing. We were about to add time.Sleep(200 * time.Millisecond) to a test to "make it deterministic" when someone suggested capturing the traffic. Five minutes with tcpdump and ten minutes with Wireshark later, we found it: a TCP retransmission caused by an MTU mismatch between our k8s pod and the NAT gateway. The packet was being sent, dropped, sent again, and the second one made it through-200ms later. Wireshark is the tool that lets you see what's actually happening on the network

Your Second Brain Is Just A Digital Hoarding Pile (And How To Fix It)

Last month, I ran a quick audit on my personal knowledge vault. Out of 1,412 saved notes, web clippings, and book highlights collected over three years, I had reopened only 51 of them more than once. That is a 3.6% retrieval rate. I had not built a second brain; I had built a neatly tagged landfill. The Trap of Frictionless Capture The most common mistake in personal knowledge management is treating capture as learning. Browser extensions, read-it-later queues, and one-click AI summarizers make saving an entire article effortless. Whenever I read something mildly interesting, I clipped the who

Things about you.

the cadence of your laughter, the eloquence of your hands. Continue reading on Medium »

Your cutout passes on white and fails on dark: a 10-line edge test before you ship product photos

Most product-photo pipelines are tuned on a white background, because that is what marketplaces ask for. White is also the most forgiving background a cutout can be tested on. Every mistake a matte makes — a contaminated edge, a one-pixel ring of the old background, a bite taken out of a hair strand — disappears against white and reappears the moment the same PNG lands on a dark card, a coloured hero, or a comparison table. That is not a rendering bug. It is what the file actually contains. A cutout is a per-pixel mix, not a pair of layers A straight-alpha PNG stores colour and opacity separat

How Do You Measure Data Quality?

Measuring data quality is the practice of turning "is this data fit for use" into numbers you can compute on a schedule, compare over time, and act on when they move. That last clause is the one most dashboards fail. A single 0 to 100 "data quality score" in green is easy to build and almost impossible to act on. When it drops from 97 to 94, nobody knows which table, which check, or whether anyone downstream is affected. When it stays at 97 while the revenue table is broken, it's worse than useless, because it told leadership everything was fine. This post gives you six metrics that are concre

WhatsApp doesn't translate calls. Here's what does, and where your audio goes

If you're trying to talk to a partner's parents, or your own, on WhatsApp and you don't share a language, the short answer is that WhatsApp won't help with the call itself. It translates messages. Calls happen in whatever language people speak. There are ways around that, and they differ more than the vendor pages make it look. The thing that differs most is what the person on the other end has to do, and the thing almost nobody mentions is where the call audio ends up. Does WhatsApp translate calls? No. WhatsApp's own announcement from September 23, 2025 covers messages: long-press, tap Trans

Hampir Absen

Tiga puluh menit lagi sudah berganti hari. Jika malam ini tidak mengirim tulisan, maka saya absen satu hari menulis tiap hari. Untuk itu… Continue reading on Medium »

Card responsive senza media query: il “breakpoint” lo decide il contenuto

Un pattern Flexbox intrinseco che si adatta da solo, anche con immagini di dimensioni imprevedibili (e i due dettagli CSS che evitano i layout rotti). L’idea: un breakpoint “intrinseco” senza media query Ci sono layout che non hanno davvero bisogno di conoscere la larghezza della viewport. Quello che conta è quando i contenuti non stanno più comodi affiancati. Un esempio classico è la media card: immagine a sinistra e testo a destra; quando lo spazio si restringe, l’immagine va sopra e il testo sotto. Con Flexbox possiamo ottenere questo comportamento senza media query, facendo in modo che il

A knowledge base for your repo and your AI agent

The code tells you what a system does. It doesn't tell you why totals are rounded per line, why a declined card is never retried, or that someone already compared three payment SDKs last spring. That knowledge usually lives in a wiki nobody reviews, or in one person's head. My AI coding agent has it even worse: every session starts from zero, so it happily suggests the approach we rejected a month ago. I wanted the reasons in the repo, where both people and agents read them, and a check that tells me when they stop being true. So I wrote knowledge_base. What it gives you A fixed place for deci

Fiber VFL Test: Find the Break With a Visual Fault Locator

Fiber VFL Test: Find the Break With a Visual Fault Locator The fastest fault find on the floor is not a meter. It is a red light. A visual fault locator — a VFL, usually a pen-sized tool with a 650 nm laser — puts a bright red light down the fiber, and wherever the fiber is broken, badly bent, or badly connected, the light leaks out of the core and you can see it glowing with your own eyes. No reading to interpret, no trace to decode: the fault glows. I reach for the VFL before the OTDR whenever the run is short enough to see, because it answers the question "where is it?" in under a minute. T

Poultry Poem

Be thankful for what you got Continue reading on Medium »

Older stories