just wrote my 1st Rakefile

It took me a while to finally get going but it was worth while investing the time to dive into it. next step is http://buildr.rubyforge.org , and I am really keen on that. something capable of replacing Ant and Groovy — amazing! Single-quoted strings as “sh” commands get displayed quite nicely, double-quoted strings get displayed… Continue reading just wrote my 1st Rakefile

Categorised as rake

reading RailsSpace (the book)

from ch. 1 (introduction): Ruby comes out of the Perl tradition, and Yukihito “Matz” Matsumoto, the creator of Ruby, calls it “a better Perl than Perl”. In our experience, most programmers with exposure to both languages agree. We’d add that, for web programming, embedded Ruby (ERb) is a better PHP than PHP. Actually although I… Continue reading reading RailsSpace (the book)

found UNIX utility “multitail”

It got mentioned in a magazine. It’s like “tail” on many files at once, but much better. We shall see … . I will give it a try at work, where I often have to view and follow more than a single file at a time, when I restart the applications looking for weird behaviour.

shell script pitfall: “elsif” instead of “elif”

I know, that shouldn’t happen to a skilled shell script programmer, but it happened right now … The “funny” thing was, that bash mourned about a syntax error only at the next “then”. Of course, I can very well explain myself why that is, but still: Handling this error is “sub-optimal”, isn’t it?