The Difference Between Electrical Engineers and Computer Scientists
philip.greenspun.com
philip.greenspun.com
Usually a few questions involving pointers does the trick quite nicely.
In fact, I'm almost at the point where I'm rejecting applicants with CS degrees out of hand. I've had too many problems with architecture astronauts and the Java-solves-all-problems crowd.
At the other hand. I feel so sad for you because the method that you are using is complete hindsight driven and you are correlating wrong causes and effects and misusing statistics. So please be careful of the happening of black swans.
Either make a great oven, or make a specialty cake-baking device. Don't straddle the middle ground of generality, the place filled with myriad edge cases and awkward attempts at abstraction.
All you need is a photodetector. The heating coils illuminate the toast, and the photodetector shuts the toaster off once it's dark enough. The darkness knob adjusts the photodetector's cutoff threshold.
This system is even adaptive -- if it's cold that day, or your bread is frozen, it'll still get toasted to the same color.
And the best part would be that you get to eat piles of yummy toast.
1) less gradation between untoasted and burnt than say, white or wheat bread, so the same "delta dark" would results in burnt toast.
2) the toast can (if the original bread is dry and/or dense enough) become unpalatably hard during the toasting process even before turning dark enough to be considered burnt.
For my original design, you'd definitely have to set the control to only slightly darker than your rye bread, or you'd get burned rye toast.
For those of us that have discovered the joy of slightly burnt toast with Vegemite for breakfast, accompagnied by a strong coffee, the value 15 will be seeing heavy use :-)
Of course, I'm interested to hear how you're going to go about solving the non-uniformity of toasting problem - sometimes part of my toast is still white when other parts are black!
If you could make the toaster's heating coils out of a substance that increases its resistance with increased light influx, then the bright areas of the toast would increase the coil resistance nearby, thereby producing more heat locally and tending to even out the toast.
Of course, this is probably a lot of work just to make a toaster.
I've worked with them. Much respect for electrical engineers.
EE's that I have worked with seem to understand system function deeply first, and build around it.
CS's usually mock-up simple versions, get it right, then optimize later.
Broad generalization I know, but do others observe this? Possible reasons: 1) high cost of iteration in most hardware systems vs software. 2) University educational strategy in CS vs EE. 3) Availability of easy-to-use, quality, low-cost tools for software vs hardware.
http://arstechnica.com/reviews/os/open-moko-software.media/a...
Code sharp, not pretty?
I dread to think what sort of toasters we'll get when this happens!