News for hackers. Stuff that matters.
Re:Show HN: An API for scraping recipe web pages by simooooo on Tuesday July 18, 2017 @05:34AM (#14795304)
MyFitnessPal has the same issue where the quantity values mixed between different units, but also between volume(cup) vs weight(grams). So its a pain in the neck to know how heavy a cup of pasta is.

I can see the same issue arising with this tool.

Re:Show HN: An API for scraping recipe web pages by Freak_NL on Tuesday July 18, 2017 @05:43AM (#14795341)
For a lot of the basics (flour, sugar, rice, etc.) conversion formulas/tables exist, but I've found that if you use recipes from around the globe, it's much easier to just have measuring utensils for cups/spoons (US cooking volume units) alongside the standard metric volume measures and scales in your kitchen.
Re:Show HN: An API for scraping recipe web pages by Semaphor on Tuesday July 18, 2017 @05:53AM (#14795377)
At least some of MFPs ("verified") raw ingredient don't seem to use those though. 100g of Avocados, for example, can easily have several thousands of kcal according to them.
Re:Show HN: An API for scraping recipe web pages by unwind on Tuesday July 18, 2017 @09:04AM (#14796185)
A cup of pasta doesn't even compute, since the mass of the pasta will depend so much on the exact shape in question.

You can't substitute a cup of dried tagliatelle (huge "balls of yarn") for a cup of risoni (rice-sized grains of pasta) and be happy after eating that meal. :)

Re:Show HN: An API for scraping recipe web pages by cbcoutinho on Tuesday July 18, 2017 @05:38AM (#14795323)
That's the beauty of 'user-generated content'. You can scan whatever you want, and if it's not in their system you can just put the details in yourself. That includes choosing what a portion is