Bug relief

Apr 26, 2011

Just in case you have also been bitten by KDE bug 261323 (chances are good if you are running KDE on a multi-core system with an nVidia graphics card and compositing enabled) and are using Kubuntu (Maverick): You can get updated KDE 4.6.2 packages, which include a fix for this issue by KDE developer Martin Gräßlin, from my PPA:

https://launchpad.net/~thilo.ginkel/+archive/kde-4.6.x

Indianische Entwicklerweisheit

Apr 18, 2011

Erst wenn der letzte Entwickler geflohen, der letzte Kunde abgesprungen und das letzte Produktivsystem heruntergefahren wurde, werdet ihr feststellen, dass man schlechten Code nur schwer warten kann.

Bitte im klingonischen Original!

Apr 17, 2011

Auf heise Developer scheint gerade - passend zu den Temperaturen der letzten Wochen - das Sommerloch Einzug zu halten. Zumindest lässt sich dort ein Autor über die (Nicht-)Nutzung der englischen Sprache für gängige Programmiersprachen und Programmtexte aus. Nun mag sich der ein oder andere möglicherweise an Word Basic erinnern oder die Macrosprache von Microsoft Excel, die es tatsächlich in einer lokalisierten Version - also z.B. auf deutsch - gab. Ein Graus. Nicht nur, dass man von entsprechenden Listings schneller Augenkrebs bekommt als der Ottonormalentwickler “Strahlungsdosis” in die Tastatur hämmern kann, sondern vor allem verbietet dies auch die Tatsache, dass Software über ihren Lebenszyklus auch möglicherweise von Entwicklern aus einem anderen Sprachraum betreut wird. So hatte ich auch schon das Vergnügen, mir bulgarische Kommentare im Quelltext zusammenreimen zu dürfen. Kein Spaß. Wenigstens können die für mich nicht Out-of-Sync mit dem Quellcode geraten - “Bahnhof” bleibt “Bahnhof”.

Und so möchte ich an den gesunden Menschenverstand appellieren: Der natürliche Sprachraum des Softwareentwicklers bzw. seiner Kreationen sollte die englische Sprache sein - in Ausnahmefällen - wie bei den Werken von Shakespeare - aber auch gerne das klingonische Original. ;-)

Secure Hard Disk Erasure

Mar 15, 2011

Before setting up dm-crypt, one is supposed to overwrite the hard disk with random data. As it turns out, this is harder to do than initially expected. Using /dev/random or /dev/urandom as a data source to overwrite the disk will take ages (multiple days) for a hard disk drive of typical size. The same applies to using the wipe command.

Fortunately, there is an alternative available by means of the badblocks command:

badblocks -c 10240 -s -w -v -t random /dev/<device>

This takes approximately four hours per terabyte of data (YMMV).

Source: http://chakra-project.org/wiki/index.php/LUKS_for_dm-crypt

Minor Asterisk for FRITZ!Box Update

Feb 6, 2011

I am a little short on time, so I will keep this post short.

In brief: If you had trouble compiling Asterisk against the current Freetz development branch or an Asterisk version built against an older version was regularly crashing when establishing a new connection, this update is for you.

The updated version is available for download at http://github.com/ginkel/asterisk-freetz-build/tarball/v0.5. As usual, code contributions are welcome. The source code is available on GitHub.

Confused? ;-) This post tells you what this is all about.

Upgrading Cassandra 0.6.x to 0.7.0

Jan 14, 2011

Just a brief recap of what manual steps are needed to upgrade Cassandra from 0.6.x to 0.7.0 using Debian packages:

  • Convert /etc/cassandra/storage-config.xml to /etc/cassandra/cassandra.yaml using the config-converter script. This currently does not seem to be included in the 0.7.0 .debs, so just grab a binary distribution to get hold of the script.

  • chown -R cassandra.cassandra /var/lib/cassandra/

  • Start Cassandra (typically using /etc/init.d/cassandra start)

  • Fire up jconsole, connect to localhost:8080 (or whatever JMX port you chose instead) and execute org.apache.cassandra.db -> StorageService -> Operations -> loadSchemaFromYAML

Enjoy!

We lost contact... oder: Kundenservice nach rnv-Art

Dec 30, 2010

Wer mit dem ÖPNV fahren möchte, löst vor Fahrtantritt typischerweise ein Ticket. Nun komme ich ja leider nicht in den Genuss des rnv-Handyticketing, da ich keine veraltete Handytechnologie nutze. Ergo müssen die Tickets aus dem Automaten kommen und diese wollen typischerweise eine Gegenleistung für den Ausdruck des wenige cm² großen Schnipsels Papier, der sich Fahrschein schimpft. Nun bin ich kein Fan von Münzgeld und die Akzeptanz von Banknoten ist an den Heidelberger Automaten eher Glückssache. Also dachte ich mir, wieso nicht mit Geldkarte zahlen. Für den Teil meiner Leserschaft, dem das gar nichts sagt: Das ist eine Art Electronic Wallet, das in die Smartcard der Maestro-Karten integriert ist. Wie sich jedoch herausstellen sollte, ist es ungemein schwierig, mit Geldkarte an den Heidelberger rnv-Automaten zu zahlen.

On Solving Problems That Matter

Dec 28, 2010

Engineers are usually pretty good problem solvers and so are software developers (which I also consider to be part of the engineering guild). But if that is the case, why is there so much crappy mediocre software around where people have apparently failed miserably at solving a certain problem?

Over the last few years I have come up with a theory for this, which I would like to elaborate on during the rest of this article.

Hash It! 1.3.0: Master Key Caching, Private Key Support and Improved Usability

Dec 25, 2010

Many people seem to get a productivity boost during the holiday season - open source projects all over the world are pushing out new releases these days. Hash It! is not an exception, so I am proud to announce the availability of Hash It! 1.3.0 for Android, a major feature release.

Most new features introduced with this release improve Hash It!’s usability, such as (optionally) caching the entered master key for a configurable amount of time, so that you don’t have to type it again and again as you hash passwords for multiple web sites. Another usability improvement causes Hash It! to automatically return to your web browser once you have hashed the password without the need to manually hit the back button. Of course, this is also configurable.

While previous Hash It! releases covered the functionality of the original Password Hasher Firefox extension, the Password Hasher Plus extension for Google Chrome introduced a new feature to improve the password strength using a private key. Hash It! 1.3.0 puts in support for this feature and should now again be fully compatible with Password Hasher Plus.

Last, but not least a few bugs fell by the wayside. Sorry, guys… ;-)

Hash It! 1.3.0 is available via the Android Market. Details are also available at: http://android.ginkel.com/

Merry Christmas & have fun using Hash It!, your friendly password memorization brain extension! ;-)

Kurztest: EIZO FlexScan S2243WFS-BK

Dec 9, 2010

Es begab sich erst kürzlich, dass mir mal wieder bewusst wurde, wie beengt der Platz auf meinem aktuellen Monitor doch ist. Anfang des Jahres hatte ich bereits zwei Anläufe unternommen, dies zu ändern, die aber nicht von dauerhaftem Erfolg gekrönt waren.

Nun hatte es mir nach Beratung mit einem Kollegen der EIZO FlexScan S2243WFS-BK angetan. Der Monitor bietet auf einer Diagonale von 22” die Auflösung eines 24”-Monitors, d.h., 1920x1200 Pixel. Dabei kommt ein S-PVA-Panel zum Einsatz, dessen Technologie ich bereits von meinem aktuellen Samsung SyncMaster 171P zu schätzen weiß.

Vor einer Woche bestellt, heute geliefert, fristete der EIZO-Monitor allerdings nur ein recht kurzes Dasein auf meinem Schreibtisch.