Category Archives: Geek speak

The power consumption of a geek

Lately, I’ve been curious about what’s consuming electricity in my flat. My electricity bill just increases as more and more geeky appliances find their way into my home. So yesterday I bought an electricity consumption meter and started measuring. This is what I’ve found out so far.

Continue reading



Filed under Geek speak, The thing they call Life

Executing embedded JavaScript after Ajax-call

A nasty problem jumped up and bit me in the ass a few days ago at work. I was making a widget of a piece of code formerly part of the web page now hosting the widget. The widget code consisted of some HTML and a couple of embedded JavaScript tags. The widget needed to be loaded into a div the hosting web page with an Ajax-call, after which the embedded JavaScript needed to be executed. Something like this (I’m using YUI3 here):"/foo/bar/some_widget", {
  method: 'GET',
  on: {
    complete: function(id, respdata) {
      thediv.innerHTML = respdata.responseText;
      initWidget(); // this function is embedded in the responseText
                    // and doesn't get evaluated. I.e. it doesn't exist.
    failure: function(id, respdata) {
      alert('Feed failed to load!');

If a search engine sent you here, you probably know that this doesn’t work. JavaScript embedded in a piece of HTML code loaded with Ajax and injected in a web page doesn’t get evaluated. If you’re wondering why, you’re in the wrong place. If you want to know how to make it execute, read on.

Continue reading


Filed under Geek speak, JavaScript

Connect Leopard to the Internet using a Nokia phone

Despite numerous howtos and instructions on connecting a Mac to the Internet through a Nokia phone, none of them has corresponded 100% to my reality and thus I’ve always failed. However, through a bit of trial and error, I managed to find out how to connect my MacBook running Leopard to the Internet using my Nokia E66.

Continue reading

1 Comment

Filed under Geek speak, Mac

IE6 users: upgrade your browser — now!

Up until now, I haven’t really cared what browser people are using. I haven’t designed any commercial web sites for a long time and in the research projects I worked on at HIIT, we always had a target device or target browser, disregarding the poor bastards that didn’t use the right equipment.

Things are different now. I’m developing a real web application for real people with real browsers (or not), which means that I more than ever need to take into consideration what gear people are using our application with. This would be fairly simple if it weren’t for all web designers nemesis: Internet Explorer 6. Let us together once and for all put this freak to rest. Please.

Continue reading

1 Comment

Filed under All software sucks, Geek speak

Rewriting the WPG2 URL

I’m sick and tired of the new WPG2 plugin for WordPress forcing me to use the embedded gallery page. Sure, nowadays you can configure it to look identical to the actual gallery, but that doesn’t satisfy me. Since my gallery is on another virtual domain ( as opposed to I want the images in my WordPress sidebar to link to a page where the URL tells me that I’ve moved away from the blog and am now viewing the gallery. WPG2 version 3.x doesn’t do this, so I decided to fix it myself (yet again a case of “if you want something done, do it yourself).

Continue reading


Filed under All software sucks, Geek speak, Linux, Photography

Goodbye Amarok – welcome mpd

I just discovered the perfect solution to one of my biggest problems in recent memory, i.e. controlling playback of my music playing on my Home Entertainment Computer. It’s called mpd and I love it. I love it I love it I love it I love it. Why didn’t anyone tell me about this earlier? It lets me remote control music playback on my entertainment machine from virtually any device in my flat. Well, I don’t think there’s an mpd client for coffee brewers yet, but still.

Continue reading


Filed under Geek speak, Linux, Mac, The thing they call Life


One of the last small collateral projects I participated in during my time at HIIT has now been released.

It’s a video.

More precisely a small demo video showing a usage scenario for a small demo application (yes, the keywords are small and demo) tying together some of the technologies we’ve used in a bigger project. The technologies include a speech synthesizer, a 2D bar code reader and something under the hood that I can’t remember.

Why bother? Because I play one of the leading parts in this blockbuster. View it here. Oh, and have a look at the project page here.

Leave a comment

Filed under Geek speak, The thing they call Life