Earlier quoted context omitted.
Whether there's a use for 40 digits or 40 trillion digits, needing more accuracy is not why we find these numbers. There's no 'need' for this at all. The same way there's no 'need' to find bigger prime numbers. We're just seeing how far we can go, maybe seeing a new pattern emerge.
> The same way there's no 'need' to find bigger prime numbers. From cryptography standpoint, there is always a need to find bigger prime number. I wouldn't compare this with a Pi.
Calculating a record-breaking 31.4T digits of Pi with GCP
61–70 of 118 posts
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#62Earlier quoted context omitted.
That’s not quite how it works.
Why not? It is. Calculating pi is trivially parallelizable. If you wrote good kernels, calculation distribution could be exactly the same.
They perform the same computation on every node, there's no way to split up the work between nodes
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#63I'm curious, did someone estimate how much it would cost to replicate this experiment on GCloud with the same infrastructure?
Using GCP's pricing calculator and the specs described in the blog, it's around 170,000 USD to run it for 3 months. https://cloud.google.com/products/calculator/#id=ef2329f6-f1...
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#64Does pi compress? It must if it is only numbers, but only by a half?
pi is effectively randomly distributed (I don't know if this is proven) which means it would be effectively impossible to compress is using conventional entropy or dictionary based techniques. However, there are compact formulas which can generate pi to arbitrary precision, trading off compute time with space. So it;'s effectively compressible, I guess this relates to Kolomogorov complexity in some way.
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#65Earlier quoted context omitted.
Whether there's a use for 40 digits or 40 trillion digits, needing more accuracy is not why we find these numbers. There's no 'need' for this at all. The same way there's no 'need' to find bigger prime numbers. We're just seeing how far we can go, maybe seeing a new pattern emerge.
> The same way there's no 'need' to find bigger prime numbers. From cryptography standpoint, there is always a need to find bigger prime number. I wouldn't compare this with a Pi.
The large prime numbers needed for cryptography are a few hundred digits long. The are generated by picking a random numbers and checking it’s neighbors for primality.
The largest prime numbers that have been discovered have millions of digits. Finding a larger prime would have no effect whatsoever on our ability to quickly generate primes with a few hundred digits.
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#66Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#67Earlier quoted context omitted.
pi is effectively randomly distributed (I don't know if this is proven) which means it would be effectively impossible to compress is using conventional entropy or dictionary based techniques. However, there are compact formulas which can generate pi to arbitrary precision, trading off compute time with space. So it;'s effectively compressible, I guess this relates to Kolomogorov complexity in some way.
If it's stored as ASCII/UTF8 text, then it will be compressible because it's just numbers. On the other hand, if they somehow have a number format that spans that many digits then it'll already be perfectly efficient.
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#68Earlier quoted context omitted.
Yes. ISO chooses year-month-day, which puts largest component first and smallest last. This has the nice benefit that treating it as a string and doing alphanumerical sort matches the actual day sort. Ref. https://en.wikipedia.org/wiki/ISO_8601
There are benefits to both little endian and big endian
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#69How Many Decimals of Pi Do We Really Need? (NASA/JPL): https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimal...
In short 40 is already crazy too many digits for most if not all applications. Yet in the original article they say «Granted, most scientific applications don’t need π beyond a few hundred digits, …». Is there scientific applications where they would really need more than 40? Or is it just the author making some guess?
It is still not clear whether Pi is a normal number or not [0]. Such calculations could in principle give an insight here.
[0] https://en.wikipedia.org/wiki/Pi#Irrationality_and_normality
Re: Calculating a record-breaking 31.4T digits of Pi with GCP
#70Meh, throwing raw power at the problem is not that impressive. Bellard's [1] 2009 record was much more impressive, because he used a clever formula to break the existing record with a mere (albeit beefy) desktop computer: https://bellard.org/pi/pi2700e9/ The record he broke with his desktop PC was made using a supercomputer cluster. [1] If somebody is not familiar with him, he is also the original author of QEMU, ffm…
They basically pulled more machine to compute more. nothing really impressive. pretty much any dev with that computing power could have done it