One of the aspects of XP that also shows up in related styles of development, such as agile, is pair programming.
This is where you work as a team of two, at the same workstation. One of you is the pilot, operating the keyboard. The other is the co-pilot or navigator, and they sit off to the side, observing. Every so often, you switch roles.
Do you have a favourite regular expression? That might be a tricky question for some- like the benighted masses who haven’t yet heard the gospel of regular expressions. Or maybe you have so many dear to your heart, a real Sophie’s Choice? For me, it is easy, the first non-trivial one I wrote, for a task management system called TOM. Take a look and see if you can sell what it does- to help you out (?) I have left it in the context of the line of Perl it came from.
I wanted an intervalometer for my Canon DSLR, which at the time, rather miserly did not contain. An intervalometer is a device to take exposures at regular periods. It’s great for time-lapse work. Their own add-on was quite pricey. Even knock-offs were more than I thought was worth it. And besides, I wanted a project where I could make my own printed circuit board, or PCB.
The SVG+JS game with quite a lot of hexagons, but not as many as some, has been improved. Challenge your students to come up with answers to questions like “What does T in TCP/IP stand for?”, or “What R is a device that chooses where to send packets, according to a set of rules?”. If you have an interactive whiteboard, let them press on the tiles to select their next letter.
Improvements: It has a prettier win-screen, with an actual visual interface for setting the letters on the hex tiles.
Note 2:A Visual Studio project is available with some starting code, and some questions (in the form of comments) for you to try to answer, available here: rand.zip
What is randomness?
Where can we use it in our programs?
How can we acquire random values?
How can we make some values more likely than others (weighting/non-uniform distribution)?
Some machines I like because of their sleek, minimalist exteriors, modernist or even brutalist megaliths of silicon, or brass.
But I love me some blinkenlights. If it’s got switches galore, laden with quadrant faders and vernier dials, festooned with vu meters, pulsing with neon lamps or LEDs, I’m going to pay that some serious attention. Throw in some industrial interconnects, be they ubiquitous BNCs, or some exotic mixed signal sockets, anything heavy duty, very very high frequency, lots of pins or fibre optic, fastened with clips, twist-locks, clamps or thumb screws….ahem.