zombofant / pyxwf

eXtensible Web Framework in Python
http://zombofant.net/hacking/pyxwf
Other
2 stars 1 forks source link

`sudo make me a sandwich` doesn't actually make a sandwich #1

Open horazont opened 11 years ago

horazont commented 11 years ago

While sudo make me a sandwich correctly replies with Okay., one doesn't reliably find a sandwich in ones nearest surroundings afterwards.

Not sure what we can do about that.

sebastianriese commented 11 years ago

Well it is obvious. Too fix the bug, follow the following steps:

  1. Build or buy sandwich making robot.
  2. Build a Linux driver for it.
  3. Build a command line tool to drive the robot.
  4. Add the command line to the make file.

As you can see the procedure is absolutely simple and obvious.

horazont commented 11 years ago

Actually, point 1-3 is already on my private TODO. A fully automized kitchen with a make-ish language for reciepes is planned, but implementation is currently stalling (mainly lack of time, first parts of hardware are available, mainly controllers though).

I think though that this is all out-of-scope for pyxwf.

rku commented 11 years ago

Since the command "make sandwich" is just about creating it, the better and even simpler solution of outsourcing comes in handy. The adapted work flow would look like this:

  1. Find sandwich delivery service with internet access
  2. Add command to order sandwich to Makefile

The process of "making a sandwich" does not require specific coordinates of the sandwich in space-time. Therefore, the final delivery of the compiled sandwich can be avoided, the user will save a lot of delivery costs and this bug can be closed.

horazont commented 11 years ago

@rku: While you're right about the formal specifications, I think that most humans who command someone to make him/her/it a sandwich expect that the sandwich is brought to them afterwards, or at least available in the nearer surroundings (e. g. without leaving the house), at least if the command has been confirmed with a positive answer, such as “Okay.”.