Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sesqu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
511.
▲
by
sesqu
15y ago
Fair enough, but I personally believe the AVL structure is sufficiently simple. Let me compare treaps and AVL trees: Both insert at the same point, then proceed to rebalance. The treap will rotate upwards until p_new>p_parent. The AVL w
512.
▲
by
sesqu
15y ago
> The underlying bug is that if you through the DOM append a SCRIPT tag loading an external script, Opera's parser will pause until that script has loaded. How is this a browser bug? I expect all script tags to execute when they are par
513.
▲
by
sesqu
15y ago
Sorry, but did you just argue that there is a slow cooling effect that cannot be seen, but that explains or will soon negate the rapid warming effect that has been detected?
514.
▲
by
sesqu
15y ago
The hypothesis testing approach to statistical inference, which is what most of the scientific community uses, explicitly demands researchers try to prove that, say, AGW has no major impact, before reporting on their failure to do so. The h
515.
▲
by
sesqu
15y ago
Without a distribution, the algorithms generally match what one would get with a uniform distribution, and convexity is a very small relaxation from a unit cube. These by themselves don't change much, provided the shape of the region is nic
516.
▲
by
sesqu
15y ago
I've never understood the allure of treaps. As long as it's only probabilistically balanced, the only thing it offers beyond random binary search trees is unpredictability in the face of ordered input. In essence, the treap is the same appr
517.
▲
by
sesqu
15y ago
I read a paper in the spring that purported to compare, among others, red-black trees and treaps. It found that treaps were better for ordered operations but worse for random operations. edit: For the actual comparison between the three: tr
518.
▲
by
sesqu
15y ago
The problem that a binary search tree optimizes for is the lookup or sequence of lookups of data in a set with a total ordering. If you want to do range lookups instead, the binary search tree is still excellent, but possibly not optimal, t
519.
▲
by
sesqu
15y ago
While the political story did raise a few flags, that's not what most makes me want to look at the data. What really surprised me is that both main trends are linear. I presumed both productivity and wages would be exponential. I can believ
520.
▲
by
sesqu
15y ago
Well, you could set up a temporary client blacklist based on cookies or IP addresses.
521.
▲
by
sesqu
15y ago
I use NoScript, but I have it set up to allow embeds and top-level references. Denying those is a stone's throw away from just turning off javascript completely, which would be tiring.
522.
▲
by
sesqu
15y ago
Yes. When the argument for inflation is that rational actors should not want to hold on to money, I will conflate it with the scenario where rational actors should not want to receive money.
523.
▲
by
sesqu
15y ago
Okay. I'm a poor communicator, so let's see if I can explain those better. No, liquidity isn't important for investments. Liquidity is important for trade, and investment is not trade. It's perfectly acceptable for the transfer of long-term
524.
▲
by
sesqu
15y ago
Are you suggesting that goods that retain value are intrinsically illiquid? Certainly, liquidity is not important for investment targets, but I don't think that relationship necessarily goes the other way. Yes, currency is used (where avail
525.
▲
by
sesqu
15y ago
Anyone offering you salary in US dollars instead of a share of the product is implying that the dollar is a better store of the value you provided them with than the actual thing you produced.
526.
▲
by
sesqu
15y ago
I don't really buy this argument. People invest to increase their capital, not to stop it from decreasing. When inflationary pressure is actually tangible, money becomes a hot potato that no one wants, and poof, there goes the economy in
527.
▲
by
sesqu
15y ago
> In a normal economy, the population is constantly expanding. That may be, but the western world is then abnormal. US population is projected to peak at 2030, and a number of countries already have negative population growth. Exponenti
528.
▲
by
sesqu
15y ago
I found a bug. Picture c73cy (570px × 850px) is scaled to 600px × 895px for no apparent reason. Since you have a "best of" list, what's your approach to slightly differing duplicates - such as stretched or re-compressed ones?
529.
▲
by
sesqu
15y ago
Ever since I saw the first of these articles a few years ago, I've occasionally paid attention to this effect (and a little before then). It's not when teal and orange occur that's distracting, it's when nothing else does. You sometimes see
530.
▲
by
sesqu
15y ago
"50 more and double the costs" is exponential; in particular, it's cost(height) = reference_cost × 2^((height-reference_height)/50), or simply cost(height) = k × 1.01395948^height.
531.
▲
by
sesqu
15y ago
The lat/long one at -179, 37, -5, which I guess is an oblique mercator.
532.
▲
by
sesqu
15y ago
That's a common rumour in Finland, at least, but they've posted 3 profitable years (out of 26). I don't know about their accounting, but I find it plausible that they'd want to maintain a presence at a small loss.
533.
▲
by
sesqu
15y ago
I got this simple projection from [1]: http://imageshack.us/f/24/laxpkg.png/ [1] http://www.btinternet.com/~se16/js/mapproj.htm
534.
▲
by
sesqu
15y ago
If we're going for half-open ranges, range(n) ≝ 0<i≤n would make more sense than 0≤i<n. But then again, sign(0) is still a point of disagreement today. Dijkstra argued against this by noting that that makes adding 0 to the range imp
535.
▲
by
sesqu
15y ago
unordered queue What is that? Do you mean a regular, non-priority, queue?
536.
▲
by
sesqu
15y ago
This linking of services is very irksome, and has driven me off of several. Microsoft was there first, as usual, but Google is following in their footsteps.
537.
▲
by
sesqu
15y ago
Privacy is about as binary as security - that is, not at all.
538.
▲
by
sesqu
15y ago
This probably has a bunch to do with how the Fibonacci sequence is attributed with a lot of mysticism and attributes it doesn't actually have. The golden ratio does not depend on the Fibonacci sequence, it depends on the recursion equation,
539.
▲
by
sesqu
15y ago
...which is one less than the three it would take to represent points on a sphere in cartesian coordinates. If you want me to describe the curve itself, you are essentially asking for an embedding - there are infinitely many of those, and t
540.
▲
by
sesqu
15y ago
Any line, really, but let's go with a spiral. The natural coordinate is its arc - there is no rule saying only cartesian coordinates are allowed. Indeed, geographers use latitude and longitude instead, saving a full coordinate.
More ›