Universe-imploding log message
-
saw the following log message today:
pageController.isNPNStatusSuccess() is true & false
Somehow the universe hasn't imploded yet, but it's coming.
-
Maybe the programmer's last name was Schrödinger.
-
@Bumble Bee Tuna said:
saw the following log message today:
pageController.isNPNStatusSuccess() is true & false
Somehow the universe hasn't imploded yet, but it's coming.
Make your transistor bigger, it will solve your quantum tunneling problem.
-
@Bumble Bee Tuna said:
saw the following log message today:
pageController.isNPNStatusSuccess() is true & false
Somehow the universe hasn't imploded yet, but it's coming.
...just as soon as pageController.isNPNStatusSuccess() is also FileNotFound.
-
true & false doesn't implode the universe. It just evals to false.
I bet there's some kind of business logic to determine NPNStatusSuccess, such that if "something" is true and "something else" is true, then return true. The log is just telling you which of the two conditions failed. Obviously the WTF then is that the log isn't more verbose and descriptive.
-
I'm glad I'm not the only one who thought this... though it depends what platform you're on. I don't know what the result of bitwise anding some of the more weird definitions of true/false might be.
-
@RHuckster said:
true & false doesn't implode the universe. It just evals to false.
Huh??? Next thing you're trying to tell me that dividing be zero doesn't actually create black holes, but instead just doesn't work!!
-
@Bumble Bee Tuna said:
Somehow the universe hasn't imploded yet, but it's coming.
That's because the implode the universe line is <samp>pageController.isNPNStatusSucces() is true & false & FILE_NOT_FOUND</samp>.
-
@derula said:
@RHuckster said:
true & false doesn't implode the universe. It just evals to false.
Huh??? Next thing you're trying to tell me that dividing be zero doesn't actually create black holes, but instead just doesn't work!!
You have no idea how many universe got completely erased from history before this one came around. :(
-
@derula said:
@RHuckster said:
true & false doesn't implode the universe. It just evals to false.
Huh??? Next thing you're trying to tell me that dividing be zero doesn't actually create black holes, but instead just doesn't work!!
Dividing by zero only creates black holes if you use unsigned ints. If you use signed ints, it creates wormholes.
-
@RHuckster said:
@derula said:
@RHuckster said:
true & false doesn't implode the universe. It just evals to false.
Huh??? Next thing you're trying to tell me that dividing be zero doesn't actually create black holes, but instead just doesn't work!!
Dividing by zero only creates black holes if you use unsigned ints. If you use signed ints, it creates wormholes.
Dividing by zero with floating point types creates wormholes with roundoff errors.
-
@Someone You Know said:
Dividing by zero with floating point types creates wormholes with roundoff errors.
Really? Aw man, I always thought that creates NaNs! Everything I ever knew seems to be wrong! My world is colli-oh look a squirrel!
-
@derula said:
@Someone You Know said:
Dividing by zero with floating point types creates wormholes with roundoff errors.
Really? Aw man, I always thought that creates NaNs! Everything I ever knew seems to be wrong! My world is colli-oh look a squirrel!
In a multiverse of infinite possibilities, everything is a number in some universe. Thus, the whole concept of NaN is really meaningless and exists only in the minds of foolish mortals who are sadly limited to a single universe.
-
@MiffTheFox said:
Your non-belief is correct.
@da Doctah said:
...just as soon as pageController.isNPNStatusSuccess() is also FileNotFound.
-
It's actually jsut a case where the status can be either success, failure, or "no hit" (yes, essentially, the status can be True, False, or FILE_NOT_FOUND).This is actually just a case of lazy/inaccurate log message writing- the line that outputs this message is:
System.out.println("pageController. isNPNStatusSuccess() is " + isNPNStatusSuccess() + " & " + isNPNStatusFailure() );
-
@Someone You Know said:
In a multiverse of infinite possibilities, everything is a number in some universe. Thus, the whole concept of NaN is really meaningless and exists only in the minds of foolish mortals who are sadly limited to a single universe.
I am not a number. I am a free man.
-
-
-
-
-
much obliged.