Having quality issues? Getting different dimensions from the camera than what you request? Read this note from Adobe: https://bugbase.adobe.com/index.cfm?event=bug&id=2942275 This was Adobe’s response When you call Setmode with some requested width and height, its not necessary that you will get the requested width and height. The returned width and height depend on a number of [...]
Birthday Paradox and Small Business Conflicts
I think I realized something today concerning workplace culture. The birthday paradox is a cool mathematical phenomenon. If you take a group of people, the chances that there are two people that share the same birthday is much higher than one would expect. Here’s the Wikipedia article explaining the birthday paradox. For example, in a [...]
My opinion on Steve Job’s Adobe Attack
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 [...]