Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Alexa, Ask Me About PHP!

Alexa, Ask Me About PHP!

The future we saw in Star Trek is happening now! Instead of having to actually touch your technology, you can now use your voice to bend it to your will. In this talk, we’ll go from an idea for an Alexa skill to a fully functioning voice-based assistant for a hobby that involves a surprising amount of calculations: brewing beer. No brain cells will be harmed during this talk (meaning no alcohol), but you may accidentally learn how it’s brewed as we build a skill to aid in it.

Omni Adams

May 04, 2019
Tweet

More Decks by Omni Adams

Other Decks in Programming

Transcript

  1. 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; }