PI not pie CGI
Now this is interesting. This dude at nonsensicality.com wrote a pi.cgi program that takes the passed URL and tries to give you a directory to the next bit of Ï€. Now, I can’t quite tell if it’s feeding back primes, I would guess it is but maybe it’s just giving back odd numbers. I’m not sure.
So the funny part is, I found this as a part of Google challenge. A Cory Forsyth was talking about solving the intersection between Ï€ and prime numbers. Google had a challenge where you’d enter {first prime number in Ï€}.com and then that’d take you to the next challenge. If you got to the end, you got a job (I suppose). It turned out to be e and prime numbers but I was still impressed with Cory’s solution in ruby.
Anyway, I was searching for his answer on the web and this cgi program was indexed by google. I had 10,000 digits of Ï€ in a text file so I wanted to see how far it’d work.
It broke at 4096 digits which possibly is a browser limitation. 4095 digits worked which you can see following this OMG HUGE LINK. The slashes were inserted by me and are pretty random. I think his CGI would continue working for a while given an infinite POST string. Unfortunately HTTP POSTs stop at 4096, lol. That’s a big POST.
Maybe he has some memory limits on the input (like 32-bit int or something). I dunno, I’d guess he’s written it in Perl. His site reminds me of my old fuzzylemon screw around pre-blog site. Ah memories.
Bit.ly wouldn’t let me shrink that url, lol.




























