Jeff Hui

Software Engineer · Lifelong Learner

Recent notes All notes
October 25, 2026 8 min

Learnings after a week of building a game simulation

As a fun experiment, I worked on building an air defense simulation using Opus 5.5. The goal was to create a real-time simulation of air defense. The simulation should be more realistic than video …

August 6, 2026 5 min

Serving Datastar Streams

Datastar leaves the server-side implementation open-ended. Datastar provides SDKs for various languages, but those SDKs only cover the protocol on top of SSE that the Datastar JavaScript client …

March 19, 2026 11 min

Datastar Basics

Datastar is an HTMX-like framework that attempts to minimize the amount of Javascript you write using a few concepts:

Compendium
Compendium is a collection of topical resources intended to be kept up to date instead of a stream-of-consciousness of notes.
August 6, 2026 2 min

Datastar

Datastar is an HTMX-like framework that attempts to minimize the amount of Javascript.

July 24, 2025 9 min

Object Oriented Programming

Object Oriented Programming is really two different ideas: message-passing and compile-time hierarchies. The former informs modern distributed systems and the latter is the basis of popular modern …

July 6, 2025 11 min

Event Sourcing

Event Sourcing departs from traditional state-centric data management. Instead of treating the current state of entities as the primary source of truth, Event Sourcing recognizes that the sequence of …