Archive for the ‘Uncategorized’ Category

Snow Leopard’s “Disk Utility” can’t create encrypted image

Sunday, December 6th, 2009

Two months or so I ordered the Snow Leopard DVD for my Macbook Pro. Finally I had the time to perform the upgrade from Leopard. Before actually doing so, I tried to create a disk image of my current Leopard installation. So I booted the Snow Leopard DVD and ran “Disk Utility” from it. Because the target of that disk image was an external hard drive shared by my team, I wanted to create an encrypted image.

Regardless of whether I selected “128-Bit AES” or “256-Bit AES” as an encryption method, I immediately received the following error message on screen:

Unable to create "Macintosh HD.dmg" (Cannot allocate memory)

What is this trying to tell me? No space on hard drive? Impossible, since the external hard drive is a 2 TB empty drive. Moreover, “memory” usually refers to “main memory”, or “RAM.” So is Disk Utility actually trying to read the whole 200 GB hard drive into the RAM, then encrypting it, and then creating the disk image from it?! I can’t believe that anyone would be that stupid to design a disk imaging program like this…

I finally changed the image format to “Compressed”, and presto, it worked!

Anyway, why, oh why is it so hard to generate “user friendly” error messages? And why does this happen under Mac OS X of all operating systems, supposedly being the “user friendliest” OS in the universe?

This is not the first time I receive such useless error messages in OS X. Hey Apple, care to finally make your homework???

Isch nix versteh’n… (Miles & More)

Thursday, October 29th, 2009

Kürzlich war ich auf einer Geschäftsreise in Schweden. Die Flüge (insg. vier Teilstrecken) hatten wir über Lufthansa gebucht. Durchgeführt wurden sie aber teilweise durch die SAS bzw. Cimber Air.

Nun wollte ich mir diese Flüge nachträglich auf meinem Miles & More-Konto gutschreiben lassen und kontaktierte daher Lufthansa. Als “Antwort” auf meine Bitte um Prüfung, ob und wenn ja welche Flüge angerechnet werden könnten, erhielt ich ein Schreiben mit folgendem Inhalt:

Ihre Meilen erfassen wir immer unter der Flugnummer des Partners, der den Flug durchgeführt hat (Operating Carrier). Handelt es sich um einen Partner der Star Alliance, schreiben wir auch Statusmeilen gut. Nimmt die entsprechende Airline nicht an Miles & More teil, können keine Meilen berücksichtigt werden. Dies ist unabhängig davon, welche Flugnummer auf Ihrem Ticket vermerkt ist.

Nach diesem Schreiben war ich so schlau wie vorher — können nun Flüge angerechnet werden oder nicht? Wenn ja, wie viele?

(more…)

Cisco VPN install nightmare on Vista

Wednesday, July 1st, 2009

Here’s another Cisco VPN client nightmare for you:

The old 4.9.x.x Cisco VPN client does’t run under Vista anymore. So I downloaded the most current version our organization has available, 5.0.05.290. I started the installer and pretty quickly received an error message that simply said: “Internal Error 2738″.

I thought maybe the install file was corrupt, so I redownloaded it — same error.

Now I read the readme file (which I normally don’t do ;-)) It said you need a Microsoft hotfix in order to be able to install the VPN client. So I downloaded that one as well and retried the installation after rebooting the machine — same error message agin.

Damn!

So I googled for this problem and quickly came across this website — which indeed fixed the problem for me.

Thanks, Microsoft, for making such a lousy job of not registering said DLL. And thanks, Cisco, for not pointing your customers to this problem.

Gaaaawd, how I hate monopolies…

Odd runtime exception due to leap second… ;-)

Monday, March 30th, 2009

I just discovered a highly unusual issue that really made me laugh…

We have an application that generates event logfiles which contain, among other items, a processing time in ms. These logfiles are parsed by a different application.

On 2009-01-01 at 00:59:59 local time (UTC+1) this application generated an exception because it couldn’t properly parse the logfile. There was a negative processing time which should never occur. WTF?!

Considering the strange date and time and then thinking about it some fractions of a second (;-)) I immediately found the reason for this strange issue:

Exactly at that time a so-called “leap second” was inserted, so that 00:59:59 occurred “twice.” And since the second occurence was just between the first and second measure point, we had a negative duration of 912 ms (instead of 88 ms.) :-)

Now, is that a strange problem??? Can you beat that?! ;-)

Gallery2 not in Debian 5.0?!

Sunday, March 1st, 2009

When I upgraded to Debian 5.0 lately I noticed that there is no Gallery2 package anymore in Lenny. So I asked the Debian maintainer about this.

Here’s what he replied:

Gallery 2 is not available in Lenny due to large amount of differences between the previous version and 2.3-1 from unstable. The release team and I decided not to include Gallery 2 in stable due to this disruptive change late in the release process. The gallery2 package from sid can be installed via pinning.

WTF?! :-(

Encrypted TimeMachine backups on network share

Wednesday, July 9th, 2008

Mac OS normally doesn’t allow you to use network shares as targets for TimeMachine backups. This can be worked around, tho. :-)

First you need to tweak Mac OS to accept network shares by entering the following command in a Terminal session:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

That would already allow you to store your backups on a network share. But do you really want to trust your valuable data to a network share that can potentially be accessed by untrusted users, such as your favorite bastard admin from hell?! :)

Here’s when the following comes in:

You will create an encrypted sparse bundle and use it as a target for the backup.

(more…)

GPG with IDEA on the Mac

Sunday, July 6th, 2008

One of the first things I did when I got my new Mac was install Mozilla Thunderbird, the invaluable EnigMail extension, which is a very easy-to-use frontend to GNU Privacy Guard (GPG), and of course GPG itself.

All went very smoothly, and to check whether the installation was fine I tried to opened an encrypted message which I had received some days ago. Unfortunetly GPG couldn’t decrypt the message. A quick look at EnigMail’s console window told me that the message was encrypted using IDEA, and that the version of GPG I had installed was lacking support of that encryption algorithm.

(more…)

Happy Easter!

Saturday, April 7th, 2007

To all of my numerous :-) readers:

Happy Easter to you and your families.

Happy New Year!

Sunday, December 31st, 2006

So, this concludes a pretty silent year — at least with respect to my blogging activities. ;-)

Seriously, I wish you all and your families a Happy New Year™, and all the best for 2007. May all your wishes (at least the honorable ones ;-)) become true.

Best regards,

Ralf

Langen Foundation

Sunday, August 28th, 2005

We’re just back from a visit of the “Langen Foundation”, a museum located at the former rocket station in Neuss.

It was a very impressive experience. I must admit I’m usually not very interested in arts, but I’ve always loved the works of Roy Lichtenstein and Andy Warhol. So when I watched a report on WDR TV yesterday about the exposition I thought it could be very interesting to go there. We’re currently visiting Mona’s (my girlfriend) parents in Grevenbroich, which is only a couple of kilometers away from Neuss, so we took the occasion and made a trip to the museum.

Unfortunately, it was not allowed to take photos inside the exhibition, but I took a snapshot from outside the building. I bet you know the sculpture or at least the motive, created by Robert Indiana:

LOVE sculpture

I really enjoyed the visit, and I recommend it to you should you have the chance to get there.