My brain dump on software, machine learning, and life.

A collection of thoughts on software architecture, machine learning, and the intersection of engineering and life. I revisit and revise older posts regularly.

Popular
Command Squad: a tactics game you command with words

Command Squad: a tactics game you command with words

October 20, 2026Machine Learning

A pixel-art tactics game where every order is typed or spoken. A rule parser and a fine-tuned 0.5B language model turn each order into a program on your own device, and the battle slows to 25% while you talk.

The Price of Winning

The Price of Winning

August 21, 2026Machine Learning

I got tired of losing to people's wallets, so I measured it. 655,000 real matches across Dota 2, Clash Royale and EA FC 26, a control group that caught my own method cheating, and a matchmaking fix that works the opposite way to how everyone assumes.

How Clean Architecture Helped Me Design an LLM-Based Game

How Clean Architecture Helped Me Design an LLM-Based Game

March 10, 2025Engineering

Building a game powered by Large Language Models (LLMs) presents unique challenges in software design. This article explores how Clean Architecture was used to manage LLM-specific complexities, ensuring modularity and scalability.

Hysteresis of economic networks in an XY model

Hysteresis of economic networks in an XY model

November 2018Machine Learning

A study on the hysteresis phenomenon in economic networks using the XY model framework, examining how economic systems exhibit memory effects and path-dependent behavior.