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

設計ナイト2022 トランザクションスクリプト

設計ナイト2022 トランザクションスクリプト

6521324f6ab5266cdcde1dd05945a27b?s=128

Shinpei Maruyama

June 14, 2022
Tweet

More Decks by Shinpei Maruyama

Other Decks in Programming

Transcript

  1. !TIJOQFJ ʮ%%%ͱ͔ΫϦʔϯΞʔΩςΫνϟͱ͔ϚΠΫϩαʔ Ϗεͱ͔Ͳ͏Ͱ΋͍͍͔Βͱʹ͔͘ϩάݟͯTFOUSZݟ ͯEBUBEPHݟͯཉ͍͠ʯ !POJHSB@ ɹΛ੒ཱͤ͞Δ !ઃܭφΠτʮτϥϯβΫγϣϯεΫϦϓτʯ

  2. IUUQTUXJUUFSDPNPOJHSB@TUBUVT ಉ྅ͷπΠʔτ

  3. ࣗݾ঺հ w ຊۀ͸ࣗশϛϡʔδγϟϯͷ୅ޙ൒உੑ w ϑϧλΠϜͷ෭ۀͰ$MBTTJͱ͍͏ձࣾͷ71P5 w 4DBMB޷͖ w σʔλϞσϦϯά΋޷͖ w

    υϝΠϯϞσϦϯά΋޷͖
  4. "ύʔτ

  5. IUUQTUXJUUFSDPNPOJHSB@TUBUVT

  6. Θ͔Δ ઃܭτʔΫ͹͔ͬΓ΍ͬͯͳ͍Ͱ γεςϜΛӡ༻͠Ζ ʢઃܭφΠτͱ͸ͳΜͩͬͨͷ͔ʣ

  7. 2 Ͳ͏Ͱ΋͍͍ͬͯͨ͋͜ͳ͍ͩΖ

  8. " ͦΕ͸ͦ͏͕ͩ ʮͲ͏Ͱ΋͍͍ʯ ͬͯݴ͑Δ৚͕݅͋Δ

  9. 2 ͡Ό͋৚݅Λຬͨͨ͠Β τϥϯβΫγϣϯεΫϦϓτͰ΋͑͑Μ͔ʁ

  10. " ͑͑ ͦͷ৚݅ͱ͸ʁ

  11. 5Y4DSJQU74%PNBJO.PEFMʁ w 5Y4DSJQUͱ%PNBJO.PEFM͸Α͘ೋ߲ରཱͱͯ͠ѻΘΕΔɻ w ͜͜Ͱݴ͏%PNBJO.PEFMͬͯͷ͸͍ΘΏΔ%%%จ຺ͷ΍ͭͰ w %#͔Βಠཱͯͯ͠ w ϏδωεϩδοΫʢʁʣΛ00Ͱʢʁʣදݱͨ͠΋ͷ w

    ͔͠͠ຊ౰ʹ͜ΕΒ͸ೋ߲ରཱ͔ʁ5Y4DSJQU͸ѱͳͷ͔ʁ w ࠓ೔͸͜ͷ΁Μͬ͘͡Γߟ͍͑ͨ w ·ͣ͸ͦΕͧΕͷಛ௃Λ͓͞Β͍
  12. 5Y4DSJQU74%PNBJO.PEFMʁ w 5Y4DSJQU w Ϣʔβʔ͔ΒͷΞΫγϣϯͱରԠͨ͠ϩδοΫ w %#ΞΫηε΋ϏδωεϩδοΫʢʁʣ΋όϦσʔγϣϯʢʁʣ΋શ෦΍Δ w ΋͏શ෦͍͋ͭҰਓͰ͍͍Μ͡Όͳ͍͔ͳ

  13. 5Y4DSJQU74%PNBJO.PEFMʁ w %PNBJO.PEFM w ϢʔβʔͷΞΫγϣϯͱରԠͰ͸ͳ͍ w %#ΞΫηε͠ͳ͍ w όϦσʔγϣϯʢʁʣ͠ͳ͍ w

    "MXBZT7BMJE%PNBJO.PEFMͬͯ΍ͭ΍Ͷ w ͱ͸͍͑ʮಥ͖߹ΘͤΤϥʔʯͬͯ΍ͭ͸"MXBZT7BMJEʹ͸Ͱ͖ΜͷΑ w ࠓճ͸͜ͷ࿩͸είʔϓʹೖΕͳ͍
  14. 5Y4DSJQU74%PNBJO.PEFMʁ w 5Y4DSJQU 3FRVFTU 5Y4DSJQU 3FTQPOTF 7BMJEBUJPO %# "DDFTT #VTJOFTT

    -PHJD %# "DDFTT
  15. 5Y4DSJQU74%PNBJO.PEFMʁ w %PNBJO.PEFM 3FRVFTU 6TFDBTF 3FTQPOTF 3FQPTJUPSZ &OUJUZ %# "DDFTT

    #VTJOFTT -PHJD 0SDIFTUSBUF 7BMVF0CKFDU #VTJOFTT -PHJD %PNBJO4FSWJDF #VTJOFTT -PHJD
  16. 5Y4DSJQU74%PNBJO.PEFMʁ w 5Y4DSJQU 3FRVFTU 5Y4DSJQU 3FTQPOTF 7BMJEBUJPO %# "DDFTT #VTJOFTT

    -PHJD %# "DDFTT FBTZͰ͏Ε͍͠
  17. 5Y4DSJQU74%PNBJO.PEFMʁ w %PNBJO.PEFM 3FRVFTU 6TFDBTF 3FTQPOTF 3FQPTJUPSZ &OUJUZ %# "DDFTT

    #VTJOFTT -PHJD 0SDIFTUSBUF 7BMVF0CKFDU #VTJOFTT -PHJD %PNBJO4FSWJDF #VTJOFTT -PHJD TJNQMFʹ Ͱ͖ͯ͏Ε͍͠ʂʂ
  18. IUUQTUXJUUFSDPNLBXBTJNBTUBUVT

  19. None
  20. LBXBTJNB͞Μ͕ͥΜͿॻ͍ͯͨ

  21. "ύʔτ·ͱΊ w 5Y4DSJQUJTFBTZCVUTPNFUJNFTDPNQMFY w 5Y4DSJQUɺѱऀʹ͞Ε͕͚ͪͩͲɺৗʹ5Y4DSJQU͕ѱͳΘ͚Ͱ͸ͳ͍ɻ w े෼ʹ4JNQMFͳϢʔεέʔεͰ͸ɺ5Y4DSJQUͰ4JNQMF &BTZ͕࣮ݱͰ͖ͯ͏ Ε͍͠ w

    ٯʹ4JNQMFͳͷʹυϝΠϯΦϒδΣΫτಋೖͨ͠ΒDPNQMJDBUFEʹͳͬͯ͠ ·͏Α w ΈΜͳେ޷͖'J[[#V[[&OUFSQSJTF&EJUJPO
  22. #ύʔτ

  23. %PNBJO.PEFM͸ʮநग़ʯ͢Δ΋ͷ w %PNBJO.PEFM͸ҭͯΔ΋ͷʢཁग़యʣͰ͋Δ w ͔࣮ͨ͠ફ%%%ʹͦΜͳ͜ͱॻ͍ͯ͋ͬͨؾ͕͢Δʢͪΐͬͱௐ΂Δ࣌ؒ ͕ͳ͔ͬͨʣ w ͭ·Γɺ࠷ॳͷ͏ͪ͸ͲΜͳυϝΠϯϞσϧΛݟग़ͤ͹͍͍͔Θ͔Βͳ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͡

  32. IUUQTUXJUUFSDPNLBXBTJNBTUBUVT

  33. LBXBTJNB͞Μ͕ͥΜͿॻ͍ͯͨ 

  34. 5Y4DSJQUJTB6TFDBTF w 5Y4DSJQUϨϕϧͰͷ6OJU5FTU͕ॻ͔Ε͍ͯΕ͹ɺͦΕ͸ͦͷ··6TFDBTFϨ ϕϧͷ6OJU5FTUʹͳΔ w ͜ͷςετΛյ͞ͳ͍6TFDBTFϨϕϧͰͷڍಈ͕୲อ͞Ε͍ͯΔ w օ͞Μେ޷͖ϦϑΝΫλϦϯάͷ͓࣌ؒͰ͢ w 7BMVF0CKFDUͷநग़ͱ͔͸ΊͬͪΌίετ௿ͦ͘ΕͳΓʹޮՌ͕͋Δخ͠

    ͍΍ͭ w %%%ͬͯ݁ہී௨ͷ00ͩΑͶͬͯͷ͸͜͜ͷ࿩
  35. #ύʔτ·ͱΊ w 5Y4DSJQUͱ%PNBJO.PEFM͸ೋ߲ରཱͰ͸ͳͯ͘ϨΠϠʔ͕ҟͳΔ w 5Y4DSJQUͱಉ͡ϨΠϠʔʹ͍Δͷ͸6TFDBTF w 5Y4DSJQUΛ͖ͪΜͱςετͰक͓ͬͯ͘͜ͱͰஈ֊తʹ5Y4DSJQU͔Β%PNBJO .PEFMͷநग़͕Մೳ w ͭ·ΓͪΌΜͱςετॻ͍ͯ͋Ε͹5Y4DSJQUͰ΋͑͑

  36. མͪึर͍ w 6TFDBTFϨϕϧͷςετॻ͍ͱ͘ͱɺ5Y4DSJQU͕$PNQMFYʹͳ͖ͬͯͨͱ͖ ʹͭΒ͘ͳΓ·͢ w $PNQMFY4JNQMFCVUTPNFUJNFTDPNQMJDBUFE΁ͷ͖͔͚ͬ΋͔ͭΊ Δ w $PNQMJDBUFE͡Όͳͨ͘͢Ίʹ͸00ྗʢʁʣ͕ඞཁͳͷ͡Όʜʜ

  37. IUUQTUXJUUFSDPNPOJHSB@TUBUVT 6TFDBTFϨϕϧͷςετॻ͍ͯཉ͍͠

  38. ·ͱΊ w ʮ%%%ͱ͔ΫϦʔϯΞʔΩςΫνϟͱ͔ϚΠΫϩαʔϏεͱ͔Ͳ͏Ͱ΋͍͍ ʢ5Y4DSJQUͰ͍͍ʣ͔Βͱʹ͔͘ϩάݟͯTFOUSZݟͯEBUBEPHݟͯཉ͍͠ʯ͕ ੒ཱ͢ΔͨΊʹ͸ w Ϣʔεέʔε͕े෼ʹγϯϓϧͰ͋Γɺ5Y4DSJQUͰ4JNQMF͔ͭ&BTZ͕࣮ݱ Ͱ͖Δ w 03"/%

    w 5Y4DSJQUʹରͯ͠Ϣχοτςετ͕ॻ͔Ε͓ͯΓɺ6TFDBTFϨϕϧͰͷϦϑ ΝΫλ͕҆શʹߦ͑Δ
  39. ͖ͭͮ͸ʢ͋Ε͹ʣ σΟεΧογϣϯͰ