Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
obfuskater
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
obfuskater
12y ago
Thanks. I like the way they introduce what a proof is in chapter 1, I feel like they have a good, subtle sense of humor. I don't have a mathematical background so it might be a tough read for me, but it seems like a great resource.
2.
▲
by
obfuskater
12y ago
Don't be sorry! I found your comment very interesting and was also surprised to find that there exists a closed-form solution.
3.
▲
by
obfuskater
12y ago
Was the purpose of this post to help people prepare for interviews? Does code always have to show off one's ability? This code inspired me to learn about Binet's formula and for that reason I think it was valuable.
4.
▲
by
obfuskater
12y ago
returning int(round(x)) could act as a bandaid for the slight error in the results.
5.
▲
by
obfuskater
13y ago
Just add more 9's to the divisor to make the pattern work for larger numbers: 1/99998 = 0.00001 00002 00004 00008 00016 00032 00064 00128 00256 00512..
6.
▲
by
obfuskater
13y ago
It's really mind blowing how it's written entirely in javascript