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
320
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
150
"型"のあるRailsアプリケーション開発 / Typed Rails application development
sinsoku
8
2.4k
Let's get started with Ruby && Rails Tips
sinsoku
0
360
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
330
Make tests run faster
sinsoku
2
640
YARD with RBS Syntax
sinsoku
1
480
Get started with OSS contributions
sinsoku
2
1.2k
Other Decks in Technology
See All in Technology
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
990
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Amazon Personalizeのレコメンドシステム構築、実際何するの?〜大体10分で具体的なイメージをつかむ〜
kniino
1
100
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.3k
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
100
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
Lexical Analysis
shigashiyama
1
150
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
459
33k
A better future with KSS
kneath
238
17k
KATA
mclloyd
29
14k
Being A Developer After 40
akosma
86
590k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Building Applications with DynamoDB
mza
90
6.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Become a Pro
speakerdeck
PRO
25
5k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
We Have a Design System, Now What?
morganepeng
50
7.2k
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