Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Derander
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Derander
14y ago
>> but reading files in parallel would presumably be slower since you'd be jumping around on disk There is a lot of engineering that goes into making parallel reads go fast. Some combination of the file system and disk controller wi
32.
▲
by
Derander
14y ago
The actual quote reads: "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." O(n) vs O(n^2) is not a small efficiency for non-trivial data sets. This is the point that was b
33.
▲
by
Derander
14y ago
If we're being really picky it is possible to deterministically find the median of n elements in \Theta(n) time so we're able to deterministically select as our pivot the median element. This gives deterministic \Theta(n log n). As mentione
34.
▲
by
Derander
14y ago
It seems significant that this is exactly one week later.
35.
▲
by
Derander
14y ago
It seems likely that the fact that this is the 1st of the year is related. This should be an obvious edge condition for testing.
36.
▲
by
Derander
14y ago
Think of it like this: What is the probability that two coins come up with the same face value? 0.5 If we use the guessing scheme where each player guesses his own guess as the result of the other player's coin, then players A and B win if
37.
▲
by
Derander
14y ago
I don't see why that conclusion follows. It seems that they've found that people are more willing to pay to read their content than advertisers are willing to pay to have ads alongside the content. There is nothing wrong with that model if
38.
▲
by
Derander
14y ago
From the linked page: client function client_function(x, y) { ... } This seems at least slightly different from "pure javascript". There are more examples on the page, particularly the neat sugar for database stuff. I don't think it'