News for hackers. Stuff that matters.
Re:Show HN: Cookie Recipe Generator by baddox on Sunday July 19, 2020 @01:29AM (#23887226)
I did something similar with a recent useless Saturday toy project, if the source code helps anyone.

https://17dollarphone.com/

https://github.com/baddox/17dollarphone

Re:Show HN: Cookie Recipe Generator by captbaritone on Sunday July 19, 2020 @01:49AM (#23887300)
I clicked through to your site and played with it a bit. Nice idea, and well executed! Then I hit back to come back to HN... seventeen clicks later, I’m back. Might be nice to update the URL without adding a history entry.
Re:Show HN: Cookie Recipe Generator by baddox on Sunday July 19, 2020 @01:59AM (#23887335)
Ha yeah, very good point. I thought it was neat to have the entire state of the app in the URL and use the back button to demonstrate that, but yes, I should probably be replacing history instead of pushing.
Re:Show HN: Cookie Recipe Generator by smichel17 on Sunday July 19, 2020 @02:23PM (#23891267)
Suggestion: Push once after every complete phone, but replace after an intermediate state. That way the back button goes through a list of complete combinations you tried, without forcing you to walk back individual steps.
Re:Show HN: Cookie Recipe Generator by jonplackett on Sunday July 19, 2020 @03:11AM (#23887598)
Haha. Exact same
Re:Show HN: Cookie Recipe Generator by jonplackett on Sunday July 19, 2020 @03:13AM (#23887609)
Nice idea. Just proved I don’t really want a $17 phone. What’s with the price point? What were you setting out to prove?
Re:Show HN: Cookie Recipe Generator by xaner4 on Sunday July 19, 2020 @04:46AM (#23887964)
I think his idea of this website is based of one of MKBHD videos https://youtu.be/u41Zt6z5s7A
Re:Show HN: Cookie Recipe Generator by baddox on Sunday July 19, 2020 @02:10PM (#23891166)
It’s based on a tweet from tech reviewer MKBHD, the link is in the footer of the site.
Re:Show HN: Cookie Recipe Generator by dazsnow on Sunday July 19, 2020 @01:41AM (#23887271)
thanks!