Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hanamiを支える技術 2023 / Asakusa.rb Hanami 2023
Search
Akira Matsuda
October 15, 2023
Programming
2
550
Hanamiを支える技術 2023 / Asakusa.rb Hanami 2023
大江戸Ruby会議10のNinja Talk 「Hanamiを支える技術 2023」の発表スライド
http://regional.rubykaigi.org/oedo10
#oedo10
Akira Matsuda
October 15, 2023
Tweet
Share
More Decks by Akira Matsuda
See All by Akira Matsuda
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
13
4.8k
Rails 7.1をn倍速くした話
a_matsuda
11
12k
RubyKaigi 2022 After Talk
a_matsuda
0
410
Coming Soon…💎 / coming soon
a_matsuda
12
7.8k
Rails Performance Issues and Solutions
a_matsuda
9
35k
Extending Rails for Real World App Development
a_matsuda
9
7.4k
A RubyKaigi Talk
a_matsuda
8
2.4k
Ginza Rails 1
a_matsuda
6
1.2k
Oedo 07
a_matsuda
8
930
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
310
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Recoilを剥がしている話
kirik
5
6.6k
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
CSC305 Lecture 25
javiergs
PRO
0
130
Go の GC の不得意な部分を克服したい
taiyow
2
770
14 Years of iOS: Lessons and Key Points
seyfoyun
1
770
ドメインイベント増えすぎ問題
h0r15h0
1
230
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
200
良いユニットテストを書こう
mototakatsu
5
2k
42 best practices for Symfony, a decade later
tucksaun
1
180
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
A better future with KSS
kneath
238
17k
Building an army of robots
kneath
302
44k
A designer walks into a library…
pauljervisheath
204
24k
Designing Experiences People Love
moore
138
23k
Optimizing for Happiness
mojombo
376
70k
Writing Fast Ruby
sferik
628
61k
Thoughts on Productivity
jonyablonski
67
4.4k
Mobile First: as difficult as doing things right
swwweet
222
9k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Faster Mobile Websites
deanohume
305
30k
Transcript
)BOBNJΛࢧ͑Δ ٕज़ !B@NBUTVEBେߐށ3VCZձٞ
TFMG 🐼 RubyKaigi 🐼 Ruby 🐼 💎 🐼 Rails 🐼
WEB+DB PRESSͱࢲ 🐼 Asakusa.rb
3VCZ,BJHJ
3VCZ,BJHJ 🐼 https:/ /rubykaigi.org/2024/
3VCZ,BJHJ
3VCZ,BJHJ 🐼 σβΠφʔେืूதʂʂ
3VCZ
💎
⚡ 🐼 https:/ /github.com/kaminari/ kaminari
⚡
3BJMT
3BJMTͬͯΔਓʁ 🐼 ✋
3BJMTҎ֎ͷ3VCZͷϑϨʔϜϫʔΫͬͯΔ ਓʁ 🐼 ✋
3BJMT
8&# %#13&44ͱࢲ 🐼 Vol. 48 ಛू1ͷRubyฤ 🐼 Vol. 54 ͳΜ͔͍هࣄ
🐼 Vol. 58 Rails 3ಛू 🐼 Vol. 73 Rails 4ಛू 🐼 Vol. 100 ײಈͷ100߸ه೦ΤοηΠ 🐼 Vol. 111 Rails 6ಛू 🐼 Vol. 120 20पه೦اը
"TBLVTBSC
ʹઃཱ
ࠓͰ"TBLVTBSCઃཱपʂ 🐼 👏
"TBLVTBSCԿΛ͍ͬͯΔͷ͔ʁ
.FFUVQ 🐼 ຖि 🐼 ຊ͕736ճ
Ҭ3VCZձٞ 🐼 ʰେߐށRubyձٞʱ 🐼 ϝϯόʔͨͪͷੜ׆ൃදձ 🐼 1ʙ2ʹ1ճ͙Β͍ 🐼 ࠓճ͕10ճ
ͦΕҎ֎ʹຖͬͯΔେࣄͳΠϕϯτ
ͦΕҎ֎ʹຖͬͯΔେࣄͳΠϕϯτ 🐼 ৽ձ 🐼 Ֆݟ
৽ձ 🐼 ͷॳΊʹͪΐͬͱߴ͓͍͍ͯ͘͠ ͷΛ৯ΔΠϕϯτ
ࠓ༽ͷؙম͖
Ֆݟ 🐼 🌸ͷ࣌ظʹɺ۱ాͷͬΓʹே͔ Βू·ͬͯҿΉΠϕϯτ 🐼 20094݄Ҏ߱ຖ։࠵
"TBLVTBSC)BOBNJͷྺ࢙ 🐼 2009: 2009/03/29 http:/ /atnd.org/events/466 🐼 2010: 2010/03/27 http:/
/tweetvite.com/event/asakusarb_hanami2010 🐼 2011: 2011/04/02 http:/ /partake.in/events/382d18dc-88e1-4732-8b92-f9d26 ff e7e4a 🐼 2012: 2012/04/14 http:/ /qwik.jp/asakusarb/hack153.html 🐼 2013: 2013/03/30 https:/ /asakusarb.doorkeeper.jp/events/3362 🐼 2014: 2014/03/29 https:/ /connpass.com/event/5664/ 🐼 2015: 2015/04/04 https:/ /peatix.com/event/82419 🐼 2016: 2016/03/26 https:/ /asakusarb.esa.io/posts/9 🐼 2017: 2017/04/02 https:/ /asakusarb.esa.io/posts/823 🐼 2018: 2018/03/24 https:/ /asakusarb.esa.io/posts/875 🐼 2019: 2019/03/30 https:/ /techplay.jp/event/724321 🐼 2020: 2020/03/30 https:/ /atnd.org/events/112150 🐼 2021: ͳ͠ 🐼 2022: ͳ͠ 🐼 2023: 2023/03/21: https:/ /asakusarb.esa.io/posts/1137
աڈͷ༷ࢠ
ࠓͷຊ
)BOBNJͷઃܭͱ࣮
)BOBNJͷجຊཁ݅ 🐼 🐼 ࡩ͕ຬ։ʹͳΔΑΓͪΐͬͱલ͙Β͍ͷ࣌ظ 🐼 ே͔Β࢝ΊΔ(͡Όͳ͍ͱॴ͕औΕͳ͍) 🐼 ·ͰμϥμϥҿΉ 🐼
ͨ·ʹӍ͕߱Δ
🐼 օ͞ΜɺͰҿΉͷ͖Ͱ͢ΑͶʁ
)BOBNJͷجຊཁ݅ 🐼 🐼 ࡩ͕ຬ։ʹͳΔΑΓͪΐͬͱલ͙Β͍ͷ࣌ظ 🐼 ே͔Β࢝ΊΔ(͡Όͳ͍ͱॴ͕औΕͳ͍) 🐼 ·ͰμϥμϥҿΉ 🐼
ͨ·ʹӍ͕߱Δ
ͭ·Γɺ 🐼 ͕͍࣌ؒ 🐼 פ͍ʂ
T🍺🍶H
ञ७ถɺᗎͳΒͳ͓ྑ͠
🍶
♨
🔌
🔥
None
ٯڥͩʂʂ
͍ͯ͏͔
੍ͩͬʂʂ
੍ 🐼 "Constraints are liberating" (DHH)
੍ϑϨʔϜϫʔΫ
ʮ)BOBNJϑϨʔϜϫʔΫʯ
ʮ)BOBNJϑϨʔϜϫʔΫʯ 🐼 ՐΛΘͣʹɺ12͙࣌ؒΒ͍Ϳͬଓ͚ ͰɺͰᗎΛҿΉٕज़
ඍົͳϥΠϯ
ΧηοτίϯϩɺΞτυΞ༻ͷόʔφʔྨ 🐼 🙅
)BOBNJΛࢧ͑Δٕज़ᶃ
ੜੴփ
ԽֶతΞϓϩʔν 🐼 ੜੴփ + ਫ => ♨
ܞଳ͓͔Μث
"TBLVTBSCՖݟͰ͜ͷٕज़͕ಋೖ͞Εͨͷ ɺʙ͝Ζ
%FNP
͜ͷΞϓϩʔνͷ 🐼 ਫ͕ҰॠͰಅͯ͠͠·͏ 🐼 Ԡ͕͔ؒ͠ଓ͔ͳ͍ 🐼 ࡉ͔͍Թཧ͕Ͱ͖ͳ͍
)BOBNJΛࢧ͑Δٕज़ᶄ
ిௐཧͱͯ͠ͷᗎ͚
Թௐཧث"OPWB 🐼 քʹֵ໋͕ىͬͨͭ͜ 🐼 ຊञͷ🍶0.5୯ҐͰͷԹίϯτ ϩʔϧ͕Մೳʹͳͬͨ 🐼 ҰൠՈఉͰ࣭ͷอͨΕͨᗎΛ͚ͭΔ ʹɺ͜ͷ্ͳ͍σόΠε
"TBLVTBSCͷΠϕϯτͳͲͰʙ ͝Ζ͔ΒΘΕ͡Ίͨ
"OPWB 🐼 ͔Μ͚͢ΛΘͣͱಉͷΞτϓο τ͕ग़ͤΔ 🐼 ܞଳੑʹ༏ΕΔ 🐼 ͍ͭͰʹௐཧͰ͖Δ
"OPWB 🐼 ͜ΕΛHanamiϑϨʔϜϫʔΫʹಋೖ ͢ΕͰ🍶͕ವΊΔͷͰʂʁ
)BOBNJΛࢧ͑Δٕज़ᶅ
ిݯ
ཁ݅ 🐼 Ͱ🍶Λిௐཧ͍ͨ͠
ࡂ࣌༻ͷϙʔλϒϧόοςϦʔ
͜͏͍͏ͭ
"OPWBΛͭͳ͛ͯεΠονΦϯʂ
ͱ͜Ζ͕ɺ
ҰॠͰిݯམͪΔ
ࣦഊ
Կނ͔ʁ
"OPWBͷܽ 🐼 ΊͬͪΌిؾ৯͏ 🐼 1000W͙Β͍ඞཁ 🐼 ສԁΫϥεͷϙʔλϒϧόοςϦʔ ͷిྗͰͥΜͥΜແཧ
͖ͬ͞ͷ"OLFS1PXFS)PVTFͷεϖο Ϋ
͖ͬ͞ͷ"OLFS1PXFS)PVTFͷ߹ 🐼 100W͕max
ͬͱফඅిྗͰ͓౬Λ͔ͤΔσόΠε ͳ͍ͷ͔ʁ
ͱɺࢥ͍ͬͯͨͱ͜Ζɺʹಥٹੈ ओ͕ొʂ
)BOBNJΛࢧ͑Δٕज़ᶆ
ञᗎثͷΜ͑ԣஸ /#& 🐼 https:/ /www.ginzado.ne.jp/ ~mitsutani/cooking_coner/ nbe-1.html
ͷΜ͑ԣஸͷεϖοΫ
ͷΜ͑ԣஸͷεϖοΫ 🐼 ͓౬Λ100℃·Ͱ͔͢͜ͱͰ͖ͳ͘ ͯɺ࠷େ60℃·Ͱɺͱ͍͏🍶ʹಛԽ͠ ͨΨδΣοτ 🐼 ফඅిྗͨͬͨͷ200Wʂ
8ͷిྗ 🐼 ͖ͬ͞ͷPower House 200Ͱແཧ 🐼 Ͱɺ͏ͪΐͬͱ͔ͪΒͮΑ͍όο ςϦʔΛങ͍͍͚͑ͩ
)BOBNJΛࢧ͑Δٕज़ᶇ
🔋 🐼 Battery is found in me!
͕࣋ͬͯΔͭ͜Ε
"OLFS1PSUBCMF1PXFS4UBUJPO 🐼 https:/ /www.ankerjapan.com/ collections/powerhouse/ products/a1751
"OLFS1PSUBCMF1PXFS4UBUJPOͷε ϖοΫ
͜ΕͳΒిྗָʑΫϦΞʂ
͔͠͠ɺॏ͍ʂ
͔͠͠ɺॏ͍ʂ
)BOBNJͰɺ͜ͷΫϥεͷ🔋͕جՔಇ 🐼 @tagomoris ϝϯόʔ͕ͬͱڧྗͳ ͭΛ࣋ࢀ
ϞϦε🔋
͞Βʹॏ͍ʂ
🔋ΜΓ 🐼 ͷΜ͑ԣஸͰ🍶͕͚ͭΕΔ 🐼 ͍ͭͰʹɺࡂ࣌ʹ҆৺Ͱ͖Δ 🐼 εϚϗͱ͔ύιίϯ͕ॆిͰ͖Δ
ͨͩ͠ɺΧδϡΞϧʹ࣋ͪา͘ʹॏ͗͢Δ 🐼 ࠊ͕ͿͬյΕͦ͏ͳ༧ײ……
)BOBNJΛࢧ͑Δٕज़ᶈ
ᗎʹͨ͠Β͓͍͍͠७ถञ
%FNP
)BOBNJΛࢧ͑Δٕज़ᶉ
Ϛοτ
ॳϖϥϖϥͷϒϧʔγʔτΛ໘ʹෑ͍ ͯͨ 🐼 ఈྫྷ͕͍͑͢͝ʂ
ͦ͜ͰΞτυΞ༻ͷϚοτΛಋೖ 🐼 ໘͔Βͷྫྷ͑ΛશʹγϟοτΞ τͰ͖ͯɺΊͬͪΌշదʹͳͬͨ 🐼 ΞτυΞ༻͍͢͝
)BOBNJΛࢧ͑Δٕज़ᶊ
🍕
ϖοΫ࠷ߴ 🐼 ઙΤϦΞ࠷ڧͷϐβ 🐼 ిͨ͠Β·Ͱಧ͚ͯ͘ΕΔ
)BOBNJΛࢧ͑Δٕज़ᶋ
͏ʹ
'VUVSF8PSLT
ͬͱফඅిྗͰ♨͍ͨ͠ 🐼 γΨʔιέοτ(12V or 24V)Λ͏ͭ ͱ͔
͋Δ͍ൃిʁ 🐼 ଠཅޫ 🐼 ۱ాͷਫྗ 🐼 ϞϦε͞ΜʹνϟϦϯίΛ૨͕ͤΔ 🐼 ͍ͬͨΜ͍ͯ͠·͑6Wఔʹ͓͑͞ΒΕΔ 🐼
ϒʔτετϥοϓ༻ͷ౬͚ͩຐ๏ළ͔ͳʹ͔Ͱ࣋ͬ ͯ͘ΕɺͦΜͳ͍͢͝όοςϦʔෆཁʁͳͷ͔ʁ
·ͱΊ 🐼 AsakusaͷHanamiϑϨʔϜϫʔΫͩ
·ͱΊ 🐼 य़ʹͳͬͨΒͰವ͏ͥʂ
FOE