News for hackers. Stuff that matters.
Re:Show HN: An API for scraping recipe web pages by ygra on Tuesday July 18, 2017 @05:34AM (#14795306)
What I'm missing the most in this context is for how many people those ingredients actually are. That's necessary if you want to scale the recipe to fewer or more people.
Re:Show HN: An API for scraping recipe web pages by oneeyedpigeon on Tuesday July 18, 2017 @05:42AM (#14795337)
Yes. As someone with limited cooking skills, I don't think it's quite as simple as 'double quantities of everything to serve 4 people instead of 2'; I'm not sure if it's possible to define a simple formula for how different ingredients scale, nor whether that would need to take into account other ingredients, etc. Would be interesting to see quite how 'algorithmic' cooking can get!
Re:Show HN: An API for scraping recipe web pages by Freak_NL on Tuesday July 18, 2017 @05:45AM (#14795348)
> I don't think it's quite as simple as 'double quantities of everything to serve 4 people instead of 2'

It usually is though. Cooking times however don't tend to scale predictably (except for microwaves).

Re:Show HN: An API for scraping recipe web pages by SeanDav on Tuesday July 18, 2017 @06:01AM (#14795402)
> "It usually is though. Cooking times however don't tend to scale predictably (except for microwaves)."

Not sure I agree. In my very limited experience, I have found that cooking times for microwaves do not scale predictably. For example warming up 2 packs of something seems to use less than double the amount of time for 1. I have had issues in the past of doubling or tripling the cooking time for double/triple the quantity and having food overcooked.

Re:Show HN: An API for scraping recipe web pages by semi-extrinsic on Tuesday July 18, 2017 @07:00AM (#14795600)
> warming up 2 packs of something seems to use less than double the amount of time for 1

This makes sense. When you see a microwave rated as 750 W, that's assuming there is a sufficient load inside the oven that can absorb all that RF energy. Usually there's not, maybe your food can just absorb 400 W, and when you double the amount of food maybe it can absorb 600 W.

Mainly this is because the outer ~3 cm of food is what absorbs RF energy, heating of the rest of the food is through thermal conduction.

Re:Show HN: An API for scraping recipe web pages by ygra on Tuesday July 18, 2017 @05:51AM (#14795372)
You still have to know that the amounts stated in the recipe are for 4 people to decide »Hm, that may be a bit much to cook for just two«.
Re:Show HN: An API for scraping recipe web pages by blackskad on Tuesday July 18, 2017 @06:18AM (#14795458)
It's kinda weird that it's not included yet. The schema.org spec has a field 'recipeYield' specifically for this purpose and it's present in the meatball example on the site. It should be quite easy for the author to add it.