TIL that #LambdaMOO doesn't recognize
&&
as having a higher operator precedence than ||
. That led to a fun little bug.
What started as a seemingly simple request (adding sake to the menu at my #LambdaMOO sushi bar) has snowballed into me writing a whole drunkenness subsystem.
like this
in reply to Jonathan Lamothe
Still tweaking the parameters a little. The way it was, one glass of sake could get you pretty obnoxiously drunk for a good period of time. I toned it down a bit to something slightly more realistic.
You know what feature I find conspicuously absent from the #LambdaMOO programming language?
Lambdas.
like this
screwlisp reshared this.
Just spent an embarrassingly long time trying to track down a bug in my #LambdaMOO code. Turns out it was the generic function I'd built for folding over a list of values. It was such a stupidly simple function, it hadn't even occurred to me that the problem could be there.
like this
in reply to glyn
screwlisp reshared this.
I'm working on building a sushi bar in #LambdaMOO. Katy and I had the following conversation regarding the waitress I'm currently programming:
Katy: I'm surprised you didn't make her a robot.
Me: I thought about it, but a lot of the other shops are basically run by vending machines. I wanted to give mine a more human touch... though, right now she crashes when anyone talks to her. Humans don't do that.
Katy: Well, some do.
Me: Okay, fair point.
like this
reshared this
in reply to Jonathan Lamothe
Besides, everyone knows it's noodle bars that robots gravitate towards owning, sushi bars are always weird old guys.
Jonathan Lamothe
in reply to Jonathan Lamothe • •Kevin Davy likes this.