IRC channel logs

2026-05-15.log

back to list of logs

<ArneBab>Spring Lisp game jam starts tomorrow: https://itch.io/jam/spring-lisp-game-jam-2026
<ArneBab>I plan to build something with Enter Three Witches: tutorial: https://www.draketo.de/software/enter-three-witches example game: https://dryads-wake.1w6.org/enter
<spk121>rlb: with regards to ice-9 rw read and write partial. What if for write-string/partial and read-string!/partial you wrote them in scheme so that they could either take a string or could take a record that had both a string, an encoding and a bytevector.
<spk121> If you passed it a string, it would create a temp bytevector with each call and use the bytevector API converting to/from string.
<spk121>But if you passed the record, it could keep the bytevector to avoid reallocation
<spk121>Hmm. Actually that'd be problematic, now that I think of it. <shrug>
<spk121>Also, apropos of nothing, I had thought we used read-string!/partial in GNU Serveez, but, actually it created its own custom binary blob type back in 2001 and never updated it.
<TheTaoOfSu>ArneBab: Nice, I'm planning an ncurses idle game. I'm hoping to wrap it up fast enough to figure out how to build another UI I can put through Hoot to put online, but I'll settle for finishing my first Lisp project before the deadline
<ArneBab>TheTaoOfSu: good luck! And have fun!
<probie>Re Enter Three Witches (or at least the "example game"): I'm not sure if something is wrong with my browser, but the "extreme" text speed is annoyingly slow
<probie>How fast is it meant to be?
<ArneBab>probie: thank you for the info -- I just tried, but it has the correct speed. This is what you should see: https://www.draketo.de/software/enter-three-witches--extreme-speed-example.mp4 -- does that match?
<probie>ArneBab: Yep, that matches. So it's not a technical issue, just an expectation mismatch.
<tohoyn>daviid: I failed to build guile-fluidsynth. See <https://dpaste.com/BBGFEUGJW>.
<lloda>is there a good reason why define* couldn't just be define
<old>lloda: because define* is a hidden lambda* which is a core transformer, like define is a core transformer
<TheTaoOfSu>ArneBab: thanks, you, too!
<ArneBab>probie: how fast would you expect it to run?
<ArneBab>probie: that you expected it so be faster sounds like a user experience problem in the game.
<ArneBab>probie: would you expect 50% faster -- or so fast that individual typing isn’t visible anymore?
<probie>ArneBab: Word at a time might be preferable to character at a time at high speeds, but really I just want something that's at (or slightly above) my reading speed, so my experience is less jarring.
<ArneBab>probie: how fast do you read?
<identity>i would expect there to be an «instant» option
<ArneBab>that’s actually not technically possible without annoying workarounds and would break the game logic, because there are word-level events (like showing images or playing sound) that would then lose their ordering. But I’ll double the extreme speed in the hope that that’s faster than your reading speed.
<probie>ArneBab: Naively, I'd guess 1.5x-2x whatever the current "extreme" speed is.
<ArneBab>deployed -- does it work better for you now? https://dryads-wake.1w6.org/enter/
<ArneBab>(and thank you for the feedback!)
<probie>ArneBab: I'm happy with that. Out of curiosity, how much faster is it?
<ArneBab>it’s exactly doubled
<ArneBab>compared to the normal speed it’s 8x
<probie>Are there meant to be two pictures when I use "read news", or is that a bug?
<ArneBab>that’s correct, yes -- it’s a tech-demo showing that there are two standard positions for images.
<tohoyn>daviid: I got the same error when I checked out version v0.2.0.
<tohoyn>daviid: problem solved: build works in Guile 3.0.11. it seems that define-method* is not defined in Guile 3.0.10.
<rlb>old: I wonder if it could be worth making say scm_to_(u)int64 inline, or at least inline for the first SCM_I_INUMP -> SCM_I_INUM branch.
<rlb>Same for scm_from_size_t, etc. -- just saw significant overhead for that as compared to the first fixable -> makinum branch.