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

esaとRubyistとわたし

 esaとRubyistとわたし

大江戸Ruby会議06で発表させていただきました
https://asakusarb.github.io/oedo06/

ken_c_lo / TAEKO AKATSUKA

March 21, 2017
Tweet

More Decks by ken_c_lo / TAEKO AKATSUKA

Other Decks in Design

Transcript

  1. @ken_c_lo
    TAEKO AKATSUKA
    2017.03.20 େߐށRubyձٞ06 @ιϥγςΟΧϯϑΝϨϯεηϯλʔ
    esa
    ͱ
    Rubyist
    ͱ
    Θͨ͠

    View full-size slide

  2. \śŸũƄŪ!/

    View full-size slide

  3. w ੺௩ົࢠ
    w !LFO@D@MP
    w FTB--$
    w σβΠφʔ
    w ϓϩάϥϚͰ͸ͳ͍
    w 3VCZJTU

    View full-size slide

  4. 5
    ΤϯδχΞਓσβΠφʔਓͷձࣾ
    FTBJP QQMPHOFUͷ։ൃɾӡӦ

    View full-size slide

  5. https://esa.io
    w νʔϜͷͨΊͷυΩϡϝϯτڞ༗αʔϏε
    w ʮ৘ใΛҭ͍ͯͨʯͱ͍͏ίϯηϓτ
    w ϚʔΫμ΢ϯͰॻ͚Δ
    w ʮॻ్͖தʯͷ৘ใΛڞ༗Ͱ͖Δ
    w BTBLVTBSCͷӡӦͰ΋࢖͍͍ͬͯͨͩͯ
    ·͢

    View full-size slide

  6. https://pplog.net
    w ʮϙΤϜʯ͕ॻ͚ΔɺಡΊΔ
    w هࣄຖͷύʔϚϦϯΫ͕ͳ͍ϒϩά
    w VTFST
    w ଟ͘ͷ3VCZJTU͕ϙΤϚʔ
    ॳΊͯͷਓ͸ӈԼͷϗωΛճ͢ͱ
    ଟ෼ָ͍͠ͱࢥ͍·͢

    View full-size slide

  7. ಥવࢲࣄͰڪॖͰ͕͢ʜ
    w ࠷ۙ݁ࠗ͠·ͯ͠ʜ
    w !UBUTVP4BLVSBJ
    w ͋ͷϦετ
    w IUUQBN[OBTJB
    B0Y#0X-

    View full-size slide

  8. ͱ͜ΖͰʮ3VCZJTUʯͬͯԿʁ
    RubyistͬͯԿ͔ͩ஌ͬͯΔʁ
    ͋Εɺ஌Βͳ͍ͷʁ
    ͪΌΜͱఆ͕ٛ͋ΔΜͩΑ
    w ෉͍Θ͘

    View full-size slide

  9. 3VCZJTUͱ͸
    ʮRubyʹରͯ͠୯ͳΔ
    ͓٬͞ΜҎ্ͷؾ࣋ͪ
    Λ͍࣋ͬͯΔਓʯ
    https://www.slideshare.net/
    takahashim/how-to-become-a-
    rubyist

    View full-size slide

  10. ຊ೔ͷझࢫ
    w QEɺͦͯ͠3VCZJTUୡͱͷग़ձ͍
    w ΤϯδχΞͱ૊ΜͰαʔϏεΛ࡞ΔΑ͏ʹͳΔ
    ·Ͱ
    w ࢲ͕αʔϏεσβΠϯΛ௨ͯ͠΍Γ͔ͨͬͨ͜ͱ
    w ˢͱ3VCZίϛϡχςΟͱͷڞ௨఺ͷ࿩
    w ͪΐͬͱ;Θͬͱͨ͠࿩

    View full-size slide

  11. ݽಠظ೥લ͘Β͍·Ͱ
    w ϑϦʔϥϯε
    w ࣗ෼ͷ8FCαʔϏεΛ࡞Γ͍ͨ
    w $BLF1)1ͱ͔ษڧͨ͠Γ
    w ਓͰαʔϏε࡞ͬͨΓ࠳ંͨ͠Γ
    w աఔΛͨ·ʹ#MPHʹॻ͍ͯͨ
    w 3VCZίϛϡχςΟपลͷσβΠφʔͱ஌Γ߹͏

    View full-size slide

  12. P4D
    Programming for Designers
    w ΤϯδχΞʢ΄ͱΜͲ3VCZJTUʣ
    ͕σβΠφʔʹ3BJMT΍(JUΛڭ
    ͑ͯ͘ΕΔίϛϡχςΟ
    w ೥લ͘Β͍·Ͱ

    View full-size slide

  13. 1%ͰॳΊͯग़ձͬͨ3VCZJTU
    ͱ͍͏ਓछ
    w ଛಘײɺ͓࢓ࣄײ͕ͳ͘ɺͨͩʮ޷͖͔ͩΒʯͰ
    ຖिͱִ͔िͱ͔ू·͍ͬͯΔ
    w ແঈͰ೤৺ʹσβΠφʔʹ(JU΍3BJMTΛڭ͑ͯ͘
    ΕΔ
    w ͜Μͳʹ΋ʮ͍͍ײ͡ʯͷਓୡΛॳΊͯݟͨ

    View full-size slide

  14. ͳͥ͋ͷࠒɺ
    ൴Β͸͋Μͳʹ΋
    ਌੾ஸೡʹ
    ࢲୡσβΠφʔʹ(JU΍3BJMTΛ
    ڭ͑ͯ͘Ε͍ͯͨͷ͔ʁ
    ฉ͍ͯΈͨɻ

    View full-size slide

  15. !QQXPSLTࢯ
    ΈΜͳ͕ͦ͏͔஌Βͳ͍͚Ͳɺ
    ͓Ε͸ڭ͑Δͷָ͕͔ͬͨ͠ɻ
    ָ͔͔ͬͨ͠Β΍ͬͨɻ
    ָ͍͜͠ͱਓʹڭ͍͑ͨ
    ͍ͬͯ͏ͷ΋͋ͬͨɻ
    ʢRailsʹग़ձ͔ͬͯΒ
    ϚδͰWeb։ൃָ͘͠ͳͬͨΜͩΑͳ͋ɻʣ

    View full-size slide

  16. ओ࠵!TBUPDPDPBࢯ
    ʰࣗ෼͕޷͖ͩͱࢥ͏΋ͷ
    Λଞͷਓ΋޷͖ʹͳͬͯ͘Ε
    Δͱخ͍͠ʱ
    ͕Ϟνϕʔγϣϯ͔ͳ͋ɻ

    View full-size slide

  17. 3VCZJTUͱ͸
    ʮRubyʹରͯ͠୯ͳΔ
    ͓٬͞ΜҎ্ͷؾ࣋ͪ
    Λ͍࣋ͬͯΔਓʯ
    https://www.slideshare.net/
    takahashim/how-to-become-a-
    rubyist

    View full-size slide

  18. 1%ϋοΧιϯ
    w σβΠφʔͱϓϩάϥϚਓͰ૊ΜͰɺ೔Ͱαʔ
    ϏεΛ࡞Δ
    w ΤϯδχΞɺσβΠφʔͷ͓ޓ͍ͷ͢͝͞࠶ೝࣝ
    w 8FCαʔϏεΛ࡞Δָ͍ͬͯ͠ʂ
    w ֤νʔϜϨϕϧߴܹͯࢗ͘త

    View full-size slide

  19. QEͱग़ձͬͯҎ߱ɺ
    3VCZͷΤϯδχΞͱ૊ΜͰɺ
    ৭ʑͳαʔϏεΛ
    झຯͰ࡞ΔΑ͏ʹͳΔ

    View full-size slide

  20. 2011.12
    http://receibo.herokuapp.com
    w/ @shu0115
    w ؆୯Ոܭ฽αʔϏε
    w ϨδͰͦͷ৔Ͱೖྗ͢Δ
    w ϨγʔτΛஷΊͳ͍͍ͯ͘Ոܭ฽
    w 044
    ݱࡏٳࢭதͰ͢N @@
    N

    View full-size slide

  21. 2013.04
    http://ktra.herokuapp.com/
    https://github.com/taea/ktra
    w/ @katton, @ppworks
    w λεΫ؅ཧπʔϧ
    w ਓ༻1JWPUBM5SBDLFSΈ͍ͨͳ
    w ॳΊͯSBJMTOFXͨ͠αʔϏε
    w 044

    View full-size slide

  22. 2013.09
    https://pplog.net
    w/ @ppworks and Team pplog
    ॳΊͯͷਓ͸ӈԼͷϗωΛճ͢ͱ
    ଟ෼ָ͍͠ͱࢥ͍·͢

    View full-size slide

  23. 2014.05
    https://esa.io
    w/ @fukayatsu

    View full-size slide

  24. ָͯ͘͠ɺ
    αʔϏεΛͻͨ͢Β࡞͍ͬͯͨΒɺ
    ͍ͭͷؒʹ͔झຯ͕
    ຊۀʹͳ͍ͬͯͨɻ

    View full-size slide

  25. ࢲ͕͜ΕΒͷϓϩμΫτ
    σβΠϯΛ௨ͯ͡
    ΍Γ͍ͨ͜ͱ
    ϓϩμΫτʹ໋Λਧ͖ࠐΉ͜ͱ

    View full-size slide

  26. ϓϩμΫτ͕͖ͪΜͱσβΠϯ͞
    ΕΔͱɺҙࢥ͕॓Δ
    w ϓϩμΫτࣗ਎͕๬Ήํ޲΍ҙࢥΛ͔࣋ͬͨͷΑ͏ʹɺ
    ͍͖͍͖ͱࣗ૸͢ΔΑ͏ʹͳΔ
    w ։ൃνʔϜ΋͍͖͍͖ͱࣗ૸͢Δ
    w σβΠϯʹ͓͍ͯͦͷঢ়ଶ͕࣮ݱग़དྷͨͱָ͖͕͍͠
    ؔΘΔਓ͕͍͖͍͖ͱ͢ΔͨΊͷ
    ʮϕʔεʯΛ࡞Γ͍ͨ

    View full-size slide

  27. ʮ͍͖͍͖ʯ

    View full-size slide

  28. ʰແ໊ͷ࣭ʱ
    ͋Δத৺తͳ࣭͕ଘࡏ͢ΔɻͦΕ͸ਓɺொɺݐ෺ɺߥ໺ͳͲͷੜ໋΍ਫ਼ਆ
    ͷࠜݯతͳنൣͰ͋Δɻ͜ͷ࣭͸٬؍త͔ͭਖ਼֬Ͱ͸͋Δ͕ɺ໊෇͚Δ͜
    ͱ͸Ͱ͖ͳ͍ɻ
    ͜ͷ࣭Λࣗݾͷੜ໋ʹٻΊΔ͜ͱ͸ɺສਓʹͱͬͯͷجຊత໋୊Ͱ͋Γɺ
    ͢΂ͯͷݸਓͷ෺ޠͷཁͰ͋ΔɻͦΕ͸ɺࣗ෼͕࠷΋ੜ͖ੜ͖ͱ͢Δॠؒ
    ΍৘گΛٻΊΔ͜ͱͰ͋Δɻ
    ʢதུʣ
    ݐ෺΍ொͷແ໊ͷ࣭͸ɺਓͼͱͷฏຌͳ೔ৗੜ׆͔Βؒ઀తʹੜ੒͞ΕΔ
    ͚ͩͰɺਓҝతʹͦΕΛͭ͘Δ͜ͱ͸Ͱ͖ͳ͍ɻͪΐ͏ͲɺՖ͕छ͔Βੜ
    ੒͞ΕΔ͚ͩͰɺਓҝతʹͦΕΛͭ͘Εͳ͍ͷͱಉ͡Ͱ͋Δɻ
    ᴷᴷ C.ΞϨΫαϯμʔஶ ʗ ฏాᷨಹ ༁ ʰ࣌Λӽ͑ͨݐઃͷಓʱ
    ᴷᴷ ߐ౉ߒҰ࿠ ஶ ʰύλʔϯɺWikiɺXP ʙ࣌Λӽ͑ͨ૑଄ͷݪଇ P.42 ΑΓ

    View full-size slide

  29. ʰແ໊ͷ࣭ʱ
    - ͦͷ֗ʮΒ͠͞ʯΛͪΌΜͱอͪͳ͕Β੒௕͢Δ
    - ্͔Βͷԡ͠෇͚Ͱ͸ͳ͘
    - ͋ΔҰఆͷݫ͍͠ϧʔϧ͕͋ΔΘ͚Ͱ͸ͳ͘
    - ͦΕͧΕ͕ࣗ཯తʹͦΕͧΕͷ޾ͤΛٻΊͯಈ͍ͨ݁Ռ
    - ؾ͚ͮ͹ࣗવͱͦ͏ͳ͍ͬͯΔΑ͏ͳ …
    ֗΍ݐ෺΍γεςϜ͕
    Ұఆͷ࣭Λอͬͨ··ɺϘτϜΞοϓͰ
    উखʹࣗݾ૿৩ɾ੒௕͍ͯ͘͠ɻ

    View full-size slide

  30. ϓϩμΫτʹؔΘΔਓ͕
    ʮ͍͖͍͖ʯ͢ΔͨΊͷ
    ϕʔεΛ࡞Δͷ͕ɺ
    ࢲʹͱͬͯͷσβΠϯɻ
    • ίϯηϓτϝΠΩϯά΍ੈք؍ͷৢ੒Λ஍ಓʹ΍͍ͬͯΔͱɺ͋Δ
    ͔࣌Βͦ͜ʹ֬ݻͨΔنൣ͕ੜ·ΕɺϓϩμΫτ͕ΩϟϥΛ֫ಘ͠ɺ
    ؔΘΔਓ͕͍͖͍͖ͱ͠͸͡ΊΔɻ
    • ϏδϡΞϧɺίʔυؔ܎ͳ͘ɺʰ͍͖͍͖ʱͷͨΊʹͰ͖Δ͜ͱΛ
    ΍Δ

    View full-size slide

  31. ͍͖͍͖ͱͨ͠ϓϩμΫτ͸
    ϢʔβʔʹѪ͞ΕΔ
    • esa͸ϢʔβʔʹѪ͞Εͯ·͢ΑͶɺͱΑ͘ݴΘΕΔ
    • Ϣʔβʔ΋ϓϩμΫτͷੈք؍ʹڞ໐ͯ͠
    • ੵۃతʹԠԉͯ͘͠ΕΔ
    • ָ͘͠࢖ͬͯ͘ΕΔ
    • ϑΟʔυόοΫͳͲΛ௨ͯ͠ҰॹʹϓϩμΫτΛ࡞Δ஥ؒ
    • ʢ͍͍ҙຯͰɺʮ͓٬͞ΜʯͬΆ͘ͳ͍ʁʁʣ
    • NiceͳϢʔβʔ͞ΜͨͪɾίϛϡχςΟʹकΒΕ͍ͯΔ

    View full-size slide

  32. 3VCZίϛϡχςΟʹɺ
    ࣅͯΔʁ
    ʢࣅͯͨΒ͍͍ͳʜʣ

    View full-size slide

  33. 3VCZJTUʹڭΘͬͨσβΠϯ؍
    • ࢲ͕σβΠϯͰ΍Γ͔ͨͬͨ͜ͱ͸ɺRubyίϛϡχςΟͷதʹ
    ͋ͬͨ
    • Rubyistʹग़ձ͍ɺͦͷ͍͖͍͖ͱͨ͠ྑ͞ʹ৮ൃ͞Εͯੜ·Εͨ
    σβΠϯ؍ɾϓϩμΫτ؍

    View full-size slide

  34. ؔΘΔਓΛ͍͖͍͖ͱͤ͞Δ
    3VCZͷσβΠϯʹɺ
    σβΠφʔͱͯ͠श͍͍ͨɻ
    • Matzࢯ = ݴޠσβΠφʔ
    • σβΠϯͱ͍͏ߦҝ͸ຊདྷ͜͏͍͏͜ͱͳΜ͡Όͳ͍͔
    • esa΍pplog΋·ͨɺRubyΛ࢖ͬͯ࡞ΓɺRubyίϛϡχςΟͷத
    Ͱੜ·ΕͨαʔϏε
    • Matz is nice so we are nice.
    • ϓϩμΫτσβΠϯ΋Ruby఩ֶͷ૬ࣅܗͰ͋Γ͍ͨɻ

    View full-size slide

  35. ͋Γ͕ͱ͏͍͟͝·͢ʂ
    3VCZJTUͷΈͳ͞Μ

    View full-size slide

  36. FTB͔Βͷ͞͞΍͔ͳԸฦ͠
    esaͰ͸OSSίϛϡχςΟ΍ٕज़ΧϯϑΝϨϯεʹ޲͚ͯɺӡӦπʔ
    ϧͱͯ͠esaͷແঈఏڙʢπʔϧεϙϯαʔʣΛߦ͍ͬͯ·͢ɻ
    ͝ر๬ͷํ͸͓ؾܰʹ͝૬ஊ͍ͩ͘͞ :)
    asakusa.rb, RubyKaigi, ౦ژnodeֶԂ ଞଟ਺ͷίϛϡχςΟར༻

    View full-size slide