Ruby Tuesday May 22, 2012

41
Welcome to Ruby Tuesday :) May 22, 2012

description

Slides from Ottawa Ruby's May 2012 meetup.Has announcements for upcoming speakers, and details on some practice Ruby katas and Whenbot One-Liners.

Transcript of Ruby Tuesday May 22, 2012

Page 1: Ruby Tuesday   May 22, 2012

Welcome toRuby Tuesday :)

May 22, 2012

Page 2: Ruby Tuesday   May 22, 2012

Tonight’s Plan

1. Announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and networking

5. A bit of hacking

Page 3: Ruby Tuesday   May 22, 2012

1. Announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and schmoozing

5. A bit of hacking

Tonight’s Plan

Page 4: Ruby Tuesday   May 22, 2012

June Speaker:Jeff Casimir Returns!Jumpstart Lab Founder

Ruby, Rails, jQuery Teacher

As seen in Codeschool’s jQuery Air: First Flight

Page 5: Ruby Tuesday   May 22, 2012

June Speaker:Jeff Casimir Returns!

Talk Topic

Adventures on the Golden Path

(Rails 4)

Page 6: Ruby Tuesday   May 22, 2012

August Speaker:Avdi Grimm

Speaker

Author: Exceptional Ruby, Objects on Rails

Ruby Rogue

Page 7: Ruby Tuesday   May 22, 2012

August Speaker:Avdi Grimm

Talk Topic

To Be Announced

Page 8: Ruby Tuesday   May 22, 2012

Upcoming Speaker:Russ Olsen

Author: Design Patterns in Ruby

Page 9: Ruby Tuesday   May 22, 2012

Upcoming Speaker:Russ Olsen

Author: Design Patterns in Ruby

Author: Eloquent Ruby

Page 10: Ruby Tuesday   May 22, 2012

Upcoming Speaker:Russ Olsen

Author: Design Patterns in Ruby

Author: Eloquent Ruby

Topic: Chosen by vote

Page 11: Ruby Tuesday   May 22, 2012

Upcoming Speaker:Russ Olsen

Survey coming this week

Idiomatic Ruby

How Ruby is Implemented

A talk about Explaining Tech

Or, he takes requests :-)

Page 12: Ruby Tuesday   May 22, 2012

Tonight’s Speaker:Charles Max Wood

Ruby/Rails Coach and Teacher

TeachMeToCode.com

Ruby Rogues

Javascript Jabber

Ruby Freelancers

Page 13: Ruby Tuesday   May 22, 2012

1. Announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and schmoozing

5. A bit of hacking

Tonight’s Plan

Page 14: Ruby Tuesday   May 22, 2012

Introduce yourselves

We won’t bite. ;)

Page 15: Ruby Tuesday   May 22, 2012

1. Announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and schmoozing

5. A bit of hacking

Tonight’s Plan

Page 16: Ruby Tuesday   May 22, 2012

Charles Max Wood

Ruby / Rails CoachTeachMeToCode.com,

Podcasts:Ruby Rogues, Javascript Jabber, Ruby Freelancers

Tonight’s Speaker

Page 17: Ruby Tuesday   May 22, 2012

1. A few announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and schmoozing

5. A bit of hacking

Tonight’s Plan

Page 18: Ruby Tuesday   May 22, 2012

Break: Food and Schmoozing...

After the break: A bit of hacking

(around 20-30 minutes.)

Page 19: Ruby Tuesday   May 22, 2012

1. A few announcements

2. Introduce yourselves

3. Presentation: Charles Max Wood

4. Break: food and schmoozing

5. A bit of hacking

Tonight’s Plan

Page 20: Ruby Tuesday   May 22, 2012

1. Yellow Belt Kata

2. Gilded Rose Refactoring Kata

3. Whenbot: One-Liners

A Bit of Hacking

Page 21: Ruby Tuesday   May 22, 2012

Kata steps1. Clone the repository

2. RVM: create a new gemset

3. Run ‘bundle install’

1. May need to ‘gem install bundler’ first

4. Run ‘rake’

5. Each page has instructions

Page 23: Ruby Tuesday   May 22, 2012

1. Yellow Belt Kata

2. Gilded Rose Refactoring Kata

3. Whenbot: One-Liners

A Bit of Hacking

Page 24: Ruby Tuesday   May 22, 2012

Beginner KatasYellow Belt Katas

Level: Easy

Results: Solve problems using your Ruby Skillz

Link: http://bit.ly/yellow-belt-kata

Or, Google “Ruby yellow belt kata”

Page 25: Ruby Tuesday   May 22, 2012

Yellow Belt Kataslib/ -- fib.rb -- fizzbuzz.rb -- gcd.rb ...

spec/ -- fib_spec.rb -- fizzbuzz_spec.rb -- gcd_spec.rb ...

Choose which one you want to work on.

Page 26: Ruby Tuesday   May 22, 2012

Yellow Belt Katas

# Reverse the given input string

def reverse_word(word)end

lib/reverseword.rb

Page 27: Ruby Tuesday   May 22, 2012

Yellow Belt Katas

require 'reverseword'

describe "#reverse_word" do before { pending }

When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend

spec/reverseword_spec.rb

Page 28: Ruby Tuesday   May 22, 2012

Yellow Belt Katas

require 'reverseword'

describe "#reverse_word" do before { pending }

When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend

spec/reverseword_spec.rb

Page 29: Ruby Tuesday   May 22, 2012

Yellow Belt Katas

require 'reverseword'

describe "#reverse_word" do

When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend

spec/reverseword_spec.rb

Page 30: Ruby Tuesday   May 22, 2012

Yellow Belt Kata

http://bit.ly/yellow-belt-kata

Page 31: Ruby Tuesday   May 22, 2012

1. Yellow Belt Kata

2. Gilded Rose Refactoring Kata

3. Whenbot: One-Liners

A Bit of Hacking

Page 32: Ruby Tuesday   May 22, 2012

Gilded Rose Kata

Level: Medium

Results: Practice refactoring via TDD

Link: http://bit.ly/refactoring-kata

Or, Google “Ruby yellow belt kata”

Page 33: Ruby Tuesday   May 22, 2012

Gilded Rose Kata

Page 34: Ruby Tuesday   May 22, 2012

Gilded Rose Kata

http://bit.ly/refactoring-kata

Page 35: Ruby Tuesday   May 22, 2012

1. Yellow Belt Kata

2. Gilded Rose Refactoring Kata

3. Whenbot: One-Liners

A Bit of Hacking

Page 36: Ruby Tuesday   May 22, 2012

Whenbot One-Liners

Level: Easy-Medium

Results: Various Ruby/Rails tasks. Contribute to Open-Source

Link: http://bit.ly/whenbot-one-liners

Page 37: Ruby Tuesday   May 22, 2012

Whenbot One-Liners

Page 38: Ruby Tuesday   May 22, 2012

Whenbot One-Liners

Step by step instructions are at

http://bit.ly/whenbot-one-liners

Page 39: Ruby Tuesday   May 22, 2012

Questions?

Page 40: Ruby Tuesday   May 22, 2012

Let’s Hack!•Choose what you want to work on

•Holler / raise hand with any questions

•Most importantly, have fun! :)

Page 41: Ruby Tuesday   May 22, 2012

KatasBeginners: Google “Ruby yellow belt kata”

Or: http://bit.ly/yellow-belt-kata

Intermediate/Advanced:

http://bit.ly/refactoring-kata

Various + Open Source

http://bit.ly/whenbot-one-liners