OMG wikipedia haz it better

Rui Paolo is a great little dipshit coder at the (Net)BSD scene, who’s responsible for this fantastic improvement, which transformed the output of ping6 -c1 ipv6.google.com from this:

round-trip min/avg/max/std-dev = 78.509/78.509/78.509/0.000 ms

... to this:

round-trip min/avg/max/std-dev = 76.162/76.162/76.162/
nan ms

Yea, NaN is a great value, which occurs by doing division by zero - on most architectures. Yes, Rui likes dividing by zero, especially because he can get away with it, all the while not receiving fatal buttsecks due to an event including an angry calculus teacher, and a rusty iron ruler.

What Mr. Paolo’s magnificient code does on a VAX (and on any sensible computer architecture not developed directly for mindless apes):

Floating point exception (core dumped)

And WHY did he demonstrate his exceptional coding skills? Let me quote the Master’s Own Words:

”Replace the way we calculate the standard deviation with the unbiased form for non-related samples. There are several websites that explain why we should use this form instead of the normal formula to compute the std. dev. (Wikipedia is one of them).”


OMG LETS DO CODE LIEK
WIKIPEDIA!!!!

Fucking idiot.