Get started for free

The following is an excerpt from 'The Infinite Machine'

A Trump Rage Tweet Early Warning System using @debouncedtask

So your boss calls you into the office on Monday morning. He says “hey minion, I’ve got a job for you that you’re gonna love. 

worlds-best-boss

“So,” he continues, “as you know, our Washington DC toilet paper business is highly volatile at the moment. Sales spike whenever Trump rage tweets.”

“We want you to build a system to monitor Trump’s tweets. If he tweets, and the tweets seem angry, I need it to send an email to our CEO.”

“Ok. How big is his inbox? Because that could be a serious amount of emails.”

Your boss startles in alarm. “Oh no, no no. The last person that sent the CEO too many emails was fired immediately. I wouldn’t send him more than one every couple of hours, with a summary of the raging tweets.”

what-are-these-memos-computer-man?
What are all these memos in the Outlook, computer man?

Resisting the temptation to roll your eyes, you leave wondering about how you’re going to do this.

“Oh, and it’s got to be running by this afternoon.”

After a quick spot of emergency product testing, you’re back at your desk. You grab a sheet of the company’s finest and sketch out a quick architecture. 

what-do-you-think-I-am-made-of-napkins
What do you think I am, made of napkins?

Ok. If you can get an App Engine app running quickly, it can receive tweets on a webhook, send them to a sentiment analysis back end, and then if they seem angry, alert the CEO.

Click Here to Read More


Emlyn O'Regan is a Co-Founder and the CTO of xapiapps, and the author of "The Infinite Machine"

THIS EBOOK MIGHT INTEREST YOU

LX-Designer-Book

The LX Designer’s Handbook

A comprehensive guide to the changing world of learning design

Download ebook for free

Comments

Get the latest updates by email