Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Glitch, OSS activities, and so on (Oedo RubyKaigi 04 #oedo04)

Glitch, OSS activities, and so on (Oedo RubyKaigi 04 #oedo04)

#oedo04

Shimpei Makimoto

April 19, 2014
Tweet

More Decks by Shimpei Makimoto

Other Decks in Technology

Transcript

  1. ը૾Λഁյ͢Δ͜ͱɺ!
    OSS ׆ಈ͢Δ͜ͱɺ!
    ͦͷଞ!
    Glitch, OSS activities, and so on
    Shimpei Makimoto (຀ຊ ৻ฏ)!
    େߐށRubyձٞ04!
    (Asakusa.rb Meetup #256)

    View full-size slide

  2. Shimpei Makimoto!
    Software Engineer!
    Asakusa.rb / COOKPAD Inc.
    QIPUPCZSLBNVSB
    @makimoto @makimoto

    View full-size slide

  3. ruby/www.ruby-lang.org editorial team ͷҰһ

    View full-size slide

  4. ͋ͱɺͳΜ͔ RubyConf ࢀՃத

    Miami Beach ͰᷥΛࣦͨ͘͠ਓͱͯ͠஌ΒΕ͍ͯ·͢

    View full-size slide

  5. ͜ͷൃද͸Կ?

    View full-size slide

  6. ਅʹड͚·͢

    View full-size slide

  7. ը૾ͳͲΛյ͢͜ͱʹؔ৺͕
    ͋Δ͜ͱҎ֎ʹಛ৭ͷͳ͍

    ιϑτ΢ΣΞΤϯδχΞ

    (͢ͳΘͪࢲ) ͕ɺͲͷΑ͏ʹ
    ੜ͖͍ͯΔ͔

    View full-size slide

  8. Contents
    • ը૾Λഁյ͢Δ͜ͱ!
    • OSS ׆ಈΛ͢Δ͜ͱ!
    • ͦͷଞ

    View full-size slide

  9. Contents
    • ը૾Λഁյ͢Δ͜ͱ!
    • OSS ׆ಈΛ͢Δ͜ͱ!
    • ͦͷଞ

    View full-size slide

  10. झຯ͸άϦονͰ͢

    View full-size slide

  11. glitch |glɪtʃ| informal
    !
    noun
    a sudden, usually temporary malfunction or fault of equipment:
    a draft version was lost in a computer glitch.
    • an unexpected setback: the only glitch in his year is failing to
    qualify for the Masters.
    • Astronomy a brief irregularity in the rotation of a pulsar.
    !
    verb [ no obj. ] chiefly US
    suffer a sudden malfunction or fault: the elevators glitched.
    !
    ORIGIN 1960s (originally US): of unknown origin. The original
    sense was ‘a sudden surge of current’, hence ‘malfunction,
    hitch’ in astronautical slang.
    Oxford Dictionary of English

    View full-size slide

  12. झຯ͸άϦονͰ͢

    View full-size slide

  13. ൒෼͚ͩάϦονͷ࿩
    Λ͍ͤͯͩ͘͞͞

    View full-size slide

  14. Glitched String API (2011)!
    http://glitchstr.makimoto.org/

    View full-size slide

  15. Glitch Rubyistokei (2013)!
    http://glitch-rubyistokei.herokuapp.com/

    View full-size slide

  16. Yet Another Something Which
    Generates Animated GIFs (2013)!
    http://gifanime.makimoto.org/

    View full-size slide

  17. άϦονͬͯԋऀͷத͚ͩͷ
    ֓೦ͳͷͰ͸
    • ͦΜͳ͜ͱͳ͍Ͱ͢Αʂʂ̍

    View full-size slide

  18. ͳͥը૾Λյ͍ͯ͠Δͷ͔
    • ͳͥͳΜͰ͔͢Ͷ!
    • ϓϥΠϕʔτͰ࣮༻తͳ΋ͷΛ࡞Δ͜ͱʹ
    ৘೤Λ͋·Γ࣋ͯͳ͍͠ɺ࡞Δ΋ͷʹ఩ֶ
    తͳҙຯ΋͋·ΓࠐΊͨ͘ͳ͍!
    • ͨͩ໘ന͍ɺ͔Θ͍͍ (ࣗ෼ʹͱͬͯ) Έͨ
    ͍ͳͷΛߟ͍͑ͨ

    View full-size slide

  19. The Pragmatic Glitch @ RubyKaigi 2013
    lightning talks

    View full-size slide

  20. ॴײ
    • ͋Μ·Γը૾ͷ͜ͱΛཧղͤͣʹյ͍ͯ͠Δͷ
    ͰɺͪΌΜͱֶΜͰ͔Βյ͍ͨ͠!
    • ࠷ۙ͸ Go ͷը૾ϥΠϒϥϦͱ͔ಡΜͰษڧ
    ͍ͯ͠Δ!
    • ·ͩɺάϦονͷจ຺Λ Ruby ίϛϡχςΟʹ
    ࣋ͪࠐΊ͚ͨͩͳͷͰ΋ͬͱൃలͷ༨஍͸͋Δ
    ͱࢥ͍ͬͯΔ

    View full-size slide

  21. https://twitter.com/makimoto/statuses/116652719984488448

    View full-size slide

  22. Contents
    • ը૾Λഁյ͢Δ͜ͱ!
    • OSS ׆ಈΛ͢Δ͜ͱ!
    • ͦͷଞ

    View full-size slide

  23. (ҙ͕ࣝ͋·Γߴ͘ͳ͍)

    ԋऀʹͱͬͯͷ OSS ׆ಈ
    • OSS Λ࢖͏ˠ!
    • OSS Λ௚͢ (େମͲ͔͜յΕ͍ͯΔͷͰ)!
    • OSS Λॻ͘ (΄͍͠΋ͷ͕ͳ͍ͱ͖)!
    • == GitHub ্Ͱ׬݁͢Δ͜ͱ

    View full-size slide

  24. kakutani san said:

    View full-size slide

  25. ͜ͷลΓͰ౜ಥʹ΍ΔؾΛग़͍ͯ͠Δ

    View full-size slide

  26. ͖͔͚ͬ
    • hsbt ͞ΜʹἤΒΕͨ (࣮࿩)!
    • ্࢘ʹݴΘΕͨ (࣮࿩)!
    • RubyConf ߦ͘͜ͱʹͳΓҙ͕ࣝߴ·ͬͨ (࣮࿩)!
    • ͏͔ͬΓ www.ruby-lang.org ͷ editorial team
    ʹೖͬͯ͠·ͬͨͷͰ͍Ζ͍Ζ΍Δ͜ͱʹͳͬͨ

    View full-size slide

  27. (ҙ͕ࣝ͋·Γߴ͘ͳ͍)

    ԋऀʹͱͬͯͷ OSS ׆ಈ
    • OSS Λ࢖͏ˠ!
    • OSS Λ௚͢ (େମͲ͔͜յΕ͍ͯΔͷͰ)!
    • OSS Λॻ͘ (΄͍͠΋ͷ͕ͳ͍ͱ͖)

    View full-size slide

  28. ࠷ॳʹ࡞ͬͨ gem ͷ࿩

    View full-size slide

  29. Glitched String API (2011)!
    http://glitchstr.makimoto.org/

    View full-size slide

  30. ➜ ~ pry -rglitched_string
    [1] pry(main)>
    [2] pry(main)>
    [3] pry(main)>
    [4] pry(main)> "ねむい".glitch
    => "Ͷ̊͒
    ̽ͮ̏̃ ̚
    ̌̀͠͞
    ̨̧
    ͝ ͘
    ͢ ͕̲͙͍̗̟̙̹

    ͂
    ͫͨ͛
    ͌
    ̔
    ͗
    ̋
    ̶
    ͘
    ̧
    ͝
    ͟
    ̨
    ҉
    ̀
    ̠̝̞̦͈͉̳͖

    ̚
    ̓
    ̌
    ̏
    ͊
    ̃
    ̒
    ͦ
    ̵
    ̢
    ͝ ͘
    ͠
    ҉
    ̛
    ͟
    ̬
    ̺
    ̯
    ͎
    ̖
    ̮
    ͉
    ̠
    "

    View full-size slide

  31. ศརͳΜ͚ͩͲͳ͊
    • 2011೥ϦϦʔεͳͷʹݱࡏͰ΋!
    • ͨͿΜϢʔβ͸ࢲ (ԋऀ) ͚ͩ!
    • ແବʹ Ruby 2.1.1 Ͱͷςετ͕ CI ʹࡌͬ
    ͍ͯΔͷͰݱ໾Ͱಈ͘ͷʹ!
    • ·͋ɺͦΕͰྑ͍ͷͰ͸ͱ͍͏ؾ͸͢Δ

    View full-size slide

  32. • ૯ͯ͡஍ຯ!
    • ͍͢͝ϥΠϒϥϦͱ͔ॻ͍ͯͳ͍!
    • Ͱ΋ͨ·ʹ pull request ΋Βͬͯಈ༳͢Δ

    View full-size slide

  33. (ҙ͕ࣝ͋·Γߴ͘ͳ͍)

    ԋऀʹͱͬͯͷ OSS ׆ಈ
    • OSS Λ࢖͏ˠ!
    • OSS Λ௚͢ (େମͲ͔͜յΕ͍ͯΔͷͰ)!
    • OSS Λॻ͘ (΄͍͠΋ͷ͕ͳ͍ͱ͖)

    View full-size slide

  34. ৭ʑͳͱ͜Ζ͕յΕ͍ͯΔ΢Σ
    ϒΞϓϦέʔγϣϯϑϨʔϜϫʔ
    Ϋͱͯ͠ͷ Ruby on Rails

    View full-size slide

  35. 2ίϛοτ (શੈք1146ҐλΠ)

    View full-size slide

  36. rails/rails
    1. ࢓ࣄͰ࢖͍ͬͯΔͱ͖ʹԿ͔Λ౿Έൈ͘!
    2. Edge Rails Ͱࢼͯ͠΋࠶ݱͯ͠άολϦ͢Δ!
    3. ύονΛॻ͍ͯ pull request Λ࡞ͬͯͳ͛Δ!
    4. (ʮςετΛॻ͚ʯʮChangeLogs ΋ߋ৽͠ΖʯͱౖΒΕΔ)!
    5. ͳΜ͔ͩΜͩͰϚʔδͯ͠΋Β͑Δ!
    6. ϫʔΠ

    View full-size slide

  37. ruby/www.ruby-lang.org
    • https://www.ruby-lang.org ͷιʔείʔ
    υΛ؅ཧ͍ͯ͠ΔϨϙδτϦ!
    • هࣄ΍຋༁ͷߋ৽͸ pull requests Ͱ΍Γ
    ͱΓ͍ͯ͠Δ!
    • (Ruby ΍ Rails ͳͲͱಉ༷ʹ) ͪΐͪ͜ΐ
    ͜յΕ͍ͯΔ

    View full-size slide

  38. ruby/www.ruby-lang.org!
    editorial team
    • ݴޠΛ໰Θͣ www.ruby-lang.org શମͷ
    ໘౗ΛݟΔ܎!
    • ͳ͔ͥԋऀ΋ͦͷҰһ

    View full-size slide

  39. ruby/www.ruby-lang.org
    1. ೔ຊޠʹ຋༁͞Ε͍ͯͳ͍ӳޠ൛هࣄΛͳΜͱͳ͘຋༁͠
    ͯϚʔδ͞ΕΔ!
    2. 1 ΛԿ౓͔܁Γฦ͢͏ͪʹ೔ຊޠ൛ͷ i18n ϝϯςφͷݖ
    ݶ͕෇༩͞ΕΔ!
    3. pull req ΛϚʔδͨ͠Γ͢Δۀ΍ fix typo ۀΛ΍Δ!
    4. ߋ৽ͯ͠΋ࣗ෼ͰσϓϩΠͰ͖ͳ͍͔ΒάολϦͯ͘͠Δ

    View full-size slide

  40. ॴײ
    • ࠷ॳ͸ࣗ෼͕޷͖ͳ΋ͷΛ࡞ͬͯެ։͢Δͷ͕Α͞
    ͦ͏ (લ൒ͷάϦονອஊ͸෬ઢͩͬͨͷͰ͢Ͷ)!
    • յΕ͍ͯΔ΋ͷ΍த్൒୺ͳ΋ͷʹରͯ͠άολϦ
    ͨ͠ΓΠϥΠϥͨ͠Γ͢Δͱ௚͢ؾྗ͕༙͍ͯྑ͍!
    • άολϦۦಈ։ൃ!
    • gem ͷϦϦʔε΍ pull reqɺissueରԠ͸ɺԿ౓͔
    ΍Ε͹఍߅͕ͳ͘ͳΔ (ͨͿΜ)

    View full-size slide

  41. Contents
    • ը૾Λഁյ͢Δ͜ͱ!
    • OSS ׆ಈΛ͢Δ͜ͱ!
    • ͦͷଞ

    View full-size slide

  42. Asakusa.rb Ͱ΍͍ͬͯΔ͜ͱ
    • issue Λॻ͘!
    • w.r-l.o ຋༁࡞ۀ!
    • ʮʓʓͭΒ͍ΜͰ͢ΑʙʯʮOSS ͳͷͰ௚
    ͍ͯͩ͘͠͞ʯ (ʓʓ ʹ͸͋ͳ͕ͨͭΒ͍ࢥ͍Λͨ͠ι
    ϑτ΢ΣΞͷ໊લΛೖΕ͍ͯͩ͘͞) !
    • ͓՛ࢠ৯΂Δ

    View full-size slide

  43. ը૾Λഁյ͢Δ͜ͱɺ!
    OSS ׆ಈ͢Δ͜ͱɺ!
    ͦͷଞ!
    Glitch, OSS activities, and so on
    Shimpei Makimoto (຀ຊ ৻ฏ)!
    େߐށRubyձٞ04!
    (Asakusa.rb Meetup #256)

    View full-size slide