Monthly Archives: July 2006

Spam control: some choice words now blacklisted

*Public announcement:* Should anyone like to announce anything in the comments section about female breasts, in a colloquial manner, stay away from using the word “boobs”. I just blacklisted it. Use your imaginations. Also, should you want to discuss females with a homosexual orientation, then refrain from the commonplace word “lesbian”, since this also got blacklisted. Finding [...]
Posted in WordPress | Leave a comment

bash functions example

Bradley Taylor (of [Railsmachine](http://railsmachine.com/) hosting fame) said this on [the excellent Mongrel mailing list](http://rubyforge.org/mailman/listinfo/mongrel-users): “Just use these bash functions and put them in your .bashrc:” cluster\_restart () { mongrel\_rails cluster::restart -C /etc/ mongrel\_cluster/$1.yml; } cluster\_start () { mongrel\_rails cluster::start -C /etc/ mongrel\_cluster/$1.yml; } cluster\_stop () { mongrel\_rails cluster::stop -C /etc/mongrel\_cluster/$1.yml; } usage: [...]
Posted in General | Tagged , | Leave a comment

New Blog on DSLs: Little Languages

It was made official in the coolest way possible, in a [Lambda the Ultimate post](http://lambda-the-ultimate.org/node/1628), that the [LittleLanguages.net blog](http://www.littlelanguages.net/blog/) has begun. DSLs (domain-specific languages) are hip. The weblog “A Fistful of Languages” is a weblog about them. > Here’s where the “Fistful of Languages” blog comes in. This blog aims to address all aspects of DSL development, [...]
Posted in Technology | Tagged , , | Leave a comment

Awk, text processing

Fooling around with load average output on a shared host (where it can be life-or-death): $ w -s|awk '/load average:/ { print "Load averages:\nPast 1 min: " $10 "\nPast 5 min: " $11 "\nPast 15 min: " $12 }' Load averages: Past 1 min: 20.94, Past 5 min: 20.67, Past 15 min: 18.75 What’s w, you say? [...]
Posted in Technology | Tagged , , | Leave a comment

Nitro: A Rails contender?

I copy-edited [a Nitro article](http://www.oxyliquit.de/tutorial/4) on using the fulltext search index facility [TSearch2](http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/) for [Postgres](http://www.postgresql.org/). (Smart way to read an article slowly enough to let all of it seep in.) [Nitro](http://www.nitroproject.org) is an MVC web framework written in Ruby. “For Web2.0″, you know. Interested Nitro neophytes can head over to [Oxyliquit](http://www.oxyliquit.de/), the Nitro Q&A website, which has [...]
Posted in Technology | Tagged | 1 Comment

Learning more Haskell

(Minor update: Removed a double-quote too much. Darn [AutoPairs](http://www.jwwalker.com/pages/autopairs.html). Maybe it can be configured.) [Jamis Buck](http://jamis.jamisbuck.org/articles/2005/10/30/learning-haskell) brought me back on track with learning Haskell: I have had the [Yet Another Haskell Tutorial PDF](http://www.isi.edu/~hdaume/htut/) on my laptop for ages, but those things don’t read themselves. A sidenote: using Haskell feels loads more natural to me compared with Common [...]
Posted in General | Tagged , | 5 Comments

Copenhagen.rb loosely coupled

In a comment here, Jesper said: > This may be a good place to mention that Jakob Skjerning set up the [Copenhagen Rails mailing list](http://lists.substancelab.com/mailman/listinfo/copenhagen.rb) (in Danish). Perhaps it even deserves a blog post. [Jakob](http://mentalized.net/) says (translated from Danish): > We picked the name Copenhagen.rb after some thought. Primarily since it’s a well-spread way of naming Ruby [...]
Posted in General | Tagged , , | Leave a comment