Archive

The Dulin Report

Browsable archive from the WordPress export.

Results (37)

Strategic activity mapping for software architects May 25, 2025 The future is bright Mar 30, 2025 2024 Reflections Dec 31, 2024 The day I became an architect Sep 11, 2024 Are developer jobs truly in decline? Jun 29, 2024 Should today’s developers worry about AI code generators taking their jobs? Dec 11, 2022 Automation and coding tools for pet projects on the Apple hardware May 28, 2022 Good idea fairy strikes when you least expect it May 2, 2022 Best practices for building a microservice architecture Apr 25, 2022 Tools of the craft Dec 18, 2021 Configuring Peloton Apple Health integration Feb 16, 2019 Using Markov Chain Generator to create Donald Trump's state of union speech Jan 20, 2019 The religion of JavaScript Nov 26, 2018 Teleportation can corrupt your data Sep 29, 2018 Quick guide to Internet privacy for families Apr 7, 2018 Leaving Facebook and Twitter: here are the alternatives Mar 25, 2018 When politics and technology intersect Mar 24, 2018 Node.js is a perfect enterprise application platform Jul 30, 2017 The technology publishing industry needs to transform in order to survive Jun 30, 2017 Emails, politics, and common sense Jan 14, 2017 Windows 10: a confession from an iOS traitor Jan 4, 2017 Don't trust your cloud service until you've read the terms Sep 27, 2016 I am addicted to Medium, and I am tempted to move my entire blog to it Sep 9, 2016 What I learned from using Amazon Alexa for a month Sep 7, 2016 Amazon Alexa is eating the retailers alive Jun 22, 2016 In Support Of Gary Johnson Jun 13, 2016 What can we learn from the last week's salesforce.com outage ? May 15, 2016 Let's stop letting tools get in the way of results Apr 10, 2016 In memory of Ed Yourdon Jan 23, 2016 OAuth 2.0: the protocol at the center of the universe Jan 1, 2016 What Every College Computer Science Freshman Should Know Aug 14, 2015 On Maintaining Personal Brand as a Software Engineer Aug 2, 2015 The Three Myths About JavaScript Simplicity Jul 10, 2015 The longer the chain of responsibility the less likely there is anyone in the hierarchy who can actually accept it Jun 7, 2015 Ordered Sets and Logs in Cassandra vs SQL Apr 8, 2015 Have computers become too complicated for teaching ? Jan 1, 2013 Best way to start writing an XSLT Jun 25, 2006

What I learned from using Amazon Alexa for a month

September 7, 2016

When Amazon Echo with Alexa service came out in November 2014 I was skeptical. A speaker with voice recognition seemed like an unneccessary oddity. When a friend of mine purchased one in 2015 I had a chance to play with it but was unimpressed still.

Alexa SDK has been open to third party developers for a year now. As a software engineer it is important for me to keep up with emerging technologies and learn about them. I purchased an Amazon Echo about a month ago and had an opportunity to interact with the technology and try out the SDK.

More useful than Siri


Comparing Alexa to Siri is like comparing apples to oranges. Yes, both are speech bots. That’s probably as much as they have in common.

The primary Alexa service revolves around information lookup, home automation, and shopping on Amazon. Users can enable “skills”, which are essentially speech-based apps, and expand Alexa’s functionality.

From the speech recognition standpoint, Alexa is definitely more responsive than Siri. This is a family-friendly product and as such it needs to handle different speech patterns – children, adults, and elderly. In my experiments, I found Alexa to be more accurate than both Siri and Google, but of course your mileage may vary.

Don’t expect it to pass a Turing test


In a Turing test a human operator uses a text-only terminal to interact with two test subjects separated from one another. The operator is aware that one subject is a machine and the other is a human, but they do not know which one. The machine subject is considered to have passed the test if the operator cannot tell which one is which.

Ask Alexa if she can pass a Turing test and she will answer: “I don’t need to pass that, I am not pretending to be human.” Expecting Alexa to pass this test is sure recipe for a disappointment. It is more advanced than interactive voice response systems and sure as hell more powerful than Siri, but it is not human.

The first analogy that occurred to me was that of Palm OS and Graffiti. Palm couldn’t pack the computing power needed to process handwriting while also keeping the cost of the device low. They instead asked the users to learn a dumb-down script-like mechanism to input data into the PDAs.

Likewise, Alexa’s users are expected to adapt a bit to Alexa’s capabilities. It doesn’t respond to an infinite variety of sentence structures, nor does it maintain a conversation like a human would. In short, it is a “chat bot.”

The good news is that Alexa is continuously improving. All the software needed to handle voice recognition and AI lives in the cloud. Amazon is continuously updating and improving the platform.

Amazon made it easy to contribute skills


The Alexa Skills Kit is well documented and easy to learn, especially if you use AWS Lambda. The developer needs to provide sample phrases, or utterances. The utterances get mapped onto intents and can have slots for custom words. Alexa’s machine learning backend does all of the analysis and by the time the code is reached everything is broken down into intents and slot values.

To get a sense of what’s involved in building speech bots I built a few simple skills and submitted them to Amazon for certification. Amazon provides a checklist to set expectations for developers. My experience working through the process is that it is very subjective – much like the experience of using Alexa itself.

Alexa Skills Kit is still in its early stages. I wish Amazon put a little more effort into making it work more smoothly with build tools, such as Jenkins. I would also like to see a monetization scheme similar to Amazon Underground.

Some final thoughts


Using Alexa for a few weeks I’ve become accutely aware of the contrast between dealing with a call center and dealing with AI. I must say, that dealing with AI is far more pleasant.

Shortly after getting Echo we needed to resolve an issue with our airline for an upcoming family trip. Unable to solve this problem using their website we had to call their customer service. As expected, I had to navigate the frustrating tree of menus. When I finally got to speak to someone they could barely speak English. They could only speak to a script and any diversion resulted in being transfered to someone in another department in what seemed like an endless vortex of incompetence.

Patrick Thibodeau has written a lot about outsourcing and flow of U.S. white collar jobs to low-cost countries. However, there is a bigger more secular change happening – and it will happen faster than anything we’ve experienced before. Any job that involves information lookup, scheduling, or following a script is bound to get replaced with an AI.




This story was originally published at my “Cloud Power” Blog at Computerworld on July 19th, 2016. Featured image credit Ken M Earney via Flickr