Author Archives for kchr
Validating check boxes and radio buttons with Prototype
The title might be misleading, but the kind of validation I was after is checking whether or not at least one option in a group of elements (check boxes or radio buttons) is checked. This is useful in cases where you want the user to make a choice on their own instead of accepting a default value, or in cases where you can’t supply a default one.
PHP development with Eclipse and Subversion
Eclipse is an open source IDE — or as they put it themselves: “universal toolset for development”. It is probably the most flexible development environment out there right now, with plug-in support for all major languages. I have used it for Java coding for about half a year now, and just started converting my PHP [...]
XBMC Script: Sveriges Radio v1.1
I dug through my archives the other day, and stumbled upon a bunch of XBMC scripts which I haven’t used in a while. For those of you that aren’t “in the know”, XBMC (XBox Media Center) is a fully-fledged replacement dashboard for Xbox which basically lets you use your box as a HTPC. There are [...]
Logging SMTP errors with qmail
For the past few days, a customer of ours has had problems receiving mail from one of their partners. While troubleshooting the SMTP traffic to our qmail server I stumbled upon the following line in our logs:
X-Qmail-Scanner-1.25st: Process XXXX closed, parent process died
This message occurs every single time they tried to send mail to our [...]
Getting own content on top of Google Maps
I just stumbled over a great solution to a problem I had; getting own content to float above a Google Maps IFRAME. I thought I had tried every possible way, using a variety of tricks. However, the solution would reveal itself to be much easier than I would have thought!
Ben Simon writes on his blog [...]
Behold, for I am alive.
It’s true! I am now a proud owner of my very own WordPress blog - along with everyone else on the ‘Net.
My goal is to use this precious space to express my everyday thoughts, whether it’s code snippets I stumble upon during work hours, cool music thingies or just random stuff I have to get [...]


