Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hakmem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
1.
▲
by
hakmem
2y ago
You can see both triples are contained in one binary tree using the big diagram in section 3. The triple [3 4 5] has the "path" RR. The triple [4 3 5] the path R.
2.
▲
by
hakmem
2y ago
Yes, this is normal. I am sorry, I am working on a more efficient implementation. The JavaScript of this page does a lot of number crunching. It is actually doing arithmetic on the Stern-Brocot tree. It is all written in ClojureScript and n
3.
▲
A binary tree of all Pythagorean triples
(richardt.io)
181 points
by
hakmem
2y ago
|
19 comments
4.
▲
Emacs won.
(suno.com)
2 points
by
hakmem
2y ago
|
0 comments
5.
▲
The number of magic squares of order 6
(magicsquare6.net)
3 points
by
hakmem
3y ago
|
1 comments
6.
▲
by
hakmem
3y ago
Until July 17 we only knew the first five numbers of the sequence https://oeis.org/A006052 . Now we know 6. "Using hundreds of GPUs at cloud resource rental services, it took about six months to complete the counting&qu
7.
▲
by
hakmem
3y ago
Thank you for both vouching and the hinting on my flagging.
8.
▲
Gosper–Niqui Calculator
(snafu.cc)
9 points
by
hakmem
3y ago
|
4 comments
9.
▲
by
hakmem
3y ago
+ - * ÷ two numbers in 3.14 decimal notation, 1RLLRRLLRRLLRR stern–brocot notation, or [1;1,2,1] something close to continued fraction notation Milad Niqui: Exact arithmetic on the Stern-Brocot tree. https://core.ac.uk/downl
10.
▲
by
hakmem
6y ago
A couple of days ago, there also has been a disussion on reddit on this topic. https://www.reddit.com/r/Physics/comments/gf1kbd/if_you_over...
11.
▲
by
hakmem
6y ago
The authors have a look at the spectral line database of the NIST and make the surprising finding, that all atomic spectral lines together approximate very well a black body spectrum at a temperature of 9000K. The authors not yet have an ex
12.
▲
If you overlay all atomic spectra, you get a Planck distribution
(onlinelibrary.wiley.com)
129 points
by
hakmem
6y ago
|
55 comments
13.
▲
by
hakmem
9y ago
Yeah, this is Hacker News.
14.
▲
by
hakmem
9y ago
Great, I will definitely have a look at it. Did you implement exp(x) for any continued fraction x?
15.
▲
by
hakmem
9y ago
Guessed it but you wrote "continuous" instead of "continued" :) I was excited about something new ;) And yes, this text is gold. Bill Gosper is the Hunter S. Thompson of science.
16.
▲
by
hakmem
9y ago
Could you point me to a reference?
17.
▲
by
hakmem
9y ago
There are a lot of pearls in this - I would call it lab book. A while ago, I made a slow Clojure implementation of a generalized version of Bill Gospers continued fraction arithmetics from the HAKMEM http://github.com/timric