Hacker Newsnew | past | comments | ask | show | jobs | submit | benawad's commentslogin

I'll take 70% type safety over 0% any day


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.



Yeah, not knowing about him at all when I watched a talk by him and then realised that he is somewhat of an icon for indie/solo founders, I was very surprised to find out he had starting working as an employee in the meantime. I know he's doing well, but since I had just started out solo myself it felt a little like he had thrown in the towel ;)


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/


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


I second this comment. While I am probably not going to pay for this yet (I dont have that many recipes), this site was able to scrape a recipe I cook often and put it into a format that is much better than the original blog post.

The scaling and editing recipe functionality is top notch. Ill probably use this tool now.


I'd recommend checking out https://whisk.com too.


Oops, what part of the flow isn't working?


https://ibb.co/kQrkbJV

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


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!


Thanks for sharing! I also want to make the JSON+LD stuff generic, but I have found that there are sometimes different renditions of that format. Though, now that I've looked at it, I only have 1 example of something non-standard, which doesn't include the @graph directive.

So that just requires some more research and testing. Perhaps someone enterprising will read this and make a pull request...

Saffron looks great, I had encountered it before building this for myself. Your blog post is quite illuminating - perhaps the first practical application of LCA that I've seen outside of an interview setting :)


> 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.


I never considered that use case, is that something you've run into?


Yes, and happy as I am to recommend Saffron, they may already be used to, and happy with, an alternative.


Yeah makes sense, I'll add this to my todo list


I'm a paying customer with about 240 recipes imported. Saffron works very well overall and I recommend it, though I did have to do a lot of hand editing on some of the recipes.


Your app looks awesome. I've been thinking about a way of putting all my recipies in one place for a while, well, this looks like the kind of place I've been looking for.


This is improessive.. Not sure why I've never played with JSON+LD before.


Years ago, I wrote something like you describe in the blog (regex to match ingredient lines, looking for imperative verbs, filling in the gaps). Recently I revisited the subject and learned that almost everybody has decent jsonld data now. Even paywalled stuff.

Now I've got tampermonkey watching over my shoulder and backing up everything I look at to a couchdb instance. (Still gotta write some UI and an agent to pull down images, but I've got other irons in the fire at the moment.)


this is coming soon!


I considered going down the ML route, but didn't know where to start. I'd love to hear how you would approach it.


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.


I built this for my mom after she wanted a better place to store all the recipes she liked to cook.

You can import recipes from websites and organize them into digital cookbooks.

Once you add some recipes to Saffron, you can generate grocery lists from them or create meal plans. With our app you can use the grocery list at the store or access your recipes on the go.

We also have a text importer which can work for PDF/Google Doc recipes but it can be hit or miss.


Would love to hear about the tech stack and tech behind everything. Did you build the apps natively or using something like React Native?


I thought it could have been a memory problem too, but VPS didn't show any signs of anything spiking https://twitter.com/benawad/status/1212404379371917313

but I do think it's related to my nested object https://twitter.com/benawad/status/1212407236284338176


All it takes is one person doing something against YouTube's terms of service and his account will get banned.


I'm sure Amazon's not happy they gave shop.new to eBay.


I seriously doubt anyone at Amazon cares.


Shopify is probably more irritated.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: