Archive for 2009

  • 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 <...

  • 1 min read

Nanite agents now in daemon-kit

My recent love affair with AMQP & nanite has been quite a nice boost to daemon-kit. First it got a neat AMQP consumer generator, and today it got a nanite agent generator with sample actor.

Here is how to get going quickly:

$ sudo gem install kennethkalmer...

  • 2 min read

Easy Ruby cronjobs with daemon-kit

I started conceptualizing and playing with a pet project called daemon-kit earlier this year, with the aim to ultimately be the preferred way of assembling daemon processes written in Ruby.

Today I took the opportunity to add two more generators to...

  • 0 min read

Ruby Enterprise Edition on Gentoo with newer OpenSSL (>0.9.8i)

*UPDATE 2009-04022: *Ruby Enterprise Edition 20090421 released a couple of hours after the original post. Now includes the OpenSSL patch from Gentoo’s Portage.

*UPDATE: *The upcoming release of Ruby Enterprise Edition might include the suggested patch...

  • 6 min read

To AMQP or to XMPP, that is the question

Some time ago I started a series of blog posts [1,2] on Ruby and messaging. Most of the series is still in draft format and has to be completed. It’s a topic I’ve been very interested for some time, and have monitored the space quite closely looking...

  • 0 min read

Pluck out an old revision of a file with git show

I was busy merging work back and forth between topic branches today and by accident miss-merged a 700-line spec. Everything else was fine (or so I hope) except this one file. I couldn’t use git revert, since that would mean I’ll have to redo all the...

  • 0 min read

ruote 0.9.20 released, and the road the ruote-kit

Congratulations to John Mettraux for just pushing ruote 0.9.20 out the door. I’ve had the great privilege of working with John on an almost weekly basis, learning about ruote and discussing our complicated service provisioning processes with him. Recently...