Readit News logoReadit News
benawad commented on TypeScript 4.1   devblogs.microsoft.com/ty... · Posted by u/shian15810
throw_m239339 · 5 years ago
I love typescript but its types are becoming so complicated it's turning into a dynamic language...

I mean one can't represent the all possibilities of JavaScript "types" without re-implementing JavaScript itself, only a subset. I wonder where Typescript will stop.

I'd like to see Typescript compiling to "native" as well.

benawad · 5 years ago
I'll take 70% type safety over 0% any day
benawad commented on What Working At Stripe Has Been Like   kalzumeus.com/2020/10/09/... · Posted by u/yarapavan
benawad · 5 years ago
Does anyone know if Patrick has talked somewhere about why he decided to take a job at Stripe instead of continuing his consulting business or starting a new venture?

Patrick didn't strike me as someone interested in working at a "regular" job.

benawad commented on Turn recipe websites into plain text   plainoldrecipe.com/... · Posted by u/vincent_s
scoot · 5 years ago
Yes, and happy as I am to recommend Saffron, they may already be used to, and happy with, an alternative.
benawad · 5 years ago
Yeah makes sense, I'll add this to my todo list
benawad commented on Turn recipe websites into plain text   plainoldrecipe.com/... · Posted by u/vincent_s
scoot · 5 years ago
> I recommend parsing JSON+LD and Microformats

It's a shame that Saffron provides neither on the published recipe pages. If I share a recipe with someone, they might want to import it into a different app.

benawad · 5 years ago
I never considered that use case, is that something you've run into?
benawad commented on Turn recipe websites into plain text   plainoldrecipe.com/... · Posted by u/vincent_s
xtracto · 5 years ago
https://ibb.co/kQrkbJV

(will autodelete in 30 mins) there's nothing very private but...

benawad · 5 years ago
I'm using Paddle for payments and it looks like something wrong on their end. I'll contact them and keep you posted. Thanks for the heads up!
benawad commented on Turn recipe websites into plain text   plainoldrecipe.com/... · Posted by u/vincent_s
xtracto · 5 years ago
Howdy crap... I just created an account on your website and added one random recipe (cashew nut yoghurt) that did not work on the original post site, and it worked like a charm!

You've got a new paying customer :)

I'd been looking for something like your app for a long time.

Ough, your PayPal flow is not working :( fix that and you'll have a paying customer haha

benawad · 5 years ago
Oops, what part of the flow isn't working?
benawad commented on Turn recipe websites into plain text   plainoldrecipe.com/... · Posted by u/vincent_s
benawad · 5 years ago
It looks like you're using the recipe-scrapers library to scrape recipes which only supports a set number of websites.

If you want to expand that, I recommend parsing JSON+LD and Microformats. Given your parsers folder [2], it looks like you've tried it, but only for specific websites. I would make that generic and check whether the metadata is available on any website. I wrote a blog post on this if you're interested [3].

source: I've built a very similar tool for my cooking app: https://www.mysaffronapp.com/

[1] https://github.com/hhursev/recipe-scrapers

[2] https://github.com/poundifdef/plainoldrecipe/blob/master/par...

[3] https://www.benawad.com/scraping-recipe-websites/

benawad commented on Scraping Recipe Websites   benawad.com/scraping-reci... · Posted by u/benawad
samcheng · 5 years ago
It's really the conversion to weight (grams, from cups/tbsp/tsp/hogsheads) that would be valuable. It's just so much easier to clean to stick a scale under the mixing bowl.
benawad · 5 years ago
this is coming soon!
benawad commented on Scraping Recipe Websites   benawad.com/scraping-reci... · Posted by u/benawad
ohhaimarc · 5 years ago
This case is a perfect 'recipe' for reinforcement learning. Let me know if you want help here.
benawad · 5 years ago
I considered going down the ML route, but didn't know where to start. I'd love to hear how you would approach it.
benawad commented on Scraping Recipe Websites   benawad.com/scraping-reci... · Posted by u/benawad
dividedbyzero · 5 years ago
I love Paprika, but what keeps frustrating me is the inability to share recipes with my partner. I can Airdrop a single recipe to her, but doing this for all of them, one byone, super tedious, and then she makes some changes which I'd like to have too, and there seems to be no reliable way to get her changes back on my devices. It's all the more frustrating as Paprika does sync really well, but apparently just within a single Apple ID.
benawad · 5 years ago
If you're interested in switching, http://www.mysaffronapp.com/ has a bulk import from Paprika and you'd be able to share an account with your partner.

u/benawad

KarmaCake day281September 21, 2016
About
https://www.youtube.com/c/benawad97

https://twitter.com/benawad

View Original