Slashdot Mirror


Google Smashes the World Record For Calculating Digits of Pi (wired.co.uk)

Pi just got bigger. Google's Compute Engine has calculated the most digits of pi ever, setting a new world record. From a report: Emma Haruka Iwao, who works in high performance computing and programming language communities at Google, used infrastructure powered by Google Cloud to calculate 31.4 trillion digits of pi. The previous world record was set by Peter Trueb in 2016, who calculated the digits of pi to 22.4 trillion digits. This is the first time that a publicly available cloud software has been used for a pi calculation of this magnitude.

Iwao became fascinated by pi when she learned about it in math class at school. At university, one of her professors, Daisuke Takahashi, was the record holder for the most-calculated digits of pi using a supercomputer. Now, y-cruncher is the software of choice for pi enthusiasts. Created in 2009, y-cruncher is designed to compute mathematical constants like pi to trillions of digits. "You need a pretty big computer to break the world record," says Iwao. "But you can't just do this with a computer from a hardware store, so people have previously built custom machines." In September of 2018, Iwao started to consider how the process of calculating even more digits of pi would work technically. Something which came up quickly was the amount of data that would be necessary to carry out the calculations, and store them -- 170 terabytes of data, which wouldn't be easily hosted by a piece of hardware. Rather than building a whole new machine Iwao used Google Cloud.

Iwao used 25 virtual machines to carry out those calculations. "But instead of clicking that virtual machine button 25 times, I automated it," she explains. "You can do it in a couple of minutes, but if you needed that many computers, it could take days just to get the next ones set up." Iwao ran y-cruncher on those 25 virtual machines, continuously, for 121 days.

132 comments

  1. Where... by ebcdic · · Score: 1

    ... can I download it from?

    1. Re:Where... by Killall+-9+Bash · · Score: 1
      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    2. Re:Where... by YuuTency · · Score: 1

      want to impress your girlfriend? :)

    3. Re:Where... by hcs_$reboot · · Score: 4, Funny

      You can get even more precision: 10 (in pi base)

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    4. Re:Where... by Jason+Levine · · Score: 5, Funny

      Back in college, I jokingly sent my friend 1 million digits of PI. This was on a VAX terminal college e-mail system and he didn't know how to delete the message without scrolling through the entire thing. So he sat there hitting page down over and over until he reached the bottom. For some reason, he didn't seem to appreciate the practical joke.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    5. Re: Where... by Anonymous Coward · · Score: 0, Troll

      What a gay waste of energy. Nobody needs to calculate pi to that many digits. Totally retarded because it is USELESS.

    6. Re:Where... by Anonymous Coward · · Score: 0

      Time to renew your prank

    7. Re:Where... by xonen · · Score: 2

      It's waiting for the copyright lawyers from Hollywood to make a claim.

      After all, the binary data from every move that was ever made and ever will be made is already in the number pi.

      Actually, if you would describe the whole universe in binary format -or decimal if you wish-, it's already in the number pi. Somewhere.

      --
      A glitch a day keeps the bugs away.
    8. Re:Where... by AHuxley · · Score: 1

      Whats the file size in terms of Firefox Send?

      --
      Domestic spying is now "Benign Information Gathering"
    9. Re:Where... by Anonymous Coward · · Score: 0

      want to impress your girlfriend? :)

      With a circle jerk... :-D

    10. Re:Where... by badboy_tw2002 · · Score: 2

      Remind me of the time I drop rock on friend Grog. He not like rock smash him. He beat me with club. Then saber tooth tiger eat whole family. Me laugh last!

    11. Re:Where... by MrLogic17 · · Score: 2

      You mean 1.0 (in base pi), right?

    12. Re:Where... by Anonymous Coward · · Score: 0

      Pi has not yet been proven to be a normal number. It probably is, but we might be surprised to find it's not after the 32nd trillion digit :)

    13. Re:Where... by chaotixx · · Score: 2

      Whats the file size in terms of Firefox Send?

      It it's too big, just compress it.

    14. Re:Where... by Anonymous Coward · · Score: 0

      Thats why I pay for internet.

    15. Re:Where... by Thud457 · · Score: 1

      Not impressed until they get to the part where the complete text of the Carl Sagan novel "Contact" shows up.
      Or Stanislaw Lem's "His Master's Voice", which probably comes first. /snark

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    16. Re: Where... by Anonymous Coward · · Score: 0

      Explains a lot

    17. Re:Where... by Anonymous Coward · · Score: 1

      3. there i did it for you. it is a lossy compression algorithm

    18. Re:Where... by AmiMoJo · · Score: 3, Interesting

      Actually, if you would describe the whole universe in binary format -or decimal if you wish-, it's already in the number pi. Somewhere.

      Can't be, because some universal constants are irrational, and therefore cannot be in another number.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    19. Re:Where... by squiggleslash · · Score: 2

      Probably not, 1 in any base is 1. A number in its own base is 10. (Hence ten, in decimal, is written 10, and two, in binary, is written 10.)

      --
      You are not alone. This is not normal. None of this is normal.
    20. Re:Where... by Anonymous Coward · · Score: 0

      No, he's correct. 10 is the number equal to the base. 1 in any base is just one.

    21. Re:Where... by MrLogic17 · · Score: 2

      *sigh* I knew that.

      [slowly turns in nerd-card]

    22. Re:Where... by Trailer+Trash · · Score: 1

      Well, thank God you didn't have 30 Trillion digits available. He'd still be there.

    23. Re:Where... by Trailer+Trash · · Score: 3, Funny

      Whats the file size in terms of Firefox Send?

      It it's too big, just compress it.

      And if that doesn't work, compress it again!

    24. Re: Where... by Killall+-9+Bash · · Score: 1

      Well, he's not wrong. NASA sent men to the moon with pi = 3.1416

      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    25. Re:Where... by squiggleslash · · Score: 1

      Meh, we all have brain farts sometimes, don't worry about it!

      --
      You are not alone. This is not normal. None of this is normal.
    26. Re:Where... by sexconker · · Score: 1

      1 in any base is 1.

      A number in its own base is 10.

      What about base 1 / unary?
      1 is 1 (or |), not 10 (or |0 or | ). There is no 0.

    27. Re:Where... by sexconker · · Score: 1

      Pi has not yet been proven to be a normal number. It probably is, but we might be surprised to find it's not after the 32nd trillion digit :)

      And our rules for computing it haven't been proven to true. For all we know we're making some arbitrary constructable number while the ratio of the circumference of a circle to its diameter is something else once you get to the grain of spacetime.

    28. Re:Where... by Impy+the+Impiuos+Imp · · Score: 1

      Here it is exceedingly compressed to 20 or so bytes: "pi to 33 trillion digits".

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    29. Re: Where... by Bengie · · Score: 3, Funny

      Would you say that it's irrational to do so?

    30. Re: Where... by Anonymous Coward · · Score: 0

      People do useless things, for amusement, all the time! It is far too normal an activity to qualify as "retarded."

      You seem to have a negative attitude about things.

    31. Re:Where... by Anonymous Coward · · Score: 1

      Your mom is pretty irrational and I was inside her last night.

    32. Re:Where... by Anonymous Coward · · Score: 1

      yes but if you can describe the constant with a generating function that could be encoded as a finite length algorithm and therefore a finite number

    33. Re:Where... by edtice1559 · · Score: 1

      It would be really *easy* to compress this to two characters "Pi" or just one if you are using something that can properly support unicode!

    34. Re:Where... by Anonymous Coward · · Score: 0

      Wow. You're a barrel of laughs... and probably a faggot too.

      What is your problem, asshole? Seriously, what if your fucking problem? Stop being a dickweed.

      Your homepage sucks cocks too.

    35. Re: Where... by Anonymous Coward · · Score: 0

      How TRANscendental of you!

    36. Re:Where... by SurenEnfiajyan · · Score: 1

      According to my PI-nary conversion algorithm the comment scores in Slashdot would be:
      -1 - -1
      0 - 0
      1 - 1
      2 - 2
      3 - 3
      4 - 10.22012202112111030100001011...
      5 - 11.22012202112111030100001011...

      My ID would be 11213000130002.2221120030010203010210012201... .The world becomes strange and ugly when you look at it through PI except that only PI based numbers are beautiful.

    37. Re:Where... by Livius · · Score: 1

      It's been proven trascendental, so no chance it's constructable.

    38. Re:Where... by Obfuscant · · Score: 1

      Probably not, 1 in any base is 1.

      I assume you meant that 1 base anything is 1 base 10. If so, then you are wrong. 1 base zero is infinity base ten.

  2. Time and energy by Anonymous Coward · · Score: 0

    All that time and energy wasted on showing off. Nerds are hilarious.

    1. Re:Time and energy by hcs_$reboot · · Score: 1

      Sowing off what? That Google has a lot of data space and cpu?

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    2. Re:Time and energy by Anonymous Coward · · Score: 1

      I hate to say it, but I agree. What's the point of this? I believe going beyond 40 or so digits already gets you down in the range of accurate to within a planck length or so. And around 20 digits gets you down toward the atomic limit of accuracy for building stuff. So really, who cares? We can't even validate that it's actually correct. We just have an algorithm that say it is.

    3. Re:Time and energy by DickBreath · · Score: 0

      > All that time and energy wasted on showing off. Nerds are hilarious.

      As opposed to . . . athletes showing off.

      Or Reality TV.

      People with brains might actually appreciate nerds showing off.

      I would also point out . . .

      All that time and energy wasted on . . . Facebook.

      --

      I'll see your senator, and I'll raise you two judges.
    4. Re:Time and energy by rossdee · · Score: 1

      " I believe going beyond 40 or so digits already gets you down in the range of accurate to within a planck length or so."

      But what if you draw a bigger circle?

    5. Re:Time and energy by MachineShedFred · · Score: 1

      So they used idle process in an already existing data center to actually calculate math, rather than just idle.

      What the fuck is your problem again? This is exactly the kind of thing that is more efficient on cloud computing.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    6. Re:Time and energy by xack · · Score: 1

      Still more useful than mining digital chucky cheese tokens. GPUs still double their true value.

    7. Re:Time and energy by tsqr · · Score: 1

      People with brains might actually appreciate nerds showing off.

      Yeah. I'll just leave this here.

    8. Re:Time and energy by Anonymous Coward · · Score: 1

      Clearly you don’t know much about idle vs under load power consumption. A blade that has an OS booted, but has nothing running, might use something like 150W. Under load, that same blade could use around 450W.

    9. Re:Time and energy by Calydor · · Score: 1

      As I seem to recall, pi to 12 digits allows you to pinpoint any point in the UNIVERSE to an atom's margin.

      What bigger circle are you drawing that you need 31.2 trillion digits?

      --
      -=This sig has nothing to do with my comment. Move along now=-
    10. Re:Time and energy by Anonymous Coward · · Score: 1

      But what if you draw a bigger circle?

      Bigger than the visible universe?

      Well ok, I guess since the universe is larger than just the portion we can see, that would be possible.

    11. Re:Time and energy by cellocgw · · Score: 1

      Which raises the question: how many valid BitCoin hashes are there in the 3.14trillion digits of pi?

      --
      https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
    12. Re:Time and energy by Anonymous Coward · · Score: 0

      Pi won't give you that level of accuracy because the real universe is full of deep gravity wells.

  3. Iwao smashed the record by doconnor · · Score: 1

    Sounds like Iwao smashed the record, but she happened to use Google Cloud computers to do it. With just 25 machines, Google staff probably was unaware of her existence.

    1. Re:Iwao smashed the record by Anonymous Coward · · Score: 0

      Summary says she works at google, so, staff.

    2. Re: Iwao smashed the record by Anonymous Coward · · Score: 0

      I'm dying of laughter at that, fuck me, I wish I only had 25 vms to deal with.

      But I doubt it's her being a moron; more likely she's aware she has to dumb things down for the infantile media.

  4. Today is PI day by Anonymous Coward · · Score: 0

    Just in case somebody missed it, it's 3/14 today.

    1. Re:Today is PI day by Jason+Levine · · Score: 1

      It's also Albert Einstein's birthday, relatively speaking.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    2. Re:Today is PI day by Anonymous Coward · · Score: 0

      It's 14.3.

    3. Re:Today is PI day by Anonymous Coward · · Score: 0

      Son-of-a-b***h! And I didn't get no card, neither :(

      CAP === 'eighty'

    4. Re:Today is PI day by Anonymous Coward · · Score: 0

      You can celebrate Pi Day on the 3rd of the 14th month...or maybe April 31st...

    5. Re:Today is PI day by mysticgoat · · Score: 1

      You are one of Al's relatives?

      Did you inherit his mustache? (I bet Al wouldn't have been so famous if he trimmed his 'stache and combed his hair)

    6. Re:Today is PI day by Anonymous Coward · · Score: 0

      it's 2019-03-14 to earthlings using the international standard and the only sane, descending, autosorting timestamp any programmer will touch

    7. Re:Today is PI day by Anonymous Coward · · Score: 1

      Or the 22nd of July. :P

    8. Re:Today is PI day by Killall+-9+Bash · · Score: 2

      Observing a holiday changes it.

      --
      "Prediction: within 10 years, Windows will be a Linux distribution." Me, 7-6-2016
    9. Re: Today is PI day by Anonymous Coward · · Score: 0

      This is not international at all. But English sorting.
      Internationally, all others language use 14-03-2019

    10. Re: Today is PI day by Anonymous Coward · · Score: 0

      Itâ(TM)s not. ISO dating is YYYYMMDD

  5. 31.4 trillion digits of Pi by Anonymous Coward · · Score: 0

    That's even more digits of Pi than I have calculated!

  6. How to prove it? by greichert · · Score: 1

    How can we make sure that the digits are even correct? What would prevent an algorithm to generate random numbers after some millions of valid digits?

    1. Re:How to prove it? by Anonymous Coward · · Score: 1

      There are Spigot algorithms that amount to pi pez dispensers.
      https://en.wikipedia.org/wiki/Spigot_algorithm
      They are ludicrously slow, but you input a digit of position and they will output the digit at that position without calculating all the intermediate values.
      https://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%93Plouffe_formula

    2. Re:How to prove it? by DickBreath · · Score: 2, Interesting

      If it is an algorithm calculating PI, it would be mathematically provably correct. This formula (there are more than one) calculate PI to arbitrary precision. All that is left to question is the correctness of the implementation.

      Since PI has been independently calculated by so many different implementations over time, the initial digits of them can be cross checked for correctness. One early effort, was it in the 1950s maybe(?) calculated PI to 2000 places, and that was called a 'stunt' to show off a computer. If other implementations get the same first 2000 places, can we assume their implementation of whatever formula they use is correct?

      Maybe you're saying something different: that someone could commit fraud by stopping generating PI and then substituting a random number generator. In that case, their results will disagree with the next person who tries to beat their record and it will be obvious.

      --

      I'll see your senator, and I'll raise you two judges.
    3. Re:How to prove it? by AmiMoJo · · Score: 1

      For your record calculation to be recognized you need to demonstrate that you made some effort to determine if it was correct or not, which usually means using two different algorithms and comparing the results. So actually she calculated Pi to 31.4 trillion digits twice, the second time with different code for verification of the first calculation.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    4. Re:How to prove it? by Livius · · Score: 1

      It's from Google so I imagine it's as reliable as Google's search engine.

  7. Tolerance for error by Black+Parrot · · Score: 2

    So if her last digit was wrong, how far off would she be on a calculation of the diameter of the observable universe?

    Does pi have any meaning when you get details beyond the Planck length?

    --
    Sheesh, evil *and* a jerk. -- Jade
    1. Re:Tolerance for error by kalpol · · Score: 3, Informative

      I've read somewhere you only need 40 digits to calculate the diameter of a circle the size of the observable universe to a precision within the diameter of a hydrogen atom.

      --
      12:50 - press return.
    2. Re:Tolerance for error by kalpol · · Score: 1

      edit: i may mean accuracy, not precision.

      --
      12:50 - press return.
    3. Re:Tolerance for error by ImprovOmega · · Score: 4, Informative

      Regarding your edit, you do mean precision. And the measure I prefer is computing the volume in cubes with Planck-length edges of a sphere with the diameter of the observable universe. But even that only takes you out to 200 or so digits.

      Here's some data on the size of the observable universe in Planck-lengths. 200 digits of pi should be sufficient to precisely compute the number of Planck-length cubed units in our observable universe. From a strictly physical perspective, more than this level of precision in meaningless.

    4. Re:Tolerance for error by Opyros · · Score: 1

      Sure it does. Pi comes into a huge number of formulas in both pure mathematics and applications; circle measurements just happen to be the first to be discovered.

    5. Re:Tolerance for error by Anonymous Coward · · Score: 0

      hydrogen atoms are pretty big compared to a planck length, like 20e worth, it's meant to be the smallest possible distance a photon can whatever when moving at 1c or something

      still, that only means like five~ten more digits?

  8. Hardware Store by sycodon · · Score: 4, Funny

    "But you can't just do this with a computer from a hardware store...

    I always get my computers from Home Depot.

    --
    When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    1. Re:Hardware Store by pslytely+psycho · · Score: 2

      Home Depot?
      Don't you know "Ace is the Place?"

      --
      Donald Trump, on a crusade to make Nixon look respectable
    2. Re:Hardware Store by Anonymous Coward · · Score: 0

      "But you can't just do this with a computer from a hardware store...

      I always get my computers from Home Depot.

      So THAT's where you got your DeWalt laptop from.... I was wondering....

  9. Pi digits by Anonymous Coward · · Score: 1

    So the same piece of software, y-cruncher, was used to break the record 6 times.
    This latest record has 31,415,926,535,897 digits. Har har, get it?

    1. Re:Pi digits by DickBreath · · Score: 1

      Cute. The next person to beat that record needs to calculate ten times as many digits to get one more digit in the number of digits.

      --

      I'll see your senator, and I'll raise you two judges.
  10. Better tagline by SuperKendall · · Score: 1

    Pi just got bigger.

    You missed a real opportunity there to say:

    There's now a lot more PI to go around.

    It's even more delicious than you think at first glance... "around", get it?!?

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Better tagline by mysticgoat · · Score: 1

      When you make pi bigger everybody gets a bigger piece. I'll take mine in apple, if you please. How much more of a byte am I now entitled to?

  11. Why does the headline say Google? by Anonymous Coward · · Score: 2, Insightful

    Google did nothing other than sell the environment. Maybe the headline should say Intel because it may have built the actual hardware, or Cisco because its switches were used somewhere?

    1. Re:Why does the headline say Google? by jbmartin6 · · Score: 1

      Emma Haruka Iwao works for Google, so there is that connection as well. But I agree, it wasn't a Google initiative or anything so the headline should properly credit the effort.

      --
      This posting is provided 'AS IS' without warranty of any kind, implied or otherwise.
  12. 31.4 trillion digits is just a rounding error by mdtiemann · · Score: 1

    Just sayin'

  13. OK, that's just sad. Really. by grep+-v+'.*'+* · · Score: 4, Funny

    "But instead of clicking that virtual machine button 25 times, I automated it,"

    She needs 170 terabytes of space across 25 computers for 121 days to produce 31.4 (Ha!) trillion digits. And she's worried about clicking a button a few times?? Hell, even I'm not that anal unless it was a trivial solution. (for a in `seq 1 25` ; do ./push ; done)

    First world problems, I guess.

    So in all seriousness, how do you check that? Run it again and see if it produces the same number? If there's a timing bug, it'll differ. If there's (say) a BAD timing bug, it won't; but might differ on a different machine. Or numeric coprocessor problems: One Two Three. Or cosmic rays actually flipping a bit somewhere. (ECC CPUs?) I realize this is all fun and games, but how do you know that it's actually correct? See if you can use it to successfully square the circle, in which case it's not?

    --
    If the universe is someone's simulation -- does that mean the stars are just stuck pixels?
  14. Storage size? by Anonymous Coward · · Score: 0

    Can someone explain the difference in storage size required to do this? The article says they used 171TB to calculate out to 31T digits? Would the storage requirement just be slightly greater than the number of digits calculated? Maybe like 10% for the application and some overhead?

  15. Pi Day. A test for factoring primes? by Joe+Branya · · Score: 1, Interesting

    Public-key/private-key encryption systems are based on factoring primes and the premise is no one can identify all the primes in a truly huge list of whole numbers starting at zero.

    So now that we know what Google can do in corporate spare time with its processors, maybe someone out there with more knowledge that I have can answer the question "Can two-factor encryption be undermined by the computing power Google used today to generate a Pi Day (March 14th) news release?"

  16. I wonder how much it cost by turp182 · · Score: 4, Interesting

    In terms of electricity.

    Or how much would it have cost someone who doesn't work at Google.

    25 servers, 121 days, 170 terabytes of data.

    And then the real question, was it really WORTH it?

    --
    BlameBillCosby.com
    1. Re:I wonder how much it cost by Anonymous Coward · · Score: 1

      And then the real question, was it really WORTH it?

      It placed a puff piece about Google Cloud in Wired, so their marketing department would say "Yes".

    2. Re:I wonder how much it cost by turp182 · · Score: 1

      I found the Google estimate site and used the highest RAM servers available. 25 servers at 24/7 comes to over $277,000 if paid by a customer. Estimate variables below.

      That's over $1.1 million USD for the 4 month period.

      I'd call this exercise a massive waste of electricity. How much coal was used in this exercise? How many tons of CO2 did this add to the environment?

      Site:
      https://cloud.google.com/produ...

      Estimate Details:
      25 x Calculating Pi.
      18,250 total hours per month
      VM class: regular
      Instance type: n1-ultramem-160 (160 CPUs, 3844GB RAM)
      Region: Iowa
      Total available local SSD space 8x375 GB (3,000GB per server)
      Commitment term: 1 Year
      Estimated Component Cost: USD 277,868.11 per 1 month

      --
      BlameBillCosby.com
    3. Re:I wonder how much it cost by garcia · · Score: 1

      If you care about having a 'world record' and/or are obsessed with Pi, like this person happens to be, I suppose it is.

      What I'm surprised by is the limit of only 25 VMs. In a previous job, we would spin up 64 VM clusters hundreds of times a day to chunk through 100TB of data in a few seconds and shut them down immediately after the data were processed.

      While I realize you cannot always make a baby in 1 month with 9 women, I still wonder if this could not have been done more economically both financially and resources wise.

    4. Re:I wonder how much it cost by turp182 · · Score: 1

      I really like your use of "cannot always" there...

      --
      BlameBillCosby.com
    5. Re:I wonder how much it cost by dj245 · · Score: 1

      In terms of electricity.

      Or how much would it have cost someone who doesn't work at Google.

      25 servers, 121 days, 170 terabytes of data.

      And then the real question, was it really WORTH it?

      25 virtual machines (they say). The record page shows that the hardware was a single dual-socket Xeon machine. That screengrab doesn't show anything about virtual machines, and it is unclear to me that you would need such an arrangement since the software is fully multi-threaded.

      It isn't really anything earthshattering, Peter Trueb used a 4-socket Xeon system with E7-8890 v3's to get the previous record. Emma took 16 more days (15% more) than Peter to do the calculation, and I assume the processors were 2 years newer. Based on that, I don't believe it would require anything radical to get ~50% more digits.

      --
      Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
    6. Re:I wonder how much it cost by dj245 · · Score: 1

      I found the Google estimate site and used the highest RAM servers available. 25 servers at 24/7 comes to over $277,000 if paid by a customer. Estimate variables below.

      That's over $1.1 million USD for the 4 month period.

      I'd call this exercise a massive waste of electricity. How much coal was used in this exercise? How many tons of CO2 did this add to the environment?

      Site: https://cloud.google.com/produ...

      Estimate Details: 25 x Calculating Pi. 18,250 total hours per month VM class: regular Instance type: n1-ultramem-160 (160 CPUs, 3844GB RAM) Region: Iowa Total available local SSD space 8x375 GB (3,000GB per server) Commitment term: 1 Year Estimated Component Cost: USD 277,868.11 per 1 month

      That's far beyond what the record page shows. It appears the record was broken with a single dual-socket Xeon machine. Which is in line with how the previous record (a single 4-socket Xeon machine using older processors) was broken.

      --
      Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
    7. Re:I wonder how much it cost by turp182 · · Score: 1

      I figured she had access to the highest level cloud servers they offer, with her working there. Reading the article is says that every digit takes additional time, memory, and storage.

      She works for Google in their "high performance computing and programming language communities" per the summary (I did read the article as well).

      --
      BlameBillCosby.com
  17. Re:OK, that's just sad. Really. by Anonymous Coward · · Score: 0

    The way you check it is by using a spigot algorithm and checking every nth digit in the set.
    Spigot algorithms do not require calculation of intervening digits, so you just pick the position and the algorithm coughs up the correct digit.
    Here is the one I would pick...
    https://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%93Plouffe_formula

    Then just check every 10th or 20th or even 100th digit. If there are no discrepancies then you have a winner.

  18. Re:OK, that's just sad. Really. by AmiMoJo · · Score: 1

    For verification the tool in question has two methods of calculating digits of Pi, and compares the results.

    For automating 25 clicks, I would assume it was more than a single click but even so, what geek hasn't wasted more time automating something that it would have taken to do manually? Manual repetitive tasks are boring, automation is an interesting little task.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  19. burp by swschrad · · Score: 1

    I don't think I can handle any more pie.

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  20. Meanwhile, in the 1950s by squiggleslash · · Score: 1

    Alan Turing is busy programming a Colossus 1000, finishes, waits the the lightbulbs to flicker, and runs out excitedly straight into the Guiness Book of Records offices.

    "I've done it! I've used a computer to calculate Pi! It's.... about 3. It's just one digit so far, but with a more powerful computer, we could get this down to two, or even three, decimal places!"

    And that's how the world record was initially set.

    --
    You are not alone. This is not normal. None of this is normal.
  21. Determinism by Anonymous Coward · · Score: 0

    If you change that digit, the universe will explode.

  22. Why would you calculate Pi to so many digits? by DrSpock11 · · Score: 2, Funny

    Seems irrational to me.

  23. Bah! Too much work by cmdr_klarg · · Score: 1

    Way too much work. Just pass a law that sets pi to be 3. https://en.wikipedia.org/wiki/...

    --
    THE SOFTWARE, IT NO WORKY!!!
  24. y-cruncher by Anonymous Coward · · Score: 0

    http://www.numberworld.org/y-cruncher/

    This is the guy (Alaxander J. Yee) that wrote the software, and used it to compute ten trillion digits, on souped up PC hardware !

    I was always interested in his PC hardware, see this link with some pictures from the 10 trillion digit effort.

    http://www.numberworld.org/misc_runs/pi-10t/details.html?level=1

  25. Missed opportunity by FuzzMaster · · Score: 1

    Should've reported it as 3.14 x 10^13 digits.

  26. How much would have Google charged the public? by Anonymous Coward · · Score: 0

    How much would have Google charged the public to reproduce this?

  27. Re:OK, that's just sad. Really. by Anonymous Coward · · Score: 0

    How can we check a PI-number?

    We can use this formula to check any Nth number and see if it matches
    https://www.math.hmc.edu/funfacts/ffiles/20010.5.shtml

      - Peder

  28. Re:Pi Day. A test for factoring primes? by epine · · Score: 1

    Public-key/private-key encryption systems are based on factoring primes and the premise is no one can identify all the primes in a truly huge list of whole numbers starting at zero.

    Everything about that statement is wrong.

    We don't factor primes, we factor prime products. Furthermore, it's relatively easy to identify primes, or we couldn't come up with the two large primes to multiply together in the first place.

    We can also test that the product isn't prime with good efficiency.

    What we can't do is efficiently identify which primes were multiplied together in the first place, not even knowing a priori that there are exactly two prime factors, and that they are roughly comparable in magnitude (with a similar number of digits—not that this hint helps much at all).

  29. Re:OK, that's just sad. Really. by amanaplanacanalpanam · · Score: 1

    (for a in `seq 1 25` ; do ./push ; done)

    You just saved yourself 25 keystrokes...in a mere 38 keystrokes.

  30. Was there a long stretch of 0s in it? by 140Mandak262Jamuna · · Score: 1

    I saw a documentary where the aliens were sending messages to civilizations by encoding message from the 1 trillionth digit of pi.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  31. Really? by Anonymous Coward · · Score: 0

    Was it really a woman that did it?

    That's kind of like saying a woman won the decathalon because Caitlyn Jenner did it.

  32. I want a job like that... by mnemotronic · · Score: 1

    Hey boss. I want to harness a couple hundred VMs to find the most profitable stock market buy-sell strategy based on all the different types of moving averages and periods. I figure six moths to a year to write the code, then another 6 mo at least to let it chunk along. I'll share the results with you before I publish.

    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
  33. Great by Cochonou · · Score: 1

    Now let's do exp(1).

    1. Re:Great by hcs_$reboot · · Score: 1

      Yeah, but nobody cares about the 7th of February

      --
      Slashdot, fix the reply notifications... You won't get away with it...
  34. But why do you think pi is interesting? by shanen · · Score: 1

    My initial reaction to this story was to wonder how irrelevant this is from a real world perspective. The actual universe is not flat. Made me wonder how many decimal places actually apply to reality. I'm guessing that it's a larger number somewhere out between galaxies... Here on earth, probably less than 10 digits of pi are significant, and fewer than that if you were on Mercury.

    Seems to make more sense to calculate an irrational number that has some rational relationship to the real world. How about e? I guess that means February 7th should be e day?

    Recently I was actually doing some thinking about pi, but it was purely a coincidence and I just used pi because the digits were conveniently available. Eventually led to https://oeis.org/A036903 which begins 32, 606, 8555, 99849, 1369564, 14118312, 166100506, 1816743912, 22445207406, 241641121048, 2512258603207...

    What I was actually looking for was a characterization of the randomness of an irrational number, pi in this case. There is a formula that predicts the values of A036903. (It is (10^n)*(ln(10^n)) for n-digit sequences. Or is it for (n-1)-digit sequences? I'd have to check my notes... (Guess why I switched from math to computer science.)) There was also a diversion into binary representations and the corresponding sequences and formula (though the binary version of A036903 is apparently not in the OEIS).

    Not meaningful, but I found it curious that for pi 7 of the 8 decimal predictions were low, while 5 of the 10 binary predictions were low and 5 were high. At least I can't imagine what meaning those results might have.

    After some thought, I would now reword the question as "What are the characteristics of irrational numbers that come closest to (or farthest from) the predicted values?

    --
    Freedom = (Meaningful - Coerced) Choice != (Speech | Beer^2), and sad sock puppets' bad mods avail them naught.
    1. Re:But why do you think pi is interesting? by inerlogic · · Score: 1

      with 39 digits of pi you an calculate the size of the universe with an error of less than the width of a hydrogen atom......

  35. Re:Pi Day. A test for factoring primes? by Anonymous Coward · · Score: 0

    I 'm Joe Branya, the original poster. Epine is correct. I wrote in haste and it shows.

    But Epine spotted the issue I was addressing when he/she said "What we can't do is efficiently identify which primes were multiplied together in the first place".

    With enough memory to store the universe of primes and an index of the two right-hand digits that result when each potential pair of primes are multiplied together, a brute force cracking seems possible. I don't know if the Google setup is large enough to create and store the required information but if it is then Epines very legitimate caveat about efficiency may not matter.

    Sorry for my sloppy writing over my first coffee.

    Joe B..

  36. Random Number Generator? by Anonymous Coward · · Score: 0

    Just out of curiosity... has anybody checked their result?

  37. doesn't follow. by themusicgod1 · · Score: 1

    Can't be, because some universal constants are irrational, and therefore cannot be in another number.

    imagine the following number: 0.131415926...
    which is
    0.1 followed by the digits of pi in base 10.
    this is clearly irrational, (since pi is irrational, it will be neverending), yet it's a irrational number that contains another number in them.
    Why isn't your favourite irrational number like this? Can you prove that pi is not contained within even e?

    --
    GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    1. Re:doesn't follow. by AmiMoJo · · Score: 1

      For that to work one infinitely long number would have to be longer than another infinitely long number.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:doesn't follow. by Anonymous Coward · · Score: 0

      It's not an irrational number that contains another number, it's an irrational number.

    3. Re:doesn't follow. by Anonymous Coward · · Score: 0

      No it wouldn't, and I'll prove it.

      The set of all integers is infinite.

      The set of all positive integers and the set of all negative integers are also infinite.

      Both of those sets are subsets of the set of all integers, despite the fact that all three are considered infinite. Furthermore, the set of all integers is one larger than the set of all positive integers plus the set of all negative integers.

      If your statement was true, then none of what I just said could be true. And yet it is.

    4. Re:doesn't follow. by themusicgod1 · · Score: 1


      Sure it contains another number. It contains it by the following procedure:
      number B is 'in' number A if for all digits, in order, B is present in A consecutively.

      The Nth digit of number B is the N+1th digit of number A. The 1st digit of number A is 1.
      Since for all N digits of number B it is present in A therefor B is in A.
      * The digits are in order (for all N, it is the case that position N+2 is higher than N+1)
      * The digits are all there (for all N)
      * The numbers are all consecutive (for all N there is nothing other than the next digit at position N+1)
      :. B is in A

      --
      GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
  38. So... by dddux · · Score: 1

    How much better is the world now? How many people are better off? How many animals are saved? No "pi" for them, eh?

    --
    "It is no measure of health to be well adjusted to a profoundly sick society." - Jiddu Krishnamurti
  39. Shepherd's Pi 2.0 by careysub · · Score: 1

    Now the Shepherd's Pi song can be extended from one million hours (derived from one billion Pi digits) to 30 billion hours, or 3.5 million years!

    Elevator music for geological ages!

    --
    Starships were meant to fly, Hands up and touch the sky - Nicky Minaj
  40. In other words by Livius · · Score: 1

    25 virtual machines spent 121 days not analysing protein folding or cures for cancer.

  41. 31.415926535897 trillion digits? by Tony+Isaac · · Score: 1

    I'd like to know the first pi x 10 trillion digits!

  42. Missing the importance of this 'record' by Anonymous Coward · · Score: 0

    If they left the machines on for 5 years they would have more digits.

    While having more detail into the nature of pi is definitely cool, a contest of who can leave the most expensive computer running longest is not really that cool.