Merry Christmas And A Happy New Year

Merry Christmas and a Happy New Year.
The last hours of working this year.
„In former times even the future was better.“
(Carl Valentin)


Der feine Unterschied

Zwei Meldungen in den Nachrichten
…Mugabe lässt foltern…
…als Präsident Bush harte Verhörmethoden genehmigte…


Fun With Lotus Domino ‚DOCTYPE‘ In Forms

I had problems running a stylesheet on a Domino form.
After hours of investigation, I suddenly noticed the DOCTYPE definition of the rendered Domino form.
<!DOCTYPE HTML PUBLIC „-//W3C//DTD HTML 4.01 Transitional//EN“>
instead of
<!DOCTYPE HTML PUBLIC „-//W3C//DTD HTML 4.01 Transitional//EN“ „http://www.w3.org/TR/html4/loose.dtd“>
If you want to have a complete Doctype definition you have to set the notes.ini variable DominoCompleteDoctype to a value of 1


Web Clue

A major time sink is playing with web clue.


Amazon startet Online-Musikshop mit DRM-freien MP3-Dateien in den USA…so so

Naja. Zumindest scheint sich deren Shop nicht so gründlich an die exakten Landesgrenzen zu halten.

amazonmp3downloader.png

Also bei mir funktioniert es einwandfrei. Eine ordentliche Alternative zum iTMS.

Den Amazon MP3 Downloader benötigt man übrigens nur für den Download kompletter Alben. Einzelne Songs kann man direkt über http download herunterladen.

thanks.png

Das Abum ist uralt, aber es fehlte mir noch.


Butterfly XML Editor For Mac OS X

I’ve build an app file for the Butterfly XML Editor on Mac OS X. So if you don’t like to run Java apps trough a shell script like me here it is. Simply drop it in the butterfly folder.


Don’t Use Package Names For Java Libraries In Lotus Notes

I’m working on a webservice project in Lotus Notes. For several reasons the whole thing is written in Java (Interfaces, Eclipse instead of Designer „IDE“…). As the number of services increased I decided to use more and smaller classes (util- and base classes) for better maintenance. I took the util- and base classes in Java libraries in the Lotus Notes database. My project stopped compiling successfull in the database. The compiler wasn’t able to find the util- and base classes in the database. The problem was my naming convention for Notes Libraries. I always use a package like name eg. „com.nkomm.java.ws.util“. It seems that Notes is not able to handle this. After renaming the library to „javautil“ everything worked as expected.
BTW. Making webservices in Notes is a mess. The generated wsdl is not WS-I valid and you have to start to edit the wsdl manually. Please use something like SOAPui to test your wsdl files and us „doc/literal (wrapped)“ for encoding.
Somebody out there who knows where the wsdl file is stored in the database? (maybe I’m going to write a little tool for fixing this problem)


Kindermund tut Wahrheit kund… (Teil 327)

‚Jakob, wie schmeckt denn die Erdbeermarmelade?‘
‚Nach Erdbeer.‘


Note To Myself: How To Run A Script From The MySQL Prompt

mysql>source scriptfile.sql


We Love Notes But….Fun With @Prompt([ChooseDatabase])

A colleguage asked for a „Open Database“ dialog. „Use @Prompt([ChooseDatabase])“ was my answer.
A day later the colleguage asked „How do I catch the Cancel option?“
Hm. The return value of the dialog is an array with three elements. But if you hit Cancel the return value is… dada…
1
That’s obvious, isn’t it? If you cancel a dialog the return value is 1.