Live data from Hacker News

Optimal Peanut Butter and Banana Sandwiches

ethanrosenthal.com

21–30 of 110 posts

Re: Optimal Peanut Butter and Banana Sandwiches

#22
I always mash the banana on. I find it has a nicer texture than slices somehow. I also recommend toasted "wheaten bread". A form of wholemeal soda bread popular in Northern Ireland. https://www.thespruceeats.com/traditional-irish-wheaten-brea...

[Edit] add word toasted.

Re: Optimal Peanut Butter and Banana Sandwiches

#23
First off, I love this project.

I would modify the fitness function to do something like subtract from the score the area of the largest circle which could be drawn over a bread-only section. This would deal with your having a very unsatisfying empty bottom right corner in your last example.

Re: Optimal Peanut Butter and Banana Sandwiches

#24

I love this post...I also love his wife's answer of cut the banana long ways

Would make a better sandwich too as there would be fewer gaps. Could also stack more readily using the entire banana if one wishes.

Honestly, I never considered slicing that way before so besides an interesting read I also learned a new technique for making these kinds of sandwiches!

Re: Optimal Peanut Butter and Banana Sandwiches

#28

I initially assumed the challenge was to fit the entire banana on the bread in a single layer; I am disappointed that problem was not solved, but it seems like it should be a relatively trivial extension of the package provided (produce a packing for [N, M] slices of banana, pick the number of slices which covers the bread without any left over pieces). (Of course, as someone who does not eat banana sandwiches, I hav…

It'd be a very tall sandwich! The preferred solution is just eat the rest of the banana, or pawn it off onto a significant other.

Re: Optimal Peanut Butter and Banana Sandwiches

#29
For the ultimate PBB experience,after assembly into standard sandwich form,grill said sandwich like a grilled cheese. After removing from the pan, spoon spread a mixture of cinnamon and sugar (small amount is my preference)and consume with a fork. The PB and banana are slightly melted. You could become addicted!

Re: Optimal Peanut Butter and Banana Sandwiches

#30
Wow this guy can really see something through to the end. I have had some good ideas that I give up on once things become complex but he carefully saw this “meaningless” but super difficult project through from beginning to end. That alone is a sort of sacred skill, regardless of the task.
Post reply on HN