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
LTの敷居を下げる / Lower the threshold for LT
Search
Takumi Shotoku
January 11, 2024
Technology
1
330
LTの敷居を下げる / Lower the threshold for LT
【オフライン開催】Omotesando.rb #93
https://omotesandorb.connpass.com/event/305893/
Takumi Shotoku
January 11, 2024
Tweet
Share
More Decks by Takumi Shotoku
See All by Takumi Shotoku
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
190
"型"のあるRailsアプリケーション開発 / Typed Rails application development
sinsoku
9
2.5k
Let's get started with Ruby && Rails Tips
sinsoku
0
370
CircleCIの高速化🚀 / CircleCI faster
sinsoku
3
1.2k
Railsアプリと型検査 / Rails app and type checking
sinsoku
5
1.4k
💎のつくりかた 2023 / How to make gems 2023
sinsoku
2
340
Make tests run faster
sinsoku
2
650
YARD with RBS Syntax
sinsoku
1
490
Get started with OSS contributions
sinsoku
2
1.2k
Other Decks in Technology
See All in Technology
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
C++26 エラー性動作
faithandbrave
2
680
.NET 9 のパフォーマンス改善
nenonaninu
0
530
Wantedly での Datadog 活用事例
bgpat
1
410
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
170
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
530
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
160
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
140
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
520
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
180
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
KATA
mclloyd
29
14k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Become a Pro
speakerdeck
PRO
26
5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
Designing Experiences People Love
moore
138
23k
Building an army of robots
kneath
302
44k
Mobile First: as difficult as doing things right
swwweet
222
9k
Statistics for Hackers
jakevdp
796
220k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
4 Signs Your Business is Dying
shpigford
181
21k
Transcript
LTͷෑډΛԼ͛Δ Omotesando.rb #93 2024/01/11 1
ࣗݾհ • ໊લ: ਖ਼ಙ (aka: ਆ) • GitHub: @sinsoku (ը૾ӈ্)
• Twitter: @sinsoku_listy (ը૾ӈԼ) • ͖ͳݴޠ: Rust ! , Ruby " • Railsྺ: 8͘Β͍ 2
એ: ໌1/12(ۚ)ʹ։࠵ ձ גࣜձࣾϚωʔϑΥϫʔυ ͞Μʹ͓आΓ͠ɺRBSܕΛ৮ ΔձΛ͠·͢ɻ 3
͢͜ͱ • ! LTͷෑډ͕ߴ͍ʁ • ⭐ LTͷϝϦοτ • # εϥΠυͷ࡞ΓํͳͲ
• $ ͓·͚: Rubyͷ • Omotesando.rb ͳͷͰ 4
! LTͷෑډ͕ߴ͍ʁ • ొஃͯ͢͠ωλ͕ແ͍ • ਓલͰ͢ͷ͕ۤख • ܦݧ͕ແ͍ͷͰෆ҆ 5
͢ωλ Omotesando.rb ຖ݄։࠵ͯ͠ΔͷͰɺRubyؔ࿈Ͱ৽֮͑ͨ͘͠ Կ͔Λ͘͢Β͍ͷؾ࣋ͪͰྑ͍ɻ • Rubyͷศརϝιουɺػೳͷհ • ͋·ΓΒΕ͍ͯͳ͍ڍಈͷհ • ʮ͜Ε͕όάͷݪҼͰͨ͠ʯͳͲ1
1 ⚠ ۀͷ۩ମྫΛ͠ա͗ͳ͍Α͏ʹҙ 6
ਓલͰ͢ͷ͕ۤख / ܦݧ͕ແ͍ͷͰෆ҆ 7
ͦΕͳ 8
͢ͷ͕ۤख / ෆ҆ ొஃܦݧ͕૿͑Δͱɺগ͠׳ΕΔɻ ͨͩɺਓ͕૿͑ΔͱࠓͰۓு͢Δɻ 9
LTʹର͢Δߟ͑ํ • ⏳ Ͱ͖Δ͚ͩ 5 ͰऴΘΒͤΔ • LT͕໘ന͘ͳͯ͘5ͳΒେৎ • "
୭͔ͷʹཱͭ 10
࣭ 1. Omotesando.rb ॳࢀՃͷํ 2. Ruby/Railsͷܦݧ͕3ະຬͷํ 11
⭐ LTͷϝϦοτ • ! ొஃͷޙʹใ͕ू·Δ • " ొஃͷ࿅शʹͳΔ • #
كʹొஃґཔΛड͚Δ 12
! εϥΠυ࡞ιϑτ • Google Slides • Deckset for Mac 13
Google Slides • ແྉ • Windows, Mac Ͱར༻Մ • ៉ྷͳσβΠϯ͕࡞ΕΔ
• จࣈɾը૾Λࣗ༝ʹஔͰ͖Δ ҎલʹΑ͍ͬͯͨ͘ɻձࣾͷςʔϚΛ͏ͱ͖ͬͪ͜ɻ 14
Desckset for Mac • ༗ྉʢ$35/one-timeʣ • ϚʔΫμϯه๏Ͱ࡞Մೳ • GitHubͰཧͰ͖Δ •
จࣈɾը૾ͷஔʹ੍ݶ͕͋Δ ࠷ۙͬͪ͜Λ͍ͬͯΔɻ࣌ؒͰεϥΠυ͕࡞Εͯศརɻ 15
! ը૾Λ͏ • ! จࣈ͚ͩͩͱ୯ௐʹͳΔ • ✨ ҹʹΔ • #
্ख͘͏ͱ໘ന͍ 16
ΞϯΨʔϚωδϝϯτͷษڧͰಡΜͩຊ • ΞϯΨʔϚωδϝϯτೖ • ଞऀͱಇ͘ / ʮΘ͔Γ͋͑ ͳ͞ʯ͔Β࢝ΊΔ৫ • ࣗͷখ͞ͳʮശʯ͔Β
ग़͢Δํ๏ • ը૾ 17
⚠ ஶ࡞ݖͷѻ͍ • εϥΠυͷར༻άϨʔ2 • ΦϯϥΠϯެ։ආ͚ͨํ͕ྑ͍ • SpeakerDeck ʹ্͛Δલʹফ͢ •
ΧϯϑΝϨϯεͰར༻Λආ͚ͨํ͕ྑ͍ 2 ৄ͘͠ͳ͍ͷͰࣗ৴ͳ͍ 18
! αʔόαΠυΤϯδχΞ ͜ΕαόͰ͢ ! 19
! map, flat_map, filter_map ͷհ map p [1, 2, 3].map
{ |n| n * 3 } #=> [3, 6, 9] 20
! map ͱ flat_map ͷҧ͍ map [[1,2], [3,4]].map { |i|
i.map { |j| j*2 } } #=> [[2, 4], [6, 8]] flat_map [[1,2], [3,4]].flat_map { |i| i.map { |j| j*2 } } #=> [2, 4, 6, 8] 21
! map ͱ filter_map ͷҧ͍ map (1..10).map { |i| i
* 2 if i.even? } #=> [nil, 4, nil, 8, nil, 12, nil, 16, nil, 20] filter_map (1..10).filter_map { |i| i * 2 if i.even? } #=> [4, 8, 12, 16, 20] 22
! ͥͻ࣍ճొஃ͠·͠ΐ͏ 23