Taken in Portugal


In the last 2 weeks I geocaching. So far I found (cacher-lingo: logged) 10 caches. Yesterday I did my first Nightcache. Those caches can only be found at night, in this case because light reflecting discs are used that cannot be seen at day (or almost: they are white on white background 10 meters away from a road. At night it was pretty easy to see them by using a torch).

Geocaching is fun! :)
Taken in Portugal

Eigen 2.0 beta 1 released

Benoît Jacob asked me to publish this great news for him as his blog disappeared from this planet...:

We just released the beta version of Eigen 2.0. It has matured a lot over recent weeks as quite a number of apps have been ported to it: Avogadro, KOffice (mainly Krita and a little KSpread), KGLLib, SolidKreator, KGLEngine. We plan to release 2.0 later this fall.

There is now a quite decent Tutorial which is a good starting point if you are interested in Eigen.

Besides polishing for the upcoming 2.0 release, we are already making big plans for the future. Version 2.1 will have a complete Sparse module, which will be very useful for Krita and Step. Gael had been doing the ground work for this module, and recently Daniel Gomez joined us and contributed several improvements.

We still are very few developers -- Daniel is basically the 3rd one, with Gael and me, although a few guys have been helping occasionnally in the past. We definitely can use more help (hint, hint). For that reason we try to polish the documentation a lot, and we can mentor any prospective contributor. Here is a TODO with many available jobs, all you need is C++ and some math background.
Taken in Portugal

[Lazyweb] Using TrueCrypt for Linux and Windows?


This is my situation:

I have data on my Linux machine at home (several thousand files, about 10 gigabyte). I am using that PC several hours a day. The filesystem is Ext3.
Quite regularly I need some of my data at work which is a Windows-only land... I am thinking about buying a 2.5" HDD (USB). For various reasons I have to encrypt my data.

Currently the best solutions seems to be TrueCrypt as it is OpenSource and works on Linux and Windows. I used it on Windows, but never on Linux.

One problem is that I need to be able to read the data on our Windows XP and 2000 machines and that means that I'd need to make the hard disk use FAT which will probably cause problems (I have tons of files with umlauts and I cannot even count the occasions where an umlaut made huge problems when I converted FAT <--> EXT*).

So my question to you, dear Lazyweb, is if a 2.5" USB HDD with TrueCrypt is the best way to go. I'd use rsync to sync between my computer and the USB HDD.
I also thought about an U3 stick but that doesn't work on Linux...

Taken in Portugal

Icons for elements in Kalzium: Contextinformation


I just added a feature (local git tree for now) to Kalzium: When you are in the iconic mode (that means where instead of chemical information you see SVG-icons like in the next screenshot) you see information about the icon.
Image Hosted by ImageShack.us

For example to some of us it might not be clear why Lithium is represented by a battery or Sulfur by a match. This information is now in the extended legend-widget:

Image Hosted by ImageShack.us

For one, this is just a demo-text. The information is there but needs to be written in good and easy-to-understand english. Anyone?
Also, I am not sure how to present the information... Perhaps someone with taste and a sense for good GUI design could help me here a bit?
Taken in Portugal

Anybody to compile a Qt app on Windows for me?


I need a really small Qt4 application on Windows XP Professional. That catch is that it has to be self-contained as on the target PCs there is no Qt4 installed. The whole application is 10 lines of code plus one .ui file.

I tried to compile Qt4 statically but gave up after two hours. Vista seems to hate me and I hate Vista, that is for sure.

Anyone? I'd send you the files per email. If you are willing to help me out just send a mail to cniehaus at kde,org.

[Update]: Thanks for all your replies! Patrick Spendrin was the first and already provided me a working .exe file.
Taken in Portugal

OpenStreetMap party in Oldenburg (North Germany)

Hallo, ich werde am 5. / 6. July 2008 eine OSM-Party in Oldenburg veranstalten. Wer Lust hat, daran teilzunehmen, möge sich hier eintragen und/oder sich bei mir melden.


10 GPS-Geräte werden von der Geo-Factory bereitgestellt.


Hello, on the 5 and/or 6 of July 2008 an OSM-Party will be held in Oldenburg, Germany. If you would like to attend please add yourself to the Wikipage and contact me directly.


10 GPS-devices will be provided by the Geo-Factory.
Taken in Portugal

Folding at Home, KDE-Team

A couple of years ago I joined Folding At Home. There is a KDE-team for which I folded in 2002. We are getting old, right? :-)

Now that I have a fast computer again I restared using F@H in the background. It is only using one of my two cores, so I can run it all the time.

Well, perhaps you are also interested in helping this biochemical and non-profit project? The teamnumber is 461.
Taken in Portugal

PyQt4: 500 lines of code later

Yesterday I blogged that I decided to use PyQt4 in my class. A few hundred lines of code later I start to like Python. It is quite a nice language so far. The indendation thing still drives me mad from time to time (there seems to be no sane editor for python that autoindents my code... Usually I am using VIM, but it is not correctly indenting my files for some reasons. Need to google a bit more for Python-specific vim scripts/settings, I guess.

But I have one issue I cannot resolve (in a nice way). I am loading data from a CSV file. One data set is just True/False, in the file represented by "1" and "0". The only way to make this work is this code:

liquid = bool(int(row[6]))

Without the casting from string to int the casting to bool is not working. In other words, I cannot directly cast from string to bool. I guess there is a more pythonic way, if you know it please tell me :-)