Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt

  • Mood:
[ed: Zorba feels like ranting. Unfortunately what he wants to rant about is confidential. Therefore he will be replacing every confidential piece of text with "badger". If there's a specific important piece of text whose existence later on is important, he'll use "badger1" and so forth. On the minus side, this entry will be a lot less comprehensible - but on the plus side, it should be a lot more entertaining, especially for people who aren't programmers.

To make it especially amusing, he's writing the entry without badger-obfuscation, and will then go back and badgerify it.]

Okay. So at work, I'm using this badger library called badger. Apparently it's the best one out there for badger, it's used in all sorts of apps, etc etc, there's only one problem:

It's buggy.

See, let's say I badger1, and I badger2. Then I badger3, and badger4. And then I badger1 again, and do the exact same badger2-ing. You'd expect that the output from the first part and the third part would be the same, but no, the third one is completely badger!

So I *could* go write my own. Unfortunately badger is pretty nasty to badger, so I'd be looking at, say, a few dozen thousand lines of code. Not fun. Really, my only option is to debug it.

Debug someone else's library.

Someone else's GARGANTUAN library.

And I'm trying to figure out where two processes diverge, so basically I'm stepping backwards through it, adding more and more debug output, dumping it all into Notepad, and figuring out the first point where they're not identical. Over and over again. [ed: yay, no badgers!]

Four hours and, while I'm getting close, I still haven't found the bug. (I think it's somewhere in the badger. I could be wrong.)

Why oh why can't people write badger libraries that WORK?
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.