Beemer (dr_tectonic) wrote,

Feh, I say, feh.

Yesterday I finally tracked down this one very quirky bug in my program. Sometimes when you finally figure out what's wrong, it's this great transformational moment when you suddenly discard your false hypothesis and see the whole problem from a new perspective where it all makes sense, and it's really cool.

And sometimes, you just plod along until you reach a conclusion, and you sort of go, "oh. Is THAT what it is? How annoying."

This was one of the latter. (For the record: dialog popups in swing block, and block the whole thread, including sockets. Which means that somebody not clicking on the "OK" button can make the server come to a halt, even when the server is on another machine, because the server has to wait for it to unblock to be able to write to the socket.)

I was at work for almost 14 hours today, because after working on fixing this thing for a while, I quickly realized that it was one of those changes where I couldn't stop in the middle or I would completely lose track of everything and have to start all over. I fixed it, but the chain of secondary changes that it set off is not quite finished. I'm pretty sure I just forgot to clear a flag, and once I do that, it'll all be great, but until then, it's just annoyingly not quite there.

Happily, it's now the weekend and I'm going to ignore it utterly until Monday.


  • The Dependency Principle and the Litany Against Fear

    Two thoughts on COVID-19: First, from Iain M. Banks' Excession: There was only one problem with the Land of Infinite Fun, and that was that if…

  • Ultravision

    I fell out of the habit of posting while work was so busy last fall, and now I've been feeling like I need to Say Something Important about my life…

  • Holiday Recovery

    I think, maybe, I am finally recovered from the end of 2019, which was exhausting. Basically, a bunch of work deadlines all converged, most of which…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded