Saturday, July 19, 2008

Easter Eggs

No doubt most of you are familiar with the concept of the "easter egg", a chunk of code in software that does something it's not designed to do. Most frequently, it's something small; you hit a particular set of keys when you have Excel open and a picture of the lead programmer's girlfriend pops up. Sometimes, people go a little overboard and program an entire flight simulator into copies of Microsoft Office '97 (instructions here; but if you need it, you have some upgrading to do). Somewhat more rare is when easter eggs are put into hardware, and even more rare when that hardware isn't a computer. It would be possible, I suppose, to vary the speed of the stepper motor in, say, a scanner to create tones. From there, it wouldn't take long to time it correctly to produce a fairly recognizable tune. Then all you would need to do is wait until someone starts up the machine while pressing the scan button. But no-one would ever do that, right?

No comments: