Better HN
topnewbestaskshowjobs
Log inSign up

benawad

281 karma · joined Sep 21, 2016 (10y ago) · 35 submissions

https://www.youtube.com/c/benawad97

https://twitter.com/benawad

Submissions

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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/

comment 6y ago · link · parent

this is coming soon!

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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.

11.

Scraping Recipe Websites(benawad.com ↗)

463 points · by benawad · 6y ago · 196 comments

comment 6y ago · link · parent

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.

13.

Show HN: Saffron – Manage Your Personal Recipe Collection(mysaffronapp.com ↗)

2 points · by benawad · 6y ago · 2 comments

14.

Show HN: Auto Formatter for File Structures(github.com ↗)

15 points · by benawad · 6y ago · 1 comment

comment 6y ago · link · parent

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

comment 7y ago · link · parent

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

17.

A new health tool by Facebook(newsroom.fb.com ↗)

1 points · by benawad · 7y ago · discuss

comment 7y ago · link · parent

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

comment 7y ago · link · parent

It's currently free and will stay free for those who signup now.

I'm working on adding a $5/month subscription.

comment 7y ago · link · parent

I didn't find any good open source options

comment 7y ago · link · parent

Cool project, I love that you can search by macros. A few points:

1. Clipping recipes from different websites can be quite challenging because of the varying html structures. I recently tackled this problem and I'm curious what method you used to find recipe content within an html page? I ended up checking to see if the website followed a Recipe schema [1] and if not use a mix of heuristics to try identifying if a line of text was an ingredient. I also was considering using machine learning in there, but couldn't figure out a good way to incorporate it.

2. Is there a reason you don't include the instructions of the recipe on your website?

Awesome to see some fresh sites in this space. I built Saffron [2] which is focused on organizing your recipes into digital cookbooks.

[1] https://schema.org/Recipe

[2] https://www.mysaffronapp.com/

comment 7y ago · link · parent

It would be cool to be able to attach it to different frames. The default one looks low quality.

comment 7y ago · link · parent

I recently read the book "The 22 Immutable Laws of Marketing" and it talked about how when a company adds more lines of business that long term it can have negative effects (lack of focus). Do you think Apple has over diversified?

24.

Show HN: Classic Wow Builds(classicwowbuilds.com ↗)

1 points · by benawad · 7y ago · discuss

comment 7y ago · link · parent

KISS

comment 7y ago · link · parent

> Key Business Question to Answer: Is the value proposition of a large encrypted file transfer service enough to drive Firefox Account relationships for non-Firefox users.

The metrics section is interesting https://github.com/mozilla/send/blob/master/docs/metrics.md

comment 7y ago · link · parent

If you interested in Typescript, GraphQL, or React.js you might like my channel https://www.youtube.com/c/benawad97

comment 7y ago · link · parent

short term vim slows you down, long term vim speeds you up

comment 7y ago · link · parent

1. Create a login mutation which creates a session and sends back a cookie.

2. Use resolver middleware to check whether the user is authenticated.

I like to use express-session (https://github.com/expressjs/session) for part 1 and graphql-middleware (https://github.com/prisma/graphql-middleware) for part 2.

comment 8y ago · link · parent

"Redux is notorious for its boilerplate and has a relatively difficult learning curve. We provided generators for some common templates but it was still one of the most challenging pieces and source of confusion while working with React Native."

Interesting to see even Airbnb struggles with Redux

12