Snowblink
FEB 06
28

MovableType to Typo

I have moved this blog from MovableType to Typo.

MovableType 2.66 is a dated blogging application. I didn't care for the pricing structure they introduced with MovableType 3, so never upgraded.

Typo is a blogging application running on Rails. Typo feels slicker and fresher. Themes are easily installable. The theme I am running now is a modified Lucid. Also, Typo has been released under the MIT License.

However, the overriding reason is probably because I get to hack in Ruby rather than Perl.

FEB 06
24

SwitchTower: Other Uses

SwitchTower allows you to easily deploy your Rails applications to your server farms.

I have only started playing with it recently, but found quite a nice use for it which is not Rails related: security patches.

Now, if you have just one system to update, it's not too much of a bother. As the number of systems you administer increases, so does the time it takes to apply security patches.

Using SwitchTower means that I don't have to write a separate script to update servers, which would probably involve expect. SwitchTower will only ask for your password once, then it applies that password throughout the task.

Here's how I did it. I created a Rails application:

$ rails linux_servers

Created the default switchtower files:

$ switchtower -A ./linux_servers LinuxServers

Now I just edited deploy.rb to include:

role :dev, *%w(dev1 dev2 dev3) role :test, *%w(test1 test2 test3) role :live, *%w(live1 live2 live3)

desc "Update servers" task :update_servers, :roles => [:dev, :test, :live] do sudo "apt-get update" sudo "apt-get -y upgrade" end

To execute:

$ rake remote_exec ACTION=update_servers

And that's just saved me minutes of tedium every time I have to patch servers. Yay!

Tagged As

FEB 06
18

Podcasting 2005

It's been over a year since I first talked about podcasting.

Since then, podcasting has expanded significantly, due to two main factors:

  1. iTunes and iPods have integrated podcasts.
  2. Video iPods.

The most impressive use of this new medium has to be by Ronald D. Moore (Battlestar Galactica) and Bryan Singer (Superman Returns). They understand their target audience. They understand that fans want detail: to see what you have been doing and thinking.

Over the next year, I hope that more people will consider the possibilities that are opened up by short audio or video extras.

These are the podcasts I am currently listening to or watching:

Are there any shows you would recommend?

Tagged As