Earlier quoted context omitted.
Some recipes end up with more than one dish, like when you prepare a thing and its accompanying sauce together. I guess superficially you can join them together with a final node that is like "serve all the dishes".
You also often have ingredients or intermediate products that are used in more than one step so a tree is not ideal. You could duplicate those ingredients/intermediates but that would not be helpful. And for more complex meals, time planning becomes more important so that everything is ready to serve together.
Thinking about recipe formats more than anyone should
61–70 of 140 posts
Re: Thinking about recipe formats more than anyone should
#62Just finished my own overthinking of recipe structures. I figure that a recipe is more or less an upside-down tree! Where you start with a list of all the nodes (ingredients) Have a n:1 relationship with the next series of nodes (steps) until you finish at a single node (the dish you're trying to make) So instead of having a separate chunk of "here's my ingredients" and "let me repeat the ingredients and one by one i…
Well, it would be more like a directed acyclic graph, not a tree, because you can re-use nodes. (And it's not even necessarily acyclic, because eg sourdough or master stock is perhaps best modelled as a cycle.) In any case, looking at a recipe as a tree or a graph is a very limited view: A great recipe isn't a list of steps to produce 'something'. A great recipe has a dish in mind with a specific taste (or a specific…
So what you are saying is that cooking instructions need phi nodes?
Re: Thinking about recipe formats more than anyone should
#63Just finished my own overthinking of recipe structures. I figure that a recipe is more or less an upside-down tree! Where you start with a list of all the nodes (ingredients) Have a n:1 relationship with the next series of nodes (steps) until you finish at a single node (the dish you're trying to make) So instead of having a separate chunk of "here's my ingredients" and "let me repeat the ingredients and one by one i…
some recipes can produce multiple related dishes, and some ingredients can have multi-step substitutions. So Graph would be a better representation.
you could join multiple dishes into final 'abstract' dish to force it into tree-esque shape with some shuffling hopefully, but i think that's unnecessary limitation - especially if you consider that some recipes give you some compound ingredients(stocks for example) as side-output that you might want to use in future!
This is a great case for using that information for planning future dishes you could cook for free.
Re: Thinking about recipe formats more than anyone should
#64Much more important to me: is the listed cooking time of onions accurate.
Re: Thinking about recipe formats more than anyone should
#65Earlier quoted context omitted.
> I think of them as 2 different nodes, 2 instances of the same type of ingredient. But this is inconvenient during the shopping step of the process. There you want all uses of an ingredient (possibly across multiple recipes) collapsed into 1 node.
for sure! The use case I'm solving for myself is easy lookup while I'm cooking which is different than the use case of me going shopping Maybe someday I'll add a feature to grab a shopping list. Could organise it into sections of the store and do a quick traveling salesman problem :D also due to the conciseness of the grid, it's also not great if you're making it for the first time
Re: Thinking about recipe formats more than anyone should
#66Earlier quoted context omitted.
I think of them as 2 different nodes, 2 instances of the same type of ingredient. Practically I just have it listed twice if it's important like butter. https://cookbook.cstebbins.com/recipe/the-best-swedish-meatb... otherwise if it's a staple like salt I just say something like "stir in and season with additional salt and pepper to taste" like in https://cookbook.cstebbins.com/recipe/sloppy-sophisto-joes
> I think of them as 2 different nodes, 2 instances of the same type of ingredient. But this is inconvenient during the shopping step of the process. There you want all uses of an ingredient (possibly across multiple recipes) collapsed into 1 node.
That way there are three "segments" of the spreadsheet: shopping; prep; cooking.
Re: Thinking about recipe formats more than anyone should
#67Here's my favorite format, which my sister and I made. It doesn't work well for all recipes, but it does for lots of them. Minimizes words, easier to visualize steps. https://imgur.com/a/RDO6j6H
Re: Thinking about recipe formats more than anyone should
#68What about the table format used by https://www.cookingforengineers.com/ ? Though, tables in markdown are not so easy to read unless you put effort into formatting the data.
Re: Thinking about recipe formats more than anyone should
#69Since people are posting their respective recipe formats, I'll throw in one created by a friend from college. I haven't tried any recipes in this format, but the color coding of processing/ingredient blocks to the vertical time axis and clear listing of how ingredients get processed together are appealing. I've had multiple recipes on common recipe sites in which, mid-cooking I've realized were missing steps, didn't…
- Ingredients are listed in one column on the left in order of use.
- Duplicate ingredients are separate.
- Each step has one or more input products and one or more output products, indicated by arrows, and braces to group multiple.
- Handwritten because it's much easier. Computers are just too much trouble.
Re: Thinking about recipe formats more than anyone should
#70Just finished my own overthinking of recipe structures. I figure that a recipe is more or less an upside-down tree! Where you start with a list of all the nodes (ingredients) Have a n:1 relationship with the next series of nodes (steps) until you finish at a single node (the dish you're trying to make) So instead of having a separate chunk of "here's my ingredients" and "let me repeat the ingredients and one by one i…
In fact, going through a project management basics training at work recently reminded me that cooking recipes are isomorphic to project plans. Which makes DAGs an obvious natural representation for a recipe, and incidentally, makes the Gantt chart one of the best ways of looking at it.