/code_

Two threads about code: how this site itself is built, and long-form guides to programming languages.

/code/architecture
Architecture
How it’s built

How CubeRoot is put together: React SPA + Hono API + PostgreSQL, plus a standalone WCA stats pipeline

5 packages · 14 modules · 80+ stat pages
/code/stack
Stack
The Stack

28 pieces of software cuberoot.me actually uses, one page each

28 pieces · frontend · backend · edge · dev
{ }
/code/language
Languages
Long-form guides

Long-form guides to 17 programming languages — history, features, ecosystem, current state, one page each

17 languages · 2 cross-comparisons
Σ
/code/algorithms
Algorithms
Core algorithms

The algorithms actually running inside CubeRoot: IDA* with pruning tables, Kociemba two-phase, min2phase, and a self-built CFOP multi-stage solver — with full math modeling and 2.4M-sample statistics

4 deep dives · state-space search · 2.4M samples
/code/traffic
Traffic
Self-hosted Analytics

Site traffic: PV/UV timeline, top paths, referrers, country breakdown. Collected in-house, no 3rd-party tracking

PV/UV · 4 metrics · 90-day rolling
~$
/code/ops
Ops
Runbook

Hands-on commands for routine maintenance: DB refresh, builds, deploys, backups. Each with prereqs, runtime, gotchas

Copyable · with context · always growing