Monthly Archives: February 2009

Wütend

25-Feb-09

Oh man, ich bin so verdammt wütend, ein Tweet reicht nicht aus. Es ist so zum kotzen, dass es Programmiersprachen wie PHP den Leuten so leicht machen, hübsche Sachen zu programmieren, die auseinander fallen, wenn man sie mal schief anschaut. “Hübsche Gui” und “Ich weiß, was ich da gerade in die Datenbank schreibe” sind zwei […]

Read the complete article »

Frustration

if you want something done right, do it yourself If you happen to use the mint tracking tool like me, be careful when migrating from a 32bit to a 64bit server or vice versa. Mint saves ip addresses and a buttload of checksums as signed long values. That bites you right in the ass when […]

Read the complete article »

Phusion Passenger and memcached / memcache-client

23-Feb-09

I recently switch from a mod_proxy / thin setup to Phusion Passenger and my application started to do the funniest things and the production.log was full with errors related to memcached. It seems, that passengers spawn method “smart” isn’t compatible with memcached. Within seconds on a lightly loaded server the cache gets corrupted big time. […]

Read the complete article »

Comments are evil?

What can cause this snippet to fail: <% if !@day.user.is_rateable? # Workaround für Darstellungsfehler mit Tabellen ohne Bodies im Safari %> <!– blah –> <% end %><% if !@day.user.is_rateable? # Workaround für Darstellungsfehler mit Tabellen ohne Bodies im Safari %> <!– blah –> <% end %> This little snippet fell apart today. I don’t know […]

Read the complete article »

Localizing dates and time with Rails’ I18n using procs

12-Feb-09

Ruby on Rails I18n infrastructure did a great job to internationalization in Rails applications. Most things work right out of the box. Daily Fratze is fully internationalized and i wanted to use ordinal day numbers in the English version. Pity, there is no template for strftime that works that way. As i already hat monkey […]

Read the complete article »