NoteToServices

Useful SaaS Apps For Individuals and Businesses

Pi Data App

May 10, 2020 — As we sit in quarantine, there are a variety of different types of people who behave in specific ways when completely isolated or isolated with their closest friends or family. For some people, they prefer to just keep watching Netflix or Disney+ all day. Others are enjoying a good book, while this has been a time for people to clean up their houses, work on projects they didn't have time to work on before, and find ways to keep life interesting. While I love being lazy, I am usually always working and during this COVID-19 CCP virus pandemic, there are still 24 hours in a day but you are expected to be at home and no where else.

After completing my first quarantine project, Rewind WP, which will allow you to set your wesite up for demo or staging purposes, make backups, and automatically restore your website to a previous point. Once this was complete, I started a new project called WP Daily Backup which was about 90% complete until I had a slight "momentary lapse of reason" in which I received a vision of a web application that had to do with Pi. I am not good at math nor have I ever been really interested in more than just knowing 3.14.

While the vision was very clear on how to go about it and I knew it had something to do with Pi, I wasn't exactly sure how to go about it completely. This project first started out with generating Pi. The idea would then be that everyone who comes along can help generate some Pi with their computing power, which would take the load off my server, which was able to calculate thousands of calculations in minutes, but it is definitely a big workload to attempt this. The concept was definitely simple: come to the website, click the button, spend about 10-60 minutes on the site generating Pi in comibination with the server processor.

However, I struggled to get it to calculate to the precise number if someone else who didn't start the 3.14 initiation sequence so if someone came and left the website, another person or multiple people could come along and also click the start button and it would generate in a place where a person last left off. Unfortunately, I could not get it to work the way I had wanted it to work, and after several attempts, I knew this vision still meant something, so I looked around, read up on Pi, read up on the amount of numbers and processes it takes to get through so many digits of Pi.

I stumbled upon an article of an accomplishment of 50 trillion digits of Pi processed by Timothy Mullican. Okay, great. Timothy had spent nearly a year letting his hard drives and computer do the processing of Pi and it took over a year of nonstop computing power. Good for you Tim, good for you. What good would this be if no one could have access to them? Sure, you could keep it a musuem but other than looking like a solid piece of a computer component, it would mean nothing to anyone who ever saw it except maybe computer nerds and people who are obsessed with Pi.

That is when I came across a website called pi.delivery that happened to be hosting all 50 trillion digits of Pi on their website and in API json format and only API json format, which is useful to programmers, but not so much for anyone else. I also noticed that pi.delivery is the ONLY website hosting 50 trillion digits of Pi. I am sure they are located on Tim's hard drive somewhere. I also cannot imagine anything happening to Google, Google Cloud Platform, or Firebase. However, this means that Google is only second to hold all of these digits. While I'm not immortal and someday, maybe tomorrow, maybe a week, a year, or 50 years from now, I might pass on, but my intentions are certainly to hold on to these Pi digits for as long as I can.

I have a 10 GbE server currently downloading and uploading about 1,000,000 Pi digits per minute. Who knows how long it will take, but I plan to host all 50 trillion digits in a text file. As for my original plan: the processing of 50 trillion digits I may revisit the script and figure out how to allow everyone to help with processing so that everyone can give just a few minutes of their processing power and we can get beyond 50 trillion digits. For now, the original project was shelved, but the project is called Pi Data and allows you to search Pi by terms, position of the character digit across Pi, or our experimental feature will attempt to scan all 50 million files for the sequence.

We hope you enjoy this project and ask for your support if you find it helpful, useful, or entertaining.