on-internet

We're a two-person dev agency. This is the boring stack we pick every time, and why.

There are two of us. We both write the code. There's no account manager, no junior team we hand projects to, and no "delivery partner" offshore. That constraint shapes everything, especially what we build with. When the people who write the code are also the people who'll get the call if it breaks, you get very conservative about tools very quickly. So here's our default stack, and the reasoning behind each piece. The stack Layer Default Why Frontend Next.js + TypeScript Server rendering, a huge hiring pool for whoever takes over, typed end to end Database PostgreSQL It does almost everything,

Why Raster Image AI Fails at Floor Plans (and How to Compile Prompts and Sketches into Real Vector CAD in TypeScript)

Ask any general-purpose image diffusion model for a "3-bedroom, 1,500 sq ft ranch floor plan with a 12×10 kitchen island" and you will get something that looks architectural from six feet away—and falls apart the second you zoom in. The dimension strings are melted gibberish. A bedroom labeled "14' x 12'" sits next to a bathroom that is visually wider than the bedroom. Doors open directly into kitchen islands. And worst of all, the output is a flat raster PNG. If a homeowner wants to move one partition wall 18 inches to widen a pantry, or hand the drawing to a draftsman in AutoCAD, the image i

Why QuickBooks (.QBO), SWIFT MT940, DATEV & Xero Silently Reject Bank Imports (And a Free Local Validator)

If you have ever converted a client's bank statement into a .QBO, .OFX, SWIFT MT940 (.sta), German DATEV EXTF, or Xero CSV file and watched the accounting software either reject the upload with a cryptic error—or worse, silently skip half the transactions—you know how brittle regional banking formats really are. After building a deterministic bank statement converter across 12 tax regions, I documented the exact failure modes that break imports in production and built two 100% free tools so accountants and developers can catch these bugs before touching a live ledger: 100% Browser-Only Local V

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 »

Climate negotiations: If COP31 cannot, what will?, By Samuel Stephen Wakdok

Given the outcome of COP31, countries like Nigeria that are prone to climate disruptions should take the events of COP31 as a strategic warning. Climate change affects productivity, credit risk, food prices, inflation, financial stability and the macroeconomy. Nigeria therefore cannot afford to build its climate strategy around anticipated international finance alone. The lesson from […] The post Climate negotiations: If COP31 cannot, what will?, By Samuel Stephen Wakdok appeared first on Premium Times Nigeria.

dad

everytime when i think of you Continue reading on Medium »

GPT-6 Luna returns empty content with finish_reason "length" and HTTP 200 when max_completion_tokens is small

I'm moving a sentiment classifier from gpt-4o-mini-2024-07-18 to gpt-6-luna before GPT-4o mini is shut down. The label is one word, so I cap the output: from openai import OpenAI client = OpenAI() messages = [ {"role": "system", "content": "Classify the review's sentiment. " "Answer with exactly one word: positive, negative or neutral."}, {"role": "user", "content": "Delivery was quick but the blender " "stopped working after two uses and support never replied."}, ] resp = client.chat.completions.create( model="gpt-6-luna", messages=messages, max_completion_tokens=10, ) choice = resp.choices[0

Join the discussion →

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 »

At risk of being labeled a capitalist scumbag, what sorts of deals have you guys come across for Black Friday?

submitted by LincolnsDogFido to asklemmy 3 points | 0 comments I’ve been doing a lot of deal shopping on Facebook marketplace and eBay as well as consignment/thrift stores so I wouldn’t mind hearing about deals going on for things you typically can’t find secondhand. Or deals on ‘buy it for life’ type products. Hopefully this can serve as a fediverse brainstorming post for gift ideas and such.

Join the discussion →

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

Older stories