Archive for December 8th, 2006

Indianerstamm kauft Rockercafés

HRC by Neil T on FlickrSkurril, skurril: Wie ich heute morgen im Internet lese, hat ein Indianerstamm aus Florida für fast eine Milliarde Dollar die britische Restaurantkette Hard Rock Cafe gekauft.

Der Indianerstamm hatte bereits zuvor zwei Casinos in den USA betrieben, die die Marke “Hard Rock Cafe” führten. Zum Hintergrund: Das Betreiben von kommerziellen Casinos ist in den meisten Amerikanischen Bundesstaaten illegal. Nicht aber für Indianer auf dem Land, das ihrem Stamm gehört (auch in Staaten, wo es sonst verboten ist, Oregon und Kalifornien, zum Beispiel). Deshalb ist das kommerzielle Glücksspiel für einige Indianerstämme eine lukrative Einnahmequelle. (Ein paar mehr Infos hat der Wikipedia-Artikel zum Glücksspiel in den USA).

Die neuen Eigentümer des Ladens scheinen übrigens bunte Vögel zu sein: Ein anderes Blog drückt sich mit den Worten aus:

Ersten Berichten zufolge waren Mitglieder von Kiss anwesend, aber wie sich herausstellte, waren das nur die neuen Eigentümer.

(via tagesschau)

Fun with universal binaries

Yesterday I had to debug a Mac OSX program and therefore I had to learn about how Mac Universal Binaries work.

Universal Binaries contain (most of the time) PowerPC code and Intel x86 code as well. While they could easily also feature code for other architectures, like your toaster or microwave, it usually looks somewhat like this: [Header|PowerPC|Intel]. The operating system decides which code it needs and executes the part of the file suitable for its architecture.

Now in order to see what kind of binary information is “sandwiched” in the file, there is a header, very nicely described in the Mac OS X ABI Mach-O File Format Reference.

It starts off with a “magical number”, that funnily reads 0xCAFEBABE in hexadecimal. — Cafe babe? Yup.

Cafebabe

Looks like the programmers had some fun coming up with a readable magic number. :)

For a more in-depth explanation of how universal binaries look like, I recommend this blog post.

(thanks to the t-shirt model ;) )

Reusing the Firefox Summit Lanyard

At last month’s Firefox Summit, everybody got a nice name tag on a lanyard to carry around their neck. That was extremely useful, especially since people frequently put their real name as well as their IRC nick on there.

This is how it looked like (involuntary model: Mike Shaver):

Mike Shaver at the Firefox Summit

After the summit, though, the name tags and lanyards went into everybody’s bottom drawer. Well, everybody’s but mine :)

I removed the name tag from the lanyard and connected a key ring to it, turning it into the coolest keychain ever:

Mozilla Lanyard