Recent submissions

Comment · 6 months ago
Comment · 8 months ago
Absolutely not. He refused to defend his classic title in April 2023, citing a lack of motivation for this format.

The "Jeans" controversy happened during the Rapid championship in December 2024, nearly two years after.

It's universally accepted that his streak Classic Championship ended because of his lack of motivation, not on technicalities.

Comment · 2 years ago
What do you mean ? A K-d tree handles k dimensions. Generating a useful 2-D representation (=projection) of more dimensions is the hard part.
Comment · 2 years ago
The BYTE_STREAM_SPLIT is a Z-order (also known as Morton encoding). As it is better a preserving locality, it usually performs really well compared to classical "orthogonal" orders. It also is really simple to implement as it boils down to interleaving bits or bytes.
Comment · 2 years ago
> If you zoom in sufficiently at x = 0, f(x) = sin(x) looks indistinguishable from f(x) = x, whereas g(x) = cos(x) looks indistinguishable from g(x) = 1.

You can't use the plot as you only know the triangle definition yet. (And "looks indistinguidable" is rather handwavy).

> (also, sin(x) is negative approaching 0 from the left and positive approaching 0 from the right)

That only tells you that sin(0)=0

Comment · 2 years ago
Comment · 2 years ago
Could you expand on getting the differential equation from your definition? I don't really where to start from it.
Comment · 2 years ago
I do not understand this consideration: > By considering a triangle with hypotenuse 1 and a very small “opposite” side, it’s not hard to see geometrically that sin(x)≈x and cos(h)=x when x is small

I fail to see how you can "see" finer than sin(h) -> 0 & cos(h) -> 1

From the limit definitions you actually need :

* (1-cos(h)) / h -> 0

* sin(h)/h -> 1

(which correspond to the derivatives at 0).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton