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

  • Paying It Off

    I checked tonight and I do indeed have two more months to pay my property tax without incurring late fees. So I guess I'll be paying that later. The…

  • Jean, Jean

    I am trying to buy a new pair of jeans. Normally, this would be simple. Go to Amazon and order a pair of Levi's 560s in my size. Except that Levi has…

  • Ice, Ice, Baby

    Much of today could have been sold for scrap, but there was some progress on the refrigerator front. After decanting the contents of the fridge and…

  • 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