Thrift and ZooKeeper May 25, 2011 Thrift provides a great framework for developing and accessing remote services. It allows developers to create services that can be consumed by any application that is written in a language that there are Thrift bindings for (which is…just about every mainstream one, and more). This is great for systems that are heterogeneous – for example, you could write a user authentication service in Java, but call it from your Ruby web application. ...
Redis sharding with Erlang Apr 10, 2011 I’ve been using a great Erlang Redis library erldis recently and as our data set has grown much larger, we have decided we need to start sharding. Unfortunately the erldis library does not have support for sharding so I’ve forked the repository and made the changes. You can find my fork here. Pull request here. A little background Redis has been really great for us so far but as we get more data and more operations per second, we realized we need to start utilizing multiple Redis instances. ...
MoosTrax for Blackberry -- Looking for testers Aug 11, 2010 I am finally going to work on updating MoosTrax for BlackBerry – as there are a few outstanding bugs that need to be addressed. The most important bug I will be working on is consistency of location updates in newer, post-4.2 OS BlackBerry devices. If you are interested in helping test the upcoming version, please e-mail moostraxsupport@gmail.com.
MoosTrax released for iPhone Jul 29, 2010 I am happy to say that MoosTrax has been approved by Apple and is now available for download in the App Store. Thanks to everyone who helped with the beta testing -- it was a great help. Note: MoosTrax works on devices running iOS 4+. iPhone Support/Help MoosTrax iTunes Link
MoosTrax for iPhone Beta Updates Jul 12, 2010 I've been working a lot on getting MoosTrax ready for the App Store and the latest beta adds a lot of great features. View a list of all of your devices View the current location of any device on your account. Enhanced battery usage through the "Conserve Battery" feature. The beta is still open, so send an e-mail to moostraxsupport@gmail.com to join.
MoosTrax for iPhone iOS4 Jun 27, 2010 I just got a new iPhone 4 with iOS4...and it supports background location updates! I've decided to bring MoosTrax back to the iPhone. I’m looking for beta testers…and then soon I’ll be pushing it to the App Store. Applying for the beta Please e-mail moostraxsupport@gmail.com with your iPhone's UDID. For information on finding the UDID, go here: http://www.geekology.co.za/blog/2009/07/how-to-check-your-iphones-udid-from-itunes/ Screenshots
AsyncRecord: Non-blocking database access for Ruby Jun 21, 2010 Two weeks ago I developed my first event-driven web framework for Ruby, Fastr. It helped me understand why running a web framework in an event loop is so natural. As I continued to tackle more features in Fastr, it was time to tackle persistence – notably, database access. AsyncRecord is/will be an ORM, similar to ActiveRecord – with one major difference – it doesn’t block. AsyncRecord currently uses em-mysql to access a MySQL database. ...
Fastr - A Web Framework for Ruby Jun 08, 2010 Foreword Every month I go on a binge and learn something new. The most recent binge resulted in a new web framework, called fastr. I’ve always used Rails when I needed to create a web application in Ruby, but despite how great it is to code in, the performance and concurrency is not up to par. Don’t get me wrong – Rails can scale, but it is not inherently very good when it comes to an individual instance’s performance. ...
Unlocking the full potential of the iPhone Apr 17, 2010 Since Apple launched the iPhone in 2007 there has been an unprecedented growth in the mobile phone market. From new advances in hardware, such as touch screens, to operating systems mimicking the full power of a desktop computer. Never has a smartphone been able to penetrate the demographics of 10 year olds, to teenagers, or mom and dad – until the iPhone. There are now hundreds of thousands of applications built for mobile phones, with every use case you can imagine. ...
Groovy scripts and JVM Security Mar 24, 2010 Groovy is a very cool dynamic language for the JVM. Because it runs on the JVM, it also has the great security features as well. Let's see how we can run trusted code and allow a dynamic (possibly user defined) script to execute with limited permissions. We will also see how the script can call functions in our trusted code and how we can elevate privileges to allow the untrusted script to get access to trusted data. ...