blog

Fahr doch mit der Bahn - eine teure Alternative

Bahn fahren und im speziellen der Autoreisezug wurde in einer der letzten Ausgaben des Rondo beworben. Und aus aktuellem Anlass habe ich mir die Kosten für die Strecke Wien - Feldkirch herausgesucht - ein Auto plus 2 Insassen.


Soweit die Preise pro Person - 121,40 both-way. Der Hammer ist aber die Preisabfrage vom Autozug - man muss zuerst seine KFZ- sowie Kreditkarten-Daten eingeben, erst dann sieht man einen Preis... (siehe Bild rechts). Diesen finde ich mit 75,90 € zwar günstig, aber trotzdem rechnet sich das ganze nicht wirklich.

Hier die Rechnung für Auto-selbst-Fahrer:
  • rund 1300 km Wien - Feldkirch - Wien
  • 7 Liter / 100km
  • aktueller Preis von rund 1 € / Liter
Das ergibt gerundet 100 Euro, also immer noch 2/3 weniger als das Bahn-Ticket...


Also mich wunderts ja nicht, dass die ÖBB so schlecht da steht, bei den Kosten und dem Service und einer Website, die ohne JavaScript nicht bedienbar ist.

Labels: , ,


Posted by Michael Baierl on Friday, January 02, 2009, 0 comments
Link: http://mbaierl.com/blog/2009/01/fahr-doch-mit-der-bahn-eine-teure.html

Weihnachtsessen

<umbrasong> Es ist nicht das Essen zwischen Weihnachten und Neujahr, das dick macht, sondern das Essen zwischen Neujahr und Weihnacht :>
(via german-bash.org)

Labels: , ,


Posted by Michael Baierl on Friday, January 02, 2009, 0 comments
Link: http://mbaierl.com/blog/2009/01/weihnachtsessen.html

Optimiert für IE6 und JavaScript

Das tut weh, wenn ich so etwas lese:
Besonders die Kombination aus dem Copyright 2008 und dem "Browser" IE6 sowie der Einsatz von JavaScript, welcher für diese Site absolut nicht notwendig ist, macht mich traurig.
Sehr traurig.

Belustigend finde ich hingegen, dass in der Anleitung erklärt wird wie man im Netscape JavaScript aktiviert... dieser Browser ist nämlich wirklich tot, IE6 hält sich ja leider trotz seines hohen Alters und zum Leidwesen von tausenden Webdesignern nach wie vor....

Labels: , ,


Posted by Michael Baierl on Thursday, December 25, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/optimiert-fr-ie6-und-javascript.html

Höhere Mathematik

Aus der Reihe "Mathematik für Fortgeschrittene" heute ein etwas komplexeres Beispiel:
Eine Schachtel enthält 8 Lollis und wird von Laurel und Hardy gemeinsam um 8 Euro gekauft. Laurel nimmt sich zwei Lollis und Hardy die restlichen. Wie viel muss Laurel bezahlen?
Die Antwort ist überraschend einfach - 4 Euro natürlich, weil sie sind ja schließlich auch zu zweit. Oder wird da etwa jemand für dumm verkauft?

Labels: ,


Posted by Michael Baierl on Monday, December 22, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/hhere-mathematik.html

Es geht um in Wien

Wien, 16. Dezember 2008. Ein Gebäude gegenüber dem Schwedenplatz. Es geht um (=es ist viel los). So viele Mitarbeiter wie heute finden sich sonst das ganze Jahr nicht im Haus ein. Vor den Liften findet ein regelrechter Kampf um einen Aufzugsplatz statt. Fast so wie bei den Sitzplätzen der ÖBB zur Weihnachtszeit, nur dass hier nicht einmal gegen einen Aufpreis eine Reservierung möglich ist. Die Lage wird durch den Ausfall eines Liftes noch dramatisch verschärft. Und in den einzelnen Stockwerken finden Versammlungen statt, die auf USA Flügen per Gesetz und Ansage verboten wären.

Tuscheln.
"Ist er schon da?"
"Ich hab was gehört!"

Worum es geht? Um DAS Ereignis des Jahres. Um IHN. Den eigentlichen Grund warum wir jedes Jahr zur Arbeit gehen und kurz vor Weihnachten auf den verdienten Urlaub verzichten.

Lachs.
Viel Lachs.
Sehr viel Lachs.

So viel Lachs dass der Einzelhandel stöhnt. Am Schwedenplatz trifft man lauter Leute mit ihrem Lachs unterm Arm, man grüßt sich, schließlich kennt man sich ja. Und weiß, welcher Tag heute ist. Der Tag, an dem ER geliefert wird. Aber ab morgen wird es wieder ruhiger werden, bis ziemlich genau zum 7. Jänner, viel Zeit zum Lachs essen, anschließend beginnt die Planung für das nächste Jahr. Man will ja schließlich vorbereitet sein, wenn im Oktober die Mail mit der Lachsbestellung eintrudelt....

(Bild 2 von flickr)

Labels: ,


Posted by Michael Baierl on Tuesday, December 16, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/es-geht-um-in-wien.html

It did not work out that way...

Dilbert.com

(source)

Labels: , ,


Posted by Michael Baierl on Monday, December 15, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/it-did-not-work-out.html

The worlds coolest data center

Until today I did not know that data centers can be that cool - but check out this article about the server location in Stockholm. Looks like directly out of a James Bond movie:
  • A nuclear bunker below Stockholm.
  • Submarine engines as backup power source.
  • Simulated daylight and greenhouses.
In my opinion the provider Bahnhof built one of the coolest data centers ever - let's see what Google builds up in Austria.

Original article - more pictures.

Labels: , ,


Posted by Michael Baierl on Tuesday, December 09, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/worlds-coolest-data-center.html

Can you find the bug?

Yesterdays bug within the MANIFEST.MF file made me remember another bug that took quite some time to fix... let's see if you can discover the bug in these three lines of code:
// domdoc is a DOM document
domdoc.doSomethingWithAttribute("href");
domdoc.doSomethingWithAttribute("scr");
domdoc.doSomethingWithAttribute("action");
Are you able to see the error?

Labels: , ,


Posted by Michael Baierl on Wednesday, December 03, 2008, 2 comments
Link: http://mbaierl.com/blog/2008/12/can-you-find-bug.html

"Could not find symbol" made me crazy today

My EAR package worked fine, until tonight during the deployment to another server infrastructure. How hard can a simple EAR update be? "Could not find symbol" somewhere next to a simple line initializing log4j. It complained about missing the Logger class.
A check in the EAR file revealed that the required jar files are all there. Still this error. But why?

Finally I figured out that the manifest file included all of the required libraries in the classpath but missed the "." to include the current directory as well, after adding it everything worked out:
Class-Path: log4j.jar lib.jar .
Took some time to perform a simple upgrade of an existing EAR file... because of such a simple error - so ensure your MANIFEST.MF file contains the dot!

Labels: , , ,


Posted by Michael Baierl on Tuesday, December 02, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/12/could-not-find-symbol-made-me-crazy.html

iDisk, WebDAV and hidden files

To have my data secured I run (almost) daily backups using a custom script to my NAS system. Over there, at the great, little Linux box, runs a script that does daily increments using rsnapshot. There is also another script that keeps a copy on an external WebDAV server up-to date.
Implementing this was not that simple - as the NAS itself does not support mounting WebDAV servers natively I had to use a PHP script, which required patching the PEAR WebDav Client (digest auth, block size, stat entries) but eventually I got it working at a reasonable speed (8k block size does not make sense for a HTTP based protocol!). The big benefits - my computers don't have to run to upload the data, the NAS is doing that work and it is running 24/7 anyway.

End of story, zero maintenance required.

Until I tried to switch from Bingodisk to Apple's iDisk.

For some reason the backup on the iDisk always included hidden files, despite the fact that they have not been changed and already existed on the disk. Some simple investigation has shown that the iDisk server simply did not return any file that started with a dot (.). But why?
Packet sniffing revealed that there are some differences between the PHP request and the one sent by OS X, but even after modifying the PHP code there were no hidden files included. Last difference - the mysterious X-Source-Id header - but adding that also had no impact. Eventually, after digging in the source code, I figured the change that is needed - as stated on top of the InitUserAgentHeaderValue function:
IMPORTANT: The user-agent header MUST start with the
product token "WebDAVFS" because there are WebDAV servers
that special case this client.
Clear, concise and exactly what I needed to do - as soon as I sent this header iDisk responded with a file listing including hidden files!
I still have no clue why iDisk makes this difference, but it is good to know how to be able to run full backups including hidden files over WebDAV!

Labels: , , ,


Posted by Michael Baierl on Wednesday, November 26, 2008, 0 comments
Link: http://mbaierl.com/blog/2008/11/idisk-webdav-and-hidden-files.html