Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sparky_z
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
631.
▲
by
sparky_z
13y ago
1. Multiply all of the keys together: Y= X1 * X2 * ... * Xn. 2. For each key, Xi, use Euclid's algorithm to find the gcd of Xi and (Y/Xi). If the gcd of Xi is greater than 1, then you've factored Xi. Even taking into account
632.
▲
by
sparky_z
13y ago
They have a "Science and Technology" section in every single issue. Frankly, it contains some of the best, most scrupulously accurate science writing for a general audience that I've seen anywhere. Also, just two weeks ago, t
633.
▲
by
sparky_z
14y ago
Just a heads up, you can buy a pair of frequency-neutral earplugs for about $10-$15. They reduce the volume without giving the sound that "underwater" quality. The only downside is that they aren't disposable, so you might need to wash them
634.
▲
by
sparky_z
14y ago
The thing is, it's not even an inaccuracy. He's entirely correct (statistically speaking). He's describing the concept of Expected Value* without explicitly using the term. The only thing he could be said to "wrong" about is the idea that a
635.
▲
by
sparky_z
14y ago
You're apparently the one who doesn't understand how statistics/probability works. You're correct about his chance of dying once, but there's also a chance of dying twice, a chance of dying 3 times, etc. The expected value of the number of
636.
▲
by
sparky_z
14y ago
Why not? Just because a successful burglar hasn't used force before doesn't mean they won't if something goes wrong on a job. Anybody actively breaking in to other people's homes is providing the potential for a violent situation (even if i
637.
▲
by
sparky_z
14y ago
I don't buy it. In that scenario, how does anybody learn to drive in the first place? Someone who hasn't spent years of their life driving manually won't have developed the skills to intervene properly in an emergency. At best, driving woul
638.
▲
by
sparky_z
14y ago
An array slice can also be used as an lvalue in an assignment: @a = (10, 5, 9, 6, 17, 1); @a[3,5,1] = qw(yes no maybe); print "@a"; >> "10 maybe 9 yes 17 no" In fact, because the slice can be both an lvalue and an rval
639.
▲
by
sparky_z
15y ago
I'm sure you didn't intend this, but that's actually a very misleading quote out of context. It reads like he's explaining why he's anti-Paul Gram and anti-Lisp and anti-FP. What he actually means is that people are saying he's those things
640.
▲
by
sparky_z
15y ago
I think you've completely missed his point. The digital version has even more content than the print version, but only costs $40.