Theophilus John
The film

Fly the night

Five nodes, waiting for the first election.

The five nodes of the Raft cluster that ran the film: Homonoia’s own core, in this tab. The lake is the dial’s glass, the stones are its log. Scroll to fly the night; at dawn the stick is yours.Here the night is told in words and stills; with JavaScript and a GPU, it is a flight.

These lamps are a live run of Homonoia’s own Raft core, started when this page opened.

In the 3D view these lamps are a live run of Homonoia’s own Raft core.

Five lattice masts stand round a still lake at dusk; their lamps are the cluster’s five nodes, and the lake mirrors the glow.

Five lattice masts round a still lake at dusk, their five lamps lit and waiting for the cluster’s first election.

The moon and the first stars over misty hills.

The moon and the first stars over misty hills.

#enrg-0001/052026Sole engineer

Enargeia

Browser-native LLM inference engine in WGSL compute shaders. Zero server cost.

  1. int4 weights, int8 embedding and head: 1884.6 MiB at fp32 becomes 334.9 MiB resident.
  2. Each token is one pass up through 24 layers: 460 WGSL compute dispatches, in order.
  3. Decode holds 43.1 tok⁠/⁠s at 2048 context, flat across context length.
  4. The visitor’s GPU does the work, so serving costs nothing beyond static files.

Read live: this page asks the browser which GPU it would give Enargeia, with no prompt and nothing run.

tok/s at 2048 ctx
43.1
weights resident
334.9 MiB
compression
5.63×
server cost
$0

A model of Enargeia’s forward pass: one pulse is one token climbing its 24 layers, its 460 dispatches slowed 200 times. Decode speed as measured on an M2.

A lattice tower of twenty-four rings on a hill under the moon: the Stack, Enargeia’s forward pass.

A lattice tower of twenty-four rings on a hill under the moon: the Stack, Enargeia’s forward pass.

#dnme-0002/052026Sole engineer

Dianome

Model CDN for the browser: verified weight chunks, progressive loads, and a cache shared across sites.

  1. Packed once: Qwen2.5⁠-⁠0.5B q4 is 42 content⁠-⁠addressed 8 MB chunks behind a two⁠-⁠level manifest.
  2. Streamed layer group by layer group, embed to lm_head, each chunk checked against its SHA⁠-⁠256.
  3. Served from Cloudflare’s edge cache: 323.9 MB in 15.6 s on a real Chrome load.
  4. A second site on Chrome reuses the same chunks through the CDN’s frame: 0.81 s, nothing downloaded.
    from shared cache
    0.81 s
    verified chunks
    42
    SDK, gzipped
    13.9 KB
    error when split
    0.0

    A model built from Dianome’s measured numbers: a real Chrome load, 323.9 MB in 15.6 s; then, on the demo sites, a second site on Chrome filling every chunk from the shared cache in 0.81 s against 22.91 s from the network on the first. Firefox and Safari keep the cache per site.

    A forty-two-arch aqueduct crosses a valley full of midnight mist, a line of pink lamps on the ridge beyond.

    A forty-two-arch aqueduct crosses a valley full of midnight mist, a line of pink lamps on the ridge beyond.

    #hmna-0003/052026Sole engineer

    Homonoia

    Raft consensus implemented from the paper and made visible in the browser.

    1. The leader stops being heard from.
    2. A follower’s election timeout fires, and it stands as a candidate.
    3. Three votes out of five settle the term.
    4. Replication resumes from whoever won it.
    ticks fuzzed
    3M
    leader changes
    8,422
    safety violations
    0
    tests
    128

    These lamps are a live run of Homonoia’s own Raft core, started when this page opened.

    In the 3D view these lamps are a live run of Homonoia’s own Raft core.

    The five masts seen from the storm ridge through the rain, the storm’s glow behind them.

    The five masts seen from the storm ridge through the rain, the storm’s glow behind them.

    The storm stilled: mist in the forested valleys, and a small chapel’s lit window on the ridge.

    The storm stilled: mist in the forested valleys, and a small chapel’s lit window on the ridge.

    #phli-0004/052026Sole engineer

    Philoi

    Real-time collaborative editor where concurrent edits converge without a lock.

    1. Three replicas edit one paragraph at once. Type, and you are the third.
    2. Every keystroke is a CRDT operation: no lock, and no server deciding who wins.
    3. The network delays and reorders delivery; every replica still ends up identical.
    4. The same holds at 10 clients, three dropping off and rejoining; a cold open takes ~350 ms.

    A

    B

    C

    clients converging
    10
    cold document open
    ~350 ms
    permission layers
    3

    Three real Yjs replicas of one paragraph in this tab, over a simulated network that delays and reorders their messages. The ten docks are a model of Philoi’s ten-client test rig.

    In the 3D view, three real Yjs replicas of one paragraph, over a simulated network that delays and reorders their messages. The ten docks are a model of Philoi’s ten-client test rig.

    Three cabins on the far shore of a misty lake before dawn, each window lit with its replica’s text.

    Three cabins on the far shore of a misty lake before dawn, their windows lit, a line of lanterns on the water leading to them.

    #bsis-0005/052026Sole engineer

    Basis

    TypeScript SaaS boilerplate: rotating-token auth, Stripe billing and a one-origin Docker deploy, built once.

    1. Sign⁠-⁠in issues a short⁠-⁠lived JWT and a refresh token, stored httpOnly and hashed at rest.
    2. Refresh tokens rotate on every use; replay a retired one after 30 s and they are all revoked.
    3. Billing is Stripe: subscriptions, one⁠-⁠time purchases, the Customer Portal, live prices.
    4. Dockerized, single origin, migrations applied on deploy; built to run on Railway.

    Access token 15:00

      A model of Basis’s own flows: each sweep of the light is a refresh that rotates the token; replay a retired token more than 30 s later and every refresh token is revoked.

      A lighthouse at the end of a lantern-lit causeway, its beam sweeping the blue-hour mist over the sea.

      A lighthouse at the end of a lantern-lit causeway, its beam sweeping the blue-hour mist over the sea.

      AboutHouston, TX

      I’m a computer science master’s student at the University of Houston⁠–⁠Clear Lake, where I also administer the lab environment — a mixed Ubuntu and Windows Server estate used by students and faculty. Before that I spent three years at Tata Consultancy Services as an assistant systems engineer, working on TCS BaNCS, a core banking platform.

      Most of what I build ends up being about the same problem: getting separate things to agree. Raft is that problem stated formally. CRDTs are that problem without a referee. Enargeia and Basis are the exceptions: one because I wanted to know whether the arithmetic would fit in a browser, the other because every product needs the same plumbing.

      I’m interested in systems and infrastructure work — the layer where the guarantees are made rather than assumed.

      This world’s live numbers appear here once it is running.

      • n1–n5 five Raft nodes
      • 120 stones log slots, lit = committed
      • the glass the dial’s face, 394 m
      • one sky eight keys, src/lib/atmos.ts
      • one clock Homonoia’s core, started when this page openedHomonoia’s core

      Straight down over the commons, the world drawn as a blueprint: contours, the glass, the stones and five masts.

      Straight down over the commons, the world drawn as a blueprint: contours, the glass, the stones and five masts.

      A small stone chapel on its knoll against the brightest of the dawn.

      A small stone chapel on its knoll against the brightest of the dawn.

      Contact5 of 5 agree

      If you are building something where the guarantees matter, I would like to hear about it.

      Dawn from the south ridge: the five masts in a row, every lamp burning gold.

      Dawn from the south ridge: the five masts in a row, every lamp burning gold.

      The stick is yours

      Drag to steer, or use the arrow keys. Space flies by itself.Steer with your left thumb, look around with your right. Double-tap and it flies by itself.

      In the 3D view, the stick is yours from here.

      Soli Deo Gloria

      The night again, open to fly.

      A hazy gold dawn over the commons: the five masts lit before the Stack’s hill, open to fly.

      The cluster’s five nodes, before the first election.

      The commons00
      Enargeia01
      Dianome02
      Homonoia03
      Philoi04
      Basis05
      About06
      Contact07
      Free flight08
      The film/
      Enargeia — the full casepage
      Dianome — the full casepage
      Homonoia — the full casepage
      Philoi — the full casepage
      Basis — the full casepage
      Enargeia liveenargeia.dev
      Enargeia sourcegithub
      Dianome livedianome.dev
      Dianome sourcegithub
      Dianome writeupdianome.dev/writeup
      Homonoia livehomonoia.dev
      Homonoia sourcegithub
      Philoi livephiloi.net
      Philoi sourcegithub
      Basis sourcegithub
      Copy email addresstheophilusjohn@gmail.com
      Open the résumépdf
      GitHub profilegithub
      LinkedInlinkedin
      Read as texttier
      Reduce motionoff
      High contrastoff
      Single-key shortcutson
      Source of this sitegithub