Save 37% off PRO during our Black Friday Sale! »

5W for tech questions

5W for tech questions

110cd4dcaed019b3bd9809e541afdeb6?s=128

Masafumi Okura

December 12, 2020
Tweet

Transcript

  1. 5WͰָ࣭͘͠໰͠Α͏ʂ OKURA Masafumi, Rails Girls Gathering Japan, 2020-12-12

  2. ࣗݾ঺հ • ໊લɿେ૔խ࢙ʢOKURA Masafumiʣ • ॴଐɿϑϦʔϥϯε • ՝֎׆ಈɿKaigi on RailsͷνʔϑΦʔΨφΠβʔɺGrow.rb΍

    Entaku.rbͷΦʔΨφΠβʔɺʰϚελϦϯάVimʱͷ຋༁ͳͲ • Rails GirlsͱͷؔΘΓɿemorima͞Μʹ2017೥͝ΖʹRails Girlsͷଘ ࡏΛڭ͑ͯ΋ΒͬͯɺҎޙ౦ژ஍ํؚΊͯ10ճҎ্ͷίʔνࢀՃ
  3. Rails Girls Effect for me • ਓͱͨ͘͞Μग़ձ͑ͨ • ৭ʑͳ৔ॴʹߦ͚ͨʢઋ୆ɾѪඤɾԭೄʣ •

    ʮϓϩάϥϛϯάΛॳֶऀʹڭ͑Δ͜ͱʯ΁ͷҙ͕ࣝͱͯ΋ߴ͘ͳͬ ͨ
  4. ࠓ೔ͷൃදͷ໨త • Rails Girls΁ͷࢀՃʹڵຯͷ͋Δํ͸ɿٕज़ʹ͸৭ʑͳଆ໘͕͋Δͳ ͋ͱ͍͏ͷΛײ͡औΔ • ֶशதͷํ͸ɿ࣭໰Λ͢Δલʹ੔ཧ͢Δํ๏Λֶ΂Δ • ΤϯδχΞͷํɺίʔνʹڵຯͷ͋Δํ͸ɿॳֶऀʹڭ͑Δͱ͖ʹ૬ खͷ࣭໰Λվળ͢Δώϯτ͕ಘΒΕΔ

  5. લఏ • ͜͜Ͱͷ࣭໰͸֤छQ&AαΠτͰͷ࣭໰΍৬຿্Ͱͷ࣭໰Λ૝ఆ • Wakaranνϟϯωϧͱ͔Ͱ͸΋ͬͱΧδϡΞϧʹ৭ʑॻ͍͍͍ͯͱࢥ ͏ʢત·͍͠…ʣ

  6. ෼͔Βͳ͍͜ͱΛղফ͢Δϑϩʔ 1. ࣗ෼Ͱௐ΂Δʢ͜Ε΋ॏཁɺͰ΋ࠓ೔͸࿩͕࣌ؒ͢ͳ͍ʣ 2. Ұఆ࣌ؒʢ15෼આ͕ଟ͍ʣௐ΂ͯ෼͔Βͳ͚Ε͹࣭໰ 3. ղܾʂ

  7. ʮ͢Έ·ͤΜɺ ͜Εಈ͔ͳ͍ΜͰ͚͢Ͳ…ʯ

  8. ෼͔Βͳ͍͜ͱΛղফ͢Δϑϩʔ 1. ࣗ෼Ͱௐ΂Δʢ͜Ε΋ॏཁɺͰ΋ࠓ೔͸࿩͕࣌ؒ͢ͳ͍ʣ 2. Ұఆ࣌ؒʢ15෼આ͕ଟ͍ʣௐ΂ͯ෼͔Βͳ͚Ε͹࣭໰ͷ४උ 3. ࣗݾղܾ͠ͳ͚Ε͹࣭໰ 4. ղܾʂ

  9. ࣭໰ͷ४උ • ʮ෼͔Βͳ͍͜ͱʯ͸෼͔Βͳ͍ • ʮ෼͔Βͳ͍͜ͱʯͷͲ͕͜෼͔Βͳ͍ͷ͔͕෼͔Βͳ͍ͱ࣭໰Ͱ ͖ͳ͍ • ঢ়گͷ੔ཧ • 5WͷϑϨʔϜϫʔΫΛ࢖͓͏

  10. ̑WͷϑϨʔϜϫʔΫͱ͸ʁ • ࣭໰ͷ࢓ํʹ͍ͭͯࢲͳΓʹ·ͱΊͨঢ়گͷ੔ཧͷ࢓ํ • ʮ5W1Hͬͯ͋Δ͚ͲɺͲ͏͢Ε͹͍͍ͷ͔ʢHowʣΛฉ͖͍ͨͷͩ ͔Βɺ࢒Γͷ5WΛຒΊΕ͹͍͍Μ͡Όͳ͍͔ʯͱ͍͏ൃ૝

  11. When • ໰୊͸͍ͭى͖ͨͷ͔ • ௚લʹԿΛͨ͠ͷ͔ • ࠷ޙʹਖ਼ৗʹಈ࡞͍ͯͨ͠ʢ໰୊͕ى͖ͳ͔ͬͨʣͷ͸͍͔ͭ • ྫɿʮࡢ೔ͷ໷·Ͱ͸ಈ͍͍ͯͨͷͰ͕͢ɺࠓேίϯτϩʔϥʔΛม ߋͨ͠ΒΤϥʔʹͳΓ·ͨ͠ʯ

  12. Where • ͲͷΑ͏ͳ؀ڥͰ໰୊͕ى͖ͨͷ͔ • OS͸ͳʹ͔ɺ֤छπʔϧʢݴޠ΍ϑϨʔϜϫʔΫʣͷόʔδϣϯ͸ ͳʹ͔ • `pwd`ͷ݁Ռͱ͔`ps aux |

    grep foo`ͷ݁Ռͱ͔΋ • ྫɿʮOS͸macOS Big SurɺRubyͷόʔδϣϯ͸2.6.6ɺRailsͷόʔ δϣϯ͸6.0.3ɺλʔϛφϧ͸७ਖ਼ɺγΣϧ͸zshΛ࢖͍ͬͯ·͢ʯ
  13. Who • ࣭໰ऀ͸Կऀͳͷ͔ • ࣭໰ऀ͸ۀ຿ʢ·ͨ͸ֶशʣྺ͕ͲΕ͘Β͍͋Δͷ͔ • ྫɿʮࢲ͸RailsͷֶशΛ࢝Ίͯ໿൒೥Ͱ͢ɻ͜Ε·ͰRailsΛத৺ʹֶ ΜͰ͖ͯࠓ͸৭ʑͳgemΛ৮͍ͬͯ·͢ɻʯ

  14. What • ໰୊͸ͳʹ͔ • ໰୊ʢ͍͍ͩͨΤϥʔʣͷৄࡉΛઆ໌͢Δ • ը૾͸షͬͪΌͩΊ • ը૾͸షͬͪΌͩΊ •

    ྫɿΤϥʔͷίϐϖͰ΋े෼ͳͷͰলུ
  15. Why • ͳͥ͜ͷ࣭໰Λ͍ͯ͠Δͷ͔ • ͜ͷ໰୊Λղܾ͍ͨ͠Ϟνϕʔγϣϯ͸ͳʹ͔ • ࣭໰ͷ໨త͸ͳʹ͔ • ྫɿʮϩάΠϯػೳΛ࡞੒͍ͨ͠ͷͰ͕͢ɺϝʔϧΞυϨεͷ֬ೝΛ ඞਢʹ͠Α͏ͱࢥ͍ͬͯ·͢ɻ͜ͷgemΛ࢖͑͹ͦΕ͕Ͱ͖ΔΒ͍͠

    ͷͰ͕͢ɺREADMEʹैͬͯ΋ΤϥʔʹͳΓ·͢ʯ
  16. ʮRailsֶशதͷॳ৺ऀͰ͢ɻmacOS ͱChromeͰ։ൃ͍ͯͯ͠ɺAjaxͰը ໘Λߋ৽͍ͨ͠ͷͰ͕͢ɺαʔόͷϩ άʹҎԼͷΑ͏ͳΤϥʔ͕Ͱ·͢ʯ

  17. ࢀߟɿ https:// okuramasafumi.hatenablog.jp/ entry/2020/12/02/225222