billroper: (Default)
billroper ([personal profile] billroper) wrote2015-07-30 11:23 am
Entry tags:

What Is the Sound of a Head Hitting a Desk?

I was up until nearly 3 AM last night fixing bugs in some of my C++ code that I've been desperately refactoring to try to get onto a reasonable footing so that it both works and can be ported to Java using equivalent structures. Sadly, the code still didn't work when I went to bed.

Refreshed by not enough sleep, I went back to the problem this morning and discovered that I was unable to look up any of my dimension members in the map that I'd created for the purpose. What the heck?

After investigating a whole lot of possible points of failure, I found that the case-insensitive map that I'd hacked together was looking up the case-insensitive keys and storing the case-sensitive keys due to an error in typing.

Well, that won't work!

*thud* *thud* *thud*

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org