Ferien… Schwimmen. Joggen. Lesen. Schlafen. Essen. Freunde treffen. Compi ist auch dabei.
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 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
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.
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.):
- SyncEvolution (N900/Maemo side)
- the build-in synchronization – ? (N900)
- Akonadi SyncML Agent (Kontact side)
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.
-
Articles
- May 2013
- November 2012
- September 2012
- July 2012
- May 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- May 2011
- April 2011
- February 2011
- January 2011
- December 2010
- November 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
-
Meta













