Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

The Toaster
FR Mail | Got it on 12/21/23 | FR Mail

Posted on 12/21/2023 9:54:02 AM PST by ShadowAce

The Toaster

Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. “What do you think this is?”

One advisor, an engineer, answered first. “It is a toaster,” he said. The king asked, “How would you design an embedded computer for it?” The engineer replied, “Using a four-bit microcontroller, I would write a simple program that reads the darkness knob and quantizes its position to one of 16 shades of darkness, from snow white to coal black. The program would use that darkness level as the index to a 16-element table of initial timer values. Then it would turn on the heating elements and start the timer with the initial value selected from the table. At the end of the time delay, it would turn off the heat and pop up the toast. Come back next week, and I’ll show you a working prototype.”

The second advisor, a computer scientist, immediately recognized the danger of such short-sighted thinking. He said, “Toasters don’t just turn bread into toast, they are also used to warm frozen waffles. What you see before you is really a breakfast food cooker. As the subjects of your kingdom become more sophisticated, they will demand more capabilities. They will need a breakfast food cooker that can also cook sausage, fry bacon, and make scrambled eggs. A toaster that only makes toast will soon be obsolete. If we don’t look to the future, we will have to completely redesign the toaster in just a few years.”

“With this in mind, we can formulate a more intelligent solution to the problem. First, create a class of breakfast foods. Specialize this class into subclasses: grains, pork, and poultry. The specialization process should be repeated with grains divided into toast, muffins, pancakes, and waffles; pork divided into sausage, links, and bacon; and poultry divided into scrambled eggs, hard-boiled eggs, poached eggs, fried eggs, and various omelet classes.”

“...The ham and cheese omelet class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to the object that says, ‘Cook yourself.’ The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs.”

“Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don’t want the eggs to get cold while the bacon is frying, so concurrent processing is required, too.”

“We must not forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won’t buy the product unless it has a user-friendly, graphical interface. Users will want to pull down a menu and click on the foods they want to cook.”

“Having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. An Intel 80386 with 8MB of memory, a 30MB hard disk, and a VGA monitor should be sufficient. If you select a multitasking, object oriented language that supports multiple inheritance and has a built-in GUI, writing the program will be a snap. (Imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!).”

The king wisely had the computer scientist beheaded, and they all lived happily ever after.


TOPICS: Computers/Internet; Humor
KEYWORDS:
Navigation: use the links below to view more comments.
first previous 1-2021-4041-60 next last
To: Billthedrill

It just identifies as a toaster oven.............


21 posted on 12/21/2023 10:44:52 AM PST by Red Badger (Homeless veterans camp in the streets while l aliens are put up in hotels.....................)
[ Post Reply | Private Reply | To 4 | View Replies]

To: Jamestown1630

Same here. We had a 4 slicer and limited counter space. Since it’s just me and my wife now, we bought a cheap 2 slicer and gave the 4 slicer to Goodwill.

The two slicer quit after about a month. Cheap Chinese crap.

The 4 slicer was decades old and most likely still works wherever it is..............


22 posted on 12/21/2023 10:47:49 AM PST by Red Badger (Homeless veterans camp in the streets while l aliens are put up in hotels.....................)
[ Post Reply | Private Reply | To 8 | View Replies]

To: ShadowAce

I actually replaced a vehicle’s faulty electric window mechanisms with crank handles...and lived happily ever after. Do we really want CPUs in every device we use? The more layers of tech equals more ways they will fail over time.


23 posted on 12/21/2023 10:48:40 AM PST by MikelTackNailer (Don't confuse me with the facts, and don't call me Shirley.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce

“The king wisely had the computer scientist beheaded, and they all lived happily ever after”

Too bad it wasn’t Bill Gates, and too bad isn’t a true story.


24 posted on 12/21/2023 10:49:43 AM PST by MayflowerMadam ("A coward dies a thousand times before his death, but the valiant taste of death but once.")
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

The “Computer Scientist” obviously worked for Microsoft.


25 posted on 12/21/2023 10:51:55 AM PST by grey_whiskers ( The opinions are solely those of the author and are subject to change without notice.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: MikelTackNailer

I want them to make a new car without all that electronic stuff. I don’t mind cranking windows up; I don’t even need air conditioning much. All that stuff is just waiting to break and run up bills.

They need to make a basic car that would be cheaper for lower income people to buy. But I’ve wondered if it’s even possible with all the regulations there are now


26 posted on 12/21/2023 10:52:09 AM PST by Jamestown1630 ("A Republic, if you can keep it.")
[ Post Reply | Private Reply | To 23 | View Replies]

To: DugwayDuke

Or required monthly updates before it will engage.


27 posted on 12/21/2023 10:52:15 AM PST by MayflowerMadam ("A coward dies a thousand times before his death, but the valiant taste of death but once.")
[ Post Reply | Private Reply | To 10 | View Replies]

To: Dr. Sivana

LOL!


28 posted on 12/21/2023 10:53:51 AM PST by MayflowerMadam ("A coward dies a thousand times before his death, but the valiant taste of death but once.")
[ Post Reply | Private Reply | To 19 | View Replies]

To: Jamestown1630

I’m in the market for a top notch toaster from the 1950’s or 60’s. I live close to a very wealthy town, and I have no doubt I will find one at one of their local thrift stores, as most of the possessions of those wealthy people, when they have passed on, go to a particular thrift store. I have had several cheap toasters over the years, and not a single one can make a decent piece of toast. I don’t think I would have had much better luck with a more expensive model, since they just don’t make things like they used to. Except for Speed Queen washers: they’re still top notch.


29 posted on 12/21/2023 10:54:10 AM PST by Flaming Conservative ((Pray without ceasing))
[ Post Reply | Private Reply | To 8 | View Replies]

To: Jamestown1630

I think the design is optimized for use on a gas stove, which all camp stoves are.


30 posted on 12/21/2023 10:55:32 AM PST by Disambiguator
[ Post Reply | Private Reply | To 20 | View Replies]

To: Jamestown1630

Our house doesn’t have a ton of counter space and we don’t eat toast often. Thus, we’ve never had a toaster. We do have and use almost daily a toaster oven. It’s far more versatile than a simple toaster.


31 posted on 12/21/2023 10:55:50 AM PST by cyclotic (Don’t be part of the problem. Be the entire problem)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Flaming Conservative

I never have success going to the thrift store with anything specific in mind. But I’ve gotten lots of really nice vintage stuff very cheap, by routinely browsing the stores.


32 posted on 12/21/2023 10:57:50 AM PST by Jamestown1630 ("A Republic, if you can keep it.")
[ Post Reply | Private Reply | To 29 | View Replies]

To: Jamestown1630

What “expensive” toaster would you recommend...I have read reviews on some expensive toasters...lotta people say “don’t waste your $$.”


33 posted on 12/21/2023 10:59:02 AM PST by goodnesswins ( We pretend to vote and they pretend to count the votes.)
[ Post Reply | Private Reply | To 8 | View Replies]

To: cyclotic

We had a toaster oven for awhile when our oven/range died during Covid lockdown; and we were too busy to get it replaced right away.

I didn’t like the toaster oven at all; it just didn’t cook/bake/roast like a regular oven; and there are a lot of prepared frozen things that warn not to heat them in a toaster oven.

But it did make very good toast.


34 posted on 12/21/2023 11:00:53 AM PST by Jamestown1630 ("A Republic, if you can keep it.")
[ Post Reply | Private Reply | To 31 | View Replies]

To: ShadowAce
I dropped off my old toaster at the metal scrap yard just last week

Description of the image

35 posted on 12/21/2023 11:02:17 AM PST by Deaf and Discerning
[ Post Reply | Private Reply | To 1 | View Replies]

To: goodnesswins

I can only speak to the one I bought -it’s a Black and Decker that cost about $65.00 a few years ago. They have other models now.

Cuisinart may make a good one; but I haven’t been that impressed with Cuisinart in other things I’ve bought.


36 posted on 12/21/2023 11:03:59 AM PST by Jamestown1630 ("A Republic, if you can keep it.")
[ Post Reply | Private Reply | To 33 | View Replies]

To: ShadowAce

What’s a toaster? Just kidding —— grew up with one -— the really oldfashioned kind— years ago.


37 posted on 12/21/2023 11:05:10 AM PST by Exit148
[ Post Reply | Private Reply | To 1 | View Replies]

To: Deaf and Discerning

People collect those, among other old appliances. Some of them were very beautiful.

I had an art-deco designed waffle iron of my grandmothers. It was broken, and I didn’t realize at the time that it could be fixed and might be valuable, so I tossed it. I kicked myself when I found out...


38 posted on 12/21/2023 11:06:40 AM PST by Jamestown1630 ("A Republic, if you can keep it.")
[ Post Reply | Private Reply | To 35 | View Replies]

To: Jamestown1630

quote They need to make a basic car that would be cheaper for lower income people to buy. But I’ve wondered if it’s even possible with all the regulations there are now

Government regulations benefit large corporations by stifling choices.


39 posted on 12/21/2023 11:26:38 AM PST by hoosierham (Freedom isnt free)
[ Post Reply | Private Reply | To 26 | View Replies]

To: ShadowAce

I think that email got some wierd routing and took about 40 years to get to you.


40 posted on 12/21/2023 11:33:59 AM PST by old-ager
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-60 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson