Archive for February, 2010

hMollom

Friday, February 26th, 2010

You may or may not be aware of the excellent anti-spam service provided by Mollom, founded by two friends and colleagues, Dries Buytaert and Benjamin Schrauwen. Mollom provides an API to program against, allowing support libraries to be written in a variety of languages and for numerous platforms. Top-notch examples are the Drupal plugin (obviously :-) and the WordPress plugin. Next to that there are a number of libraries for Java, PHP5, Ruby, Python, etc. Sadly, a Haskell library was lacking.

Given that I enjoy programming in Haskell and need to sharpen my Haskell-fu, I set out to write a library for interfacing with the Mollom API. The library is far from finished, but it is functional at this point, so if you have Mollom keys, you can call the services and fight the spam war on your Haskell driven website.

I maintain two repositories where you can get the library:

At this point the library has been given version 0.1. So it is still lacking quite a lot of features. Stuff that is on the immediate TODO list:

  • Add fault handling
  • Add server list refreshing
  • Encapsulate the state in a monad

Any feedback is appreciated.

PyMollom moved to GitHub

Monday, February 8th, 2010

Just a quick update. I have moved the repository for PyMollom over to GitHub. If you are unfamiliar with git, you can check out the library using git clone git://github.com/itkovian/PyMollom.git. At this point, the library is still the same, but I do plan on integrating the new language detection ASAP.

New door opens, old door closes

Monday, February 1st, 2010

For the past three years, I guess, Veerle has been trying to get me to agree to close up the living room door and make a new door in the dining room. Last fall, I finally caved. I saw the light, she would put it :-) We discussed our plans with the guy who will be taking charge in redoing our attic, and signed the agreement last November. Half December he gave us a call, and we agreed upon having the job done by the end of January. On the 29th, the demolition man came by and tore a new hole in our wall. Using a water to limit the amount of dust the wall was split apart at the right spot. Three hours later, everything was cleared and the big cleanup could begin. Depsite the water, dust had spread throughout the living room, partially spoiling my plans for getting some work done. With spurious amounts of water and soap, the living room was cleaned, and along with it, all the toys, books, and decoration.

I tore down the old door, with Nathan’s help — he’s scared of loud noise, so I figured that if I could get him to help me out, he would at least stop crying. And he did. with combined forces, we yanked the door from the wall, and replaced it with a brand new wooden framework, against which I put 18mm of multiplex, covered with 9.5 mm of plaster plate (gyproc). A bucket of Knauf Goldband later and the doorway was effectively sealed shut.

I plastered the new door hole, using metal corners to work against — my plastering skillz are pretty good, but only for small areas, i.e., no wider than my tool is. So, without further ado, behold the new door and the sealed old door.

Changing doors
Changing doors

Needless to say, we had to move some furniture around :-)

Changing doors

Mind, a new glass sliding door will be installed shortly. when the money for it arrives on my bank account.