Archive for the 'unfiled' Category

monodevelop on debian etch (stable)

This took a lot of searching etc. I tried compiling by hand – did not work. Tried installing separate .deb from ‘testing’ – did not work.
Finally tried the backport from debian.meebey.net – that worked: monodevelop packages for debian etch .

Don’t forget to apt-get upgrade your existing mono packages, if any. happy coding :)

postmodern programming contest

I’m at the postmodern programming conference in London today (pomopro) . Part of the day consists of a scrapheap challlenge – you might know the program scrapheap challenge from Discovery Channel.

Part of the challenge is we post our results on a blog… so here goes…
Emmanual Gaillot and yours truly paired up to produce something that plots a graph of the sloppiness of a progam in a subversion repository over time. We had ninety minutes to do so.

Emmanuel learnt svn, pmd and cpd (copy paste detection). I learnt grep -c..
here is the code:

#!/usr/bin/ruby
require 'fileutils'
revision = 54

#puts system('svn co http://stclass.tigris.org/svn/stclass/trunk/src_4x/src/java/org/stclass/runtime --username guest --password "" -r' + revision.to_s)

FileUtils.cd 'runtime'

outputs = []

(20..59).each do | revision |
	`svn up -r #{revision.to_s}`
	result = `java net.sourceforge.pmd.cpd.CPD --minimum-tokens 10 --files . |  grep -c "^Found a" `
	outputs << revision.to_s + "t" + result.to_s
end

puts outputs.join("")

The Rails bandwagon keeps moving

It seems the number of weblog engines written in Ruby on Rails is slowly but steadily increasing, seeing choosing a rails blogging engine. For programmers who read german, there is a free book on beginning with rails .

Travelling e-mail with Cached IMAP

I’m working on a user story form myself:

As a travelling consultant, I would like to have a public or
semi-public agenda on the web, so people around me can see where I am’

As a consequence, i’m looking into web calendaring software. I found a few most notably webcalendar and egroupware) that can synchronize with desktop calendaring and mail software (e.g. outlook, kontact, evolution). Therefore, I’m looking into kontact again. Kontact is kde’s personal information manager, with the mail application kmail and agenda softaware korganizer as main attractors.

Looking at kmail again turns out to be a pleasant surprise. I switched from kmail to thunderbird as my main e-mail client over half a year ago. I switched, so I could assist people who were switching to thunderbird on other platforms (unlike kmail that runs only on linux, thunderbird runs on all major operating systems). I like thunderbird for its easy adaptive junk-mail filtering system and the simple and powerful ways it has for searching and sorting e-mail.

The one thing I do not particularly like about thunderbird, is the way it handles the IMAP protocol for downloading mail. When I use IMAP, it does not automatically refresh all my mail folders, only my inbox folder. I have over 20 folders outside my inbox, for instance separate folders for some organizations I work for. I have missed e-mail sent to me by colleagues, because I did not see there was new mail in their folder.
I have thought about removing all folders, except the one for mailing lists, and just working with an inbox. That would be simple, except for the spam I’m still getting – all the filtered folders are virtually spam-free.

Anyway, kmail has this new feature called cached IMAP. Googling for it, I found this term mentioned only on pages about kmail, so I assume this is experimental. What it does is it combines the best of IMAP (all mail stored on server, so accessible anywhere, e.g. from my laptop(s), deskttop and webmail) and POP (mail stored on the client, so it e.g. travels on thetrain).

So far, I’m happy with it. It seems somewhat slow at times, as the server side
seems to have no support for caching and synchronizing differences. It is stable, unlike an earlier (uncached) implementation of IMAP in kmail, which was another reason I switched to thunderbird.
I’m going to try it out for a while, and let you know how it goes. Have to go now, my train has arrived at the station ;)




Switch to our mobile site