IRC channel logs
2025-10-09.log
back to list of logs
<dthompson>encryptedwhispe-: yeah you need a recentish guile that has the pure scheme srfi-1 <encryptedwhispe->I discovered savannah is dead and made a PR to switch to codeberg repo for Hoot, dthompson <encryptedwhispe->dthompson, the version that is in guix.scm - does that have the pure scheme srfi-1 ? I am still getting the error about load-extension. <encryptedwhispe->dthompson, is the error ERROR: In procedure %resolve-variable: / Unbound variable: load-extension a symptom of not having the pure scheme srfi-1 ? <dthompson>perhaps your environment is still pointed at an older guile <encryptedwhispe->hrm I don't have a configure for my project, just a simple makefile, and I am building via guix shell. But perhaps there's an issue with cache <dthompson>oh sorry I thought you were running from the hoot repo <dthompson>I don't know what might be going on but somehow you're not pulling modules from the right guile <encryptedwhispe->yeah that's it. guild compile-wasm -L $(pkg-config --variable=pkgdatadir guile-3.0)/3.0 -L modules -L guile-scene/modules --bundle -o boop.wasm boop.scm <dthompson>you could try running a simple program with hoot first. if you're using the latest hoot from main, you shouldn't need that -L pkg-config thing anymore <dthompson>a simple srfi-1 program: (use-modules (srfi srfi-1)) (fold + 0 '(1 2 3 4)) <dthompson>yeah one of those little things that took forever to get around to <encryptedwhispe->is there a good way to prevent WARNING: (% %library-group108 boop client): `let' imported from both (% %library-group108 srfi srfi-71) and (% %library-group108 guile), dthompson? <dthompson>encryptedwhispe-: that's a bug that I've been investigating. for now, avoid srfi-71 <dthompson>bug in replacement bindings when using define-module style modules <dthompson>with any luck I'll have srfi-71 working by the end of the week... we'll see <encryptedwhispe->alas even with all these upgrades I am still getting a bizzare error in my code :( <encryptedwhispe->It always works the first time, but if I refresh (so, I'm using Aurie) I get "Uncaught (in promise) Object { obj: WasmStructObject }" inside the catch block of my .js <encryptedwhispe->I redid my whole backend from scratch, and made sure it worked in desktop goblins first but still ended up with this <encryptedwhispe->I suppose the only thing I can do is divide and conquer until I figure out what triggers it <dthompson>sounds like something in the restoration path <encryptedwhispe->I am also using my reactive library - going to try to gut that out first to narrow the scope <encryptedwhispe->Strangely, removing the reactive code has caused it to fail every time and also complain about index out of bounds <dthompson>maybe that's another thrown exception blowing things up <encryptedwhispe->Ok so the persistent issue was because I was passing #f into element-ref-element <encryptedwhispe->But the original issue with 'uncaught (in promise)' remains, so yeah it must be something relate to Aurie. <encryptedwhispe->One thing that is maybe unusual is that one of the roots is persisted and also is inside another root. <encryptedwhispe->seems removing one of the roots so it's just the basic roots does not help the situation. <encryptedwhispe->I see that fetch-and-spawn-prelay-netlayer creates a mycapn internally - perhaps an issue is that i am creating a second mycapn. <dthompson>tsyesika: maybe you could offer some advice here (when you're awake, that is) <dthompson>I haven't personally setup the prelay so I don't have any experience to lean on there <encryptedwhispe->I wonder if the issue is in attempting to print the results in the .js file. <encryptedwhispe->this might have been it... For testing at some point, I was doing a console.log() of the compiled template, and I think perhaps that was failing in a weird way dthompson <dthompson>hmmm interesting. not sure what would cause that <encryptedwhispe->Hmm, so I have now made some progress, and things are mostly working, except the prelay server is now printing "Invalid client verification message" when I refresh (and thus reload the mycapn) <encryptedwhispe->looking at the code in the websocket netlayer that seems to suggest the bytevector doesn't exist or is the wrong length. very odd <encryptedwhispe->Oh, perhaps this is just an error that happens when the page is reloaded? And doesn't affect things negatively? <encryptedwhispe->Hrm, well, it seems I am still stuck on this "uncaught" exception, though the server is also printing "invalid client verification message" so it's probably related. <encryptedwhispe->well, the promise errro now gone away with some tweaks I did. Hopefully it stays away. Stil sometimes getting "invalid client verification message" <encryptedwhispe->ok maybe the problem is I am running two pages, and they are perhaps on the same websocket port. could be that's confusing this <encryptedwhispe->the latest: websockect connection does not re-establish upon page reload <bremner>I guess we know who Christine can ask next time she wants explanations of this fediverse thing <pinoaffe>i think they gave it to eugen because he's german, which makes sense, but he is still a kinda weird pick