Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pnx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
pnx
7y ago
I find it odd that people think that equation is beautiful. Rewriting it in polish notation/lisp you end up with: (= (+ (exp (* i pi)) 1) 0) Which is neither beautiful nor very enlightening.
2.
▲
by
pnx
7y ago
>I'm saying that things that don't fly at small scale, don't become good ideas at large scale. They absolutely do. Fourier transform multiplication methods are a terrible idea if you run them on numbers that aren't hu
3.
▲
by
pnx
7y ago
Probably tens of thousands. And it will still be a faster operation than fetching the next json file from disk by an order of magnitude, or two.
4.
▲
by
pnx
7y ago
Bubble sort works amazingly well on the small scale. It shits itself on the large scale. Just like how trying to run an economy like you do a household results in the great depression.
5.
▲
by
pnx
7y ago
>Consider something as simple as parsing an integer in a text-based format; there may be whitespace to skip, an optional sign character, and then a loop to accumulate digits and convert them (itself a subtraction, multiply, and add), and
6.
▲
by
pnx
7y ago
And of course bubble sort is the perfect solution for distributed sorting.
7.
▲
by
pnx
7y ago
See that's the problem, a sorting algorithm just moves values around, whether it's 100 values or 10 Billion. At the end of the day if bubble sort is good enough for a micro controller it's good enough for a data center.