published over 3 years ago
(27.01.2006 16:17)
… wasn’t too hard, thanks to the rake migrate command and typo’s nice upgrading system, which slash7 had pointed to.
conversion of all mysql tables to InnoDB didn’t work at first. since i’m still on mysql 4.0 the upgrade script 15 and the ruby on rails’ create_table method failed. they both use the ENGINE keyword for specifying the table type to use. in order to get things to work, i had to replace ENGINE with TYPE.
btw. typo claims that running off the latest trunk revision is no problem thanks to the extensive test coverage. however most of those tests had some failures on my box; well, let’s see what happens - typo seems to be running fine. it _is_ a little awkward that you have to keep tests up to date with the latest code changes; maybe they just forgot.
warning: before running tests, make sure you have configured different databases for test and production environments, otherwise you production database will be gone!
Posted in ruby, coding
published over 3 years ago
(26.01.2006 14:03)
“A language that doesn’t affect the way you think about programming is not worth knowing” – Alan Perlis
Posted in coding, wisdom & quotes
published over 3 years ago
(25.01.2006 01:05)
Stereo Total’s Diskotheque

françoise cactus and brezel göring deliver finest trash, as always. who else could fit a rolling stones cover version, christiane f, chelsea girls and rendezvous with marsmen onto one single album? this time more electro than ever though; which sounds good.
for a first taste, just read the song names. for a second one – samples of every song available in the itunes music store.
- Everybody In The Discotheque (I Hate) We Love Motor Nark Mix
- Europa Neurotisch
- Mother’s Little Helper (We Love Polyphonic Size-Doctor Pleeease Mix)
- Mars Rendezvous (We Love Jacno Mix)
- Je reve encore de toi (We Love Taxigirl Mix)
- Babystrich (We Love Christiane F.Mix)
- Bad News From The Stars
- Everybody In The Discotheque (I Hate) Version By Echokrank
- Chelsea Girls (Thieves Like Us Remix)
- Das erste Mal (Vredus Remix)
- Troglodyten (Munk Edit)
- Das erste Mal (Justus Köhnke Remix)
- Das erste Mal (Mad Professors Dub Trip 1)
- Das erste Mal (Mad Professors Dub Trip 2)
- Das erste Mal (Mad Professors Dub Trip 3)
- Das erste Mal (Mad Professors Dub Trip 4)
Posted in music
published over 3 years ago
(21.01.2006 13:48)

switched to typo
today i migrated my site from a home-brewn php/one-html-page solution to the ruby on rails powered weblog typo (which is not to be confused with typo3). what had to be done:
- locally update ruby on rails to version 1.0 and install typo.
- parse the existing html page with all the log entries, and feed the extracted posts into the ruby on rails database.
- find a nice template and tweak the stylesheet here and there.
- fix all image links to be absolute, convert the log entries to utf-8 (had to install the iconv library for ruby).
- upload the locally prepared installation to the webserver, create and fill the online database.
- compile ruby, ruby-iconv, ruby-fcgi, ruby-mysql, pcre and lighttpd on the webserver; then install ruby on rails.
- configure apache to forward (proxy) all requests to lighttpd, configure lighttpd to embed ruby via fcgi
- write a start/stop-script for lighttpd and make sure lighttpd is run on startup.
all of this took about twelve hours to complete. more than half of the time was spent preparing the webserver — finding out what was needed to get ruby and lighttpd work together over fcgi.
if you’d like to see conversion scripts, take a look at the extended content of this post.
(i am) happy rubying!
try ruby if you like – an interactive ruby shell that runs directly your web browser.
you could also visit why’s hilarious blog, or his poignant guide to ruby, where you’ll find many more cartoon foxes!
Read more...
Posted in ruby, coding
published over 3 years ago
(11.12.2005 00:00)
update: my photos of la palma can be found
here!
Posted in travel, photography
published over 3 years ago
(06.12.2005 00:00)
and yes, i'm officially infected.
Posted in ruby, coding
published over 3 years ago
(03.10.2005 00:00)
hey! since i migrated this page from php to the ruby-based weblog typo, these images currently don't update.
A random selection of my flickr favorites
all of these great photos have been taken by the flickr contributors, not by me.
hover over an image to see the name of the photographer; click the image to see the full image in flickr.
kudos to rasmus for developing & donating the php flickrAPI. Oh, and the programming language, of course :-)
you can download the source code here. enter your flickr api key and the secret, and you're ready to go. (note: i don't cache the favorites info, that would be a nice addition).
Posted in php, coding, photography
published over 3 years ago
(11.09.2005 00:00)
Google is … a search engine? Think again.
Google keeps presenting more and more innovative products and services – GoogleMaps, GoogleEarth, G(oogle)mail, Picasa, and so on.
Incredible how creative and productive a couple of incredibly smart nerds can be.
Their latest product, which isn't yet mentioned on the products page, pioneers biointerface work: it's all about information digestion improvement. If you're too dumb to understand that info you just found with Google Search, have a drink. In fact, a
beautifully packaged drink: Google Gulp (I recommend beta caroty).
If we only had enough of it, I'm sure people would stop complaining about Google becoming the next evil empire, and the world would finally become a better place. thank you, google …
goodbye IFRAMES
i just redid this document, now there's only one html page with all the stuff instead of several documents loaded in separate IFRAMES. frames are bad, IFRAMES aren't much better.
thanks to an all-css design & javascript to display the large images, it was a matter of 45 minutes. in firefox. did i already mention internet explorer sucks? well, for some time the site will be a mess in ie, and several things probably won't work. just contact me if you need sth.
Posted in css & javascript, coding, the rest
published over 3 years ago
(22.08.2005 00:00)
a soon to be legendary ad: kikkoman-kikkomaso.
click image for the experience. but be warned: things will not be the same after you've watched this. sound very much recommended!
two nicely done online games
- an upside-down interpretation of the game classic arkanoid – meet poom. keep on bouncing your ball.
- beautifully designed, and heavily addictive: stackopolis.
Posted in the rest
published over 3 years ago
(20.08.2005 00:00)
| Bindestrich |
- |
| Gedankenstrich |
– |
| langer Gedankenstrich |
— |
Nach ihrer Länge werden diese drei Striche auch als Viertelgeviert-, Halbgeviert- und Geviertstrich bezeichnet. Das "Geviert" ist ein in der Typografie verwendetes Maß.
Der Bindestrich ist am häufigsten bei der Silbentrennung am Zeilenende anzutreffen. Er wird auch zur Verbindung von Worten zu einem eigenständigen Begriff benutzt ("Hals-Nasen-Ohren-Arzt"). Und er dient auch dazu, zusammengesetzte Wörter verkürzt darzustellen ("Gemüseimport und -export"). Er wird – im Gegensatz zum Gedankenstrich – immer ohne umgebende Leerzeichen gesetzt.
Der Gedankenstrich kann in Appositionen und erklärenden Einschüben – etwa in diesem Beispiel – das Komma als Satzzeichen ersetzen. Er wird zudem zur Notation von Intervallen ("10–12 Uhr"), Gegenüberstellung ("Bayern München – 1860 München 2:2") oder für Streckenangaben ("Hamburg–München") verwendet. Die Zeile sollte danach umbrechen – eine Zeile sollte also nicht mit einem Gedankenstrich beginnen.
Der lange Gedankenstrich wird hauptsächlich als Spiegelstrich in Aufzählungen und Listen verwendet. In englischsprachigen Texten wird er als Gedankenstrich gesetzt, ohne umgebende Leerzeichen.
Auf der Computertastatur kann von solcher Vielfalt nicht die Rede sein. Es gibt nur das sog. Bindestrich-Minuszeichen, das also Bindestrich und Minuszeichen zu vertreten hat. Es hat die Länge eines Viertelgeviertstriches.
Das typografisch korrekte Minuszeichen (−) ist identisch mit dem waagerechten Balken im Pluszeichen (+) und hat die gleiche Länge wie die beiden parallelen Linien des Gleichheitszeichens (=). In vielen Schriftarten hat es zwar die gleiche Länge wie der normallange Gedankenstrich, liegt aber oft etwas höher.
Quelle: Wikipedia.de u.a.
Posted in the rest