Search
Every note and project, matched on the server — the results have their own URL.
28 matches for “offline”
- note · 2025-11-15Offline first without a frameworkOffline-first has a reputation as a framework problem. It is mostly three decisions: what to keep, where writes wait, and what to tell the user when neither works. The web platform has an an…offlineservice-workerweb-platform
- note · 2026-10-12Offline, on purpose…isited stay available, and unknown pages land on a friendly offline screen instead of the dinosaur. The interesting part is what happens to your actions. Tap a link or leave a guestbook secr…pwaofflineservice-worker
- note · 2026-10-16An offline guestbookThe offline note (/notes/2026-10-12-offline-first) promised that anything you write without a connection sends itself later. The guestbook (/guestbook) is where that promise actually had to …pwaofflineguestbook
- note · 2026-04-18Case study: a guestbook that survives the internet…her strangers and, if it is any good, lets them write while offline. The design here assumes that most submissions are fine, a few are advertising, and a handful are actively hostile. The jo…case-studymongodbsecurity
- note · 2026-07-12A database that tidies up after itselfMongoDB is the only state Kotree has, so it gets two rules: nothing grows forever, and every hot query has an index matching the shape it actually runs. The first rule is mostly TTL indexes.…mongodbinfrastructureprivacy
- note · 2026-05-17A budget for every bytePerformance budgets fail quietly. Nobody notices the route that gained forty kilobytes in a feature commit until a phone on a train notices for them. So Kotree states its budgets twice: once…performancetestingvitals
- note · 2026-01-10React 19 and the external storeSome state does not belong to a component. A toast can be raised from a fetch handler or a plain module with no React tree in sight. A theme preference has to be read before the first paint.…reactstatetypescript
- note · 2026-06-27Building Win95 in ReactA Windows 95 desktop in React is mostly a window manager with a dress code. The grey chrome is the memorable part, but the behaviour is what makes it feel real: windows that stack, minimise,…reactwin95accessibility
- note · 2026-02-21Case study: making Kotree fastKotree started as a link list and grew into a playground. The links stayed fast because they were static; everything added around them did not. This is the account of what was slow, what was…case-studyperformancenext.js
- note · 2026-05-02Fonts and the largest paintFonts are a strange performance topic because the expensive part is usually invisible in the network panel. A 200-kilobyte family downloads once, caches, and costs nothing on the next page. …performancefontscore-web-vitals
- project · 2026-10-17Kotree…eded. What is inside - A guestbook with optimistic updates, offline queueing and background sync - Eleven discoverable secrets, tracked locally and listed on /secrets (/secrets) - Command pa…next.jstypescriptpwa
- note · 2026-09-30Secrets everywhereFourteen easter eggs are hidden across Kotree. Some are keyboard classics, some hide behind commands, and one only reveals itself if you are standing in the right place in the world. The sta…easter-eggsux
- note · 2026-06-14Search that works without JavaScript…s it empty and full, the smoke test proves that a query for offline finds the note about offline (/notes/2026-10-12-offline-first), and the whole thing works with scripting switched off, whi…searchssraccessibility
- note · 2026-04-19Locking down the page with a nonceThe Content Security Policy is the least visible thing on this site, and it is also the one most capable of breaking everything at once. So it has a nonce, two reporting channels, and tests …securitycspheaders
- note · 2026-08-08Case study: shipping a Win95 desktopThe Windows 95 desktop began as a screenshot joke: grey chrome, a taskbar, a window that could be dragged. The risk with a joke is that it stays a screenshot. The version that shipped is a s…case-studyaccessibilityreact
- project · 2025-08-01PortfolioThe long-form version of me: case studies of client work, personal projects and everything in between, with the full resume available as a PDF. Why a separate site Kotree is the front door —…webdenodesign
- note · 2026-09-12The real cost of a personal siteA personal site looks cheap because the visible costs are small. A domain is about twelve pounds a year. Hosting on a free tier is zero. A small MongoDB cluster is zero. The number that matt…operationsprivacywriting
- note · 2026-04-04Target size is a design constraintSmall controls are usually an aesthetic decision. A 16-pixel close icon looks tidy next to a 16-pixel title. The cost is paid by anyone with a tremor, a fat finger or a phone held one-handed…accessibilitywcagdesign
- note · 2026-08-16Windows 95, maintainedThere is a Windows 95 desktop inside Kotree, listed among the secrets (/secrets) as Time Machine. It exists because it is fun, and the temptation with fun is to leave it half-finished: a scr…win95uxeaster-eggs
- note · 2026-09-20Test the boring thingsThe tests people write are the interesting ones: the feature works, the button clicks, the animation plays. The tests that save you are the dull ones, and they are the first to get skipped. …testingopsbackups
- note · 2025-12-13View transitions in practiceThe view transition API is deceptively small. You wrap a DOM change in document.startViewTransition , the browser takes an old snapshot, applies the change, takes a new one, and animates bet…cssview-transitionsperformance
- note · 2026-08-22Webmentions for one personA webmention is a simple idea: when a page links to yours, it sends a POST to an endpoint you advertise, and you can show that someone responded. The protocol is small. The operational part,…indiewebwebmentionsprivacy
- note · 2026-02-07MongoDB indexes that earn their keepAn index is a promise about how a collection will be read. Every promise costs something on every write, so the goal is not many indexes. It is a collection where each hot query has one and …mongodbperformancetesting
- note · 2026-03-22Accessibility as a test, not a promiseSites tend to describe their accessibility the way they describe their values: a paragraph on a page, written once, quietly going stale. I did not want that paragraph here, so most of it is …a11ytestingwcag
- note · 2026-06-06Case study: a tip jar without a wallet libraryThe tip jar has one job: let someone send a small amount of Ether without asking them to install anything else. The obvious implementation is a wallet library. The library would add tens of …case-studyethereumsecurity
- note · 2026-07-25An AI terminal without a backend…i . These never touch the network. They are fast, they work offline, and they are the part people use most. Only the leftover text becomes a prompt. That split keeps the terminal useful with…aireactprivacy
- note · 2026-05-30A service worker update people trust…list. The keep-list must include the data cache used by the offline queue, or an update becomes a data-loss event. The HTML strategy matters too. A network-first page with a cache fallback g…pwaservice-workerux
- note · 2026-03-07A CI that stays greenA CI that is always red teaches everyone to ignore it. A CI that is always green because it retries everything teaches the same lesson more slowly. The useful middle is a pipeline where a fa…citestinggithub-actions