The journal.
Thoughts, discoveries, and the things I'm learning along the way.


Introducing ASL: What If Types Were Spaces?
Why would a language reject a function that swaps two points? An introduction to ASL, where types are finite topological spaces, and what that lets a program notice: gluing that fails, holes, and two spaces with the same numbers but different shapes.
Read the note
Why Three Chips Can Cross a Triangle in Jihoo
A parcel at A can satisfy a function expecting it at B. On a triangle it takes three chips. Cut one edge and it takes one.

Yoi Visits the Island: MCP, Turnips, and Getting Stuck at an Anvil
Yoi, an AI assistant, played Nixchan's Island through MCP. A field report on exploration, farming, invisible menus, and knowing when a person finished the job.

Nixchan's Island: One Question Instead of a Physics Engine
A small three.js game where Nixchan walks, swims, climbs, glides and rides the wind up to islands in the sky, and every one of those moves comes down to asking how high the ground is.

Shady 0.5.1 and shady-shell 0.3.0: A More Comfortable Desktop
A layer-order fix for Shady, and a new collection of desktop tools and visual building blocks for shady-shell.

jihoo 0.6.0: Evidence You Can Use
jihoo 0.6.0 brings dependent programming closer to everyday code: exact-length lists, checked collection bounds, reusable proofs, and native Linux packages for ARM64 and x86_64.

Shady 0.3.0: Just the Compositor
Shady 0.3.0 splits the shell, greeter and rices into repositories of their own, so Shady is now only the compositor, and it still works without a shell.

cloud-mem: A Memory That Follows Claude Between Machines
A small MCP server on Cloudflare Workers and D1 that lets Claude on one device find what Claude did on another, with substring search and GitHub sign-in for exactly one account.

Inkboard: A Hand-Drawn Board for Many Hands
A collaborative whiteboard that sketches like Excalidraw, tidies like Figma, and syncs in real time on Cloudflare Workers, Durable Objects and D1, with one merge rule shared by browser and server.

jihoo: Ownership Without Lifetimes
A systems language that is memory-safe without lifetime annotations or a garbage collector, matches C on the benchmarks, and checks every borrow with a 523-line kernel that trusts nothing the rest of the compiler decided.

Teaching a 759-Line Checker Category Theory
What broke, and what the small kernel caught, when Horn's cubical scripts grew from univalence to categories, functors and a judgmental op (op C) = C.

Horn: A Small Checker for Very Large Proofs
How a 759-line Rust kernel with no built-in logic checks univalence, winding numbers, and a 4 GB proof compressed to 64 kB, and why the rest of the system doesn't have to be trusted.

Rosemary: Understanding Machine Code from the Ground Up
Inside my dependency-free Rust reverse-engineering tool: x86-64 decoding, typed IR, control-flow and value analysis, C/assembly generation, and self-reversal tests.

Shady: Rethinking the Linux Desktop
Rethinking the Linux desktop through Horizon’s living sky, Objects’ tactile interface, a programmable shell, and an experimental Wayland compositor.
Paper drafts.
Ideas written up the way a paper would be, mostly by an AI. They haven't been peer reviewed, so read them as sketches, not results.
The Smallest Observation Budget That Distinguishes Two Resource Histories
Two resource histories can end in the same state yet admit different records of what happened along the way. Jihoo computes the length of the shortest distinguishing record as a type. Two lamp controllers require three samples to tell apart, while reading and consuming the same message can be distinguished immediately at the inbox and remain indistinguishable at the draft.
Contradictions as Obstructions: Finding Wrong Claims in a Knowledge Base with Sheaves
We store every claim in a small knowledge base as a local section of a sheaf, so that a contradiction becomes an obstruction to gluing the claims into one global section, and blame goes to the claims with the largest residual under a robust (group-L1) fit. On synthetic people-and-places data this beats hand-written rules, mostly by catching contradictions that only show up around a cycle of relative claims. The more interesting findings are about where it breaks: the metric on the stalks decides who gets blamed in a tie, L1 recovery succeeds exactly when a median vote passes on every cut of the claim graph, and a cheap consensus step closes most of the gap to the exact L0 answer.