$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
rhyme
Search
Yosuke Furukawa
PRO
March 03, 2017
Programming
1
7.2k
rhyme
2017/3/3 に TIS で発表したLTバトルの資料です。
Yosuke Furukawa
PRO
March 03, 2017
Tweet
Share
More Decks by Yosuke Furukawa
See All by Yosuke Furukawa
デザインシステムが必須の時代に
yosuke_furukawa
PRO
2
170
Node.js, Deno, Bun 最新動向とその所感について
yosuke_furukawa
PRO
10
4.6k
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
1
4.4k
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
280
Removing Corepack
yosuke_furukawa
PRO
9
1.7k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.9k
Strip Types と Storage
yosuke_furukawa
PRO
4
440
Module Harmony について
yosuke_furukawa
PRO
3
1.8k
LTのやり方
yosuke_furukawa
PRO
16
2.8k
Other Decks in Programming
See All in Programming
アーキテクチャと考える迷子にならない開発者テスト
irof
9
3.4k
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
2.1k
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
270
「文字列→日付」の落とし穴 〜Ruby Date.parseの意外な挙動〜
sg4k0
0
320
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.2k
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
4
1.3k
開発15年のAIネイティブでない 巨大サービスのAI最適化
rapicro
0
110
しっかり学ぶ java.lang.*
nagise
1
460
仕様がそのままテストになる!Javaで始める振る舞い駆動開発
ohmori_yusuke
8
4.7k
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
130
All(?) About Point Sets
hole
0
230
CSC305 Lecture 14
javiergs
PRO
0
330
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
What's in a price? How to price your products and services
michaelherold
246
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Git: the NoSQL Database
bkeepers
PRO
432
66k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Designing for humans not robots
tammielis
254
26k
Site-Speed That Sticks
csswizardry
13
970
Transcript
rhymè !!!!! 2017, March 3rd @ LT Freestyle Battle with
TIS
@yosuke_furukawa Node.jsϢʔβʔάϧʔϓද
@yosuke_furukawa Node.jsϢʔβʔάϧʔϓද Ϩϖθϯ/PEFKT
LT Freestyle Battle ͱฉ͍ͯ ͦΕຊؾͰฉ͍ͯ·͢ʁ ʹϑϦʔελΠϧͷ͠ ͤͨ͞Β͘ͳΓ·͢Αɻ
Զ͕ͲΕ͚ͩϑϦʔελΠϧ௨ ͔͍ͬͯ͏ ͱΓ͋͑ͣɺϑϦʔελΠϧ μϯδϣϯຖճ͔ܽͣ͞ݟ ͯΔɺ6.#ઓۃഃͷ ότϧಈըνΣοΫࡁΈ
͖ͳϑϦʔελΠϥʔ
Ͱͦ͏͡Όͳ͔ͬͨ ϑΝο ࠓճͷςʔϚʮࢲͷ͖ͳ999ͷίί͕͖ʯɻ ٕज़Λʹண͚͍͚ͨͲԿΛઐʹͨ͠Β͍͍͔Θ͔Βͳ͍ͱΉਓʹͱͬͯ ɺ֤ࣾΤʔε͕ޠΔʮ͖ͷϙΠϯτʯ͔Β͖ͬͱকདྷͷΤʔεʹͳΔͨΊ ͷώϯτ͕ಘΒΕΔͱࢥ͍·͢ʂ ࠓճͷήετɺ)PU1FQQFS4VVNPͳͲɺଟͷ8FCαʔϏεΛٕज़Ͱ ࢧ͑ΔϦΫϧʔτςΫϊϩδʔζ༷Ͱ͢ʂ Φʔϓϯ͔ͨ͠ΓͷϦΫφϏʹવͱഭΔΞΫηεΛࡋ͘ςΫχοΫ͕ฉ͚
Δ͔ʂʁ
શͳΔडϛε ԶࠓϑϦʔελΠϧͷ ͔͠͠ͳ͍ͭΓͩͬͨ
ؾΛऔΓͯ͠
rhymè
ࠓ͕͍͑ͨ͜ͱ ʮӆ͍ͬͯ͠ΜͰʯ
ӆͷ͠͞Λ͑ΔͨΊʹӆ ΛࣗಈͰݕग़͢Δ܅Λ ϑϧεΫϥονͰ࡞ͬͨ https://jrapper-demo.now.sh/ https://npmjs.org/jrapper
DEMO
Slack Bot ʹͯ͠Έͨ
Slack Bot ʹͯ͠Έͨ
͏Δ͍͞
ΞϧΰϦζϜઆ໌
ΞϧΰϦζϜ • ܗଶૉղੳͯ͠ɺࢺྨ • ͱΓ໊͋͑ͣࢺ͚ͩݟ͚ͭΔ • ໊ࢺΛϑϨʔζʹ͢Δʢલํͷम০͞Ε͍ͯΔݴ༿ Λऔ͖ͬͯͯܨ͛Δʣ • ϑϨʔζͷԻ͚ͩநग़͢Δ
• Իͷ࿈ͳΓํͰείΞ͚͢Δ
ΞϧΰϦζϜ • ܗଶૉղੳͯ͠ɺࢺྨ • ͱΓ໊͋͑ͣࢺ͚ͩݟ͚ͭΔ • ໊ࢺΛϑϨʔζʹ͢Δʢલํͷम০͞Ε͍ͯΔݴ༿ Λऔ͖ͬͯͯܨ͛Δʣ • ϑϨʔζͷԻ͚ͩநग़͢Δ
• Իͷ࿈ͳΓํͰείΞ͚͢Δ ͜ͷTDPSFΛϰΝΠϒε ͱݺͿ
vibes > ᮢ Ͱ ӆΛ౿ΜͰΔͱ͢Δɻ
͠͞ ͦͷ1 ϑϨʔζॲཧ
ϑϨʔζͲ͜ͰΕΔͷ ผ໊ʮϞʔχϯά່ɻʯ ʮήεͷۃΈԵঁɻʯͱݴ͏
Α͘ݟͨΒϑϨʔζॲཧ͚ͩ Ͱͨ͘͞Μจ͋Δ ʢࢲNLPͷઐͰͳ͍ʣ
ࠓదɿ ࠷໊ࢺ۟ => ࠓͱ͍͍ͯఱؾ ෦໊ࢺ۟ => ͱ͍͍ͯఱؾ
͠͞ ͦͷ2 Իఆ
ԻͳΜͯ5छྨͰ͠ΐ
ԻͳΜͯ5छྨͰ͠ΐ ͦ͏ࢥ͍͕ͬͯͨ࣌ࢲ ʹ͋Γ·ͨ͠ɻ
ຊޠͷԻ5छྨͰͳ͍
͜͜Ͱੜ·ΕΔ a !== à ᘳʹಉ͡Ի͡Όͳ͍ ͚Ͳɺ͍ۙൃԻɻ શ͘ผͳԻͱҧͬͯɺ vibes্͕Δ
JavaScript ʹ Intl.Collator ͱ ͍͏ඪ४ศརϥΠϒϥϦ͕͋Δ const collator = new Intl.Collator('en',
{ sensitivity: 'base' }) var vibes = 0; if (c1 === c2) { // ಉ͡ԻͩͬͨΒ vibes +1 vibes += 1 } else if (collator.compare(c1, c2) === 0) { // a, à ͩͬͨΒvibes +0.5 vibes += 0.5 }
͠͞ ͦͷ3 ࣙॻ
ฐࣾmookjp͕ग़͖ͯͨ͠ ϥΠϜ
ฐࣾmookjp͕ग़͖ͯͨ͠ ϥΠϜ ఆٛਥ ʢಡΈํɿςΠΪΫϦϠɹʣ
ޠኮྗॏཁ
ӆ͍ͬͯ͠
ਓ͕ؒͦΕΛଈڵͰΔϑϦʔ ελΠϧ࠷ߴ
͋ɺͦ͏ͦ͏େࣄͳ͜ͱ
ӆ౿ΈΞϧΰϦζϜશͯ powered by Node.js Ͱ͢!!! by Node.jsϢʔβʔάϧʔϓද
Thank you