Vector 01 • Software Systems
Systemic Design: Asynchronous State & Serverless
Aggregations
Most modern web platforms suffer from bloated, expensive
database polling models. By building event-driven state
aggregations running on scheduled crons (using serverless
runners like GitHub Actions or Firebase Functions) and
piping that output directly to static object stores (like S3
or Cloud Storage), we completely eliminate database
roundtrip latencies during client page renders.
This pattern, which I coined Static Ingestion Architecture, treats raw databases as private write-only streams and
compiles the readable public state directly into
highly-optimized JSON objects. The frontend loads in a
single network roundtrip, maintaining 100ms LCP times
regardless of request concurrency.
Vector 02 • Tactics
High-Elo Chess: The Geometry of Outpost Dominance
In high-level chess (1800+ Elo), matches are rarely won
through simple tactical blunders; rather, they are decided
by slowly suffocating minor squares. I study the geometrical
layout of the d5 and f5 outposts for knights in closed structures like the French Defense or
Sicilian Paulsen.
Anchoring a piece on these squares demands careful pawn
structure planning. Once established, it forms a mechanical
wedge that splits the opponent’s kingside defense, forcing
unfavorable pawn breaks (e.g., g6 or f6) which permanently
weaken light squares. It is structural engineering on a
64-square grid.
Vector 03 • Game Theory
Boardgames: System Modeling and Resource Allocation
Modern strategic board games (like City of the Big Shoulders, Wingspan, and Azul) are models of complex closed systems, where victory is a function of resource efficiency and system adaptability. Managing capital, building engine cards, and drafting pattern tiles are exercises in system design: you define inputs, resolve bottleneck operations, and navigate competing constraints.
Success relies on recognizing how feedback loops affect the system state over time. Balancing immediate point generation against long-term engine scaling directly mirrors software architecture design—where managing technical debt and optimizing pipeline throughput determines sustainable, long-term performance.
Favorite Board Games (from Board Game Arena)
★ City of the Big
Shoulders
★ Wingspan
★ Love Letter
★ Splendor
♥ Azul
★ Saboteur
★ For Sale
★ Captain Flip
★ Sea Salt & Paper
★ Ticket to Ride
★ 7 Wonders
★ Beyond the Sun
Vector 04 • Acoustics & DSP
Web Audio API: Real-time Synthesis & Psychoacoustics
Synthesizing high-fidelity acoustic instruments (like Grand Pianos or plucked Guitars) mathematically in the browser is a delicate trade-off between physical asset weight and sonic realism. Standard sample soundbanks weigh megabytes and introduce network load latencies, whereas real-time Web Audio API synthesis has zero file size and runs instant, zero-latency scheduling.
To achieve acoustic authenticity on narrow-band mobile phone speakers (which typically cut off low frequencies below 300Hz), we leverage several key DSP techniques:
- Psychoacoustic Overtone Boosting (The Missing Fundamental): Mobile hardware cannot physically reproduce E2 (82Hz) or A2 (110Hz) guitar frequencies. By layering higher harmonic sine waves (2x, 3x, 4x, and 5x multiples of the fundamental), the human brain naturally interpolates the harmonic structure and reconstructs the pitch of the missing lower fundamental.
- Dynamics Compression: Routing audio channels through a master
DynamicsCompressorNode prevents digital clipping and distortion when chords add up their wave amplitudes, stabilizing the volume spikes for tiny mobile speaker cones.
- Detuned Multi-Voice Chorus: Layering triangle waves with minor detune offsets (±5 cents) generates organic phase shifts, imitating the natural string detunes of a real grand piano soundboard.