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
Alexa, ask me about PHP
Search
Omni Adams
July 11, 2017
How-to & DIY
0
240
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Alexa, Ask Me About PHP! (Cascadia 2024)
omnicolor
0
41
Dark Corners - Tek
omnicolor
0
170
Monolith - Tek
omnicolor
0
120
Break Off - Midwest
omnicolor
0
36
Alexa-Midwest
omnicolor
0
190
Break Off SunPHP20
omnicolor
0
270
Alexa, Ask Me About PHP!
omnicolor
1
28
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
340
Dark Corners Of The SPL
omnicolor
0
56
Other Decks in How-to & DIY
See All in How-to & DIY
How to make the Groovebox
asonas
2
1.6k
チームビルディングを受けてみた
harukahosokawa
3
190
DroidKaigi 2024 - 海外就職というキャリアの選択肢
iyotetsuya
1
1.1k
新婚19年目から学ぶ夫婦円満の正しい歩き方 / Life is beautiful
soudai
PRO
12
4.7k
「AITRIOS」でトカゲの活動量を可視化
hoshinoresearch
0
400
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
PRO
1
210
JAWS-UGとAWS - JAWS-UG彩の国埼玉設立のお祝い
awsjcpm
2
530
目指せ!本を書いて夢の不労所得 #第3木曜LT会
kaitou
1
120
すぐできる! 運送業でやってみた業務効率化3選
dochin2635
0
120
#Stampfly #M5Stack 開発ストーリーと今後の可能性 前説
takasumasakazu
0
130
M5Stickと超小型エッジAIカメラ「AITRIOS」
hoshinoresearch
0
520
2025年03月02日 メイカーズながおかまつり での講演 「コミュニティベースでの製品開発ものづくりフェアの役割」
takasumasakazu
0
250
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
850
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
GitHub's CSS Performance
jonrohan
1032
460k
Building Adaptive Systems
keathley
43
2.7k
It's Worth the Effort
3n
187
28k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Code Review Best Practice
trishagee
71
19k
Context Engineering - Making Every Token Count
addyosmani
3
62
Transcript
Alexa, ask me about PHP
What is Alexa?
None
None
None
None
None
None
None
None
None
None
if($extractType == ‘LME') { $extract = 38; } elseif ($extractType
== ‘DME') { $extract = 45; } elseif (is_numeric($extractType)) { $extract = $extractType; } if (is_numeric($target_gu) && is_numeric($total_gu) && is_numeric($extract)) { return ($target_gu - $total_gu) / $extract; } else { return null; }
None
https://developer.amazon.com/
None
None
None
None
None
None
None
None
None
None
None
{ “intents”: [ { “slots”: [], “intent”: “” } ]
}
function extractAddition($expected, $actual, $extractType)
Alexa, ask brew calc how much DME to go from
ten sixty to ten ninety
Alexa, askbrew calc how much DME to go from ten
sixt
xa, ask brew calchow much DME to go from ten
sixty to ten nin
lc how much DME to go from ten sixty to
ten ninety
lc how much DME to go from ten sixty to
ten ninety
how much DME to go from ten sixty to ten
ninety {“intents”: [{ “slots”: [ {“name”: “extract”, “type”: “LIST_OF_EXTRACT_TYPES”}, {“name”: “expected”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”}, {“name”: “actual”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”} ], “intent”: “BrewCalcIntent” }]}
None
None
None
None
DEMO TIME!
https://speakerdeck.com/omnicolor/alexa-ask-me-about-php https://github.com/omnicolor/automation https://twitter.com/omnicolor Omni Adams
[email protected]