on-internet

How to Design a Resumable File Upload API for Google Drive and OneDrive

Imagine uploading a 2 GB video to cloud storage. The upload reaches 95%, your internet connection drops, and the entire process starts again from zero. For users, this is frustrating. For developers, it represents wasted bandwidth, unnecessary requests, and a poor user experience. A resumable file upload API can help solve this problem. I'm the founder of MergeDrive, a multi-cloud storage project involving Google Drive and OneDrive. Upload reliability, storage availability, and managing multiple connected accounts are particularly relevant challenges in this problem space. In this article, we'

The 67-Byte Floor: Anatomy of the Smallest Valid 1x1 RGB PNG (RFC 2083) — and Why I Priced It at HTTP 413

How small can a valid, browser-decodable RGB PNG image actually get? Not a broken header, not a grayscale trick, and not a 1-bit palette hack — a spec-compliant Color Type 2 (Truecolor RGB) PNG containing a single #000000 pixel, conforming strictly to RFC 2083. Breaking Down the 67-Byte Floor Every valid PNG file requires four mandatory components: PNG Signature (8 bytes): 89 50 4E 47 0D 0A 1A 0A IHDR Chunk (25 bytes): 4-byte length + IHDR + 13-byte payload (width=1, height=1, bit_depth=8, color_type=2, compression=0, filter=0, interlace=0) + 4-byte CRC32. IDAT Chunk (22 bytes minimum): A 1x1

A game map in MapLibre, and share links in 7 characters

I'm building a fan map of Leonida, the state in GTA 6. About 3,700 places, drawn with MapLibre GL. MapLibre wants real longitude and latitude. A game world has neither, so here's how I bent it into shape. Fake the globe The game data is in metres, from -16,384 to 16,384 on both axes. Web Mercator is a square too. So I stretch the game square over the whole Mercator square and treat lng/lat as a carrier, not a place on Earth: const WORLD = 16384; export function toLngLat(x, y) { const u = (x + WORLD) / (2 * WORLD); const v = (WORLD - y) / (2 * WORLD); return [u * 360 - 180, Math.atan(Math.sinh(

200 CLI tools, zero dependencies: what Node's standard library can do

I wanted one command for the small chores I kept googling, so I built tinytools: 200 offline utilities behind tt, written with only Node's standard library. A few things I learned. TOTP in 15 lines A TOTP code is an HMAC-SHA1 of the current 30-second counter, "dynamically truncated" to 6 digits. With crypto.createHmac it fits in a screen, and the RFC 6238 test vectors (time 59, 8 digits gives 94287082) make a perfect test. Cron: the day-of-month OR day-of-week rule 0 12 13 * 5 doesn't mean "Friday the 13th": when both day fields are restricted, cron fires when either matches. It's easy to get

마이크로소프트 FDE 총괄이 스스로 고쳐 쓴 FDE의 정의

같은 FDE라도 회사마다 맡기는 일이 다르고, FDE라는 이름의 뜻도 아직 정리되지 않았습니다. 마이크로소프트의 FDE 조직을 이끄는 케빈 샤츠캄머 CVP는 자신이 오래 써 온 FDE의 정의를 스스로 내려놓고, 지난 24개월 동안 FDE의 일이 어떻게 바뀌었는지 되짚었는데요. 뛰어난 개인의 직함에서 성과에 책임지는 작은 팀의 일하는 방식으로 바뀌었다는 게 핵심입니다. 원문의 요지를 세 갈래로 나눠 소개하고, FDE로 일하려면 무엇을 준비해야 하는지까지 정리했습니다.

Restoring Human Ownership and Verification to Break Unchecked LLM-to-LLM Software Development Loops

The Quiet Collapse of Craft A conscientious software engineer opens a pull request containing hundreds of lines of generated code, unit tests that have never been executed locally, and an engineering specification derived through sequential LLM transformations from a product document and UX mock. Reviewing the change requires reconstructing intent across non-deterministic handoffs while checking against an LLM-generated review summary, turning a finite human attention budget into a bottleneck against high-volume, low-signal output. Rather than delivering a productivity revolution, an end-to-en

The app that never started: a Flutter Wayland deadlock

Sometimes the app did not start. Not a crash, not an error dialog — nothing. No window, no splash, no log line, no spinner. Clicking the icon again a few seconds later worked, which is exactly what makes this class of bug so easy to misread: it looks like a slow cold start, so you learn to click twice. It is not a slow start. It is a deadlock, and the app was never going to appear no matter how long you waited. What a hang looks like from the outside Three observations eventually lined up: The launch produced no window at all. Not a white window, not a frozen splash — nothing was ever mapped.

Continuous Integration for AI-Generated Code: Gating Pull Requests on What the Code Actually Does

Pull requests look different than they did a couple of years ago. An AI assistant can produce a new endpoint, a refactor across thirty files and a matching set of tests in the time it used to take to write the first function. The pipeline runs, everything passes, and the change is ready to merge before anyone has fully read it. That speed is useful, but it shifts where mistakes get caught. When a person writes a few hundred lines a day, code review does a lot of the checking. When an assistant writes thousands, review can't keep up, and the pipeline becomes the main line of defense. Continuous

React Custom Hooks

When you have components that can be used by multiple components, we can extract that component into a custom Hook. Custom Hooks start with "use". Example: useFetch. A custom hook is a reusable JavaScript function in React that allows us to reuse logic between multiple components. Suppose you have two components in your project: EmployeeSearch.jsx ProductSearch.jsx Both components need to fetch data from a backend API. Without a custom hook, you might write the same useState, useEffect, loading, and error-handling logic in both components. This creates duplicate code. Instead, we can create a

1 + 1 Now Has an Invoice

I asked a real model what 1 + 1 is. Five times. Here is the receipt. INVOICE #1+1 (measured, not imagined) ----------------------------------------------------------- Question ......................... "What is 1 + 1?" Tokens sent to ask it ............ 606 Tokens received .................. 12 Time to answer ................... ~740 ms (median of 5) Cost per ask ..................... $0.0000122 (cheapest model, cache warm) Answer ........................... "1 + 1 = **2**" ----------------------------------------------------------- Same addition in plain Python .... 43 nanoseconds, no inferen

Windows Search CVE-2026-116928 is a network patch question

Windows Search CVE-2026-116928 is a network patch question Windows Search is easy to treat as a local desktop feature. The November 2026 Microsoft update describes CVE-2026-116928 differently: an out-of-bounds write in the Windows Search Component can allow an unauthorized attacker to execute code over a network. Microsoft assigns the CVE a CVSS 3.1 base score of 9.8. That description should change the asset question. The first question is which Windows builds are still missing the November cumulative update. The second is which Search-related listeners, protocols or brokered interfaces are re

Benchmarking Edge LLMs: TTFT, TPOT, Memory, and Power — Which One You Should Actually Optimize

A single "tokens per second" number can look healthy while the product feels sluggish. The four metrics that matter measure different parts of the path, and optimizing the wrong one buys you nothing a user can feel. Separate the wait from the stream First-token latency has a measurement boundary After someone submits a query, the application may queue the request, retrieve material, assemble the prompt, tokenize it, process the input, and only then produce a first token. In this article, client TTFT is the interval from the client sending the request to the client receiving its first non-empty

One Bar Tab Laid Out as a .NET Solution and as a Go Module

This series has covered Go's project layout three times, a piece at a time: packages and folders, go.mod against the csproj and repositories with several modules. Each of those described the Go side and pointed back at .NET. This time I wrote the same small app twice, once as a .NET solution and once as a Go module, laid each one out the way its own community would expect, and put both in one repository so they can be read side by side: dotnet-go-layout. The app It is the tab at a tabanco in Jerez. The waiter chalks each round on the wooden bar in front of you as tally marks, and adds it up wh

tablet-qa: an open-source skill for checking iPad layouts

tablet-qa is a tablet layout QA skill for Claude Code and Codex, based on a review process I used repeatedly and refined while working on a multilingual client website. I'm a designer and PM. A few weeks ago a client told us they'd review their new website on an iPad. We had desktop and phone designs, but nothing for tablets. I put together a process for checking the tablet layouts: Claude Code measured each page at iPad viewport sizes, and I reviewed the screenshots and decided what needed fixing. For each change, I had it capture the same area before and after. I later turned that process in

Breaking A B A Edit Oscillations in Coding Agents: Unguarded Retry Loops vs. a Loop-Detection Circuit Breaker (-94.9% Input Tokens)

💡 AI Labo Benchmark Series — Experiment E28 (Feedback Sensors & Loop Circuit Breakers) This post is part of our empirical benchmark series testing AI coding agent harness patterns inside network-isolated Proxmox VMs against a hidden 20-case grading suite. 🚀 View All 41 Benchmark Results & Master Ranking 🛡️ Read How Our Proxmox & systemd Anti-Cheating Sandbox Works Metadata & Experiment Identity Experiment ID: E28 (Backlog Candidate C024) Run ID: e28-20261029-vm232-01 Sandbox Environment: Proxmox Isolated VM VM232 (ai-e28-232, 0 NICs, PrivateNetwork=yes, NoNewPrivileges=yes, InaccessiblePaths,

Your Agent's Dependencies are the new attack surface

An agent can reach whatever its code can reach. That code is mostly not yours: Python packages, npm modules, skills, plugins and MCP servers, pulled in at install and loaded on every run. This week showed what that means in practice. Two releases of a real Microsoft agent package shipped a credential stealer, and it ran before anyone imported a thing. Last week we wrote that agent skills are the new npm packages and that scanning a skill once is not enough. This post widens the lens to everything an agent loads, and what changed in the last seven days. What happened to Microsoft's agent-framew

From a Single OpenAPI Spec to Typed Fetch, TanStack Query v5 Hooks, and MSW v2 Mocks in Minutes

One of the biggest sprint bottlenecks on frontend teams is waiting for backend endpoints to be deployed to staging before you can wire up UI states, loading skeletons, and error handling. If your backend team agrees on an OpenAPI YAML/JSON contract first, you can derive three synchronized frontend layers from that single file and build the entire UI against realistic data on day one: Strict TypeScript types (api-types.ts) Typed Fetch + TanStack Query v5 hooks (api-client.ts) Deterministic MSW v2 handlers (msw-handlers.ts) 1. Keep Your Fetch Client Thin and Zero-Dependency Instead of pulling in

Your Agent's Permission Check Shouldn't Be a Prompt

n8n Labs shipped Nod, an open-source agent that runs on your laptop. The interesting part isn’t that it’s local. It’s where the approval… Continue reading on Medium »

Barangkali Kita Mati Sebelum Benar-Benar Hidup

tiada keindahan selain kematian, sebab apapun tujuannya. Ia akan tetap menjadi garis akhir bagi setiap yang bernyawa Continue reading on Medium »

Artistic Audience

In this age, it is hard to measure the quality of an artistic work with a single standard. Taste is subjective. Every piece of art has its… Continue reading on Medium »

Older stories