140 comments

[ 3.3 ms ] story [ 195 ms ] thread
Surprised it's not "find your social security number".
Sorry, not from the US. Why the social security number is so private and must be treated carefully? I always thought it was like your tax number ID
It is your tax ID number, but a lot of companies use it as a secret identifier for you since they are (supposed) to be unique. So if you call your bank and they need to prove who they are talking to they ask for it, for instance.
Because many financial organizations in the US use it for authentication purposes. The risk is identity theft, essentially.
To answer GP's (presumed) followup questions:

No, that is not a typo.

Yes, it's exactly as stupid as it sounds.

It can be used to apply for credit.

You would think that lenders should be on the hook for handing out money to the wrong person, but they’ve framed accepting uniquely identifying personal information like ssn, or date of birth with postal code, as conducting business with an entire identity that has been misappropriated.

It is a bit weird that lenders ask you for your "private key". If it is private, how can they even look up if it is you who shows them this number?
These unique personally identifying bits of information are not private keys.

Private keys on the other hand can remain secret even when someone is confirming their validity. To oversimplify a little, the way it works is that the private key is input into a one-way algorithm that generates an output they check against their saved values. If the output matches twice then they know you have the same key as the one you used in the past. They cannot used the output of a one-way algorithm to discover what the input was that generated said output.

Powered by Wolfram - interesting why this was the choice
Because it is a marketing page by Wolfram
Ugh. It truncated the 19xx from my birth year. I was initially pleasantly surprised to get a 6 digit result for an 8 digit input... but alas I'm not special, in terms of pi birthday compression ratio ;)

Edit:

- "enter date in any format"

- Okay, interesting... I enter day-year-month

- "there's something wrong with the date you entered!"

Lol

Well, there is something wrong with that format :), it's not sorted either ascending or descending. :) But yeah, nonsense text on their part, they are clearly parsing it.
Neither is mm-dd-yy!
Yes, there is something badly wrong with that format too. :)
It doesn’t accept evil formats, clearly
This one seems to work better: https://www.angio.net/pi/

~167 millionth digit for me.

beat you at ~10millionth
Im -260k can anyone beat that here?
135,025. Brings back memories of /. UIDs.
40397 (10/17/72)
This subthread is about locating the full date including century.
Nice! I would also be interested in the position of your credit card number
It didn't find mine using YYYYMMDD format.
Mine is not present! I look forward to its position being revealed later in my life.
Wow, this site is a blast from the past in terms of UI but oh boy, it's much much much faster than the Wolfram one!

Also, very interesting how it works (https://www.angio.net/pi/how.html)

Thank you. :-)

I'm definitely a systems programmer, not a UI person. Suggestions or questions welcome, of course, but I usually only spend a day per year on the pi searcher. I re-wrote it in rust last year for fun, though.

Out of curiosity, do you make a lot of money from the ads? I find small niche sites like this to be somewhat less nice to use because of the ads, especially on mobile where they take up lots of limited real estate. And it seems to me that they can’t be generating that much money given the niche topic. But maybe I’m wrong!
No. I should prune them, honestly. I earn about $100 / month on them; I played around with it at some point mostly to understand the advertising ecosystem. Half of the links to Amazon are broken at this point. My hosting costs are about $20 per month now thanks to optimization to the search engine and offloading larger objects and pi fragments to cloudflare. (Used to be higher)

I do want the site to be at least "self-maintaining", though.

(Sorry uBlock user here so I Saw no ads)

Maybe you can try to setup a custom t-shirt with the desired number in the Pi sequence, like the original article has.

Thanks again for the site!

That's a fun idea. Thanks! Hmmm.

And very welcome. It turns 25 this year, which is really weird - it's older than my students! grins

You should show the site to your students by using it to look for the birth date of your site :)
Your UI beats the stuffing out of the Wolfram abomination
> this site is a blast from the past

> I'm frequently asked where people can get such a ridiculously large amount of pi. Be warned that 50 million digits of pi takes up 50 megabytes. This can take up to 4 hours to download with a 28.8k modem!

I love the old internet. Users gave a shit about other users.

(comment deleted)
I wonder how much that information already narrows down your birth date.
Well, that was a stupid amount of fun.

Longest "Pi" sequence found: 31415926

For the digits 0-9, there are stretches 8 (i.e. 11111111) long for all the digits, but 6, 7, and 8 have 9 digit stretches (which given the property that a 9 digit random number would be in there at ~9.5%, is an anomaly!).

12345678 exists, but not 123456789. Similarly counting backward, but 876543210 exists. 012345678 does not.

And, yes, my birthday is in there, both at MMDDYYYY and YYYYMMDD.

Anyway, silly amount of fun.

Yeah...the truncation is opposite of what is said in input prompt

'Enter your birthdate (or other date) in any format'

I don't understand why they went through the trouble.

It even pings this script first

https://www.wolframcloud.com/objects/user-ca9f3e2e-1c45-4ace...

to get a checksum ("ck") that it then passes to the Pi searcher in the query string, which appears to be the last 8 digits of the MD5 checksum of the date, e.g.

    import hashlib
    print(hashlib.md5("12-30-56".encode()).hexdigest()[-8:])
Unfortunately passing invalid dates seem to once again crash the image generator that presents the results.

Valid:

https://www.wolframcloud.com/objects/microsites/mypiday/pida...

Invalid:

https://www.wolframcloud.com/objects/microsites/mypiday/pida...

In all seriousness, why isn't this just "find any number in pi"?

Same. It was way less satisfying to see MM.DD.YY format instead of MM.DD.YYYY date in pi.
A friend of mine once made the argument to me that software patents are nonsense because if pi is normal[0], then your source code, suitably encoded, appears somewhere in pi.

I don't know that that's a good argument, but it's a fun one.

[0] and while we don't know for sure signs point to yes

It's a fun argument, but using it in earnest is also committing a category error. IP laws care not just about the bits, but also about their provenance (the famous "colour of your bits"). That is, the code in question may exist somewhere in pi, but it's not where you actually got it from.

(Also, even if the code exists somewhere in pi, finding it there requires more effort than coming up with it in the first place. There are interesting mathematical/philosophical consequences of this reasoning.)

Your coding process is different from mine
> finding it there requires more effort than coming up with it in the first place

What if you have access to [enter arbitrary number] computers?

[arbitrary number] is currently limited to somewhere in the low billions, which is unlikely to be of much help, even for finding the ASCII representation of "Hello, World!".
I meant in a fundamental sense, per information theory, i.e. physics.
[Arbitrary number] is big. You just won't believe how vastly, hugely, mind-bogglingly big it is. I mean, you may think it's a long way down the road, but that's just peanuts to [arbitrary number].

Assuming the binary digits of π are randomly distributed[0], any given n-bit binary sequence is going to come up with a probability of 1-in-2^n at any given point in the whole thing. A 1 kB file of any kind, app or data, is already one in 1-in-2^(8*(2^10))).

The Hitch Hiker's Guide to the Galaxy says that if you hold a lungful of air you can survive in the total vacuum of space for about thirty seconds. However it goes on to say that what with space being the mind boggling size it is the chances of getting picked up by another ship within those thirty seconds are two to the power of two hundred and sixty-seven thousand seven hundred and nine to one against.

This probability corresponds to a file just fractionally smaller than 33464 bytes.

For scale: The universe can have performed no more than 10^120 ops on 10^90 bits[1] (~2^399 and ~2^299 respectively), meaning that no IP-protected content over 299 bits in length is likely to be found even when the entire universe is dedicated to this task, and even if your algorithm for finding extra digits of π is efficient enough that you're not limited by it.

[0] is this proven for any value of "random"? I genuinely don't know.

[1] https://arxiv.org/abs/quant-ph/0110141

It basically comes down to the million monkeys on a million typewriters argument. Any work of art or creation could be created randomly, given an infinity. Pi is just a sort of random number generator.
Although every PRNG must eventually repeat, while pi is mathematically proven to never repeat. And real-life RNGs are fundamentally limited by hardware, no? How long would it take to pull multiple terabytes off one? They're not meant for it.
Must it? What if you use the seed as an offset into pi, and then just return digits of pi from that point onwards?

(of course that will eventually run into a problem with the state of the RNG exceeding available memory, so it will ultimately fail on resource exhaustion, but it won't repeat)

I think the problem is calculating pi must be done in series, so you can't really get much further than anyone else. contrast that to a hypothetical situation where you could effortlessly start calculating at the nth position of pi. Then you'd have a rock-solid RNG where your real-world entropy source could repesent each digit of the index, so i.e. you get a 500 digit number, then start reciting pi from that position, now you're cooking with gas. Meaning your search space to crack the RNG would be about as difficult as cracking AES-256. but anyway I'm talking above my paygrade here, so no guarantees :)
> I think the problem is calculating pi must be done in series, so you can't really get much further than anyone else. contrast that to a hypothetical situation where you could effortlessly start calculating at the nth position of pi.

There is this: https://en.m.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80... , so you can calculate later digits of pi without the earlier ones.

I wonder if there's an irrational number, not necessarily pi, whose computation is efficient enough that modern computers could find relatively short pieces of protected data in its digits, for example the AACS encryption key.
In a similar vein, the corecursive podcast[0] covered the Sloot Digital Coding System[1] in which it is hypothesized that he attempted something very similar but for video. Unfortunately, it seemed like overestimated his ability to produce this and resorted to smoke and mirrors for demos. It’s a facinating story that reads like a tale of industrial espionage.

[0]: https://corecursive.com/sloot-digital-coding-system/

[1]: https://en.m.wikipedia.org/wiki/Sloot_Digital_Coding_System

It’s a common logical error. Infinity doesn’t mean all possibilities. An infinite universe doesn’t have infinite copies of someone. Pi doesn’t have everyone’s source code. There an infinite number of infinite random digit series that don’t contain anyone’s source code.
Since pi never repeats it should actually contain any sequence of numbers possible though, right? So if you encode your source code as number thet argument should hold up.
Since pi never repeats it should actually contain any sequence of numbers possible though, right?

Simple counterexample: 0.101001000100001... which is 1 followed by one 0, then 1 followed by two 0s, then 1 followed by three 0s, and so on. It never repeats, but "11" will never appear.

"Almost all" real numbers do contain all finite sequences, but it hasn't been proven for pi (https://en.wikipedia.org/wiki/Normal_number).

But if my source code has length n in binary, and I had an infinite number of monkeys typing on an infinite number of terminals, they could find it in pi or any similar digit sequence within (((n * n) * n) * n)! years. Finding a jpeg of the Titanic sinking autographed by the captain might take a little longer, but Fox News is working on that.
> Pi doesn’t have everyone’s source code.

This isn't actually proven though, as far as I know.

There are plenty of infinite non-repeating sequences that we know that don't contain a given sequence. (E.g. 0.1101001000100001000001...)

But pi is not among them. It might very well have everyone's source code. It also might not.

> In mathematics, a real number is said to be simply normal in an integer base b[1] if its infinite sequence of digits is *distributed uniformly* in the sense that each of the b digit values has the same natural density 1/b. A number is said to be normal in base b if, for every positive integer n, all possible strings n digits long have density b^−n.
> While √2, π, ln(2), and e are strongly conjectured to be normal, it is still not known whether they are normal or not.
> An infinite universe doesn’t have infinite copies of someone.

Depends on the uniformity of matter and energy and physical laws in the universe. If matter and energy are uniformly distributed with no large scale variation, and the laws of physics are constant then eventually somewhere in the universe you’d be able to find an Earth arbitrarily close to ours.

Coincidentally, does your friend know about the Library of Babel?
I'm gonna make one of these for credit card numbers.
The final piece to socially engineer with an online quiz is the Zip Code, unless the vendor turns up address verification then you need the house number or box number too.
Not as pretty but you can search for longer sequences in Pi here https://www.angio.net/pi/
The fact that the string "12345678" occurs only once in the first 200M digits already gives an impression of the amount of information you may find/store there.
https://www.wolfram.com/legal/privacy/wolfram/

> We may collect both Personal Information (PI) and non-Personal Information (non-PI) about you through your experience on our websites, from your use of our services and products and via other voluntary contact with you (collectively "Services").

> The PI we collect through our Services primarily consists of information you submit to us. Because participation in our Services is voluntary, you have a choice of whether or not to disclose such information. The following are categories of PI we have collected in the past 12 months:

> Identifiers

> Examples include: a real name, alias, postal address, unique personal identifier, online identifier, Internet Protocol address, email address, account name, Social Security number, driver's license number, passport number or other similar identifiers

Now add birth date to the list.

No, they're just storing pieces of pi.
There was somewhere a joke program that "compressed" data by saving its offset in the digits of pi.
Or staying in Q, encode your program as an integer N, take 1/N and mark that fraction on a stick of unit length.

Use the stick as long term storage for your code.

It's not always a joke. There's dozens if not hundreds of people who believe they're cracked the compression problem by "just finding the offset of your data into pi". It is a recurring problem online: https://duckduckgo.com/?q=compress+pi+offset (DDG actually did better than Google here which is why I link that), and sometimes explaining to the proposer why this doesn't work is quite difficult. Sometimes you end up reduced to "Well, just implement it then if it's so easy and amazing."

(Fortunately, pi compression is not particularly amenable to one of the other basic "tricks" of fake compression algorithms, which is failing to count filenames or other metadata as part of the compressed data set, if you use them in the decompression algorithm. Pi "compression" is, in practice, a much better data expansion algorithm than a decompression algorithm. So you don't generally have to deal with having to explain how they've still failed even though their file sizes seem smaller.)

So are they the flat earthers of the IT world then?
More akin to the perpetual motion people.
> Sometimes you end up reduced to "Well, just implement it then if it's so easy and amazing."

This should be the standard answer, along with some probing questions like:

- "So if you can always compress data, what happens when you compress the compressed data over and over? Surely you see this can't always work or everything could be compressed down to 1 bit?"

- "Do you realize that there are 2^N strings with N bits, but fewer strings with less than N bits? Surely you don't think you can always represent N bits in fewer than N bits?" (i.e. something along the lines of the pigeonhole principle)

If that doesn't convince them or they're unwilling to think through those fundamental questions or the implementation, it's a hopeless case that is best left alone.

I was also thinking that this is a great way to harvest some birthday date info to combine with other data from tracking
Can't you harvest birthday info by just selecting all the dates?
Session id , tag user with cookie with birthday, sell to advertisters on id
I wouldn't have an issue with sharing information with advertisers if it were solely for promotional purposes. However, the concerning part is that all data is up for grabs to anyone willing to pay for it, including scammers and the like. It's somewhat absurd that we have to protect something as simple as our birthdays, which should ideally be just harmless numbers with no potential for misuse. Unfortunately, the actual situation is far from reassuring, the surveillance nature of the internet is slowly taking shape. Sometimes I wonder if the digital identity problem could ever be solved and whether that will usher us under complete surveillance.
(comment deleted)
Interesting that it formats the results differently based on the input. For example, "June 12 1980" results in "6 12 80", while "1980-06-12" returns "80 06 12". I was kind of hoping to find the "YYYYMMDD" value regardless of input, but ah well.

The link in sibling comment by brynbryn [0] is a much better (not to mention faster) implementation IMO.

0: https://news.ycombinator.com/item?id=37955434

"3-1-4" seems to be the first one :)
Now I want to know which date gives the highest and lowest pidays
well the lowest is 3/14/15
I entered a few dates in YYYY-MM-DD format and it seems like it does whatever it wants with them?

Some results are without the first 2 year digits.

Some results are plain bogus, a 2012-03-XX date returned a 2012-10 number (without the day component and wrong month).

If this is an ad for the power of Wolfram Alpha it is very poorly executed.

Why does this upset you? The algorithm will be something like:

) Consider 1st billion digits of pi ) Search your exact date string ) If it doesn't hit, try reformatting and search again until something hits ) Return

If you're suggesting they should replace the 'try reformatting' step with 'try the next billion digits', then the complexity of calculating digits increases as you go so this is going to become impractical in any language, not just Wolfram

Not to worried about the site getting my birthdate, but seriously people, don’t share that…
Pi makes finding particular digit patterns somewhat hard. A number in which any digit pattern can be more easily found is Champernowne's constant [1]

    C10 = 0. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ...
([0..]>>=show in Haskell) which is provably normal in base 10 (for pi it's widely believed but unproven).

Of course the minimal index i(w) at which digit sequence w appears is about as long as w itself...

[1] https://en.wikipedia.org/wiki/Champernowne_constant

Specifically, the index in C10 where a decimal number dec of n digits may be found is

n * dec - (10^(n-1)-1) `div` 9 + 1 - 10^(n-1)

From the creators of "find your mother's maiden name in the number pi"
(comment deleted)
This is an incredibly slow grep as a service. I’m not sure why this is supposed to get anyone excited about Wolfram.
Not to mention grep that sometimes just doesn't work and returns you an entirely different result, or grep that just has blatantly wrong documentation ("any format")
Pi is over overrated. Check out Tau instead: tauday.com
(comment deleted)
"any format" seems to be pretty limited. Epoch time is unsupported.
Back in my youth I wanted a tattoo of different numbers swirling around my right arm and over my shoulder onto my back. Pi would have been the backbone of the tattoo.

In the different numbers would have been my birth-minute represented in decimal unix time, hex, binary, etc. Then different date systems from around the world, Islamic, Hebrew, Devanagari, Chinese Lunar, Japanese, and Mayan long count. I gave up because I couldn't find enough people that I trusted to verify that the different language date strings were correct.

I thought it memorable that Stephen Hawking departed on 3.14 2018.
No, since he was British he departed on 14.3
Amusing point. I concede, this format does have a more rational order.

Your iconoclasm has broken my reverential mnemonic, but for honorable purposes.

However, I will never have baked beans for breakfast, handle spotted dick, omit the phonetic k from my schedule, nor other things that would simply be going too far, however rational they may be.

Is it? It's mixed-endian with 3 inversions instead of 2.
If the "correct" date encoding is 2018-03-14, is 14-03-2018 not one inversion instead of three?
Your numerals are big-endian, so the 0 of the month is a MSD than the 4 of the day, likewise the 2 of the year vs the 3 of the month.
Which is incidentally also Albert Einstein’s birthday.
Imagine being alive on March 14th, 1592 @ 6:53:58AM
It would have been more interesting if he had departed on 3/14/1592, for a number of reasons, I guess.

Did anything interesting happen on 3/14/1592?

Trinity College, Dublin was founded on the 3rd. I would say that's a rounding error, but at that time, pi was known to at least 9 digits (15 would be reached in 1593).
For people who's first/last name letters fall within a band of ten consequitive letters of the alphabet (any alphabet, despite its origins Pi is surely multi-lingual), one can use the same algorithm to find themselves somewhere in Pi.

For the rest of us it is a bit trickier but should still work: use two consequtive digits (00-99) and a modulo function that loops over an alphabet (and possibly discards some padded values as not having a map to a letter).

March 14 for me :)
thanks for this information :)

now would you mind telling me the name of your first pet?

also what’s your mother’s maiden name?

I fill those out with "passwords" that are unrelated to the question.

Joke's on you (until I lose the answers, then it's on me)