Cheap Toto Pagination

Toto is a great tiny blogging platform for Ruby/Rack. However, it doesn’t expose much in the way of a MVC structure and it can be just annoying enough when you want to add some feature that isn’t there. In this case, I wanted to add some simple older/newer pagination to the front page. To my chagrin, I couldn’t find a way to pass variables to a Toto page without using the GET variable syntax (i.e. ?page=1) and I still wanted to hold onto the rails RESTful paradigm of /page/1, so I monkey patched the Toto::Site dispatcher, like so:…

The Gustav: A BC2 Hack

The Gustav is a closed source C++ hack for Battlefield: Bad Company 2. It incorporates realtime physics simulation to determine potential targets, as well as unique D3D hooking to provide visual cues for the user in the game world itself.