IRC channel logs

2024-09-16.log

back to list of logs

<daviid>fwiw, i just pushed a (g-golf port of the) gtk4-demo layout-manager (transition) example (devel branch) - fun (left click to trigger the transition)
<sneek>ArneBab: Greetings!
<edvardo>hello, does anybody know if anyone has already written a library that wraps sdl3 for guile?
<apteryx>edvardo: all I can find using 'guix search' are SDL2 bindinghs
<apteryx>e.g., guile-sdl2
<apteryx>re running a local guile build with gdb; there is: meta/gdb-uninstalled-guile
<apteryx>would someone have an example of 'scm_list_to_typed_array' to transform from list to a C array of char* ?
<apteryx>can't figure out what to put in for type, its 1st argument.
<apteryx>something like SCM_CHAR_T, I reckon, but it doesn't exist.
<apteryx>I just want to print a list for debugging, in C
<civodul>ACTION has never used that
<civodul>can’t you debug it from Scheme? :-)
<sneek>Welcome back civodul, you have 1 message!
<sneek>civodul, old says: "it’s more about distributing responsibilities and rotating" have you not found peoples for filling this role?
<civodul>old: yes and no; i think we haven’t done a great job at growing Guile contributors into positions where they can review/apply patches, help with bugs, or even prepare releases
<civodul>probably not news to anyone here :-)
<civodul>it’s getting better though!
<apteryx>civodul: no, I'm hacking fports.c in libguile
<apteryx>ACTION has simple (and others less simple) patches open for review for about a year now :-)
<apteryx>there's this one documenting peek/pk, which I've reviewed: bug #71684
<apteryx>this small one fixing an issue in r7rs-libraries: https://bugs.gnu.org/67255, authored by Timothy and modified/tested by myself
<apteryx>and continuing on the r7rs theme, this one allows using module names such as (srfi 1), including with 'import': https://issues.guix.gnu.org/67412
<apteryx>I could continue but these are the small ones that I think could be applied first
<civodul>ACTION nods
<reyman>hi !
<reyman>i'm trying to see the trace of one function into one module (that return the wrong result) i try to patch when i call it from a script in REPL.
<reyman>running ,trace (nameofmyfunction) say unbound variable, even after loading (use-modules (nameofmymodule))
<reyman>there is something i don't understand in way to debug module
<reyman>i also try to add (add-trace-at-procedure-call! nameofmyfunction) directly in the module
<reyman>i miss something ?