Vote for social change

Netsquared is holding a vote for their Innovations Awards. It’s great to see so many projects that utilize the tools and technologies of the social web for all kinds of social causes, and I encourage you to have a look and vote for some of the projects. Voting closes on Saturday, April 14th, so don’t delay.

My top vote went nicely biased to Nabuur.com. Biased, because Nabuur is also a client of our company Winkwaves. You can read more about Nabuur’s plans on their proposal page.

Amongst the other projects I’ve voted for are Change.org and Barefoot Power. The latter would make a nice combination with OLPC (One laptop per child) but OLPC was not listed in Netsquared’s list even though I think it would have been a good fit.

Posted by Hans de Graaff Thu, 12 Apr 2007 13:58:00 GMT


Finally, the keys

Last week I finally got the keys to my new house.

After all the hassle of getting a mortgage time was running out before my skiing holiday. Having planned the key exchange just before going on vacation perhaps wasn’t the best piece of planning, but things would have worked out had the mortgage company looked at all the paperwork in one go. Instead they opted to look at one document and have me deal with some issues, only to start looking at the next unrelated document when the previous one got resolved. I’m not surprised anymore that banks and financial institutions often have trouble to bring their cost down.

Even with these additional delays it would have been possible to get the key before going on vacation, had it not been for the notary I selected: Notariskantoor van Brummelen in Voorburg. I ‘choose’ them as part of a package deal with one of the mortgage advisors I talked to, and I’ve not been happy with the decision. If things are too busy to get my work fast-tracked, then please tell me so right away instead of telling me that it will be hard and then not be able to handle it at the last moment. After this incident I agreed that my father would get the keys while I was on vacation, and the date was set for that Wednesday. However, they had no problem rescheduling it to Friday without consulting anyone, and even then they managed not to have the money, claiming that the money lender could not transfer the money that quickly. An obviously bogus argument, as mortgage money always gets transferred in one day with a priority transfer. In the end I had to get the keys this Monday from the notary’s office. You’ll probably want to pick a different office if you have a choice.

But let’s not dwell on these minor setbacks. I now have the keys, so it’s time to fix up some things and then move in! Yesterday I already had a productive day clearing out some unwanted stuff with my brother. Next step is to get the painters in.

Posted by Hans de Graaff Sun, 01 Apr 2007 08:37:00 GMT


Asciify

Today I had to map free text to plausible filenames, with the caveat that the text could contain UTF-8 characters with accents. Even though it is possible to have filenames with these characters, I wanted to end up with ASCII-only filenames for easier handling. Also, the filenames will be exposed via URLs, and just having ASCII there takes away a log of headaches. But how to convert this?

I quickly found the apparently wonderful Text::Unidecode for Perl which seemed to do anything I wanted, but since we build our web services with Ruby on Rails I needed a Ruby solution. I hoped that someone would already have created a ruby version of Text::Unidecode, but that’s not the case (or I could not find it). I did find the Asciify gem, though. Although simpler in design and reach than Text::Unidecode, it does enough for my purposes and custom mappings can be created for it.

Asciify’s documentation is pretty much non-existing, but some reading of the source code revealed that this was how I could convert my text:

  Asciify.new(Asciify::Mapping.new(:default, '_')).convert('some text')

The default replacement character for Asciify is a question mark, which makes sense in general, but not in URLs, so I opted to use the underscore character instead for lack of a better candidate. Since I’ve included the gem as a plugin in the Rails project I’ve just changed the default mapping to include some characters rather than using my own mapping.

Posted by Hans de Graaff Tue, 27 Feb 2007 15:59:24 GMT


No more xemacs overlay

With all of the XEmacs packages up-to-date again in Gentoo CVS, I found less and less need to keep my original SVN overlay online. It used to located at moving-innovations.com/svn/xemacs, but no more. I took it offline today after cleaning out the remainder of the overlay and discovering that there wasn’t anything of interest there anymore. So, if you’ve been using it:it’s gone. Everything that was there is now in Gentoo CVS, except for the patches to move all XEmacs support and lisp files from /usr/lib to /usr/share. I hope to revisit that move some time in the future.

The only other thing that I planned for the repository is to create an ebuild for the XEmacs 21.5.x beta versions. However, that alone really doesn’t warrant an overlay, so I guess we’ll just package.mask that until it is fully ready.

Finally, this may be the right time to point to some documentation on XEmacs on Gentoo. It’s still a work-in-progress, but I hope to document both the development process and tools, and peculiarities relevant to XEmacs users on Gentoo. Please let me know if you have questions or would like to see something particular documented.

Posted by Hans de Graaff Sat, 24 Feb 2007 13:31:00 GMT


Stuffed squid

This weekend while getting groceries at the market I couldn't help but wander over to the fish stalls and just buy something and cook a nice dinner during the weekend. My eyes quickly came to rest on the squid which turned out to be fairly cheap as well as nice-looking. It wasn't before long that a nice portion found its way into my backpack.

That still left the question as to what to do with them. The wonderful Moro cookbook came to the rescue with a recipe for stuffed squid, Carlos style. I was a bit miffed to find no parsley the house on Sunday, but even without the parsley this proved to be a very nice dish. Certainly someting to be repeated, but with parsley this time!

Posted by Hans de Graaff Sun, 11 Feb 2007 20:10:00 GMT


A new house

Although not strictly a new year resolution, I decided at the end of last year that I should really go and buy a house. Either that, or do some serious redecorating in my current house, and getting a new house just sounded like a lot of fun. The whole house-search thing got triggered by an offer to buy from the housing corporation that I'm currently renting from. It's not that I don't like my current house, but it has gotten a bit too small (read: I've collected to much stuff) and I can raise a few other points I don't like about it anymore.

After starting the house hunt in earnest in January I very quickly found a nice house for a good price. Today I signed the contract. Now all that is left to do is to get a mortage and hopefully I'll be able to move in in a couple of weeks. Weeeh!

Talking about mortgages: what a fun topic. I would seem to be simple: you lend money to buy the house, you pay it back, and in the mean time you pay rent. Not in The Netherlands, where there is a whole bunch of legislation to make things more complicated, especially fiscally. So now I'm lending the money to buy the house, but I won't pay back the loan, because it should be easy to make more money by saving and investing that the interest on the loan minus the government tax discount will be. Weird.

Posted by Hans de Graaff Fri, 02 Feb 2007 21:59:00 GMT


A grey winter's day

Yesterday was a grey and drab cold winter day, but with not much wind and not much precipitation it actually was not that bad. Besides, what better remedy for the Christmas festivities than a nice brisk walk outside in near-freezing conditions. Given that we did not have to rely on public transport we took the opportunity to explore the aera in between the main rivers in the Netherlands, the Land van Maas en Waal. Due to the cold and the flat light there were not that many photo opportunities, the picture belongs really sums it up quite well.

Posted by Hans de Graaff Thu, 28 Dec 2006 14:13:33 GMT


New XEmacs packages available

Finally I’ve pushed almost all pending patches and fixes for XEmacs into portage. XEmacs 21.4.20-r1 fixes a recently uncovered crash when playing wavs using linux native audio on 64-bit systems by trying to cast an int into a size_t. Even though this stops xemacs from crashing after trying to play a sound, something still isn’t quite right as the sounds sound very funny. Therefore I have also added the esd USE flag so that esound can be used to play the sounds.

In addition to these XEmacs changes a whole set of packages have also been released. Most of these have been in pre-release for several months, so it’s good to see them finally released. All of these have been added as well. Most of the packages only have minor bug fixes, except for app-xemacs/calendar which got a lot of new functionality added.

Posted by Hans de Graaff Fri, 22 Dec 2006 10:07:10 GMT


The list of packages is growing

I suspected that this would happen in the end: getting sucked further into Gentoo and not being able to just tend to the XEmacs packages. But not to have it happen so soon, even before committing all the XEmacs bug fixes that I have pending. Not something I expected, but there you have it: gtk-gnutella 0.96.3 is now in portage. To keep my sanity I tell myself that this is only because I’ve been involved with upstream for this package for a long time.

That argument goes out the window, though, because I also took net-misc/drivel under my wing, committing version 2.0.3. I’m using it right now to write this blog post. And for good measure I also version bumped dev-ruby/rmagick because all the versions currently in portage got broken by the most recent ImageMagick upgrades. RMagick 1.14.1 is now in portage to remedy this, which is a good thing because we use RMagick quite a bit at work to create icons automatically.

Fortunately I also got to do some work on XEmacs. Version 21.4.19-r1 now installs a desktop icon and offers a few more USE flags to enable specific functionality,

Posted by Hans de Graaff Mon, 04 Dec 2006 07:25:53 GMT


XEmacs packages up-to-date

This weekend I’ve added the last few missing XEmacs packages to Gentoo, so that Gentoo now carries the complete set of lisp packages as they are supported upstream. Actually, there are still a few packages that need sorting out. app-xemacs/ess does not seem to be packaged anymore upstream, even though the package source is still in CVS so that warrants some investigation.

The app-xemacs/liece package will be removed and is currently in package.mask, because it is no longer developed and no longer carried upstream. The liece author suggests to use app-xemacs/riece instead. liece will be removed at the end of the year.

The sumo package (xemacs-packages-sumo) has not been updated yet. This package basically contains all of the other packages in a single archive, and for Gentoo it makes more sense to turn this into a meta-package. This still allows all lisp packages to be installed from a single Gentoo package, but it avoids carrying all lisp packages twice, and the inclusion of a whole set of blockers on all these packages (because the sumo package and the individual packages install the same files). Work is currently underway to create such a package,

Next stop: cleaning up the XEmacs editor ebuild and adding fixes for its many open bugs.

Posted by Hans de Graaff Sun, 26 Nov 2006 09:04:47 GMT