The Portfolio App
2026 to presentFunctional staging
A working portfolio tracker for individual and shared household accounts. It records multi-currency transactions or imports them from CSV, values holdings from live prices, and reports P&L, time-weighted returns, risk against a chosen benchmark, and UK capital gains.
FastAPI services run the gateway, ledger, risk analytics and broker sync. Rust services handle quotes, portfolio calculations and UK tax matching. The public API uses OpenAPI; the Rust services are reached over gRPC using protobuf.
Repository ↗OpenQuant
2025 to presentPre-release alpha
A free, open-source research workspace you host yourself. You write a strategy in Python, backtest it, then check whether the result survives trading costs, an unseen holdout period and small parameter changes. Each run is identified by a hash of its code, parameters, data version, engine version and random seed.
2,029 backend and 1,770 frontend tests passing. The first tagged release is waiting on clean-machine checks of the amd64 and arm64 images.
Repository ↗Limit order book
2026Complete, build log online
A C++20 limit order book that matches by price, then time. It began as the textbook version, with a std::map of price levels, a std::list at each level and a hash index, and was rebuilt one measured step at a time into fixed pools and a price array that allocate nothing after start-up. Its build log gives every step its commit and benchmark row, and runs the same C++ live in the browser as WebAssembly.
On a seeded replay of 1M messages on an Apple M2 Pro, the mean fell from 73.4 ns to 10.9 ns per message, and allocations from 1.05 per message to none. Replaying a recorded AMZN trading day from LOBSTER, with the book checked against LOBSTER’s own order book file after every event, found 0 mismatches in 5.3 million level comparisons.
Repository ↗Regex golf
2026Live on the web, app stores next
A minimal puzzle game, now live on the web. A 15-lesson tutorial of 22 levels teaches the syntax. Then courses of nine holes, and a daily puzzle that is the same for everyone, ask for the shortest pattern that matches one list of strings and none of another. One TypeScript codebase ships as a static site and, through Capacitor, as iOS and Android apps.
Live at regex-golf.babarika.dev, with a new daily puzzle every day. The tutorial, three courses and four weeks of daily puzzles are signed off. On the web build, Lighthouse scores 100 in all four categories on mobile and desktop, and axe-core finds no WCAG 2.2 AA violations on any screen.
Play the game ↗Poker TUI
2025Complete and maintained
A Rust terminal game built around a pure poker engine, local bots, live equity estimates, and a networked client/server mode.
Includes the game engine, terminal UI, bots, equity estimates and client/server play. The image below is an illustration, not a product screenshot.
Repository ↗Pitch Shifter
2026Model released, successor in development
Demucs separates the song into stems. Signalsmith Stretch shifts bass and other instruments, and drums stay untouched. Rubber Band shifts the vocals by up to 3 semitones. Above that a neural engine takes over: WORLD, a classic vocoder, moves the pitch and a U-Net cleans up after it.
On 300 held-out clips the network cuts round-trip mel-cepstral distortion by 31%, from 24.2 to 16.7 dB, against the same pipeline without it. In a blind test at 6 semitones I picked the model over Rubber Band on all three excerpts, from two songs, with myself as the only listener. Rubber Band still measures better on small shifts, so it handles those, and large shifts still sound a little robotic.
Repository ↗