Дата публикации: 2017-11-14 17:35
The fortune-telling game MASH, kept alive over decades by grade-schoolers, requires nothing more than pencil, paper, and a friend. Here’s how to play this little bonding game.
Sypteras wrote the code to send his Slack alerts in MicroPython , a version of the programming language designed for microcontroller boards. The Adafruit Feather HUZZAH microcontroller listens for a change in value based on whether the button was pressed.
Using Slack’s API , he was able to send messages to a private channel he created specifically for his desk’s easy button. While the message just lets him know he’s got a visitor, you can get fancy with it and use Slack’s API to attach more info to your alerts.
Get out those Trapper Keepers and sharpen your No. 7 pencils—it’s Back-to-School Week! Going far beyond the classroom, we’re bringing you genius tricks and ideas on how to start routines, brush up on old skills or learn something new this fall.
Enter developer Nick Sypteras , who wanted to solve the problem of coworkers requesting his attention while his headphones were on. Working in a cubicle, he wrote, “There’s no way for a visitor to my desk to get my attention other than by waving their hand in my face, making loud noises behind me, etc.” So he broke out the soldering iron, a Staples Easy Button, and an Adafruit microcontroller.
There are dozens of variations. Some players lay out their categories in a giant tic-tac-toe grid some choose their random number by drawing dots or tick marks. Other categories include pets, honeymoon plans, college major, partner’s job, and how long you’ll live.
Working with headphones on usually means you’d rather not be bothered, but sometimes it means you’re just listening to something while you work. If you want to be available despite your cans being on, why not build your own alert button?