Author Archives: Michael
Technical in Nature
It has been a challenge to keep my personal blog from becoming inundated with the rants and ravings of my technical and professional experiences so I have therefor decided to start a blog on my resume site. I have imported … Continue reading
Strange Shared Preferences Loss
Since recently deciding to try and avoid developing on the emulator I’ve come across a super annoying bug within Android which would basically lock you from being able to write to the shared preferences of your app. Examples are abound … Continue reading
Working on Things
First a quick lesson in Java (for myself). This was a half day lesson that I feel sheepish to admit but I figure hey, let me share! Below I will create an ArrayList which will contain a bunch of like … Continue reading
PHP, AJAX, and Race Conditions
We came across a pretty interesting race condition regarding AJAX requests and our PHP back end. A quick search will find a few articles about the problem; this one I think sums it up best. There are some comments there … Continue reading
Flicka.mobi Goes Live
We’ve (Koa + me = MokaSocial, LLC) finally pushed out Flicka.mobi the official portal to Flicka, our Flickr application for the Android platform! It will bring all the free functionality of the Flickr website and add tons of integration into … Continue reading
Rate Limiting in PHP
Recently I was having a discussion about putting together an API and some ideas about caching, rate limiting or flood protection, design patterns for rendering the output, scalability, and security came up. A while ago I came up with a … Continue reading
Emmm, Easter Egg Function
While carousing the code base I’ve been alerted of the existence of an interesting function: public static function the_answer_to_life_the_universe_and_everything() { $calculation = sqrt(9) * 12; $calculation = pow($calculation, 2); $calculation = ($calculation / 4); $calculation = ($calculation – 4); $calculation … Continue reading
Stored Procedure: Part I
I finally got my stored procedure to work. Its a dynamic select stement for MySQL. It also has an output so you can check the executed query. Since this is a relatively new feature for MySQL (introduced with version 5) … Continue reading