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

Alexa, Ask Me About PHP! (Cascadia 2024)

Alexa, Ask Me About PHP! (Cascadia 2024)

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 braincells 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

October 24, 2024
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; }