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
 

Compiling qt-copy inside a VMWare virtual machine is to slow

1h 21m 49s

compared to compiling it directly on my Gentoo box:

38m 18s

So I decided to switch from the VM directly to my Gentoo box with a kde-devel user. I used in both cases

./kdesvn-build qt-copy

as described in the document  “Getting Started/Build/kdesvn-build” with a clean kde-src directory.

 

I have a new toy – a Nokia N900 cell phone.  It is a nice gadget. But I miss a easy way to synchronize my contacts, calendars, tasks etc. with KDE’s Kontact.

N900 <-> USB/WLAN <-> Laptop/Kontact

Yesterday I ask for a solution to synchronize (at freenode#kontact). The answers are more or less: Setting up a Groupware-Solution (e.g. Horde) – sync the phone with this server – sync Kontact with the server.

But I think there must be easier solution for “normal” users without setting up such a server. And now I have a new long-term pet project. :)

I found a few tools that I could possibly use (The list is not exhaustive.):

But at first I have to bootstrap my C++, Qt and KDE-programming knowledge. My plan is to help kde-pim a little bit to become familiar with the whole environment. At the moment I’m setting up a KDE development environment. It runs in a VM. If I have more experience, I will run it directly on my gentoo os.

So, qt-copy is compiling… ;)

Btw. I finished the go-lang tutorial. I like the language. But at the moment I have no project to use it.

 

Yesterday I decided to learn a new programming language. My choice was the programming language “go“. The reason is the announcement that this language should be included in the gcc. So I will report the next time a little bit about my experiences.

The installation was completed thanks to a good description in 15 minutes. One problem I had when compiling. You have the locale set to “en_US” during the compilation:

$ cd $GOROOT/src
$ LANG=en_US ./all.bash

5 minutes later, the “hello world” ran.

In the directory $GOROOT/misc/kate,  a file go.xml can be found for the syntax highlighting in kate. This file must be copied into the directory ~/.kde4/share/apps/katepart/syntax/.

 

… and donate. I did it. :)