Habe gestern Abend “The Clean Coder” von Robert C. Martin (Uncle Bob) fertig gelesen. Ich wäre so froh gewesen, wenn ich dieses Buch als Berufseinsteiger gelesen hätte. Es hätte mich so manche Fettnäpfchen vermeiden lassen.

Spannend zu lesen war seine Meinung über den “Flow”. Dieser Zustand beim Programmieren, oder Arbeiten allgemein, wo man die Zeit vergisst und einem schier alles gelingt. Uncle Bob findet diesen Zustand eher hinderlich, weil man den Blick für das Grosse verliert. Ich denke es hängt ein wenig vom Arbeitsstil ab. Ich habe immer zu Beginn mein Notizbuch vor mir liegen, wo ich den grossen Kontext aufzeichne. Manchmal komme ich dann schon in Flow während ich beim dem Design bin – also einem relativ hohen Abstraktionsniveau. Trotzdem hat mich das Buch etwas kritischer gegenüber dem Flow werden lassen.

Einen völlig anderen Blickwinkel auf den Flow hat z.B.  Joel Spolsky (bekannt von dem Blog “Joel on Software“).  Er erzählt in einem Interview, wie wichtig er den Flow findet und das er die Büros sogar so gestaltet, das man sich richtig gut in die Arbeit vertiefen kann.

Es gibt aber in dem Buch noch sehr viele andere Perlen und Denkanstösse zu finden. Lesen!

 

 

In early September I was walking. From the village of “Bauen“ I wanted to run up the mountain ”Oberbauenstock“. But I started too late. So I had to turn back on the Fulberg.

Bauen

Continue reading »

 

sunset

 

 

I’ve just updated NetBeans. The following dialog appeared:

License Agreement Dialog

How many people read those 85 263 lines of text carefully?

 

Ferien… Schwimmen. Joggen. Lesen. Schlafen. Essen. Freunde treffen. Compi ist auch dabei.

Sonnenuntergang über Dalmatien

Continue reading »

 

I’m using the amazon bookstore again. The bookstore has no real rivals and I like and need books. In the last few months I used:

  • books.ch
  • exlibris.ch
  • buch.de
  • buch.ch
  • buecher.de
  • buchhaus.ch

But I still don’t use the Amazon Web Services…

 

Okay, it is only a version bump. But the stringtemplate 3.2.1 ebuild is my first contribution to gentoo. The guys on IRC chanel #gentoo-java  were very nice and helpful. For antlr 3.3 I’ve built the script already. Unfortunately jython not work correctly with antlr 3.3.

 

I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting

 

I’m using KDE every day. I like Konqueror, Kate, KMail, … so I decided to  join the game.

 

To enable more informations about “java.io.NotSerializableException” just add the “-Dsun.io.serialization.extendedDebugInfo=true” VM argument to your run configuration.

Example: java -Dsun.io.serialization.extendedDebugInfo=true -jar your.jar

Without extendedDebugInfo:

Exception in thread "main" java.io.NotSerializableException: net.nautsch.addressbook.Country
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at net.nautsch.addressbook.App.main(App.java:33)

and with:

Exception in thread "main" java.io.NotSerializableException: net.nautsch.addressbook.Country
- field (class "net.nautsch.addressbook.Address", name: "country", type: "class net.nautsch.addressbook.Country")
- object (class "net.nautsch.addressbook.Address", net.nautsch.addressbook.Address@13caecd)
- field (class "net.nautsch.addressbook.Person", name: "address", type: "class net.nautsch.addressbook.Address")
- root object (class "net.nautsch.addressbook.Person", net.nautsch.addressbook.Person@158b649)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at net.nautsch.addressbook.App.main(App.java:33)

 

If  you change the bashcomp at gentoo, e.g.:

eselect bashcomp enable 47

don’t forget to make:

source /etc/profile.d/bash-completion.sh

									
 

I closed my Paypal account.

 

Wikileaks is too loud and too flashy. But censorship – no. I have canceled my Amazon account:

 

Addendum 2: France – Bretange – one week trip October 2010

Mont Saint-Michel:

Continue reading »

 

Since yesterday, I have a Twitter account.  I still have no idea how much I’m going to use it. We’ll see.

 

For a while it was quiet here on my blog.

Addendum 1: Hiking near Braunwald on 2010-09-03.

I started in Braunwald.

Continue reading »

 

:)

I hope I did not land on the black list.

Tagged with:
 

Two weeks ago we were in the Czech Republic.

Prague Castle

Continue reading »

 

 

If the mouse and the keyboard are not working anymore after upgrading the xorg-server, you have probably forgot to rebuild the xorg-drivers. On a gentoo box find the drivers with:

qlist -I xorg-drivers

Emerge the the drivers on the list.

e.g.:

emerge -v1 x11-drivers/xf86-input-evdev x11-drivers/nvidia-drivers