On Sep 18, 2006, at 5:33 AM, Carl Drinkwater wrote:

> Hi all,
>
> Code Golf's 12th challenge has just been added to the site.  It  
> asks you to calculate the first 1,000 digits of Pi - Something I'm  
> sure most of you have thought about, but never done.  You can see  
> the challenge at :
>
>   http://codegolf.com/1000-digits-of-pi

Darn it!  They blocked my attempt to use open-uri.  How's a guy  
suppose to cheat with these restrictions.  Sheesh!

James Edward Gray II

require"open-uri";puts"3."+open("http://www.joyofpi.com/ 
pi.html").read.gsub(/\s/,"")[/\d{1000}/]