add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

Re: [mad-railers] Ruby Quiz [2012-09-12]: Fridays the 13th

From: Chris J.
Sent on: Wednesday, September 12, 2012 8:41 AM
Here is my repo for this week

I started off looking at using Chronic but figured that was cheating so I did a little hacking around and found a pretty decent solution.

Looking forward to seeing other people's solutions!


On Fri, Sep 7, 2012 at 10:32 AM, Damon Butler <[address removed]> wrote:
Hard on the heels of this week's quiz -- which I didn't realize didn't
get sent out until the day after we had already discussed it in our
office! -- comes a new quiz for your perusal.

This week's quiz is to locate all of the Fridays the 13th within an
arbitrary date range. Chris Johnson suggests that bonus points be
awarded for calculating the average time difference between successive
Fridays the 13th. There are any number of other statistics that could
be derived (e.g., avg number of Fridays the 13th per year) if you feel
up to it.

Have fun!


Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Damon Butler ([address removed]) from Mad-Railers.
To learn more about Damon Butler, visit his/her member profile:
Set my mailing list to email me

As they are sent

In one daily email

Don't send me mailing list messages
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy