missionary

whilo 2025-02-13T16:49:56.382379Z

I have prototyped a VLM/LLM based screen control for Ubuntu/Minecraft with missionary and it is definitely growing on me, https://github.com/whilo/simmis/blob/main/src/is/simm/runtimes/ubuntu.clj. It seems that errors during race only get emitted after I dispose the race task, I have to revisit the error handling docs.

leonoel 2025-02-13T16:55:30.841909Z

A common gotcha with m/race is that it succeeds with first successful result but fails if (and only if) all inputs fail. If you need the first failure to crash the whole thing, this is different

leonoel 2025-02-13T16:57:16.172729Z

If that's what you need, we have this non-official operator

(defn fastest [& args]
  (m/absolve (apply m/race (map m/attempt args))))

whilo 2025-02-13T17:08:49.067379Z

Thank you for the explanation and operator 🙂.