📚 Encyclopedia

Change history

What changed in the encyclopedia, newest first. The weekly update (every Monday at 03:00, local time) adds an entry for each week that brought new or changed articles; changes made by hand between runs are recorded here too.

2026-11-30

Weekly update (covers 2026-11-23 to 2026-11-30). - New: The missing index behind a slow list endpoint (a per-row count with no index behind it, how to find it, the before and after numbers), Perceived load time in a Flutter app and a cold-start disk cache (round trips before the first paint, seeding a page from the list, a disk cache for cold starts, short list first and full list second), Garbage collection, exceptions, records and modules in a small native compiler (mark and sweep at safe points, try/catch without unwinding tables, an interned type table, records, methods and modules), Finding trip dates from cash, paid time off and the calendar (projecting cash and time off day by day, scoring start dates, reading calendars), Rendering stills and short films with headless Blender (GPU setup, reflections for metal, resumable detached renders, encoding, heat, flames and a descent over real imagery), Generating game music loops and a countdown you can hear (tracks as data, seamless loops, music whose tempo counts a power-up down, checking playback without sound). - Updated: Arcade game design toolkit (loops, enemies, scoring, structure) (tuning after a move to swipe steering, hit boxes that match the paint, a local top ten with initials), A calculator engine that gets 0.1 + 0.2 and sin(30) right (showing exact fractions, digit grouping, a movable cursor in a keypad calculator), Android TV / Google TV apps (Compose for TV, Media3, sideloading) (a game played with the remote), Driving the Android emulator headlessly for QA (checking audio state, the network-speed trap, lost installs, self-driving debug builds), In-app updates for sideloaded Android apps (download progress), Singleton services, session caches, and cross-user data leaks in Flutter (disk caches and mutations through the owning service), Editor support for your own language as a VS Code extension (keeping a grammar up with the language, packaging without Node on the path), Headless Chrome testing gotchas (offline second launch, side effects of signing in as a real account), Designing a programming language's syntax and semantics (lessons from H) (records and methods, modules, error handling), Writing a native compiler in C that emits x86-64 assembly, Blender Python scripting, safety audit and gotchas and Adaptive game audio (mood crossfades and procedural sound) (links to the new articles).

2026-11-23

Weekly update (covers 2026-11-16 to 2026-11-23). - New: PHP's uppercase-S TLS downgrade (CVE-2026-128064) and proving it on the wire (an uppercase S in the scheme makes PHP's stream wrappers skip TLS; auditing exposure, proving it from the first bytes on a loopback socket, lessons from the public demo), Taking .php out of page addresses without breaking old links (routing by fallback script or rewrite rules, 301s from the old addresses, reserved names, relative links, service workers, the dev-server router), Upload links for people without an account (getting a full-quality video from a friend) (a tap-and-pick upload page straight to object storage, why the first real use failed, the relay route and failure log, sharing a received file), A calculator engine that gets 0.1 + 0.2 and sin(30) right (exact fractions, rounding and snapping after trig and logs, the e versus 1e20 collision, one test list for two engines). - Updated: Storing saved passwords, cards and tokens in an Android app (the USE_BIOMETRIC permission crash that only phones with a screen lock show; offering saved logins in a bar, not a dialog), Driving the Android emulator headlessly for QA (testing behind a screen lock, serving a test page over adb reverse, bounding the boot wait), Arcade game design toolkit (loops, enemies, scoring, structure) (difficulty ramp and fairness in an endless dodger, a bot that proves it), Headless Chrome testing gotchas (leftover Chrome on the debug port, blocking one host), Responding to a critical PHP security release (and what to do with an unpatchable server) (the latest package is not always the fixed one), videos.jhampton.io (private video site architecture) (clean page addresses, upload and share links), Linode (Akamai) Object Storage (networks that block the storage host).

2026-11-16

Weekly update (covers 2026-11-09 to 2026-11-16). - New: Static trivia and quiz games (daily sets, question banks, fact checking) (question bank format and validation, fact-checking the fun facts, a shared daily round from a date seed, scoring, reskinning, scripted testing). - Updated: 1:1 WebRTC voice calls over polled signaling and TURN (calls that ring but never connect: an upstream firewall dropping TURN, proving it with a sniffer, public STUN as a stopgap, coturn quotas), Slim 4 PHP APIs (and migrating from Limonade) (error details off in production by environment flag, bot probes filling the error log), Setting up an Alma Linux 9 LAMP server (new ports need a rule in both firewall layers), Generating app assets with Python scripts (logos, GIFs, sounds) (preparing Wikimedia Commons photos: EXIF rotation, fixed thumbnail widths, mislabeled places).

2026-11-09

Weekly update (covers 2026-11-02 to 2026-11-09). - New: Android TV / Google TV apps (Compose for TV, Media3, sideloading) (Google TV apps: leanback manifest and banner, Compose for TV, remote keys, hardware codec choice, sideloading), Personal finance dashboards: bank aggregation and subscription detection (SimpleFIN vs Plaid, read-only means link out, detecting recurring charges), Email sign-in links (one-time "magic links") (one-time emailed login links, scanner-safe redemption, E2E key lock), Generating narrated screencast tutorials from a script (PIL + Piper TTS + ffmpeg) (narrated tutorial videos rendered from a script with Pillow, Piper and ffmpeg). - Updated: E2E key management that never loses a key (keyring, backup, re-wrap) (passwordless sign-in must not mint keys; admin resets can re-wrap only with a known old password), Designing a programming language's syntax and semantics (lessons from H) (no default values, closures share, searching lists, break/return in pipelines), Writing a native compiler in C that emits x86-64 assembly (definite-assignment tracking, static-link closures), videos.jhampton.io (private video site architecture) (JSON API for the TV app).

2026-11-02

Weekly update (covers 2026-10-26 to 2026-11-02). New category: Programming Languages. - New: Designing a programming language's syntax and semantics (lessons from H) (lessons from designing H), Writing a native compiler in C that emits x86-64 assembly (a small compiler to native code, differential fuzzing), umlol, a programming language whose source is a flowchart (a flowchart language parsed into a graph, frame-stack interpreter). - New: Alarms and timers that ring on time (Android clock apps) (exact alarms, re-arming, ringing service), A launcher icon that changes (today's date on a calendar icon) (an icon showing today's date), Building a calendar app on Android's calendar provider (a calendar app with no database of its own), A compass on Android sensors (heading, tilt, calibration, true north), Recording audio and video on Android into MediaStore, Keyboard hit areas that follow the user's taps (a personal touch model) (keys that follow your taps). - New: Compass math - heading from phone sensors, magnetic declination, and the sun's position (heading, declination, NOAA sun position), 1:1 WebRTC voice calls over polled signaling and TURN (1:1 calls with polled signaling and TURN), Generating iCalendar (.ics) files and subscribe feeds (writing .ics files and feeds correctly), Editor support for your own language as a VS Code extension, Reading SEC insider-trading filings (Form 4, Form 144) (Forms 3/4/5/144), Solar-powered autonomous RC vehicles and drones (the energy budget decides everything). - Updated: API authorization from the verified identity (and the holes it closes) (admins don't see everything; every read path needs the gate), Simple E2E messaging with X25519 + HKDF + AES-GCM (and why not Signal) (sealing call signaling), SQLCipher on Android (keys, KDF cost, rekeying safely) (opening with a derived raw key). - Updated: Android app cold-start performance and process death, Android unit and instrumentation testing gotchas (JIT code cache stall), Driving the Android emulator headlessly for QA (kill the emulator), Doze, WorkManager backoff, and background sync that stalls, An Android file manager, photo bursts, and cropping (crop and rotate), Sending MMS from an Android SMS app (several images in one MMS), In-app updates for sideloaded Android apps and A self-hosted F-Droid repository and APK catalog (release notes), Building an Android browser on GeckoView (Tokay), Keyboard, Justin's Android input method (overview and canon), Keyboard autocorrect, next-word prediction and learning. - Updated: Flutter web (renderers, SEO, performance, when not to use it) (strict tracking protection blocks gstatic), Flutter and Dart gotchas (collections, widgets, theming), Open Graph link previews (SPAs, private posts, private-storage media) (per-link tags in a single-page app, what previews may show), "Anyone with the link" share links (capability URLs) (edit/view/share/manage keys), TLDR platform architecture (tldrnerd.com), Designing a construction or utility contractor website (never invent a business's facts), Lifecycle of an async AI request (status machine, expiry, retries, failure). - Updated: Deploy scripts with rsync (patterns and traps) (batch server changes into one rsync), nginx in front of Apache (TLS proxy on :8008) (catch-all for unknown hosts), Heredoc, stdin and scripted-edit pitfalls (a command has exactly one stdin), Driving a desktop from a headless agent shell (DISPLAY, clipboard, sudo hand-off), VictusPop, Justin's desktop (hardware, OS, boot, quirks) (a forgotten emulator spinning the fans).

2026-10-30

2026-10-26

Weekly update (first scheduled run; covers 2026-10-13 to 2026-10-26). - New: Writing a replacement phone (dialer) app for Android (dialer role, in-call service, call screening), A keyless maps app on Android (MapLibre + OpenStreetMap services) (a maps app with no API keys), An Android file manager, photo bursts, and cropping (all-files access, photo-burst collapsing), Storing saved passwords, cards and tokens in an Android app (keystore-encrypted passwords and cards). - New: Sandboxing Claude Code for untrusted users (bubblewrap, --restricted, token pipe) (two-layer sandbox behind AI guest mode), Rendering markdown in Flutter (selection, code-block builders, tappable task lists) (selection, code-block copy, tappable checklists). - New: Hosting one static site per subdomain with a wildcard vhost, Moving a website to a new server without downtime (proxy from the old server, certificate before the DNS flip), Responding to a critical PHP security release (and what to do with an unpatchable server). - New: Starting a small freight brokerage (US, 2026), Planning a card payment processing system, Evaluating a mobile convenience store (snack truck) business. - New: Generating Trackmania 2020 maps with GBX.NET, Tesla custom wraps (Paint Shop) - template, file rules and making the image, Parallel reductions and associativity (std::transform_reduce as the case study) (what transform_reduce really does). - Updated: Building an Android browser on GeckoView (Tokay) (extensions, devtools, autofill, imports, why no Firefox Sync), Keyboard autocorrect, next-word prediction and learning (learning from corrections), Emoji suggestions from Unicode CLDR keyword data, Writing an Android keyboard (InputMethodService), Android window insets, the soft keyboard, and edge-to-edge, Driving the Android emulator headlessly for QA, A self-hosted F-Droid repository and APK catalog, In-app updates for sideloaded Android apps, Making a Jetpack Compose app feel premium. - Updated: Lifecycle of an async AI request (status machine, expiry, retries, failure) (new-turn race, job table), Securing a shared AI agent that other users can drive (audit fixes), Permission modes in headless Claude Code (plan mode wedges, skip-permissions, tool scoping), claude-service (ProcrastinAI's webhook runner for headless Claude), Backing up and restoring Claude Code configuration and memory (finding a past conversation), Changing a production MariaDB safely (schema, data fixes, id generation) (renaming usernames), Slim 4 PHP APIs (and migrating from Limonade) (bare require redeclare fatal), Flutter web (renderers, SEO, performance, when not to use it) (never leave a black screen), Caching static sites and unbundled ES modules (?v= stamps, no-cache, prefetch) (fallback font metrics, no first-load flash). - Updated: Sending mail from PHP with Postfix, SPF, DKIM and DMARC (new sending domain, contact forms), Apache vhost gotchas (icons alias, manifests, SPA fallback, redirects) (static-only vhosts, CORS on every API vhost), justinahampton.com and its subdomains, Running long jobs so they survive the AI session that started them, Driving a desktop from a headless agent shell (DISPLAY, clipboard, sudo hand-off), Trackmania (2020) on Linux via Steam and Proton, plus the TICK TAS tool. - Updated: API authorization from the verified identity (and the holes it closes) (where the token lives), Migrating legacy password hashes to bcrypt on login (change emails, end-to-end tests), Simple E2E messaging with X25519 + HKDF + AES-GCM (and why not Signal) (renames break DMs), Building a proof-of-work cryptocurrency from scratch (BiteCoin design notes) (local wallet web UI).

2026-10-15

2026-10-14

2026-10-13