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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Omni Adams
July 11, 2017
How-to & DIY
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Alexa, ask me about PHP
Omni Adams
July 11, 2017
More Decks by Omni Adams
See All by Omni Adams
Alexa, Ask Me About PHP! (Cascadia 2024)
omnicolor
0
80
Dark Corners - Tek
omnicolor
0
220
Monolith - Tek
omnicolor
0
170
Break Off - Midwest
omnicolor
0
61
Alexa-Midwest
omnicolor
0
230
Break Off SunPHP20
omnicolor
0
310
Alexa, Ask Me About PHP!
omnicolor
1
28
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
440
Dark Corners Of The SPL
omnicolor
0
83
Other Decks in How-to & DIY
See All in How-to & DIY
あなたは何故コミュニティに参加するのか?
awsjcpm
3
420
Trying "Vibe No-code/Low-code" with MCP #noderedjp
n0bisuke2
0
160
私がカンファレンスのプロポーザルを書くときに考えていること
kotomin_m
1
780
JAWS-UG横浜100回記念 私のAWS ジャーニーと日本からみた横浜支部
awsjcpm
0
460
いしかわ暮らしセミナー~知って安心!移住とお金講座~
matyuda
0
290
JAWS-UG/AWSコミュニティ JAWS-UG おおいた
awsjcpm
2
3.1k
エッジで動くNode-REDを作る実験 #noderedjp #noderedcon
n0bisuke2
0
630
MustをWillに変える技術 〜アイドル・郁田はるきが"すべき"の壁を超えるまで〜
subroh0508
1
2k
ボードゲーム × 専用収納 〜3Dプリントで埋めるニッチな隙間〜 / Board Games × Custom Storage
handlename
0
330
チームパフォーマンスを高めるための2種類のセルフマネジメント / Two Types of Self-Management for Improving Team Performance
iwashi86
4
870
画面の向こうから「気づき」を得る 画面の向こうを「物差し」として捉える
subroh0508
1
410
人見知りな HUB おじさんが 会話のハードルを超え、 今度は誰かの踏み台になろうとする話/hub-guy-as-a-stepping-stone
aokiplayer
2
770
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Designing for Timeless Needs
cassininazir
1
430
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.2k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
BBQ
matthewcrist
89
10k
Navigating Team Friction
lara
192
16k
Accessibility Awareness
sabderemane
1
170
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
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]