So since some people have asked me about Steve Job’s letter against Flash, this is what I think. I have always said that Apple doesn’t want to risk buggy system and battery life (valid reasons. and I think Apple has a right to refuse Flash until Adobe fixes problems and proves Flash Lite can work [...]
Faster Way to Get a Random Row MySQL
So doing order by RAND() limit 0,1 is pretty slow for big tables. So I came up with the following. Basically it uses the ID column to find a random id number between the lowest id in the table (usually it will be 1 since that’s where auto increment start; however, I lots of times [...]
Turing Machine
I was asked by Ian Bogost to make a Turing Machine program. The Turing Machine is a device that basically uses conditions to create some type of program. You can make your own here. I think it’s a great way to teach someone the basics of computer programming and logic. Initial Tape: PIG 1,_,1,_,> 1,P,2,_,> [...]
My New Game: Obechi!
Click here to play my new game Obechi. Here’s the description of the game written by Tim Halbert (who wrote the music to the game): From the creators of the Flash sensation Boomshine comes a devious new game where hand/eye co-ordination and a lightning-quick reaction time spell the difference between success and failure. Hundreds of [...]
New version of Picterizer
*Edit: Renamed app to Picterizer* A new version of Picterizer has been uploaded. If you haven’t checked it out, this web application generates a picture of pictures (from flickr). Basically you upload your photo from your hard drive. The program uses Flickr to compile the picture. The new version now includes a “variance” factor as [...]
EventManager 1.3
Dennin Dalke, a Brazillian Flash Developer emailed me a great method for the AS3 EventManager class (read the original post). //adding multiple events at once. EventManager.addEventListeners( loader.contentLoaderInfo, [ ProgressEvent.PROGRESS, onSiteLoad_Progress, Event.OPEN, onSiteLoad_Open, Event.COMPLETE, onSiteLoad_Complete, IOErrorEvent.IO_ERROR, onSiteLoad_IOError ] ); It’s a great method to save retyping so many lines. Get the [...]