Bill Roper (billroper) wrote,
Bill Roper

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

  • Fixing It Up

    I am embarking on a bit of code rearrangement at work, which -- if I can get it sorted out -- will simplify a lot of things that I need to do. As…

  • Follow the Bouncing Internet

    Apparently, some sort of accident cut the fiber circuit that supplies much of the Internet connectivity for the northwest suburbs. Our current…

  • Draft Day

    Today was our annual fantasy APBA baseball draft. We're playing on the computer (or with cards and dice) using player cards based on the 2020 season,…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded