Even more pi in the sky: Calculating 100T digits of pi on Google Cloud
cloud.google.com
cloud.google.com
https://www.newyorker.com/magazine/1992/03/02/the-mountains-...
https://mathworld.wolfram.com/Digit-ExtractionAlgorithm.html
I just wanted to point out that this is impossible, because in that case pi would be a rational number. However, it's been proven to be a transcendental number, which is a stronger condition than just being irrational. So, it's not possible that pi ends with any infinitely repeating sequence.
I think the implication was something about simulations or maybe instructions on how to build a device. Can't quite remember the details.
"I just have this feeling if I take pi, well past all this static, take pi to 10 million, 20 million digits, that I'll find something really incredible. Not just a pattern, not just an order, but a sign. A mathematical sign."
He listed at least 21 states between "conjecture" and "proof".
Transcendental numbers are truly awesome.
For some reason the blog post mentions the 31.4T record and the 62.8T record, but not the 50T record [1]. Weird.
[1] https://blog.timothymullican.com/calculating-pi-my-attempt-b...
I was interested to see how they're storing the result (100T digits), it's not clear if this if memory for the result or for the algorithm. I'd be interested to hear what the encoding is; a byte/char per digit, or a nibble?
Of course, under a different set of constraints, one may find something better.
The authors of the programs refuse to open source and instead opt to just release free binaries. Their reasons are that their algorithms are secret.
I suspect they don't want their program forked and don't want someone to take credit for a computation done with their program. Surprisingly, it has worked so far.
If pi computation were useful by its own, or there were a lot of people working towards records, we can expect multiple competitive pi computation programs where some of them are hopefully F/OSS. (The algorithm itself is not exactly secret anyway and big ideas are already in public, what makes y-cruncher special is its meticulous optimization.) But I don't see anything like that. There seem no actual demands for pi computation software, not just F/OSS.
> End time: Mon Mar 21 04:16:52 2022 UTC
> Total elapsed time: 157 days, 23 hours, 31 minutes and 7.651 seconds
> Total storage size: 663 TB available, 515 TB used
> Total I/O: 43.5 PB read, 38.5 PB written, 82 PB total
Yea, but how much energy did you waste for 100T digits of crap, Google???
This was done thru a massive energy crisis, mind you.
The energy crisis mainly affects oil and coal prices in the US so I don't believe Google's renewable-powered computations should have any effect.
If they'd run it in Germany where people are being asked to conserve electricity, things might be different.
[0]: https://github.com/GoogleCloudPlatform/pi-delivery/blob/main...
So we are using 256 cores and 1.5 TB of RAM, so probably about 7.5 kW or so. Over 5 months, the compute would have used 27 MWh, so about the energy content of ~750 gallons of gas.
The storage will obviously use more energy (I don't know if they are using spinning disks or SSDs), but I think ~50-100 MWh for the entire computation is a reasonable estimate.
And figure: oh shit? Did we solve pi?
I won't spoil it, but that book beautifully walked a skeptical / existential / transcendental line and makes you feel a special warmth despite being so immeasurably small.
The book was much better than the (quite adequate) film.
Sagan was an extraordinary communicator.
(Also Pi is irrational, so this won't happen.)
https://cloud.google.com/blog/topics/sustainability/clean-en...
In 24 hours it consumes about the same amount of energy (2.5kW * 24h = 60 kWh) as charging a Model 3 LR's battery from 0 to 75%. So definitely more than heating up two dozen gallons of water even to boiling temperature (8 kWh), but still within the realm of household consumption with EVs.