9 ms·
Google Cloud Platform’s Pi API – With access to 750B digits of Pi
- JorgeGT 10y ago> This is just for fun. There is NO SLA. It might be turned off at any time! Google service confirmed!
- lechiffre10 10y agoloooollll
- campoy 10y agoI'm a Google employee and you made me LOL hahaha
- oryades 10y agoTrue.
- shujito 10y agoI was expecting Raspberry Pi
- __s 10y agoListening to the essentially random sequence of notes, fancy recognizing Feynman's point
- essayist 10y agoWhat was Feynman's point? I've got Pi/Listen going in the background, and it's quite pleasant, so I'm doubly interested.
- mrybczyn 10y agoA sequence of many 9's in a row in the decimal expansion, which Feynman jokingly extended ... and 'showed' therefore pi was rational.
- ncfausti 10y agohttps://en.wikipedia.org/wiki/Six_nines_in_pi https://en.wikipedia.org/wiki/Six_nines_in_pi
- tgb 10y agoIt's amusing to read the talk page on this article - there was lengthy investigation about whether this really had any Feynman connection (i.e. was the story about him apocryphal) and what the article should be called. I think the current title is fantastic - I would have struggled to name such a thing.
- sly010 10y ago> I've got Pi/Listen going in the background, and it's quite pleasant That is probably due to the choice of musical scale more than due to Pi. I believe the output of randint(0,10) on the same musical scale would sound just as pleasant.
- deleted 10y ago[deleted]
- hyperion2010 10y agoSo my take home here is that webscale makes https://github.com/philipl/pifs https://github.com/philipl/pifs possible.
- deleted 10y ago[deleted]
- pugio 10y agoI know it's Pi day, and the title uses the word for the greek letter, but my mind read the domain and immediately thought Google was offering an API for automated pie delivery. Now I really want this.
- Waterluvian 10y agoI thought it was someone with a large array of raspberry pi computers for rent. It would be like an itty bitty AWS with adorable APIs at cute as a button prices.
- oaktowner 10y agoThere's a great April Fool's joke in there somewhere.
- Buge 10y agohttps://www.google.com/express/u/0/product/8623907572944288555_1873219534739887620_11268992 https://www.google.com/express/u/0/product/86239075729442885...
- lacampbell 10y agoNow, if only there was a service to leftpad my strings...
- johnhenry 10y agoNot sure if you'r being scarcastic, but... https://api.left-pad.io/?str=be%20careful%20what%20you%20wish%20for...&len=45 https://api.left-pad.io/?str=be%20careful%20what%20you%20wis...
- nihonium 10y agoThat's great! I'd like to use this but sending my enterprise data to a third party is not very secure. Do they provide a docker image or ami?
- johnhenry 10y agoNow, I just assume you're being sarcastic :). But, if you would like, I can build docker image that does the same thing for a price ;).
- hellbanner 10y agoIs there anything we can learn from the transition between numbers? Any pattern?
- jedberg 10y agoThings I would do if I were a better JS programmer: 1. Figure out how many BPM I need to to have the music simulation generate digits at the same rate as the visual simulation. 2. Figure out how to press both start buttons at the same time.
- saturnism 10y agoit's actually here: https://pi.delivery/demo/ https://pi.delivery/demo/ but we didn't have time to make it look nice :(
- jedberg 10y agoAwesome!! I knew I couldn't be the only one with that idea.
- aviraldg 10y agoIs that a standard template you're using for the website?
- saturnism 10y agonot standard, but browsed through jekyll templates - this one fit our needs the most: https://github.com/CloudCannon/aviator-jekyll-template https://github.com/CloudCannon/aviator-jekyll-template
- nodesocket 10y agoI'm calling this: after attending Google Cloud Next last week, and seeing the huge improvements to GCP in the last 18 months, I am supremely confident that AWS should be worried about Google as a legitimate competitor. $GOOG is betting big on GCP, and they are executing at a very high level releasing iterative products and new features. I'm recommending GCP for all my clients (shameless plug https://elasticbyte.net https://elasticbyte.net) if they don't have any infrastructure setup or provisioned already. While AWS offers a wider array of integrated services (they do have a large lead time), GCP has learned from all the mistakes of other providers. They started off with a superior project based structure, then per-minute billing, then sustained-use discounts, then Container Engine (GKE), then the Firebase acquisition (genius), now Functions and SQL Postgres support.
- bitmapbrother 10y agoLegitimate competitor? With all of the data centers they have sprouting up this year and their superior networking technology and infrastructure I'll go on the record and say they'll be #1 in 5 years.
- nodesocket 10y agoCompletely agree they absolutely nailed networking and VPCs. GCP network attached disks are so much faster and easier to groc than EBS. The bigger the GCP disk, the faster it performs. If you want to maximize IOPS make a disk 750GB or larger. Compared that with EBS that has overhead with concepts like enhanced networking, EBS optimized, and don't even get me started on provisioned IOPS.
- vacri 10y agoProvisioned IOPS is still there, but in AWS the standard disk is 'the bigger the disk, the faster it is' - 3IOPS/GB (theoretically), with max IOPS at 1000GB. 'Enhanced Networking' is on most server types now as well. AWS pricing is definitely not made to be simple to understand, though...
- Guest98123 10y ago
- Myrmornis 10y agoThat first visualization using d3 is a classic example of a bad visualization isn't it? It's extremely difficult to get a sense of the difference in off-diagonal transition rates, and impossible to get an accurate sense of them or any sense at all of the on-diagonals. And yet, the transition rates could have been conveyed perfectly well by writing them in a 10 by 10 table! Maybe shading the cells of the table somehow to show the rate -- I'm no expert in data visualization -- just not the one chosen! I think d3 is wonderful, but I worry that this sort of thing will make some people shake their heads and say "fancy JavaScript nonsense just causes people to make bad visualizations nowadays".
- thesandlord 10y agoIt's just supposed to look pretty, not really serve a function. We opened the API to the world so people who are way better at visualizations can build what they want!
- alcari 10y agoHere's the requisite cynical comment lamenting the death of "standards". They could easily have implemented RFC 3091 [0], but instead they chose to create yet another proprietary API with vendor lock in, just as cloud service providers love to do. [0]: https://tools.ietf.org/html/rfc3091 https://tools.ietf.org/html/rfc3091 /s
- anshargal 10y agoMentioned above RFC specifies port number 314159 which is greater than possible max 65535. So once again unrealistic standards that does not work force people to invent something sane. /s
- danbruc 10y agoThat is only a problem if you insist that Windows 3.1 is the best operating system in existence and if you are therefore unwilling to upgrade to Windows 95. The future is 32 bit, move on.
- bbcbasic 10y agoLove that the piano works as a normal piano!
- du_bing 10y agoJust curious, what algorithms do you use for computing Pi? I have read about the Fabrice Bellard's job and algorithms about computing Pi, he uses relatively small CPU but his algorithms seem efficient.
- detaro 10y agoThe software they used is linked and has a some info about the internals here: http://www.numberworld.org/y-cruncher/algorithms.html http://www.numberworld.org/y-cruncher/algorithms.html
- coldcode 10y agoI've always wondered if you take the digits from Pi, do they represent a pseudo random sequence or not?
- larksimian 10y agoIt's speculated that Pi is a normal number[1]. If it is in fact normal, then I believe the answer is yes. However determining whether a number is normal or not is an unresolved problem according to Wolfram, so the answer is a solid maybe. [1] http://mathworld.wolfram.com/NormalNumber.html http://mathworld.wolfram.com/NormalNumber.html
- dmurray 10y agoPi is conjectured, but not proven to be a "normal number"[0] which is probably what you mean by a pseudorandom sequence. [0] https://en.m.wikipedia.org/wiki/Normal_number https://en.m.wikipedia.org/wiki/Normal_number
- sly010 10y agoPretty cool. I did look at my calendar quickly to see that it's not April 1. The "How we made this" part makes for a great parody of cloud computing.
- nix0n 10y ago> great parody of cloud computing I don't get it.
- sly010 10y agoAll that stack and overhead to serve what is basically static data? Come on, if this was released ~2 weeks from now it would be funny... It kind of reminds me when all bitcoin private keys were leaked: http://directory.io/ http://directory.io/ Edit: It's impressive, but still funny.
- sfeng 10y agoOne of the great things about having all of this great tooling is it makes the easiest way to do something also the best way. They were able to quickly spin something up which, incidentally, could also massively scale should it need to.
- mrevolution 10y agoNice job! You have a lot of AltCN in your SSL cert!
- jxi 10y agoIs the source code for this published somewhere?