on-internet

Java Conditional Statements: if, else, and switch

A program that always does the same thing is a script. A program that chooses what to do based on the situation is software. Conditional… Continue reading on Medium »

Why LLM Structured Output Strict Mode Rejects Valid JSON Schema (additionalProperties & Required Keys)

Switching from prompt-engineered JSON to strict Structured Outputs (response_format: { type: "json_schema", strict: true }) often triggers 400 Invalid schema errors on schemas that pass standard JSON Schema validators. Two strict-mode constraints cause almost every failure. 1. Every Object—Including Nested Ones—Needs additionalProperties: false Setting additionalProperties: false only on the root object is not enough. Structured Output engines compile a constrained grammar ahead of decoding, so every nested object inside properties, items, or anyOf must explicitly forbid extra keys. 2. Optiona

3 Breaking Differences Between OpenAPI 3.0 and 3.1 That Trip Up TypeScript & Zod Codegen

Upgrading FastAPI or Springdoc to emit OpenAPI 3.1.0 often breaks existing TypeScript and Zod generators silently—fields start typing as unknown, or runtime validation rejects valid null payloads. Because OpenAPI 3.1 aligned directly with JSON Schema Draft 2020-12, three schema constructs changed shape. 1. nullable: true Was Replaced by Type Arrays OpenAPI 3.0 used { "type": "string", "nullable": true }. OpenAPI 3.1 drops nullable in favor of standard JSON Schema { "type": ["string", "null"] } (or anyOf). Older 3.0-only generators miss the array form and omit .nullable() in generated Zod schem

Your AI agent is copying the worst code in your repo

If you use coding agents every day, you have probably seen this happen. Ask for the same feature in two repositories: one well kept, with… Continue reading on Medium »

A customer asked for the free inspection your website advertises — your AI booked 1,203 site visits and emailed 317 reports no technician ever wrote

A pest-control company — eight branches, twenty-six field technicians, a mix of residential contracts and light commercial — ran a chat assistant on the website. The website promised, in large letters: Free Inspection. Free Written Report. No Obligation. The assistant had read that promise the way marketing meant it, and executed it the way no one intended. Here is a real thread: Customer: We've seen a few droppings near the pantry. Can someone come look? AI: Of course! I've booked a free inspection for you and you'll receive your full written inspection report by email afterward. Is tomorrow

Can TypeGPU Kit and Three.js draw the same GLB on one GPU device?

I wanted to find out how much of an existing garden asset could move between WebGPU renderers. Both TypeGPU Kit 0.1.0 and Three.js r187 loaded the same 53,561-triangle Houdini lavender GLB on an RTX 5070 Ti. The median cold first render call returned at 203.9 ms in Kit and 176.4 ms in Three.js. RAF medians were 16.7 ms for both. This is a startup comparison on one desktop fixture. Kit merged the scene into four indexed draws, compared with ten in Three.js. Instancing the model four times kept those counts while raising the geometry to 214,244 triangles. The two canvases drew successfully on th

The install succeeded. The fleet still broke.

Most teams can get a single server to install itself over the network. That part is a weekend project: a DHCP server, a TFTP root, a preseed or an answer file, and a machine that comes back up with an operating system on it. Then they try it on a rack, and the failure is not the install. It is everything around it: the machine that booted the wrong NIC, the host whose BMC password nobody wrote down, the install that finished but never reported back, the driver set that lived on an engineer's laptop, the power action that hit a production box because the discovery layer guessed wrong. Bare meta

How Many Websites Use Shopify? 3.25M Stores and How to Confirm One From the Terminal

As of November 16, 2026, webatla counts 3,251,650 websites running Shopify, 1.00% of the 325.8 million websites it tracks. The figure is refreshed every day on webatla's Shopify technology page, so read the number in this post as a dated snapshot. This post is for the theme developers, app builders and agency engineers who end up working on those stores. webatla's Shopify usage statistics come in two parts, a daily file of every domain where Shopify was detected and a history model of the sites that arrive on the platform or leave it, and the sections below use both. Growth curves, app ranking

How to generate and check Supabase RLS policies for Lovable and Bolt apps

A table can show "RLS enabled" in the Supabase dashboard and still leak rows, or break sign-in, if the policies are wrong. This isn't a security audit. It's just a practical check. Full disclosure, we run PrototypeVerdict. The generator and checker on this page run in the browser. They write standard Postgres and Supabase Row Level Security templates and look for text patterns. They don't connect to your database, call Supabase or any AI service, or save what you type. Bolt's built-in database was Supabase-backed in our tests. Lovable's docs say its built-in backend uses Supabase's open-source

Logo Process Selection on Wooden Boxes: A TypeScript Compatibility Matrix

Every custom packaging project I have seen fail on decoration failed for the same reason: the logo process was chosen before the surface was decided. Someone designs a foiled mark, the box gets specified in open-grain timber, and the sample comes back with a weak, broken edge — because on wood there is no flat film for the foil to sit on. That is a type error, not a taste problem. The process has a type, the surface has a type, and only some pairs typecheck. Model the surface first Three surfaces cover almost everything in wooden and leather gift boxes, and each one behaves differently under d

Registrar-Specific DNS APIs: One Interface for Tenant Provisioning and Cutover

Registrar-Specific DNS APIs: One Interface for Tenant Provisioning and Cutover A tenant's storefront cannot launch merely because a DNS write succeeded. To move off registrar-specific DNS APIs, an e-commerce platform needs one interface for record management and a separate readiness decision for each tenant subdomain. Provisioning and cutover run on different clocks. Short answer: consolidate onto one DNS interface when your zones span multiple registrars. That gives zone inventory and record listing one application code path, while registration, transfer, and renewal stay with the registrar.

Keep the CSV and reuse a working copy with Parquet and DuckDB

On a Windows PC with 16 GB of RAM, auditing a million-row CSV and writing Parquet took 91.1 seconds. A later run took 2.3 seconds to extract 10,000 rows from the prepared file. Here is how DIY AutoML keeps track of the original CSV, the working copy, and the data that goes into training. Japanese original Keep the original CSV and record the working copy The workflow keeps and audits the original CSV, optionally creates a working file, then extracts and checks the training data. The audit looks at row counts, missing values, duplicate rows, and label counts. A conversion records the output row

Why I Built SwarmForge

Concept diagram: one lead, independent workspaces, a reviewable handoff. Starting a few coding agents is easy. Keeping track of what they changed takes more work. One can stall; another can send a long recap that uses context without showing what changed. With several runs, you also need to know what belongs to which task, what was saved, and what needs review. I built SwarmForge around that gap. Its job is to make work visible and results inspectable so the person coordinating the project can decide what to accept. Give each worker a bounded job An MCP manager assigns concrete tasks to worker

Building TerraSignal with SwarmForge

Original synthetic illustration inspired by radar-style terrain views; not satellite data. TerraSignal is an Earth-observation platform built to compare environmental change in RADARSAT-2 imagery. I developed it with Matthew Meede and Gianni Belizaire for a space-data hackathon challenge. The Canadian Space Agency says the team placed second in the RADARSAT-2 Tropical Forests challenge. Its announcement describes a demonstration comparing radar images of Myanmar from different times to highlight landscape features including rivers and water bodies. Where SwarmForge fits We used SwarmForge to c

The Secret Hidden in the Music Box…

A Historical Psychological Thriller Inspired by the Unsolved Villisca Axe Murders of June 1912. Continue reading on Medium »

Your support inbox is mostly a search problem wearing a costume

Your support inbox is mostly a search problem wearing a costume. I spent a week tagging tickets for a small SaaS product and the distribution was embarrassing: roughly two thirds of the questions had an answer that already existed in the docs, the FAQ, or a thread from eight months ago. Nobody was asking anything new. They just couldn't find the old answer, and a ticket form was the fastest path to a human who could. That reframing changed what I fixed. It's not a staffing problem, it's a retrieval problem. Why doc search keeps losing Documentation is usually organised by how the product is bu

ffmpeg subtitles cheat sheet: burn in, soft tracks, convert, shift and extract

Every command I reach for when a video needs subtitles: burn them in, add a track viewers can turn off, convert, shift and pull them out. Burn subtitles into the picture For TikTok, Reels and Shorts, which don't use uploaded subtitle files: ffmpeg -i video.mp4 -vf "subtitles=subs.srt" -c:a copy out.mp4 Change the look while burning (font, size, outline, distance from the bottom): ffmpeg -i video.mp4 -vf "subtitles=subs.srt:force_style='FontName=Montserrat,FontSize=22,Outline=2,MarginV=60'" -c:a copy out.mp4 An ASS file keeps its own styles and karaoke timing, so use the ass filter: ffmpeg -i v

Do NBA totals models beat the closing line? A 3-season, 3,216-game walk-forward test

Every totals model looks good in a notebook. The question that matters is simpler: does it beat the closing line — the market's final word before tip-off? I ran that test properly: a walk-forward backtest over three full NBA regular seasons, 3,216 games, comparing my model's predicted total against the actual closing total for every game. Here is exactly what happened — including the parts that don't flatter the model. The test Model: GradientBoosting + RandomForest ensemble on leak-free, point-in-time team features (season-to-date stats blended with the prior season, plus last-10-games form).

Transmission RPC Authentication Is a Deployment Choice, Not a Product Default

Transmission RPC Authentication Is a Deployment Choice, Not a Product Default A large match count can create the impression that a product is uniformly exposed. Transmission is a better case for checking deployment choices than for making that assumption. The observation A count-only ZoomEye query for app="Transmission" returned 1,386,305 matches with sub_type=all, page 1, page size 1, on 2026-11-25. The application field can match multiple parts of the Transmission ecosystem and indexed banners. The result is not a count of internet-exposed RPC servers, nor does it prove that authentication i

Sub-threshold

On invisible growth,quiet persistence,and the efforts that add up long before they ever show Continue reading on The Quiet Chapter »

Getting a vision model to score a back photo without lying to the user

I shipped a small web app called DEMON BACK: you take a photo of your back, a vision model rates six muscle groups, and you get a 0-100 score plus one of seven tiers. It runs in the browser, installs as a PWA, and costs nothing. This post is the part that was actually hard: getting a general-purpose vision model to produce a number that does not swing wildly between two photos of the same person. The shape of the problem The temptation is to ask the model for a score and trust it. That gives you a demo. It does not give you a ranking that people will accept. What worked better was splitting th

A 1.2-Point mAP Gain That Cannot Say How Many Flowers Were Missed: An Evaluation Audit of Chili-Seg, With a Controlled Protocol Experiment

1. Problem and background This installment of the paper deep-read series takes a plant phenotyping / agricultural counting paper from the last three months and checks its evaluation protocol against three questions fixed in advance: does it match predictions to ground truth instance by instance, does it report results per category, and does it include quantitative stress tests for occlusion and illumination? The paper is Chili-Seg (Kuang et al., Frontiers in Plant Science 17:1955273, published 29 September 2026, doi:10.3389/fpls.2026.1955273), a chili-flower instance segmentation model built o

Eliminating Character & Wardrobe Drift Across Multi-Shot AI Video Sequences

Single-prompt text-to-video feels magical for a standalone 5-second experiment, right up until you try cutting two consecutive shots together. The moment you ask a video model to invent facial structure, layered clothing, environmental light, and camera movement in one pass, outfits mutate mid-cut and lighting direction flips randomly. When directing multi-shot sequences inside our AI video generator workspace, we eliminate slot-machine retries by splitting production into three isolated state locks. Bug #1: Wardrobe & Accessory Mutation Between Cuts If a character wears layered textures—such

Older stories