Fizz Buzz is the word-game in which players in a circle count from 1 up, substituting multiples of three with "fizz" and multiples of five with "buzz" ("1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, Fizz Buzz, 16, 17, Fizz, 19, Buzz, Fizz, 22, 23, Fizz, Buzz, 26, Fizz, 28, 29, Fizz Buzz, 31, 32, Fizz, 34, Buzz, Fizz, …").
Evil Fizz Buzz is Jason Gorman's exercise that uses Fizz Buzz to teach continuous integration and test-driven development, played with five or more software developers.
The players divide into five groups, each tasked with a different component of writing a program to output correct Fizz Buzz sequences:
1. Generate a list of integers from 1-100
2. Numbers that are divisible by 3, replace with "Fizz"
3. Numbers that are divisible by 5, replace with "Buzz"
4. Numbers that are divisibele by 3 & 5, replace with "FizzBuzz"
5. Output this list as a single comma-delimited string
Teams can whiteboard and discuss together, but teams can only contribute code related to their task, checking it into a source control repository. That's when it gets interesting:
Once you have a working (green) build on a skeleton solution (i.e., one that compiles and runs at least one dummy test), the build must not go red. This is an exercise on delivering as a team WITHOUT BREAKING THE BUILD. OK? If the build goes red again, the exercise is over.
The team has 1 hour to deliver a working solution they can demonstrate to the "customer"
(via Four Short Links)
(Image: Excirial, CC-BY-SA)
Satanic Puppeteer Orchestra is what happens when a band is fronted by a robot, named SPO-20, and is backed by a mad scientist (ie. a human). San Diego-based Professor B. Miller is that mad scientist and he is giving Happy Mutants the opportunity to view the music video for band's latest single first. "Sea Anemones […]
In the late 1950s, a truck carrying a cement mixer crashed on E300 Road between Talala and Winganon, Oklahoma. Apparently too heavy for anyone to deal with, the mixer sat for decades where it was occasionally graffitied or whimsically decorated. In 2011, artists Heather and Barry Thomas celebrated their wedding anniversary by transforming the drum […]
In this fun episode of Mark Frauenfelder and Kevin Kelly's Cool Tools podcast, they talk with Lux Sparks-Pescovitz, 14, about his passion for GameBoys, cassettes, DIY sushi, and his new iFixit Pro Tech Toolkit. He's quite an interesting young man; I'd like to meet his parents someday. Listen here: Cool Tools · 234: Lux Sparks-Pescovitz
One million Americans use American Sign Language as their primary means of communication. But as you'd expect, even though ASL is the sixth-most used language in the US, it isn't just any old language like English or Spanish or French. According to Communication Service for the Deaf, 98 percent of Deaf people don't receive education […]
After a successful round of funding on Kickstarter, Fluster: The Social Card Game is now ready to help turn a party or game night into the engaging, surprising, and enlightening social affair you always hoped it would be. A deck of 100 cards, Fluster is chock full of unusual, funny, and thought-provoking questions inspired to […]
Physics may have been that class you sleepwalked your way through in high school. But while it might have just slipped under your radar throughout your academic career, you probably shouldn't have given it such shallow attention. Sure, we could focus on the immediate pluses of a career as a physicist, like the more than […]