Mittwoch, 14. Mai 2008

Virtual Box und Hostinterface (Problem bei v1.6)

Hi,

war neulich beim Kunden und musste etwas kritisches machen, deshalb dachte ich: "Hey, nimm doch ne Virtual Box, dann kann nix schief gehen."
Also installierte ich diese und ein XP drauf, doch musste ich, weil NAT in dem Fall nicht ausreicht zusätzlich noch das Netzwerk als Hostinterface aufsetzen. Im Manual [1] steht, etwas undeutlich, drin, wie man das macht, nur dummerweise ging das nicht. Also mal Google befragt und auch ein paar detailiertere Beschreibungen gefunden unter anderem [2]. Doch trotz allem ging es nicht.
Ich habs dann gelassen, und gemeint, ich schau mir das zu Hause an, was ich eben tat. Eben ist über fast 2h und dabei war die Lösung einfach, wenn auch nicht auf der Hand.
Das Problem ist schlichtweg, dass die neue Version 1.6 ein Bug hat [3] und Hostinterface mit dem Am79C973 Adapter nicht funktioniert. Hab jetzt den Inteladapter ausgewählt, die Treiber [4] heruntergeladen, und siehe da: Es läuft ohne Probleme.
Morgen geht's ab zum Kunden, wo ich die angefangene Arbeit beenden kann.

Ärgerlich, aber andererseits hätte ich gleich ins VirtualBox Forum schauen können.

Freitag, 9. Mai 2008

Ruby on Rails

Hi,

I wanted to try the Ruby on Rails framework for quite a period now, but the problem was, that with the new version 2.0 the documentation quality got worse. Why? Well, there were nearly now docs and tutorial for the new version.
Fortunately I found some, finaly.
There is a Screencast from Akita here, which is nice and gives a quick overview on whats new, but without knowing the old version, this does not help much.
But here we got a fine and very simple tutorial, which starts from the beginning and with the new version.

Just wanted to tell everybody ;-)

cu

Mittwoch, 7. Mai 2008

Wilhelma Stuttgart

Hi,
neulich war ich in Stuttgart in der Wilhelma. Freunde von weiter her sind gekommen und ich wollte was mit denen machen, also dachte ich, da die ein kleines Kind haben, "geh ma in den Zoo nach Stuttgart."
Ich war sehr enttäuscht. Weniger von dem was es zu sehen gibt, aber von der Orga:
Zuerst zocken die einen an der Kasse ab, aber das ist man im Süden ja eh gewohnt. Für 3,6 Euro kann man sich einen Führer in der gewünschten Sprache kaufen. Wir dachten, "quatsch, die spar ma uns, steht ja eh alles angeschrieben."
War auch nicht verkehrt gedacht, dummerweise waren die Beschriftungen, mal von der übigkeit ganz abgesehen, nur in deutscher Sprache. Dumm, besonders wenn die Freunde nun mal kein Deutsch sprechen.
Ausserdem gibt es da nur selten einen Plan, wo alles ist. Ich habe nur 3 gesehen, es gibt sicher mehr, aber ich hatte erwartet es gibt mehr. Die Beschilderung ist ganz ok. Für deutsche verhältnise natürlich unter aller Sau, aber man findet schon alles was man sehen will, natürlich nur wenn man deutsch kann.

Fazit: Die Wilhelma ist eine Abzocke. Die wollen fast 12 Euro für den Eintritt und dann muss man sich noch für 3,6 Euro den Führer kaufen. Ich war echt sauer, denn ich komme recht gut herum und habe bischer, in änlich großen locations immer eine englische Erklärung und Beschilderung gefunden. Dabei könnten die auch nur auf spanisch, französich, polnisch und italienisch sein.

Was hindert die daran, die englischen Texte auszudrucken, denn da sind sie ja, da sie im Führer stehen.

naja, ich war jedenfalls enttäuscht und werde mit anderen Freunden auch nicht hingehen.

Hab jetzt noch ein anderen Besucherkommentar gefunden

Dienstag, 6. Mai 2008

Centering verticaly part 2

Hi,
pitty, but the last attempt did not work with IE7.
A quick hack is presented here. The body[id] syntax was dropped, as IE7 does understand and the css definitions are seperated, where one part is in the well known conditional comment, understood just by IE.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Verticaly and horizontaly centering</title>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
html {
overflow: hidden;
}
body {
text-align: center; /*horizontal center in IE*/
}
body[id] {
display: table;
}
#table {
position: absolute;
top: 50%;
left: 50%;
}
#table[id] {
position: static;
display: table-cell;
vertical-align: middle;
}
#cell {
text-align: left;
background: #9f9;
position: relative;
top: -50%;
left: -50%;
height: 300px;
width: 500px;
overflow: auto;
margin: 0 auto 0 auto;
padding: 0.5em;
}
#cell[id] {
position: static;
}
</style>

<!--[if IE]>
<style type="text/css">
#table {
position: absolute !important;
display: block !important;
}

#cell {
position: relative !important;
}

</style>
<![endif]-->

</head>
<body id="body">
<div id="table">
<div id="cell">
<p>The div box with the green background ist now centered verticaly and horizontaly in IE lte 7 and Firefox<br/>
The css definitions had to be made conditioned for IE. The old solution with syntax like <b>body[id]</b> does not work with IE7, as the trick was that IE does not understand this syntax, but IE7 does.<br/>
Probably there is a finer solution to this, but as I got no time now, I can't experiment with that stuff.<br/>
This attempt, however, works just fine.
<br/>
And if we put some more text in this div, we will have a scroll bar just for this one.<br/>
I also added some padding to this div, just to look a little better.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</div>
</body>
</html>