-
Building a Tiny Convex Optimization Layer from Scratch (Part I)
Part I of a from-scratch convex optimization layer series, deriving the Lagrangian and KKT system for a constrained projection problem.
-
Making Graphviz easier to use from Python
A short note on wasi-graphviz, easydot, and using LLMs to get through portability work.
-
Smart Invaders: Can You Beat Them?
A browser game for introducing genetic algorithms, where evolving Space Invaders-style enemies adapt to the player's strategy over time.
-
A tutorial on Differential Evolution with Python
A hands-on Python introduction to Differential Evolution for black-box optimization, from a compact NumPy implementation to practical examples.