Sep 082007
 

Since the second half of July I’m confined to being at home. I already had backpains for quite some time, but that day it was worse than ever and I decided to stay at home. Not long after that, the physio-therapist, my GP and the neurologist at the hospital confirmed what I feared: a hernia. That means that the soft disc between two vertebrea has moved out of place and is pressing against one or more nerves.

In the past a hernia was mostly immediately treated with a surgery: remove the disc and if necessary lock the enclosing vertebrea in place (with rods and screws). This is no longer the case. The doctors want you to rest, to do certain exercises and to mind your posture (sit straight, walk straight, lift things with a straight back, and absolutely no bending). For me that already means about 6 weeks of being at home. Doing the exercises, doing the occassional walk outside (when the weather allows me to do so), doing naps a couple of times a day.

I wear contacts. Doing a nap several times a time would mean taking the things out and putting them in solution. Take a nap. Wake up. Put the lenses back in. It’s okay if you do that once a day, but several times a day is a pain. Not in the back fortunately, but very close to it 😉 So since being at home, I wear my glasses. That’s okay, but it has some disadvantages. Try peeling an onion. Or looking from the corner of your eye. Walking in the rain. Taking some food out of the steaming-oven.

Today I picked up a new set of lenses. It took about 5 seconds to adjust, but man….this is a big improvement. Being at home suddenly feels just a little less like a punishment. I know, it’s just a simple thing. But now you try to be in your home for about 6 weeks. You can’t sit very long. You can’t sleep all day (muscles need exercises). Exercising is limited to what you are allowed to do. Not too much! Just what seems like a little improvement is a big improvement to me.

I don’t know if it was my state of mind or something physical, but today was a reasonably good day. Not too much pain. No painkillers needed. Let’s hope things will stay this way.

 Posted by at 00:37
Sep 062007
 

I had trouble with my forums (phpBB) because I could not stop spammers from registering and….commenting in an unappropriate way. Finally I found a mod that gives you an admin-option to disable registration. The skin I use still shows the “Register” link, but it will tell people that registration has been disabled.
If you want an account, send me an e-mail with a good reason. Thank you.

 Posted by at 00:31
Aug 262007
 

If you were not addicted yet, please don’t click this link. Since it will lead you a Flash game, that is very simple, but highly addictive, difficult to win, hence highly addictive, did I mention you can get addicted? Right, where was I? One of the not so nice things about the game, is that you can’t stop playing. Wait, I already said that. Allright, you asked for it, but it told you:

Thanks to Lulkoek, you’re now addicted too…

 Posted by at 01:53
Aug 252007
 

Today I saw in the update-list of Feisty (the auto-updater) that Thunderbird had some new stuff. Some time ago (two weeks, not sure about that) Ubuntu‘s repositories finally had Thunderbird 2.0.x and I already upgraded. For some reason the new version did not pick up my mail-files I was using with a manually installed 2.0, so when starting Thunderbird, I managed via symbolic-links that MY version was started, not Ubuntu’s. Now the auto-updater installed the newer binaries, and after restarting Thunderbird I found myself looking at old mail. Darn.

After some puzzling, I found that my version was using mail-files in ~/.thunderbird, whereas the Ubuntu-version used ~/.mozilla-thunderbird. Copying files from one to the other was what solved the problem.

Oh, I created a backup this time 😉 After I got things in working condition of course.

 Posted by at 18:20
Aug 232007
 

When updating to the new WordPress, I hadn’t noticed I left the ad-rotator in the dark. Since it’s an old-style widget, it was in the widgets directory, whereas all plugins now find a place in the plugins directory. So I copied the file from the backup, and put it back where it belongs. And it shows Epiphany (the browser) too. Try it, you’ll be surprised how fast it is.

 Posted by at 23:37
Aug 232007
 

I’m a programmer. And as a programmer I know how to use some programming languages. Some more thoroughly than others, but that’s not the point. When not dictated by the assignment or by an environment, the programmer chooses the language that will solve the problem best. “Best” is defined as: in the least amount of time. Or with the most accurate result. Or without spending a truckload of money. “Best” is not defined as: we need it tomorrow. Neither “it must be done in ColdFusion” qualifies. Nor does “we need a team of three certified Java developers to get the assignment”.

Unfortunately, most of the time programmers have to deal with other peoples problems. Their employer’s, or the problems of a client of their employer. Most of the time, that means there is no room for choice. So you will hear something like “we want the problem to be solved in PHP”. Or the client is using an old database so “deal with it”. Or the other way around: we want a SOA, but you got to help us with these .NET and Java webservices: they won’t talk to eachother. *sigh*

Dealing with environments you did (or would) not choose, or where you can’t choose, makes you creative. To deal with new problems using so called “proven technology” you’ve got to work your way around certain less optimal scenarios or bugs. Hey, that’s why these hacks are called workarounds!

Working around bugs is often very time consuming. Working around other peoples lousy work is time consuming too, since you’re basically redoing their work plus your own. Waiting for the next version that probably will have this and that feature that might solve the problem is a no-no: new versions have to be thoroughly tested before going live.
So you work your way around things.

In a next project, your work is reviewed, and the next programmer will say: what a loser! Why didn’t he solve it this way, and then showing off by proclaiming to know about the latest features. New features you wanted to use but could not. But what all experienced programmers know is that this programmers fate is no other than yours.

What most assignments mean, is that you get paid to be there. You are not allowed to solve the problem, but you fabricate a workaround they have designed (most of these so called solutions are a brain fart of the internal designers or architects, not actually the people that know stuff) in an environment that’s dead anyway.

Programmers get a bad name this way. Why don’t people let us solve problems? We’re clever enough. We can do things you can not. If that was not the case, why hire us in the first place? We’re smart people. Who happen to like puzzles. Why care so much for the way to the solution? Lots of people use cars. They don’t all know how the engine works, now do they? Why does this attitude not apply to software development?

Don’t comment on this blog with “we all know what happens when we let a bunch of developers solve the problem without actually telling them how” (referring to projects not in time, not in budget, or just plain abandoned). You did not through a problem at them, but a solution. Now review your past projects and tell me I’m right.

 Posted by at 00:02
Aug 222007
 

I already upped the check-interval for the wp-hashcash plugin from 2 days to 999999999 seconds (approx. 11574 days) because of the unreliable connection to their site. No connection means that my weblog does not work.
Now the problems seem to be worse, since my weblog was unavailable again. So I disabled the automatic version check. Here’s how. Open WORDPRESS_HOME/wp-content/plugins/wp-hashcash/wp-hashcash.php and make the following change:

        //$version = `$cmd`;
        $version = '4.0.2';

As you can see, I hardcoded my version number of wp-hashcash. This has two effects: the command in $cmd is not executed and does not receive a timeout, and you are in control of which version you run. Be sure to check for new versions regularly now.

 Posted by at 14:28
Aug 222007
 

…to self: to install extra software/libraries in the Maven repository, find the pom.xml that comes with the software and type:

mvn install

 Posted by at 12:05