Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: The worst excuse I have ever heard is:

by QM (Parson)
on Jan 10, 2020 at 12:15 UTC ( #11111285=note: print w/replies, xml ) Need Help??


in reply to The worst excuse I have ever heard is:

It works for me

I only changed a comment.

It's a Lunar Phase Dependency.

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re: The worst excuse I have ever heard is:

Replies are listed 'Best First'.
Re^2: The worst excuse I have ever heard is:
by Eily (Monsignor) on Jan 10, 2020 at 15:00 UTC

    It's a Lunar Phase Dependency.
    One debugger I used actually had an option to display the phase of the moon :). And actually that debugger (which was otherwise quite good) had a bug that made the execution misbehave when stepping over some instructions under specific conditions. As you might guess, I was using the debugger trying to find a bug, so I ended up with what I thought was a single bug that was behaving differently depending on how close I was trying to observe it. Lunar Phase Dependency alright.

      what I thought was a single bug that was behaving differently depending on how close I was trying to observe it

      This is known as a Heisenbug.

        That article says "Frustrated programmers may humorously blame a heisenbug on the phase of the moon" which goes back to the original bad excuse :P.

        The additional bug (the debugger bug, not the original one I was trying to analyze) was also an Heisenbug on its own because it would disappear when the instruction was moved (the compiler would add some padding in the data for every other position of the instruction). So as soon as I realized that I was dealing with two bugs instead of just one, and added a print statement to follow what was happening, the second bug disappeared :P

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2020-02-24 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (104 votes). Check out past polls.

    Notices?