The post I made in my mind

I hate it when I get a whole post thought out in my head, but then forget to actually post it.

This weekend was the first for a while that I didn’t have to go into to work at some point, which was good. Last weekend, I had something weird happen. So I’m in the office on Saturday, spinning my wheels trying to figure out this code so I can fix a bug in it which may or may not have been in the code itself or with Struts/OGNL being the bastard that it usually is and just silently refusing to accept data passed to it for some arcane reason. The code is like quite a bit on this project, where it started out simple and elegant, but had so many other things tacked on to it that it becomes almost impossible to trace through how its supposed to work. (The fact that JavaScript is mostly event-based makes it even harder to figure out.)

I’ve been at it for four or five hours, iterating each time takes about 15-20 minutes as usual (compile, install, restart, navigate to page) so I’m already a bit frustrated, having only sort of nailed down one part of the error (an event wasn’t being fired when it should have been), and all of a sudden my monitor goes blank. Then my computer starts beeping. Four short beeps. I tried turning it off and on, and it beeps again.

The motherboard had died.

Spaghetti code killed my computer.