Archive for the 'All software sucks' Category

WPG2 fuck-up

I just upgraded my Wordpress along with all my active plugins, and apparently the WPG2 plugin has broken my blog. When trying to read a full blog post, you are instead redirected to my gallery’s front page.

I’ll try to fix the problem asap.

MacBook hard drive failure

I’ve been separated from my MacBook for a week now, and I’m in pain. Ok, it’s not actually my MacBook since it’s my work computer, but I’ve grown so fond of it that it hurts to be without it. Apparently, the hard drive is broken (or at least the file system is corrupted), so it had to be handed over to the Apple authorities for surgery. They’ll probably replace the hard drive, forcing me to re-install and reconfigure the machine. This all started with an OS X upgrade from 10.5.2 to 10.5.3 which wouldn’t install properly.

Continue reading ‘MacBook hard drive failure’

Tomcat 5.5 getSession(true) returns null

This week I’ve been fiddling around with my thesis application, trying to get it up and running again after a hibernation period of almost a year. A lot of things had changed since I last used it, both on the department server and in our database, so I was in for some serious glueing, duct taping and debugging. Most of the problems were quite straight forward to fix, such as the database being out of date, some protocols having changed and so on. But there was one thing I just couldn’t understand.

When my web application tried to create an HttpSession object by calling getSession(true) on the HttpServletRequest instance, it returned null! According to the servlet 2.4 specification, the method must return a new session if it doesn’t exist, so this was just insane behaviour. By reflex, I started Googling for some answers, and it actually took me a while to find the solution.

Continue reading ‘Tomcat 5.5 getSession(true) returns null’

Idiotic sleep timer in Mac OS X

Goddamn Apple! You have to do better than this! A week’s worth of work down the drain just because you can’t handle sleep mode properly.

I was just playing some music with iTunes on my MacBook, leaving it on the table using battery power. Suddenly it goes quiet and I thought “ok, battery’s drained, it’s hibernating”. Imagine my surprise when I plugged in the power chord and pressed the power button. It didn’t recover from the hibernation – it booted! Everything I was working on was gone.

Continue reading ‘Idiotic sleep timer in Mac OS X’

Growl crashes Mail in os X

As if I didn’t have a crappy morning already, my Mac OS X Mail had to start bugging during my morning routines by the computer. After countless crash-reports and relaunches I even rebooted, but without success.

I found some hints on Google, including one on disabling Growl Mail. This seemed to be the most realistic solution, but didn’t work. I also tried many other suggested workarounds like deleting ToDos in iCal, clearing some caches, hitting some keys when Mail starts and so on. Nothing helped. After even more relaunching and sending bug reports to Apple, and another five minutes of Googling, I discovered a thread that had solved the problem by deleting the GrowlMail.mailbundle directory from HD/Library/Mail/Bundles.

Luckily, that worked for me as well. So now I can finally start my day and look forward to whatever else Murphy has got in store for me.