From: Leslie Viljoen Date: 2006-09-20T05:53:51+09:00 Subject: Re: [ANN] Code Golf Challenge : 1,000 Digits Of Pi On 9/18/06, James Edward Gray II wrote: > 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}/] Haha, ever the cheater, James Gray!