MX Hacker's Revenge
summary
A conference-sized, thumb-editable assembly-style programming competition gets built as a mobile web UI and Rails backend, using Ruby, Sidekick jobs, rbspy profiling, and SQLite. Fairness comes from a 15-instruction stack VM with a Halton catch fire bomb, randomized start positions, and scan vs. bomb tradeoffs. Performance surprises: naive ActiveRecord cycles cost push runtime from about 750ms → 25ms per round, so cycles aren’t persisted and matches serialize to one Sidekick worker to avoid SQLite contention.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:25Background
- 1:14Programming Games
- 2:50Hackers Revenge
- 4:00Games Stack
- 5:56Mobile UI
- 6:29Test Function
- 6:46Fairness
- 11:43Frontend
- 12:20Proof of Concept
- 14:07Automate
- 15:00Backend
- 16:01Lessons Learned
- 17:45Modulo
- 19:34Test Round
- 21:49The Solution
- 22:49Match Run
- 23:30Saving Results








