From: Wilson Bilkovich Date: 2006-07-04T01:16:40+09:00 Subject: Re: [QUIZ] Sending Ruby code vs. provding URLs On 7/3/06, Mauricio Fernandez wrote: > On Tue, Jul 04, 2006 at 12:30:09AM +0900, ara.t.howard@noaa.gov wrote: > > why not create a really simple form on the ruby quiz site for submitting > > quizes? the form would allow a subject, short message, and uploaded code or > > tar.gz of code. i hate that kind of stuff but it could have real value > > since it could format a nice message for the list, enter the submission in > > db, etc. in short it could do everything you currently do by hand and, > > considering rubyquiz is a volunteer effort, i think people would be fine > > using a form - so long as it was mirrors to the list for the archives. > > This is quite obvious, but... > shouldn't the next 4-5 quizzes be used to implement such functionality? > This was/is my solution to Ruby Quiz #77: http://rpaste.com/ It uses simply_restful and edge Rails to allow things like: HTML version: http://rpaste.com/pastes/293 Plain-text version: http://rpaste.com/pastes/293.txt I like the latter, because you can do silly things like: patch -p0 < wget http://rpaste.com/pastes/some_number.txt Just a thought. Heh.