Case studies
In-depth write-ups of the hard parts: the Lanna editor, live editing, the AI teacher and sign-in.
Case study · 6 minJaan EditorA contenteditable editor that mixes Thai, English and Lanna script, with its own keyboard, IME-safe repair, its own undo history and a headless typing test suite.Case study · 5 minLive editingParagraph locks, presence, adaptive polling and versioned writes, with no websockets, on ordinary shared hosting.Case study · 4 minAI teacherRetrieval from the dictionary, cited answers, no generated Lanna spellings, caching, limits and human review.Case study · 5 minSign-inOne IDUnify account for the site, the blog and the sister site; a token exchanged once for our own session, display vs session cookies, and the "signed in here, not there" bug.