From: Robert Dober Date: 2009-01-24T03:31:08+09:00 Subject: Re: [QUIZ] Gathering Ruby Quiz 2 Data (#189) On Fri, Jan 23, 2009 at 7:42 AM, Daniel Moore wrote: > Greetings! > > Welcome to the inaugural Ruby Quiz 3! > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > The three rules of Ruby Quiz: > > 1. Please do not post any solutions or spoiler discussion for this > quiz until 48 hours have elapsed from the time this message was > sent. > > 2. Support Ruby Quiz by submitting ideas and responses > as often as you can! Visit: > > 3. Enjoy! > > Suggestion: A [QUIZ] in the subject of emails about the problem > helps everyone on Ruby Talk follow the discussion. Please reply to > the original quiz message, if you can. > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > ## Gathering Ruby Quiz 2 Data > > I'm building the new Ruby Quiz website and I need your help... > > This week's quiz involves gathering the existing Ruby Quiz 2 data from > the Ruby Quiz website: > > Each quiz entry contains the following information: > > * id > * title > * description > * summary > > There are also many quiz solutions that belong to each quiz. The quiz > solutions have the following: > > * quiz_id > * author > * ruby_talk_reference > * text > > Matthew has some advice for getting at the data: >> If you start at , you'll see >> the quiz list on the left are all links to the same quiz.rhtml file >> (embedded Ruby), but with different id parameters. Those >> parameters are the name of a subdirectory. So, for example, >> take quiz #184, which has a link like this: >> >> >> >> So there is a subdirectory called "184_Befunge". There >> are basically three files in every directory: >> >> * quiz.txt -- the quiz description >> * sols.txt -- a list of author names and the ruby-talk message # of the submission >> * summ.txt -- the quiz summary >> >> Examples: >> * >> * >> * >> > > Your program will collect and output this data as yaml (or your favorite data > serialization standard; xml, json, etc.). > > -- > -Daniel > > Daniel in which time zone are you? What do you and the others think if we give our friends in GMT-x some more time? My suggestion would be to extend the spoiler period to something like Sunday 13h or 14h GMT. Actually I do not care about the Americans ;) I just sleep that long on WEs. Just 0.02€. Robert