billroper: (Default)
[personal profile] billroper
I had an opportunity to pull out my favorite Sherlock Holmes quote today: "Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth."

I was helping one of my colleagues chase down a bug in some code he was writing on the Java server. We're trying to add the time period editing over there that we have on the C++ side, so it's just a matter of making sure the code is correctly ported.

But the data spreading was going awry, so *something* had to be wrong. "Ok," I say. "Let's stop the calculation in the middle of the process so we can see if the data is getting spread correctly in the first place."

It wasn't.

Some time this afternoon, I realized that there might be a problem with the calculation order. Had it been reinitialized correctly after the changes? Where's the routine that does this? Ah, here it is! Why is it empty with a comment that says "STUB"?

Eep. This routine only gets called from the time period editing code. And since we hadn't exercised that on the Java side, we hadn't noticed that I'd never filled it in.

Well, it's filled in now. And the code works a lot better.

Date: 2019-01-31 10:12 pm (UTC)
mneme: (Default)
From: [personal profile] mneme
NICE!

Bug hunting (forensic coding) is probably my favorite part of daily development.

I'm tempted to try to get a job doing just that when next I have to switch jobs, but I'm not really sure how much of a need there is for primary forensic coders. It's fun, though.

Date: 2019-02-07 05:37 am (UTC)
patoadam: Photo of me playing guitar in the woods (Default)
From: [personal profile] patoadam
Your favorite Sherlock Holmes quote is also my favorite Sherlock Holmes quote. I think of it as an informal statement of the essence of Bayes' Law.

Profile

billroper: (Default)
billroper

July 2025

S M T W T F S
   1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 2223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 23rd, 2025 04:27 am
Powered by Dreamwidth Studios