IRC channel logs

2015-12-24.log

back to list of logs

<artyom-poptsov>Hello Guilers!
<artyom-poptsov>Just released Guile-SSH 0.9.0: https://lists.gnu.org/archive/html/guile-user/2015-12/msg00075.html
<camel__>Hi everyone - I'm using guile 2.1.1 and have an issue with threading; if I call scm_c_eval_string() from guile (same thread) then it works, but if I call a function which creates a new thread and then calls scm_c_eval_string(), it segfaults
<camel__>(this is apparently independent of whether or not scm_init_guile() is called in the second thread)
<rjmacready>camel__: you need to call the ...with_guile... function in every thread
<rjmacready>camel__: it's hidden in the manual
<rjmacready>camel__: i had the same issue a few days ago :)
<rjmacready>by manual i mean https://www.gnu.org/software/guile/manual/guile.pdf
<rjmacready>and by hidden i mean section 5.4.5 Multi-Threading
<rjmacready>camel__: ^
<camel__>rjmacready: ok, I'll give that a go - thanks! :)
<camel__>rjmacready: think I found the issue :/
<camel__>not sure if it's a bug or that I have no idea about autoconf
<camel__>but I built guile without threads (ok)
<camel__>then reconfigured it with threads
<camel__>this updated gen-scmconfig but not scmconfig.h
<camel__>what I needed was a 'make clean' :/
<rjmacready>camel__: ah, im using the guile that came with apt-get install :)
<camel__>lucky you ;)
<camel__>anyway, 99% sure this will fix it (even though i'm still waiting for the build...)
<camel__>so, i'm going to sleep
<camel__>merry xmas! :)
<rjmacready>ciao, merry xmas
<tj__>is there a symbolic computation module for guile? i want to solve equations
<tj__>something like sympy
<tj__>we shouldn't be coding on christmas eve, should we? : ))
<davexunit>tj__: an early chapter in SICP makes a simple symbolic computation system
<davexunit>there's definitely stuff for MIT/GNU Scheme for this
<davexunit>which would require porting to Guile
<davexunit>I have finally got a working sprite batch implementation for Sly. now instead of the system struggling to render a couple hundred sprites, I can easily render a few thousand on my oldish laptop: http://i.imgur.com/k0S89Oe.png
<tj__>davexunit: that's dope, i'm on it, i have the book downloaded somewhere, i don't know what spirte and sly are
<amz3`>héllo :-)
<davexunit>tj__: the sly and sprite stuff were unrelated project updates of mine
<davexunit>does anyone remember ijp's "the night before M-xmas"?
<davexunit>I'm trying to find it because I got a real kick out of it
<davexunit>found it!
<davexunit>enjoy, all: http://shift-reset.com/blog/2013/12/24/The%20Night%20before%20M-x-mas/
***octo_ is now known as octophore