# Hack & Chat

• Sep 12, 2012 · 7:00 PM

Come join NYC Ruby Women for an evening of hacking and chatting on Sept. 12, from 7 p.m. to 9 p.m. (doors open at 6:30 p.m.)

Our schedule:

- 15 minutes of lightning talks

We’re looking forward to seeing what you’re working on and what questions you might have that’ll help you move forward.

- 45 minutes of instruction

If there are other things you’d like to teach or things you’d like to learn, post your ideas on our Meetup.com page or to the Google Group or feel free to email Chrys and Rachel using the "Contact Us" link on the Meetup.com page.

This is your opportunity to test and hone your tech talk with a friendly and supportive developer community, so seize it! :)

- 1 hour of open coding

Bring your project in progress or a new project idea and we’ll hack!

• ##### Bridget

Haha I went home and coded a solution too. In python though, oops.

But then I woke up and saw this: http://transportationnation.org/2012/09/12/nyc-straphangers-could-lose-last-bit-of-bonus-on-a-multi-ride-metrocard/ It's hard to keep up with all the changes to the math!

September 13, 2012

• ##### sarah

haha I was about to post that!

September 13, 2012

• ##### sarah

I think I found a solution to the subway problem

I'm assuming 2 inputs: amount on the card and the number of rides you want to take

the end balance should be the number of rides * 2.25

so the amount to add is the end balance - starting balance

if the amount to add less than \$10 you just add that amount

if the amount is between \$10 and \$10.70 you have to add \$10 and have something leftover. You can't get to the exact amount because of that \$.70 bump when you hit \$10 exactly.

If it's more than \$10.70 you have to input (amount_to_add/1.07)

The other weirdness is that I believe that you can only input \$\$ in increments of \$.05 so there are certain cases where you will have \$.04 or less remaining.

I have a solution in ruby if anyone is interested.

September 13, 2012

• ##### E\/IE B.

coming after pivotal jr dev thing

September 12, 2012

• ##### Chrys W.

Cool! Looking forward to seeing you. :)

September 12, 2012

• ##### sarah

Oh how was it? I double booked myself and chose ruby women instead.

September 13, 2012

• ##### Christina B.

Hi there! Should I come with a novice understanding of Ruby on Rails?

September 2, 2012

• ##### Chrys W.

Hi Christina, come with a novice understanding of Ruby. If you know Rails, that's OK too. :)

September 2, 2012

### 12 went

• ##### Leona R.
• A former member
• A former member
• A former member
• A former member

### New York, NY

Founded Feb 22, 2012

#### Organizer:

• ##### Paperless Post

Online invitations and cards

#### People in this Meetup are also in:

• ##### NYC Open Data

5,637 Data Scientists and Open Data-er

• ##### Hack && Tell

3,845 Hackers

• ##### Dev Bootcamp NYC Events and Workshops

4,142 Members

• ##### Designers + Geeks New York

9,444 Designers + Geeks

• ##### Data Visualization New York

5,880 Members

• ##### N-Languages

1,647 N-langers