Archive for September, 2007

java: enums and switch

Friday, September 28th, 2007

In the wiki2wikiproject I am currently working on is a java-Enum called Wikitype:

public enum WikiType {
twiki,jspwiki
}

We all now the nice an sweet construct named switch..case. One would suggest it was quite easy to use this enum in a switch statement:

switch (mode) {
case WikiType.jspwiki:
return new JSPWikiSyntax();
case WikiType.twiki:
return new TWikiSyntax();
}

Seems right, but Java has kind …

art gallery

Monday, September 3rd, 2007

Since my first gallery becomes a bit crowded with pictures from parties and other stuff, I’ve put up a new gallery. The new one is dedicated to present the more artistic pictures I took.

Have fun!

picasa and eos 400d raws

Sunday, September 2nd, 2007

Picasa is quite a nice tool. Even though it works in linux only with an ugly wine-workaround it delivers quite a nice picture experience. However, there is quite an annoying drawback: it can’t handle the raw image files of my eos 400d(Digital Rebel XTi). The CR2 raw files are split in four in …