I’ve spent the last two days looking at the same line of code, trying to work out why the fuck it’s not working right.

It’s one of those annoying situations where the code looks perfect for doing what you want it to do, yet for some reason, it refuses to play nice. There’s only a finite number of ways to write a conditional statement, after all…

Hrm. Perhaps it’s time to say “enough for today” and move on to something else. Fresh eyes always help solve problems. Maybe “third day’s a charm”?