Sold!

We sold our apartment a few weeks before the credit crunch hit hard, phew! We already purchased a new house (new construction) last year. Last week we had to move out of apartment. Unfortunately the new house is not yet finished. Well it is, but the utility companies still need to their stuff and the municipality needs to finish the roads, in that order. the new location is just 1 block away because we really like Osdorp and wanted to stay in or around Amsterdam.

In the meantime we’ll be moving between my sis and brother-in-law. c’mon waternet, move!

Posted in Misc | Tagged | 1 Comment

Getting rid of KPN

So, we moved and I canceled all our subscriptions at the old address. So I thought, it turns out KPN has /dev/null’d my cancellation request for the fixed line twice in a row. Each time customer relations assured me it would take 5 working days for the request to be processed. I just called them a third time now, because the line was active. The kind lady gave me a reference number for the cancellation order. So, whenever you deal with KPN I think it’s a good idea to ask for the reference number of the case or order.

Posted in Home, Misc | Tagged | Leave a comment

Moving in 3 weeks!

Earlier in the year we sold our appartement and bought a new house. With 2 kids it was simply not fun anymore in our cosy appartement on the 4th floor. We won’t get the keys of our new house, which is in the final stages of construction, for another month or two. In the meantime we have to make room for the new owners so the next couple of weeks are gonna be extra hectic and very interesting to say the least.

Posted in Misc | Tagged | Leave a comment

Passenger makes Apache relevant again

After stearing clear of Apache2 for the last year for all production servers I’m now ready to give it another try, thanks to Phusion’s Passenger. I’ve grown really tired of setting up god scripts for all environments and fighting mongrel’s pidfile suckage.

Far too many times have things failed because of a dead worker in the cluster or some stale or (even worse!) non-existent pidfiles on the system. Mongrel has served well, but it’s time to look for something better.

A typical setup I use is nginx as the front-end server doing all static content while a pack of mongrels is handling the Rails requests through reverse proxy. nginx is also very important for reproxying requests, where content is streamed from another internal server over the front facing servers. In most of the Rails app I’m writing I have to deal with very large files (audio, video) so reproxy is essential if you want to have any sort of performance on a reasonable budget. Since Apache2 lacks reproxy support (AFAIK, please prove me wrong!) I really want to keep nginx as the front-end server and then do the Rails handling with Apache2 + Passenger through reverse proxy.

I’ve come a cross a couple of posts on this very topic.

I’ll be doing some heavy development and testing over the next couple of days with this setup, will post my findings…

Posted in rails, ruby | Tagged | 1 Comment

iPhone 3G secured.. the wait starts

After reading about all the trouble folks went through in getting an iPhone I felt super lucky!! Yesterday I phoned the local BelCompany store to see if they were getting any delivered. There seems to be a reservation list so I asked the guy if it still made sense to sign up. He said sure.. I was number 20 on the list (what, only 20 ppl??). Early this morning I got a call saying I was the last one to secure a phone in the from first batch!! Woaw! The T-Mobile activation system was severely overloaded so the only thing I could do is sign a pre-agreement and wait untill tomorrow (12th) to pick it up. If only I was so lucky playing the lotto!. More as soon as I actually have it in physical possession!



Update: Well got the iPhone 2 months ago. Apart from the terrible battery life, dropped calls, horrible 3G reception and Apple’s draconian developer restrictions, a wonderful phone! Time to jailbreak it…

Posted in Apple, Home | Tagged | 3 Comments

Rails’ end_of_month fixed

In Rails 2.0.x the end_of_month now properly gives you the end of month e.g. Mon Jun 30 23:59:59 +0200 2008, instead of Mon Jun 30 00:00:00 +0200 2008, which was the case in Rails 1.2.x (see this previous post). Good thing I caught this, since it used to inside the Nota module of Beldienst. We would be paying out the first of each month twice otherwise :)

Posted in rails, ruby | Tagged | Leave a comment

Getting XS4ALL HSDPA/UMTS working on OS X Leopard

Article was updated. See below, the Option software should work out-of-the-box for Leopard 10.5.5 or higher!

Last week I received my HSDPA/UMTS/GPRS card from XS4ALL. After the major ADSL outtage fiasco It really dawned on me that not having net access for a day actually costs more than the whole wireless plan per month! Think about it, as I telecommute 4 days in the week I would actually have to drive to the office to get work done (luckily our offices were spared from the outtage!), the parking money alone is almost more than the whole plan (go Amsterdam!). Enough justification for the new toy. It arrrived, weeh!

Continue reading

Posted in Home | Tagged | 11 Comments

Massive memory leak in ruby-gettext 1.90.0

Just found out there’s a massive memory leak in ruby gettext 1.90.0, one of our applications started eating GBs of RAM after a couple of days in use. So If you’re using gettext for translating your Rails app take note! You can grab the current trunk which has a fix for this.

Posted in rails, ruby | Tagged | Leave a comment

Meetings

Found here (thanks Jan). Soo true! Happy telecommuter for 2 years now, with the occasional Meeting midweek. I do not expect to be productive (code-wise) on those days.

Posted in Misc | Tagged | Leave a comment

Side project: De TV Flat (KRO)

My first Rails 2.0.x project has been running in production for a couple of months now. It’s the website for KRO’s “De TV Flat”, a children/teens program airing every Saturday on dutch national television around 9am (channel Nederland 3) untill the beginning of summer. I’m very proud to actually get one of my projects on TV! The premise is basically “Youtube for kids” with the chance of getting your self-made video’s broadcasted on TV!

I really like the instructional video’s made by the TVFlat crew, very helpfull tips for creating your own video content.

Technology used:

  • Linux
  • Nginx HTTP server
  • Mongrel
  • MogileFS clustered storage
  • Rails 2.0.2
  • Merb 0.54 for critical code paths, beats Rails to a pulp when it comes to roundtrip times
  • Memcached
  • MySQL
  • Lucene
  • mplayer / ffmpeg / faac for transcoding, direct broadcast quality feeds are generated!
  • Flash video

Hope I can find some time later on to write a bit about the different parts.. anyway, go check it out!

Posted in rails, ruby | Tagged | 1 Comment