-
Posts just written
Me reacting to web stuff
Pages
Archives
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2003
Monthly Archives: July 2006
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:
[...]
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, [...]
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? [...]
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 [...]
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 [...]
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 [...]
Spam control: some choice words now blacklisted