IRC channel logs

2026-06-24.log

back to list of logs

<wehlutyk>Hello all
<ekaitz>wehlutyk: hello
<wehlutyk>ekaitz: (¬‿¬)
<wehlutyk>dthompson: I'm trying to use chickadee's pixbuf (which I get working fine on its own), and then adding some bstruct-encoded content on top of it
<wehlutyk>but I'm coming across `&assertion-failure`'s when using bstructs and `(chickadee graphics pixbuf)`
<wehlutyk>I don't have a minimal example yet, but would it be possible that srfi-9 and bstructs would have incompatibilities/conflicts?
<wehlutyk>I see some srfi-9-based chickadee modules have been rewritten with bytestructs in chickadee (e.g. 'ca62482f89261b0588c7cbc675e188f65054c8e9'), and srfi-9's define-record-type have to be in top-level context
<wehlutyk>and some failures only appear after running make (but again, I don't yet have a minimal example)
<wehlutyk>for a concrete example, this works fine: https://gitlab.com/wehlutyk/eadt/-/blob/paper-no-class/tryouts/blobs-exploration.scm
<wehlutyk>but I haven't yet found a way to add it into https://gitlab.com/wehlutyk/eadt/-/blob/paper-no-class/tryouts/image-exploration.scm
<wehlutyk>it actually gives a `fish: Job 1, './pre-inst-env guile tryouts/im…' terminated by signal SIGABRT (Abort))` error, not an &assertion-failure
<dthompson>wehlutyk: so are you trying to use a pixbuf as an element of a bstruct? that's not going to work
<dthompson>the <pixbuf> type is not a bstruct, it's a record
<wehlutyk>as a background
<wehlutyk>the bstruct's are then displays on top of that background, resulting from processing a v4l2 input (both given as pixbuf, and processed to detect blobs)
<wehlutyk>(blobs which I'd like to display on top of the background)
<wehlutyk>or in front (not "on top")
<dthompson>I guess I don't really understand the issue
<wehlutyk>right, I'll be back when I understand it better
<wehlutyk>thanks, and good day/evening/morning all!