released my first gem – wordpress on rails (wp_on_rails)

Posted by chad on December 20, 2008

A skeleton (but functional) ruby gem that allows manipulation of a WordPress database from rails, using activerecord. WordPress on Rails

rake aborts with closed stream running rake test 3

Posted by chad on December 11, 2008

Why does rake abort?

chadd@ubuntu:~/myproj$ rake test:units
(in /home/chadd/myproj)
rake aborted!
closed stream
(See full trace by running task with –trace)

 

SOLVED – just do a rake db:schema:dump. If that has never been done, and the database was originally built without a migration (even though I have a full set of migrations that SHOULD create the database properly in the test db), this cryptic error occurs. 

poolparty.rb and the immaturity of cloud computing 2

Posted by chad on December 05, 2008

Poolparty.rb is a very promising ec2 management tool. But it’s down right now. (see below) Based on the documentation, poolparty is self-hosting, which is not an advertisement for relying on ec2 as the primary tool to host a site. As reserve capacity it makes sense, but when it’s the only server, it seems expensive and not necessarily reliable. We use ec2 instances for a number of tasks, mostly for data processing, but the unreliability of using a cloud in this way is related to the immaturity of the toolset to manage the cloud. While the instances are an incredible time savings over provisioning and maintaining the physical hardware, I’m finding that I underestimate the time needed to build and manage the tools to manage the cloud. As tools like poolparty improve, i’m sure this will go down, but it’s significant at this point.

Note: downforeveryoneorjustme.com says it’s not even a site on the internet. This is probably related to the way DNS is managed for the site, which is exactly my point. Odds are the instances are running just fine.

post rails summit 1

Posted by chad on December 01, 2008

You never know when you’ll get photographed with 10 beer cans in front of you.