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)
Making a Turing machine is a kind of nerd rite of passage, like manually editing your X11 settings or building a two-second time-machine. As far back as 2005, we were chronicling the adventures of Lego Turing-machine builders (the state of the art advanced rather a lot by 2012), as well as the ongoing effort to […]
The bookends ($79) are the clear winner here, but the robot hand tankard ($58) is pretty sweet too; they're made of painted resin (with a stainless steel insert in the tankard), pre-order now for July shipping. (via Geekologie)
Edgeryders -- "a company living in symbiosis with an online community of thousands of hackers, activists, radical thinkers and doers, and others who want to make a difference" -- is offering up to EUR10,000 bursaries (along with travel subsidies) for fellows who are contributing to its work on an "Human-Centric Internet." The deadline to apply […]
Trying to earn a promotion? Memorial Day weekend might be a good place to start. There are tons of e-learning packages that can help you build professional skills a lot quicker (and cheaper) than any technical academy. Whether you want to earn IT certifications, learn to code, become a designer, or anything else, these comprehensive […]
If you’re into tools or gadgets, Memorial Day weekend is your Christmas. Take an extra 15% off the final price of these DIY accessories – all of which are already on sale – by entering the promo code WEEKEND15. LUXJET Universal 24-in-1 Magnetic Screwdriver Set & Repair Kit This small but sturdy kit won the […]
If you can build a cloud infrastructure, you can build a business. Companies are overwhelmingly turning to cloud computing to set up or bolster their network, and it’s easy to see why. It allows on-demand access to processing power, a la carte services, and nearly unlimited storage, all without adding extra systems and the maintenance […]