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)
Volante Design (previously) has two new pieces: the Augment blazer and jacket, shipping on March 15 and available for pre-order today (Vest, $195: Men/Women; Blazer, $270: Men/Women), in men's sizes 37-51 (vest also in 55) and women's sizes 33-45.
One genre of 19th Cen illustrated pamphlet was the "Cries of London" (previously), which celebrated the market traders' characteristic sales patter, which were catalogued as a kind of urban birdsong.
Last year while I was on tour in Australia with my novel Walkaway, I sat down for an interview with legal scholar Rebecca Giblin (previously), whose Authors' Interest project studies how we would craft copyright (and other policies) if we wanted to benefit creators, rather than enriching corporations; we talked about the power and limits […]
Use a single password for every website, and you’re compromising your security. Use a different one each time, and you’re bound to lose track of them. The solution? RoboForm Everywhere, a catch-all tool that will not only manage the passwords on every site you visit but generate better ones. As a simple password database, it’s […]
Just a reminder: Print isn’t dead. And now that printers are becoming as portable as cell phones, it might be around for quite some time. Enter the MEMOBIRD Mobile Thermal Printer, a mini-printer that is versatile, portable – and most importantly, never needs a refill on ink or toner. Measuring just a few inches around, […]
What do Facebook, Twitter, YouTube and Google all have in common? Somewhere in their framework, they all use MySQL, that most versatile (and free!) of database management systems. And they’re not alone. If your company or the one you’d like to work for wrangles data (and who doesn’t?), they’re going to need someone with a […]