Posts

Playing with lambda elimination and point-free style

It was a long time since I've last played with Haskell, so I decided to do a bit of lambda elimination as an exercise. let f=(\x y->x++y);g=(\x y z->x++y++z)in f(g "1""2""3")"4" let f=(++);g=(f.).f in f(g "1""2""3")"4" let f=(++);g=(f.).f in (f(g "1""2""3"))"4" let f=(++);g=(f.).f in (f.(g "1""2"))"3""4" let f=(++);g=(f.).f in (f.((g "1")"2"))"3""4" let f=(++);g=(f.).f in ((f.).(g "1"))"2""3""4" let f=(++);g=(f.).f in ((f.).g "1")"2""3""4" let f=(++);g=(f.).f in (((f.).).g)"1""2""3""4" let f=(++);g=(f.).f;h=((f.).).g in h"1""2""3""4" let f=(++);h=((f.).).(f.).f in h"1""2""3""4" let ...

Splitting this blog by categories?

I am considering a split in the long term if that would improve user experience. What I still need to figure out is what to do with multidisciplinary articles.

I plan to use summaries and shorter posts

I have been thinking about the previous recommendation of a friend of mine, and it does sound reasonable to expect to read about as narrow subject as possible in a single post. The problem is that it happens to me often that I mix in articles of mine between average blog posts. I think it would be a much better choice to build professional articles for my website in the said topics that could contain figures, statistics, research, references, reviews and comparisons, while I would only post short summaries of the said articles here.

My new POLL about topics of interest

You can take part in my newest poll at the top or post comments about it here. I'd be honored to hear from the few loyal readers of mine again this year, but naturally all participants are welcome! Stay tuned, as I will be back to we blogging soon after finishing my Erlang duties.

The superiority of open source by Frank Lloyd Wright

This is one of the best quotes I could find about the superiority of open source software: "The physician can bury his mistakes, but the architect can only advise his clients to plant vines." — Frank Lloyd Wright, New York Times Magazine (4 October 1953)

Unintentionally formatting your system drive is a bad idea

One day, I was playing with a chroot jail. This whole incident has taken place some months ago. I wanted to test if I could install software from user mode because my apt-get was doing a system update. Well, building from source via "apt-get -b source" would have also solved the issue, though dependency handling in this case is not automatic if I understand correctly. In order for this process to take as little overhead as possible, I wanted to simulate a manual copy-on-write filesystem by creating links to the parts that are common with my root system, and recreating directories which are partially different. I first tried to use symbolic links, but I had to realize that relative links that point outside the sandbox were dysfunctional. Hence I made a hardlink for my root in the chroot. Well, it was a read-only bind-mount to be more exact. Note that I did succeed previously with a different system and kernel (Gentoo 2005.x) by using symbolic links, that's why I gave it a...

Wooden house good idea after all

I had a conversation with a friend of mine some years ago about buildings made out of renewable material. Well, it wasn't actually a healthy argument, as I scared the guy off with a few tongue-in-cheek expressions, like the example of Tom and Jerry. :) I wanted to continue, but sadly, he said he was convinced and changed his mind. Nowadays, I myself consider this an ever more viable alternative, given the low ecological footprint and the numerous successful projects in this area. Note that while I have not analyzed the per-year cost of these less durable materials yet, renewable by definition is almost always better than non-renewable. The following links (and many others) seem to imply the same: Build Your Own Affordable, Eco-Friendly House by Dr. Owen Geiger Natural Resources & Sustainability Environmentally Friendly Homes by Adam Downing Wooden Eco-buildings - energy efficiency in LCA perspective