• 1 min read

Getting the Ruby 1.9 ball rolling

After I read this post on Labnotes I decided to “take the plunge” into the world of Ruby 1.9 properly. I mean, I was at RubyKaigi...

  • 3 min read

Looking beyond daemon-kit 0.2

Works Ahead - Singapore Department of Transport

I wrote daemon-kit to solve two big issues with writing daemon processes in Ruby:

  1. Everyone is re-inventing the daemons gem
  2. Individual daemons share a lot common code, apart from the daemonizing bits

As for #1, daemon-kit at first wrapped the...

  • 0 min read

DaemonKit Lightning Talk RubyKaigi 2009

Undoubtedly my worst time on stage ever! Ubuntu gave me issues with the projector, so I actually had to leave the stage to go to another conference hall to get the setup working again and run back up to the main hall… Once there, I was a mumbling...

  • 3 min read

Getting “copy friendly” with jQuery

When I’m not busy writing backends for large service provisioning platforms, I get to spend some time in the user-facing interfaces of these platforms. We’ve prided ourselves so far on maintaining cross browser compatibility (excluding IE6), and to...

  • 16 min read

Driving Business Processes in Ruby

Decisions decisions, as Ruby developers we face them every day. Some are easier to make than others, they have the ability to shape or break a project (even a business). We’ve faced the decisions of ActiveRecord or DataMapper, jQuery or Prototype,...

  • 5 min read

Cleaning up your act, with a little handsoap

Dettol Handsoap

Handsoap is a new, fresh Ruby library for creating SOAP clients. Why am I excited about soap? I’m not, unless they’re beautiful. Yet, somewhere along the line you are going to be faced with writing a client for a SOAP service. Whether it is from...

  • 1 min read

daemon-kit Progress Report

Since I last announced Capistrano support for daemon-kit, a few other things have happened that is steadily moving the project forward. Here is a synopsis of them all:

No more daemons

Sounds contradictory, but I’ve stripped out the daemons gem as...

  • 3 min read

Capistrano for your daemons

Nothing like some possitive feedback to keep you looking after your own projects, and the feedback on daemon-kit has been great so far. My TODO list is growing every day with more features that I need, and others need as well. I mostly add features...

  • 2 min read

Safety nets for your Ruby daemons

Daemon-kit has been getting a lot of TLC from me lately, and it’s not going to stop anytime soon. As I wander deeper and deeper into AMQP territory, I need to extend daemon-kit to cope with all kinds of new scenarios. One of those being unhandled exceptions...

  • 1 min read

Quick *nix shadow passwords with Ruby

Just thought I’d share this one to boost the available online information. Using String#crypt and man crypt you’ll come up with something similar to the gist below (extract from a project I’m busy working on).

module Linux
  class User
    class <...