Today, I unboxed my new Amazon Kindle (Wi-Fi). As it turned out, getting it to talk to my wireless router (an AVM FRITZ!Box 7270) was a little more difficult than expected. When connecting, all I got was a rather generic error message “Unable to connect to Wi-Fi network” despite correct settings and credentials. As it turned out later after fiddling around with my router settings, the Kindle does not like special characters in the SSID (in my case that was probably a slash or colon character – yes, I was using a URL as my SSID
). After stripping them, everything started working flawlessly.
Kindle SSID Trouble
Friday, April 29th, 2011
Bug relief
Tuesday, April 26th, 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:
Indianische Entwicklerweisheit
Monday, April 18th, 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!
Sunday, April 17th, 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
Tuesday, March 15th, 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
Sunday, February 6th, 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
Friday, January 14th, 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.xmlto/etc/cassandra/cassandra.yamlusing 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 tolocalhost: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
Thursday, December 30th, 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. Read the rest of this entry »
On Solving Problems That Matter
Tuesday, December 28th, 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. Read the rest of this entry »
Hash It! 1.3.0: Master Key Caching, Private Key Support and Improved Usability
Saturday, December 25th, 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!