Latest Blog Posts

Migrating from Linode to Digital Ocean

A co-worker of mine recently came back from a Ruby meetup in NYC, where he heard of a new VPS hosting company called Digital Ocean. There's certainly no shortage of VPS hosts around now, but Digital Ocean appeared very appealing because it's lowest tiered plan cost just $5 a month -- too good to be true, right? The features you get with that low plan are nothing to scuff at either, giving you 512MB of memory, 20GB of SSD, and 1TB of bandwidth.

Tags: vps, digital ocean, linode, mysql


Waterwheel Carousel 2.0 Released

After a lengthy development hiatus, I've added a significant release to the waterwheel carousel. What was originally slated for a 1.4 release has been bumped to a 2.0 release. The release includes lots of bug fixes and features, most important of which is full "circular" support. Take a look at the changelog on github to see a list of the changes.

Tags: Waterwheel Carousel


Installing ruby-debug in Ruby 1.9.3

Update: You can now use the debugger gem to circumvent this issue. Or better yet, use pry

I've been working in a development environment that required an earlier verison of Ruby (1.8.7) that worked well with the ruby-debug gem. This gem is widly used and has some nice "get to know it" text in the rails guides.

Tags: Ruby, Rails, Ruby on Rails


Determine PHP memory usage for anonymous users

In case you've been living under a rock for the past two years: Drupal 7 is known to use quite a bit of PHP memory everytime a page is loaded. I won't get into anything why that is and why it's such a big jump from Drupal 6 (I'm in no position to comment on that), but what you need to know is that Drupal 7 can easily use 40-50 MB per page load for a small to mid size website, and much much more for larger websites. Turn on some sort of PHP opcode cache like APC and you can probably get that small to mid site down to 10MB of usage or lower.

Tags: Drupal, Drupal Planet, APC, caching


Looking at the new FullCalendar module for Drupal

Last weekend @ DrupalCamp New Jersey, Tim Plunkett presented a wonderful alternative of the Calendar module for Drupal, called FullCalendar. I could be wrong, but I believe this was the first presentation given on the module which is very close to a stable release for Drupal 7.

Tags: Drupal, Drupal Planet, FullCalendar