News for hackers. Stuff that matters.
Re:Randomized Living by foreigner on Sunday September 27, 2020 @03:54AM (#24605010)
I'd like an app which randomly choose what to order from restaurant menus (would have to be sophisticated enough to choose a decent meal).
Re:Randomized Living by mFixman on Sunday September 27, 2020 @06:08AM (#24605547)
I usually narrow it down to 2–5 items I know I'll enjoy, and them choose randomly using the minutes of the current time modulo the amount of options.

The system works great: it's chaotic enough so I can't estimate in advance the answer, yet stable enough so I can't "cheat" by re-throwing the dice. It also sometimes helps me find out what I _really_ wanted when I realise that going randomly was a bad idea.

Re:Randomized Living by K0nserv on Sunday September 27, 2020 @05:54AM (#24605495)
I’ve discussed this with colleagues over lunch several times. The idea wouldn’t exactly be random, we’ve discussed a hash of the current date modulo some number of choices.

So for any frequent choices, come up with n options and then take the hash of the date or weekday, or just pick a random number. Then do modulo n to determine the choice for the day.

The nice thing about a hash is that the result feels random but could exhibit a recognisable pattern over time.

Re:Randomized Living by dreen on Sunday September 27, 2020 @10:27AM (#24606876)
Sometimes I ask to get whatever they feel like making. Or if someone else got something and didn't want it, I'll take that. Helps fight food waste and makes your waiter's/chef's day a bit easier, which is nice.
Re:Randomized Living by tasuki on Sunday September 27, 2020 @04:40AM (#24605165)
This is one of the reasons I like lunch specials: one doesn't have to choose what to eat (the other reason being the discount).
Re:Randomized Living by foreigner on Sunday September 27, 2020 @05:30AM (#24605382)
Yep me too.