Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment For practical purposes and simplified usage (Score 1) 1067

For most practical purposes you can think of division (1/x) as "chopping up" the numerator into x number of pieces. in the integer domain, as the size of x shrinks towards zero the "number of pieces" of the resulting "size" required to represent the original whole diminishes.

1/4 = 4 pieces, 1/3 = 3 pieces 1/2 = 2 pieces 1/1 = 1 ... logically then in the integer domain 1/0 = 0 pieces.

In the real number (float) domain it's obviously more complicated ... 1/0.5 = 2 pieces, 1/0.333333333 = 3 pieces 1/0.2 = 5 pieces 1/0.1 = 10 ... 8o( But that is for the specific infinite domain where x approaches zero ....

If you take the stance that any float y where y = 0 is for all practical purposes an integer and apply the rule consistently, I can't see having an issue with any typical application programming scenario. Where "typical" does not include mathematical operations beyond everyday computation for the average business user.

Comment The bear is white. (Score 1) 496

The "correct" answer depends on the purpose of the question ...

What does Elon really want to know ?

1) Do you think outside the box ? - North Pole is the wrong answer.

2) Are you a math geek ? - North Pole is the wrong answer.

3) Are you the sort who recognizes that the lack of a unique answer and protests the fairness of the question? - North Pole is probably still the wrong answer

4) Will you embrace the KISS principle? - North Pole is the RIGHT answer.

The form of the teaser that I originally heard is ... "You're standing on the surface of the Earth. You walk one mile south, one mile west, and one mile north. You end up exactly where you started and you see a bear. What colour is the bear?"

Comment Re:It was an app on a WORK-Issued Phone! (Score 5, Insightful) 776

That's only a solution if the job has no requirement for her to be "on-call" outside office hours; being reachable when off the clock seems like the sort of thing that a sales exec is regularly expected to be. So not actually a solution.

"In the face of entropy and nothingness, you kind of have to pretend it's not there if you want to keep writing good code." -- Karl Lehenbauer