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)
Level Scapes' desktop microterrariums are matchbox-sized, stackable sealed boxes with miniature ferns and mosses that only require water and sunshine; they're $39 for a set of six (25% of with the coupon code yankodesign). (via Yanko Design)
[I've been in love with Negativland since their legendary copyright battle with U2 and they've been a part of Boing Boing since 2001; it's a pleasure beyond words to be able to debut More Data, their characteristically trenchant video about data privacy and surveillance; see below for notes from Negativland. -Cory]
A once-underground movement of Finnish girls who conduct elaborate dressage routines with toy hobbyhorses has gone mainstream, with coaches, competitions and trainers, and is spreading abroad.
Seasoned chefs have a bit of a love-hate relationship with their cutlery. A really good set of knives has to prove its worth by being put through the wringer – and if they’re really good, they’ll still look great afterward. So it is with the Damasukasu Japanese 3-Piece Master Chef Hanshu Knife Set. Sitting in […]
With the intuitive software out there today, anyone can become a music producer. You’ve probably heard that from any number of laptop impresarios, but you still have to know how to use the tools – and Logic Pro X is one of the best platforms out there right now. In order to get the most […]
Believe it or not, PDF files have been the go-to format for contracts and forms of any type since 1993. And sure, they’re easily shareable – but that’s about it. When you need to edit or sign a document – and you will – that’s when frustration can set in. Luckily, there are workarounds, and […]