addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Chicago Ruby Hack Night - English Numerals

Come on out and hack!

We'll pair up to work on a Ruby problem. All Rubyists are welcome, including beginners. Bring your laptop with Ruby installed.

We'll work on the English Numeral problem from Ruby Quiz.  The task is to translate numbers from Arabic numerals to English words (42 to forty-two).  Then once you've done that, determine which English representation of an odd number between 1 and 1,000,000 would sort first.

Then if you're feeling ambitious, use the range 1 to 10,000,000,000 and get the program to finish in a reasonable amount of time.

Or try doing the reverse translation (from forty-two to 42) for numbers between 1 and 1,000,000.

Enova International, our hosts, will provide food and drink.

Join or login to comment.

  • Abejide A.

    Realized my original algorithm would go nowhere had to think like a kid to solve this, done arabic to words, would do the reverse some other time, solution at: https://gist.github.com/bjhaid/6974779

    October 14, 2013

  • Andrew L.

    It was tedious, but elating when pieces of the puzzle came together.

    1 · October 10, 2013

  • Tom D.

    Sorry, gonna miss out tonight. (Parent/Teacher conferences). Let the fun begin.

    October 9, 2013

  • Juzer C.

    Umm I'm completely new to Ruby but was wondering if I could get my feet wet with this group tonight? And if so I have a Mac book at home I can attempt to install it on before the meet up... I know this is last min, but at first I didn't think I would be able to make but plans changed...

    Thanks

    Cash

    October 9, 2013

    • Ginny H.

      Beginners are welcome. If you don't have time to install Ruby you can come anyway. Since we work in pairs we don't need everyone to have Ruby installed on their own machine.

      October 9, 2013

  • A former member
    A former member

    Anyone driving from Hyde Park that wouldn't mind car pooling?

    October 9, 2013

  • Tom

    Hi! What platforms do most people bring?

    September 14, 2013

    • Andrew L.

      Mac OS or Linux

      September 30, 2013

    • Ginny H.

      But if you've got Ruby on Windows, that's fine, too.

      October 9, 2013

  • Al

    Looking forward to meet up and to work with someone.

    It would be great if someone could also help me out with an app that I'm working on at the moment - been stuck at an issue for awhile now.

    October 8, 2013

Our Sponsors

  • WindyCityThings

    June 23-24, 2016. Master the Internet of Things & make IoT work for you.

  • WindyCityRails

    Sept 15-16, 2016. Learn to tackle big league problems at WindyCityRails.

  • WisdomGroup

    Contributes to open source through ChicagoRuby.

People in this
Meetup are also in:

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