how to survive in post rails' world

93
How to survive in post Rails' world. SHIBATA Hiroshi Eiwa System Management,Inc.

Upload: hiroshi-shibata

Post on 25-Dec-2014

10.021 views

Category:

Technology


2 download

DESCRIPTION

2010/08/29 に行われた RubyKaigi2010 で発表したときの背景画像集

TRANSCRIPT

Page 1: How to survive in post Rails' world

How to survivein post Rails' world.

SHIBATA HiroshiEiwa System Management,Inc.

Page 2: How to survive in post Rails' world

Profile

Page 3: How to survive in post Rails' world

SHIBATA Hiroshia.k.a hsbt

tDiary commiter

[email protected]

Page 5: How to survive in post Rails' world

asakusa.rb

Page 6: How to survive in post Rails' world
Page 7: How to survive in post Rails' world

RubyKaigi2010

Page 8: How to survive in post Rails' world

Theme

Page 9: How to survive in post Rails' world

Conflictsand

Resolutions(衝突と解決)

Page 10: How to survive in post Rails' world

今日話すことhsbt が2010年に永和システムマネジメントに入社してから半年間で得られた Ruby と Rails で楽しく過ごすために必要なことについてご紹介します。

Page 11: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 12: How to survive in post Rails' world

今日話さないこと

tDiary

Page 13: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 14: How to survive in post Rails' world

RubyKaigi2009

Page 15: How to survive in post Rails' world

SapporoRubyKaigi02

Page 16: How to survive in post Rails' world

2010年3月1日永和システムマネジメント入社

Page 17: How to survive in post Rails' world

ursm

hsbt

こんにちは

着席しています

Page 18: How to survive in post Rails' world

Programmer’sSpec

Page 19: How to survive in post Rails' world

hobby tDiary(cgi) gentoo

work excel rails

ecosystem before rails post rails

Page 20: How to survive in post Rails' world

before Rails

http://www.flickr.com/photos/61417318@N00/3182666361

Page 21: How to survive in post Rails' world

tDiaryHikiKagemai

Page 22: How to survive in post Rails' world

sourceforge

Page 23: How to survive in post Rails' world

RubyForge

Page 24: How to survive in post Rails' world

RAA

Page 25: How to survive in post Rails' world

postRails

http://www.flickr.com/photos/patcard/3350238666/

Page 26: How to survive in post Rails' world
Page 27: How to survive in post Rails' world
Page 28: How to survive in post Rails' world

GitHub

Page 29: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 30: How to survive in post Rails' world

ursm

hsbt

こんにちは

着席しています

Page 31: How to survive in post Rails' world

Conflictsand

Resolutions(衝突と解決)

Page 32: How to survive in post Rails' world

Ruby/RailsProgramming

Page 33: How to survive in post Rails' world

Enumrator

http://www.flickr.com/photos/rachelkillsemo/2294348829

Page 34: How to survive in post Rails' world

お題

1から5までの整数を合計した値を

表示したい

Page 35: How to survive in post Rails' world

hsbt解答s = 0[1, 2, 3, 4, 5].each do |v| s += vends

Page 36: How to survive in post Rails' world

ursm解答

(1..5).inject(&:+)

Page 37: How to survive in post Rails' world

Rails解答

(1..5).sum

Page 38: How to survive in post Rails' world

お題2

1から5までの整数を浮動小数にした配列を作成したい

Page 39: How to survive in post Rails' world

hsbt解答v = [][1, 2, 3, 4, 5].each do |i| v << i.to_fendv

Page 40: How to survive in post Rails' world

ursm解答

(1..5).map(&:to_f)

Page 41: How to survive in post Rails' world

お題3

1から5までの整数のうち3を最初に越えた数値を取り出したい

Page 42: How to survive in post Rails' world

お題4

1から5までの整数のうち3を越えた数値全てを取り出したい

Page 43: How to survive in post Rails' world

お題(ry

Page 44: How to survive in post Rails' world

map / injectreject / detectselect / each

Page 45: How to survive in post Rails' world

Hasheritis

Page 46: How to survive in post Rails' world

Symbol

{:ruby => ‘programming’}

Page 47: How to survive in post Rails' world

たとえばhashのkeyだったり、アクセサの引数で渡すインスタンス変数名だったり、alias_methodの引数で渡すメソッド名だったりと、文字に意味づけしたい時に使えます。

http://d.hatena.ne.jp/secondlife/20051026/1130319610

Page 48: How to survive in post Rails' world

h1 = {‘ruby’ => ‘programming’}h2 = {‘ruby’ => ‘programming’}h1.each {|k,v| p k.object_id}=> 2164547280h2.each {|k,v| p k.object_id}=> 2164501920

http://railsonedge.blogspot.com/2008/05/using-symbols.html

Page 49: How to survive in post Rails' world

h1 = {:ruby => ‘programming’}h2 = {:ruby => ‘programming’}h1.each {|k,v| p k.object_id}=> 388828h2.each {|k,v| p k.object_id}=> 388828

Page 50: How to survive in post Rails' world

metaprogramming

Page 51: How to survive in post Rails' world

send / method_missingblock / Proc / lambdaincluded / extendedeval / instance_eval

Page 52: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 53: How to survive in post Rails' world

How?

Page 54: How to survive in post Rails' world

ursm

hsbt

こんにちは

着席しています

Page 55: How to survive in post Rails' world

GitHub

Page 56: How to survive in post Rails' world

GitHubsommelie

Page 57: How to survive in post Rails' world

Watch

フォルダ構成 コミットメッセージ

Commits History

Page 58: How to survive in post Rails' world

git clone

Page 59: How to survive in post Rails' world

bundle installbundle open

Page 60: How to survive in post Rails' world

HFA

Page 61: How to survive in post Rails' world

happy hacking!

Page 62: How to survive in post Rails' world

git commitgit push

Page 63: How to survive in post Rails' world

pull request

git format-patch origin/master

or

Page 65: How to survive in post Rails' world

Head FirstRails

Page 66: How to survive in post Rails' world

metaprogramming

Page 67: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 68: How to survive in post Rails' world

before Rails

の時の気持ち

Page 69: How to survive in post Rails' world

オレってばスゲー感

Page 70: How to survive in post Rails' world

オレってばスゲー感詳しいことはよくわからないけど、Rubyでソケットを使うコードを書いてみたらいとも簡単に動いてしまった時の気分

Page 71: How to survive in post Rails' world

オレってばスゲー感

Page 72: How to survive in post Rails' world

オレってばスゲー感Rubyを始めとしたLLの多くは、ソケットやスレッド、GUI、正規表現といった少し敷居の高い技術要素へのインターフェースを、シンプルで使いやすい形で提供してくれている

Page 73: How to survive in post Rails' world

オレってばスゲー感自分が余り詳しくない技術分野であっても、必要最小限のメソッド呼び出しでこれらの技術要素を体験することができ、手軽に「オレってばスゲー」感を味わえるのである。

Page 74: How to survive in post Rails' world

オレってばスゲー感

Page 75: How to survive in post Rails' world

post Railsの時の気持ち

Page 76: How to survive in post Rails' world

もっとオレってばスゲー感

Page 77: How to survive in post Rails' world

オレってばスゲー感 2.0

http://www.machu.jp/diary/20070223.html#p01

Page 78: How to survive in post Rails' world

github

Page 79: How to survive in post Rails' world

もっとオレってばスゲー感github でとりあえず fork して自分好みに改造して push しておいたらいつの間にかfork元に取り込まれてお礼まで言われた時の気分

Page 80: How to survive in post Rails' world

もっとオレってばスゲー感

オレってばスゲー感

Page 81: How to survive in post Rails' world

sourceforge

feedback?

Page 82: How to survive in post Rails' world

social communication

Page 83: How to survive in post Rails' world

スゲー感の加速装置

http://www.flickr.com/photos/villes/696080093/

Page 84: How to survive in post Rails' world

github explorer

Page 85: How to survive in post Rails' world

other language

Page 86: How to survive in post Rails' world

github space

Page 87: How to survive in post Rails' world

tDiaryon

github

Page 88: How to survive in post Rails' world

tDiary-3.0.0Released

Page 89: How to survive in post Rails' world

ConflictLearningMethodologyResolution

Page 91: How to survive in post Rails' world

もっとオレってばスゲー感

Page 92: How to survive in post Rails' world

github explore

Page 93: How to survive in post Rails' world

Good Ruby Life