Bill Roper (billroper) wrote,
Bill Roper
billroper

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*
Tags: c++, computers, musings, work
Subscribe

  • Time for Rebuilding

    Well, there's nothing like research. Having determined that DDR5 is going to carry a substantial price premium over DDR4 memory for at least a year…

  • Driven Wild

    The studio computer continues to misbehave in various ways. When I fired up Cubase today, I got a lot of nasty, blocky video, despite having cleaned…

  • Some Old Doggerel

    I recall having mangled a CSN tune many years ago on the way to Contraption. Like that convention, the particular co-worker whose code I was digging…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments