From: Harold Hausman Date: 2006-09-18T23:21:52+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}/] > idk James, that might change it from an exercise in code-fu into an exercise in who-has-the-shortest-domain-name-fu.. Anyone have any idea how they're safely running the code on the server? Freaky freaky sandbox action? -Harold