Hacker News new | ask | show | jobs
by mhh__ 1878 days ago
I never got round to trying it but I was wondering whether you could generate a Cauchy-distributed wait as a way of breaking badly written benchmarks/timing gadgets (i.e. the mean is indeterminate)
1 comments

Doesn't the indeterminate mean rely on the distribution including negative values? Sleep() requires a non-negative value.
You're probably right, too many beers perhaps!
Actually, Log-Cauchy?