IRC channel logs

2025-11-02.log

back to list of logs

<pinoaffe>jfred: webxdc looks really interesting! A couple of years ago I tried to make some simple distributed games (games like https://en.wikipedia.org/wiki/Set_(card_game) ) using matrix as the transport layer, I kinda wanna give it another go at some later point (tho probably with other technology)
<pinoaffe>at the time, I used matrix because it allows you to send your own event types that are ignored by any normal chat apps, and i targeted set because it has complete information and distributed randomness (which makes it possible but non-trivial to implement)
<kestrelwx>Hi, I'll submit a proper issue soon enough, but I'm seeing:
<kestrelwx>`webgl/ffi.scm:364:16: define-foreign: unsupported param type in subform (ref string) of (define-foreign get-extension "webgl" "getExtension" (ref extern) (ref string) -> (ref null extern))`
<kestrelwx>But only when I have `library` at the top and not `define-module`. What to make of it>
<kestrelwx>Oh, well, the real problem is I see `Uncaught (in promise) TypeError: import object field 'math' is not an Object` for modules that are fine, so I should just figure out that.
<kestrelwx>Okay, makes total sense, I had a malformed JS object for `user_modules`.
<kestrelwx>Well, that was 20 hours of nothing.
<kestrelwx>I just couldn't step through in the Librewolf debugger for whatever reason(maybe it's the extensions), but I managed to in Chromium. But now I'm not sure how to get a `reflect` object to use in imports.