diykeyboard-is-ruby.pdf

 diykeyboard-is-ruby.pdf

Lightning Talk, とちぎRuby会議09

動画もあります: https://youtu.be/3NYxhlCdEPQ

34fcd5f1deeb25b1138e9845137feb6e?s=128

Shintaro Kakutani

September 12, 2020
Tweet

Transcript

  1. YOU COULD SAY DIY-KEYBOARD IS ESSENTIALLY RUBY ֯୩৴ଠ࿠ !LBLVUBOJ 

    ͱͪ͗3VCZ,BJHJUPSVCZ %*:ΩʔϘʔυ͸࣮࣭3VCZ
  2. ֯୩৴ଠ࿠ @kakutani حൈͳཧ࿦ʹڵฃ͕ͪ͠ झຯϝΧχΧϧΩʔϘʔυεΠονͷ५׈

  3. None
  4. None
  5. ൃച༧ఆɻࣗ৴࡞ɻ #BDLJOUIF(BNFR

  6. YOU COULD SAY DIY-KEYBOARD IS ESSENTIALLY RUBY ֯୩৴ଠ࿠ !LBLVUBOJ 

    ͱͪ͗3VCZ,BJHJUPSVCZ %*:ΩʔϘʔυ͸࣮࣭3VCZ
  7. %*:ΩʔϘʔυͱ͸ w%*:͡Όͳ͍ΩʔϘʔυl׬੒඼z ɾശ͔Βग़ͯ͠ɺύιίϯʹ઀ଓͨ͠Β࢖͑Δ PVUPGUIFCPY  ɾ)BQQZ)BDLJOH,FZCPBSE΍3&"-'03$&ɻ,JOFTJT"EWBOUBHF΋͔ͬͪ͜ͳ  w%*:ΩʔϘʔυl׬੒඼z͡Όͳ͍΍ͭ ɾശ͔Βग़ͯ͠΋ɺͦͷ··Ͱ͸࢖͑ͳ͍ɻར༻ऀͷखͰl׬੒zͤ͞Δ޻ఔ͕ඞཁ LBLVUBOJͷҹ৅ʹΑΔ෼ྨɻ

    ਖ਼֬ͳఆٛͰ͸ͳ͍ʜ
  8. %*:ΩʔϘʔυl׬੒඼z͡Όͳ͍΍ͭ wΧελϜΩʔϘʔυ ɾԣʹͣΕͯΔ 3PX4UBHHFSFE lී௨zͷ28&35:ͳ΍͕ͭଟ͍ɻΩʔ਺͸ʙத৺ ɾ1$#΍έʔεɺϓϨʔτͷૉࡐ΍ઃܭʹͩ͜ΘΓ͕͋Δɻଧ伴ײ΍ଧ伴Իʹͩ͜ΘΔ ɾैདྷͷΩʔϘʔυͷྲྀΕͷͳ͔ͰɺͲ͏࣭ΛߴΊ͍͔͕ͯ͘ςʔϚ  ɾ೔ຊޠΩʔ഑ྻͷ΋ͷ͸গͳͦ͏ɻ#4΍εϖʔεόʔΛ෼ׂͰ͖ͨΓͯ͠ɺҙ֎ͱ෺ཧ഑ྻʹ෯͕͋Δ wࣗ࡞ΩʔϘʔυ

    ɾlઃܭऀzͷߟ͑ͨΩʔ෺ཧ഑ྻ΍Ωʔ਺ɻ෼ׂΩʔϘʔυ͸ͪ͜Β͕ଟ͍ ɾ͜Ε·Ͱʹͳ͔ͬͨΩʔϘʔυΛੜΈग़͢͜ͱ͕ςʔϚ  ࣗ࡞ ࣗΩΑΓ͸l%*:zͷ΄͏͕ݺ ͼ͔ͨͱͯͬ͘͠͠Δͱࢥ͏Α೿
  9. ͱͪ͗3VCZձٞ wݪ৴Ұ࿠ ʮത࢜ͷѪͨ͠3VCZͱ਺ֶʯ ɾ ౦ಹਢ໺ެຽؗ ɾݪϝιουൃදऀࣗ਎΁ͷࢦࣔΛεϥΠυʹؚΊΔɺϝλϓϩάϥϛϯάతख๏ ɾl3VCZͷ͍͢͝ͱ͜Ζ͸ɺݴޠͷಛ௃Λʮͨͷ͍͠ʯͱݴ͍੾ͬͯ͠·ͬͨ͜ͱz ɾ3VCZ͸ۤखͳܭࢉΛ΍ͬͯ͘ΕΔɻ೴ͷԆ௕ɻ਎ମͷҰ෦ɻ ɾΔͼ·߸https://magazine.rubyist.net/articles/0026/0026-TochigiRubyKaigi01Report.html 

    ɾΔͼ·߸ )PUMJOLT https://magazine.rubyist.net/articles/0023/0023-Hotlinks.html ɾCMBEFϝʔϦϯάϦεταʔόʔͷ؅ཧऀ  QSF3BJMT QSF3FENJOF࣌୅ͷॏཁ৘ใݯ  lੈքͰ࡭໨ͷ3VCZͷຊͷஶऀzBSUPO
  10. https://www.slideshare.net/sinara.h/toruby01a/93

  11. 3VCZ͸lจ๪۩zͷΑ͏ͳଘࡏ ʹͳ͍ͬͯ͘ŪůŠŪ 3VCZ,BJHJ5BLFPVUͰ.BU[΋ɺҎ߱͸ݴޠपลͷϓϩάϥϚʔͷ ։ൃମݧΛྑ͍ͯ͘͘͠औΓ૊ΈΛڧΊ͍͖͍ͯͨతͳ͜ͱΛݴ͍ͬͯͨ

  12. lܭࢉΛ͢Δਓؒͱࢴͷؒʹ͋Δͷ͕ϖϯɻ ౤͛ग़ͦ͠͏ʹͳͬͨॠؒʹɺ͋ͱඵ༨ ܭʹߟ͑ΒΕΔ͔Ͳ͏͔͸ϖϯͰܾ·Δ ݪ৴Ұ࿠ ͱͪ͗3VCZձٞ

  13. ܭࢉΛ͢Δਓؒͱࢴͷؒʹ͋Δͷ͕ϖϯ ܭࢉΛ͢Δਓؒͱ$16ͷؒʹ͋Δͷ͕3VCZ 3VCZ͸खʹೃછΉϖϯͷΑ͏ͳ΋ͷ ϖϯ͸खʹೃછΉ3VCZͷΑ͏ͳ΋ͷ -BNZ48*'5ͷॻ͖ຯͷʮͨͷ͠͞ʯ͸3VCZͬΆ͍ؾ͕͢Δ ˞ݸਓͷײ૝Ͱ͢

  14. https://booth.pm/ja/items/1577882

  15. lΧελϜΩʔϘʔυͰ͋Ε͹ɺ·͞ʹΩʔϘʔυ͕೑ ମͷҰ෦ʹͳΔΑ͏ͳɺͦΜͳࣗ෼͚ͩͷΩʔϘʔυ Λͭ͘Δ͜ͱ͕Ͱ͖·͢ɻΩʔϘʔυΛଧ伴͢Δͨͼ ʹɺࣗ෼ͷ਎ମ͕֦ு͞Ε͍ͯΔײ͕֮͋ΓɺͦΕ͚ͩ Ͱָ͘͠ͳͬͯ͠·͏Α͏ͳɺͦΜͳΩʔϘʔυΛͭ͘ Δ͜ͱ͕Ͱ͖ΔͷͰ͢ɻ ڧௐ౳͸Ҿ༻ऀʹΑΔ

  16. ܭࢉΛ͢Δਓؒͱ$16ͷؒʹ͋Δͷ͕3VCZ ܭࢉΛ͢Δਓؒͱ3VCZؒʹ͋Δͷ͕ΩʔϘʔυ 3VCZ͸खʹೃછΉΩʔϘʔυͷΑ͏ͳ΋ͷ ΩʔϘʔυ͸खʹೃછΉ3VCZͷΑ͏ͳ΋ͷ

  17. ਓ͸3VCZΛࣗ෼ͰϏϧυͰ͖Δ

  18. ਓ͸ΩʔϘʔυΛࣗ෼ͰϏϧυͰ͖Δ

  19. YOU COULD SAY DIY-KEYBOARD IS ESSENTIALLY RUBY ֯୩৴ଠ࿠ !LBLVUBOJ 

    ͱͪ͗3VCZ,BJHJUPSVCZ %*:ΩʔϘʔυ͸࣮࣭3VCZ
  20. lΧελϜΩʔϘʔυͰ͋Ε͹ɺ·͞ʹΩʔϘʔυ͕೑ ମͷҰ෦ʹͳΔΑ͏ͳɺͦΜͳࣗ෼͚ͩͷΩʔϘʔυ Λͭ͘Δ͜ͱ͕Ͱ͖·͢ɻΩʔϘʔυΛଧ伴͢Δͨͼ ʹɺࣗ෼ͷ਎ମ͕֦ு͞Ε͍ͯΔײ͕֮͋ΓɺͦΕ͚ͩ Ͱָ͘͠ͳͬͯ͠·͏Α͏ͳɺͦΜͳΩʔϘʔυΛͭ͘ Δ͜ͱ͕Ͱ͖ΔͷͰ͢ɻ ڧௐ౳͸Ҿ༻ऀʹΑΔ

  21. দߐͰ͸͜ͷࠒ͕ϒʔϜͷ௖఺ͩͬͨͬΆ͍  ݄߸ͱ݄߸ͷ͍͋ͩͰ.BU[ͷอ༗͢ΔΩʔϘʔυ͕૿͍͑ͯͯ૲ https://shop.nikkeibp.co.jp/front/app/catalog/list/?searchBackNoSearchFlg=1&searchMediaNameShort=LIN ೔ܦ-JOVYͷ࿈ࡌͰ೥݄߸ͱ݄߸ͷ߸Λඅͯ͠ .BU[͕ࣗ࡞ΩʔϘʔυΛϋʔυιϑτ໘Ͱղઆɻ RNLͷར༻๏ͷઆ໌͕ա৒ʹஸೡ 64#έʔϒϧʹ஫ҙ ͳͲ 

    .BU[ΩʔϚοϓͷఏҊ΋
  22. ͨͷ͍͠%*:ΩʔϘʔυ wRNL@pSNXBSF ࣗ༝ͳιϑτ΢ΣΞ BTTQFFDI Λ࢖ͬͯ04ʹΑΒͣࣗ༝ʹ ࣗ༝ʹ ΩʔϚοϓΛઃఆͰ͖Δ BTGSFFCFFS  w਌ࢦ&OUFS

    -BZFSΩʔελϯυ໊ʰβɾϋϯυʱ ଧ͍ͪͨจࣈͷΩʔʹࢦΛҠಈͤ͞ΔͷͰ͸ͳ͘ɺଧ͍ͪͨจࣈͷΩʔΛࢦͷ΄͏ʹ͚ۙͮΔײ֮Δɻελϯυೳ ྗͷൃಈɻΩʔϘʔυ͸ߦ ਌ࢦͷ࢓ࣄͿΜͷΩʔ͕͋Ε͹฻ΒͤΔɻ74$PEFΛ࢖͏৔߹΍ɺྲྀ଎ͷૣ͍ νϟοτʹඋ͑ͯɺ਺ࣈߦ΍ΧʔιϧΩʔͷ͋ΔΩʔϘʔυ΋Ϗϧυ͓ͯ͘͠ͱ΂ΜΓͩͧR w५׈ΩʔεΠον ελϏϥΠβʔʹ५׈ࡎΛృ෍͢Δ  ५׈͸͍͍ͧ ࢲ͸೥݄ཤम։࢝ͷʮʹΘ͔ʯͳͷͰɺڵຯΛ΋ͬͨ3VCZJTU֤Ґ͸UXJUUFS͔SVCZKQͷ TMBDLLFZCPBSEɺ"TBLVTBSCͷ4MBDL%JTDPSEͰ͔ͨͬΜ࢝Ίઌഐॾࢯʹฉ͍͍ͯͩ͘͞
  23. lͭ·ΓɺίϯϐϡʔλʔϢʔβʔ͸ɺࣗ෼ࣗ ਎ͷΩʔϘʔυΛ࡞Δ΂͖ͳͷͰ͋Δɻ ,FOU#FDL 8BSE$VOOJOHIBN lΦϒδΣΫτࢦ޲ϓϩάϥϜͷͨΊͷύλʔϯϥϯήʔδͷ࢖༻z 

  24. http://www.flickr.com/photos/alanstanton/5863143738/ l୯ʹΩʔεΠονΛ५׈͢Δ ৔߹Ͱ΋ɺৗʹ৺ʹΩʔϘʔ υΛࢥ͍ඳ͔Ͷ͹ͳΒͳ͍ɻ ʕʕ५׈࡞ۀऀͷ৺ಘ

  25. lೖྗΛ͢Δਓؒͱ$16ͷؒ ʹ͋Δͷ͕ΩʔϘʔυɻ౤͛ ग़ͦ͠͏ʹͳͬͨॠؒʹɺ͋ ͱඵ༨ܭʹೖྗͰ͖Δ͔ Ͳ͏͔͸ΩʔϘʔυͰܾ·Δ ֯୩৴ଠ࿠ ͱͪ͗3VCZձٞ

  26. Drawn by @PUPRL, https://twitter.com/PUPRL/status/1294899754757787648 Happy Typing!!

  27. গ͕࣌ؒ͠࢒͍ͬͯΕ͹ ࢲ෺ࣸਅΛ  ݁ߏ͕࣌ؒ࢒͍ͬͯΕ͹ ࢀߟࢿྉͷ঺հ΋

  28. ݱଘ͢Δखݩ ͷΩʔϘʔυ

  29. https://gihyo.jp/magazine/wdpress/archive/2019/vol112 ࡾଜ͞ΜͷهࣄͰ͸ʮ΋͛ϚΠΫϩʯʹ͍ͭͯݴٴ͕ແ͍ͷͰ ࣮ફ͢Δલʹ͸άάΔͷ͕͓͢͢Ί τϥ΢Ϛ

  30. https://booth.pm/ja/items/1577882 άϨʔτߴҪ௚ਓͷάϨʔτͳҰ࡭ɻ๜୊ʰপ΁ͷϋΠ΢ΣΠʱ ͻͱ௨Γͷखॱͱߟ͑ํΛֶ΂Δɻ५׈͸͍͍ͧɻ

  31. ϨτϦό͍ͬͯ͏ΩʔϘʔυΛ࡞͍ͬͯΔձࣾ ͷࢿྉ͕ ஸೡʹྺ࢙΍แׅతͳཁૉٕज़Λղઆͯ͘͠Εͯ΂ΜΓR https://twitter.com/retrieva_jp/status/958585693189615616

  32. ͦΖͦΖ͓ΘΓ ΩʔϘʔυ͸͓΋͠Ζ͍ ˣ ΩʔϘʔυͨͷ͍͠ ˣ ΩʔϘʔυ͸ΩϞνΠʔ ΩʔϘʔυࣗຫ͸΄Ͳ΄Ͳʹ 

  33. Drawn by @PUPRL, https://twitter.com/PUPRL/status/1294899754757787648 Happy Typing!!