The Old Story of the Breakfast Cooker.

Does anyone here remember the old story about the toaster that was going the rounds of Usenet and such back in the '90s? (I bet it is older than that, but I first ran into it in the early '90s)

http://www.ridgenet.net/~do_while/toaster.htm

I went and looked it up again because of something that happened to me today.

I got myself a Raspberry Pi computer board for Christmas, and was looking for a fun project to do with it.

So I decided to make myself a Sous Vide cooker.

I hooked up a temperature sensor to one of the GPIO pins, and a solid state relay to another one. I wired up an electrical outlet to the relay, to control an immersion heater.

Then I sat down to write the code. I installed a web server on the Raspberry Pi board in order to make a nice CGI interface that I can control from my Ipad. I installed Python.

And then I did something that filled me with horror.

I wrote a class module in Python to instantiate an object to cook a pork roast.

I feel like I have betrayed the entire engineering profession.

On the other hand, the pulled pork Sous Vide came out pretty well.

This can be done in one line in Perl.
(old Usenet comment from a programming newsgroup…people would ask for help with a problem. Someone would post a sed solution…then someone would post an awk solution. After a bit, someone would post a one line perl solution, with that comment.)

-D/a

Wasn’t there an old saying that any sufficiently advanced Perl command is indistinguishable from line noise?

And here I thought Alton Brown was the nerdiest cook on the planet.

Boy was I wrong! :smiley:

I found a handful of comments like that in a quick search. Also that Perl is a “write-only” language. :slight_smile:
-D/a

What Linux distro did you use?

And did you brown the pork before cooking it, or did your pulled pork comes sans crust?

[quote=“Bricker, post:6, topic:645624”]

What Linux distro did you use?
[/QUOTE ]

I used Debian “Wheezy” for the pi. The Sous-Vide cooker could have been done with a short perl script. But then I wouldn’t have had the excuse to learn python. And it wouldn’t have had all the neat GUI and CGI stuff.

I browned it after cooking. The recipes I saw online recommended that method.