Nieman Foundation at Harvard
HOME
          
LATEST STORY
The media becomes an activist for democracy
ABOUT                    SUBSCRIBE
April 19, 2017, 9:57 a.m.
Audience & Social

The Los Angeles Times built a Slack bot that lets the newsroom know when the coffee is ready

Coffeeboy will be on GitHub soon.

Of the many small, annoying things about working in an office, coffee is usually somewhere on the list. Whose turn is it to make it? Who is drinking more than their share of the communal pot? Is that half-full carafe still warm?

So some folks at the Los Angeles Times built a Slack bot for it.

“Computers are great at mitigating tiny frustrations, like when you walk across the newsroom to the coffee pot and there is none left,” Joe Fox, a graphics and data journalist at the Times whose Twitter header includes a coffee emoji (☕). “We had been talking about some kind of automated coffee system for a while.” They threw around a few ideas: An infrared temperature sensor that would be aimed at the pot so it could theoretically tell you whether there was coffee left. An electronic scale that would sit under the coffee maker to measure the weight of the remaining coffee. A series of infrared laser sensors that would be fired through the pot to tell you how much coffee was left in it. (“We’d have to get a glass pot instead of our stainless steel one,” Fox said.)

Chris Keller, the Times’ newly hired deputy director of data visualization, came up with a simpler idea: A Raspberry Pi (a tiny basic computer) and a simple USB-connected button. “You push the button when you start brewing a pot, and it sends a message to our Slack channel that says brewing has started,” Fox said. “Eight minutes later, it notifies us that the coffee is ready to drink. It’s also logging the time of each pot so that it can report when the last pot was brewed, and in the future start generating some stats.” It’s the L.A. Times’ first Slack bot that’s hooked up to a physical thing in the newsroom. It competes with another “fun” bot, Copyboy, that can post lunch spots and GIFs.

The bot worked well for a day and has been crashing since. Fox said when he’s fixed the bugs, he’ll put it on GitHub, where it’ll join such cutting-edge projects as a Twitter bot that tweets imaginary burrito-related patents.

There’s still the problem of whose turn it is to make the coffee. “There is a group of heavy coffee drinkers here,” Fox said. “We tend to take turns making it.” But anyone who’s worked in an office knows that some people never make, they only take. “That’s something I’d like to start tracking with the coffee bot, if I can figure out a good way to do it,” Fox said.

Laura Hazard Owen is the editor of Nieman Lab. You can reach her via email (laura@niemanlab.org) or Bluesky DM.
POSTED     April 19, 2017, 9:57 a.m.
SEE MORE ON Audience & Social
Show tags
 
Join the 60,000 who get the freshest future-of-journalism news in our daily email.
The media becomes an activist for democracy
“We cannot be neutral about this, by definition. A free press that doesn’t agitate for democracy is an oxymoron.”
Embracing influencers as allies
“News organizations will increasingly rely on digital creators not just as amplifiers but as integral partners in storytelling.”
Action over analysis
“We’ve overindexed on problem articulation, to the point of problem admiring. The risk is that we are analyzing ourselves into inaction and irrelevance.”