IRC channel logs

2019-10-24.log

back to list of logs

***logicmoo is now known as dmiles
<amz3>chrchr: maybe guile-opengl is required
<uranther>why does (scm->json #(1 2 3)) not work but (scm->json "hello") works? I get the error: Throw to key `json-invalid' with args `()'.
<Josh_2>Hi, are there any example programs that demonstrate guiles webserver? The docs are very primitive
<Josh_2>responding to post requests specifically
<houkime>hi. ‎I have a question about GOOPS. Since slot initialisers like init-thunk don't seem to have any access to "self", i.e. instance itself, i tried to use a specialist "initialize" method. It is called ok, but the problem is that initializers for superclasses are not called so this 'initialize' needs to do a lot of extra work.
<houkime>thus the question is - can i somehow explicitly call default initializers for superclasses?
<houkime>so i just call all default stuff and then do some work on top of that?
<houkime>this might be possible if one can call generic functions (including 'initialize') with explicitly defined class to operate on so that i can choose _which_ 'initialise' to call but I don't yet know how to do that.
<houkime>now that i look through document agiain one one can probably use 'next-method'
<houkime>*documents
<houkime>however in this case one can desire even more - to also call the default initialiser for the class itself (without creating an extra derivative class which would obviously do the trick)
<amz3>Josh_2: look at https://github.com/a-guile-mind/guile-web/
<amz3>Josh_2: or guix web
<amz3>Josh_2: or guix cuirass
<amz3>Josh_2: or guile-pastebin (maybe that last one is the easiest to get started for reading purpose, but running it will be difficult, because bitrot)
***apteryx_ is now known as apteryx
<dsmith-work>Thursday Greetings, Guilers
<nerdypepper>evening o/
<pinoaffe> does anyone have some example code using gnome-guile? or just a relatively simple ui program using the lib
<pinoaffe>never mind, I was able to find https://github.com/yang-qu/gtk-tutorial-using-guile-gnome
<bsima>how does one pronounce "cuirass"?