Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ryan Sobol
    @ryansobol
    @snappy316 that means their’s a bug in your solution.
    David Ker
    @snappy316
    @ryansobol haha - apparently "friut" is not the same as "fruit" - my bad :)
    Ryan Sobol
    @ryansobol
    :P
    Ryan Sobol
    @ryansobol
    the internet in 1969 http://i.imgur.com/Z0TWT7P.jpg
    Stephanie Beaton
    @StephanieBeaton
    If you are ever in Los Angeles, go to UCLA and look at the first computer that ever sent a message over the internet. I think the message was sent to a university in the Bay area, maybe Berkley. And the message was one word.
    Ryan Sobol
    @ryansobol
    was it icanhazcheezburger?
    Zac Mrowicki
    @zmrow
    hahaha
    NoahNim
    @NoahNim
    hey anyone gonna be at codefellows today? I m there right now
    NickManos
    @NickManos
    gabe and I are on the first floor
    Ryan Sobol
    @ryansobol
    Katie Kim
    @kayeon
    oups
    @/all How do people feel about getting together Monday Nov 3rd for a Foundations 2: Ruby Celebratory drink? Any ideas for location? Happy hours suggestions?
    Katie Kim
    @kayeon
    Also, how early can people meetup? @janefung suggested the Cactus. Looks like happy hour runs from 3 - 6pm there Mondays
    NoahNim
    @NoahNim
    I am down
    Zac Mrowicki
    @zmrow
    That sounds fun!
    Zac Mrowicki
    @zmrow
    Found this last night - could be helpful for supplemental learning. It pulls in resources from all over the web to learn Ruby programming and also web dev w/ Ruby on Rails. http://www.theodinproject.com/ruby-programming
    Katie Kim
    @kayeon
    @zmrow there's so much resource... never feels like enough hours in the day... :) thanks!
    Zac Mrowicki
    @zmrow
    @kayeon np. I feel the same way. Information overload. :fire:
    Stephanie Beaton
    @StephanieBeaton
    I am up / down for Foundations 2: Ruby Celebratory drink Monday Nov 3rd!
    NoahNim
    @NoahNim
    @kayeon hey are you gonna be at codefellows today? I am there now
    Katie Kim
    @kayeon
    we're upstairs
    NoahNim
    @NoahNim
    uh
    2nd floor?
    Stephanie Beaton
    @StephanieBeaton

    Hello everyone, we are now able to enrole or Ruby III in Jan 2015 on the Code Fellows website.

    Foundations of Ruby Web Development
    (Jan 5, 2015 - Jan 28, 2015. Mon & Wed, 7-9pm)
    Cost: $1,500. Financing available.

    Zac Mrowicki
    @zmrow
    yay!
    Katie Kim
    @kayeon
    :D
    Ryan Sobol
    @ryansobol
    @/all yep, F3 Ruby is now available to enroll on panel.codefellows.org
    Rachel Lanman
    @RSR312-206
    hi class- if anyone's around, just wondering if there are any tips for Class 8, ex 3 homework? I'm stuck on where to assign the block_param to 'lunch'.
    Derek Maffett
    @DerekMaffett
    Let me take a look at the assignment really quick
    Okay, so you're trying to figure out how to define a method which calls a block with a parameter?
    Rachel Lanman
    @RSR312-206
    right, I'm already calling the block in my method, but not sure how to then call the same block, but now with a parameter
    Derek Maffett
    @DerekMaffett
    You're using yield, right?
    Rachel Lanman
    @RSR312-206
    i'm using block.call
    Derek Maffett
    @DerekMaffett
    Oh, okay. I usually use #call on procs, but I guess that works too
    Rachel Lanman
    @RSR312-206
    ah ok
    Derek Maffett
    @DerekMaffett
    No big deal, I just looked it up, and it works the same way
    Rachel Lanman
    @RSR312-206
    i tried yield on some earlier exercises, and I thought rubocop may have taken issue, but I cant remember
    Derek Maffett
    @DerekMaffett
    I don't think rubocop dislikes yield, but I could be wrong. It might also have to do with whether you reference the block being passed in as a parameter or just leave no reference to it in the method definition
    Either way, you're calling a block of code to be run.
    How would you normally pass a parameter to a block of code being run (you do it all the time with normal methods)?
    Rachel Lanman
    @RSR312-206
    right
    wouldn't the parameter be within the method like this: method(parameter) ?
    Katie Kim
    @kayeon
    @/all Cactus tomorrow! happy hour ends @ 6pm tho. will be workin' on homework til about 5ish or so. who's all in? (so far, Noah, Stephanie, Zac, Ryan, Jane, Me) Dave? Patrick? Rachel? Tyler? Kim? Derek? etc etc? :) I mean... @ryansobol - can we just grab a 6pack and meet on 2nd floor?? There's always great drinkin' places on the Hill too...
    Rachel Lanman
    @RSR312-206
    I work till 5, and will then probably need to finish up some homework, so @kayeon I'll text you when I'm done around 7 and see if the group is still there
    Derek Maffett
    @DerekMaffett
    You can define a regular method like that. Importantly, though, when you call a method, you pass in parameters that way.
    method(variable)
    Rachel Lanman
    @RSR312-206
    aaaah ok
    Derek Maffett
    @DerekMaffett
    If you're passing in a block which at runtime will be expected to be a block of code which accepts a parameter, you can activate the block with a parameter in the same way
    Rachel Lanman
    @RSR312-206
    so in this case, my method is the block and the variable is 'lunch'
    Derek Maffett
    @DerekMaffett
    Correct