IRC channel logs

2017-04-04.log

back to list of logs

***x1n4u- is now known as x1n4u
***PuercoPope is now known as PuercoPop
<wingo>moin
<ArneBab_>moin
<webshinra>hey people, is-their a way to get good error tracability when executing scheme from c ?
<webshinra>I mean, i get things like «(#f No applicable method for ~S in call ~S (#<<generic> expanded-sequence (1)> (expanded-sequence (normal-operation . #<<animation-sequence> 2927cc0>)))»
<webshinra>but that's not really helpfull without knowing where it have been raised
<wingo>webshinra: generally that info comes from the pre-unwind handler
<wingo>catch instantiations have a post-unwind and/or a pre-unwind handler
<wingo>from c you can use SCM_API SCM scm_handle_by_proc_catching_all (void *, SCM, SCM);
<wingo>lol it's undocumented
<wingo>terrible
<wingo>ok here's what you can do:
<webshinra>It explains a lot :P
<wingo>use scm_c_catch with scm_handle_by_message_noexit as pre-unwind handler
<webshinra>ok, I'll look a it, thanks wingo
<dsmith>Morning Greetings Guilers
<wingo>good morning dsmith
<dsmith>Well, dsmith-work won't be joining us for a while. My last day was yesterday. A surprise for me!
<dsmith>Anyone need someone with 30+ years embedded C experience?
<wingo>wow!
<wingo>sorry to hear that :/
<civodul>ouch, bad news dsmith :-(
<dsmith>Well Fouey. I was going to upgrade sneek to 2.2, but it seem my gcc is too old! 4.6.3
<wingo>hehe
<wingo>what architecture is sneek?
<dsmith>beaglebone black
<wingo>does guix have builds for that one?
<dsmith>Curretly running Wheezy I think
<dsmith>Oooo
<wingo>:)
<dsmith>I have really limted space at the moment. ABout 300M free "disk"
<dsmith>~uname
<dsmith>!uname
<sneek>Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux
<amz3`>o/
<OrangeShark>o/
<webshinra>one thing I really love with scheme is the visuel aspect of the code at a macroscopic level
<webshinra>like https://framapic.org/3cuWPDGagXDG/DldIX6ZrBhKr.png
<daviid>hello guilers!
<daviid>dsmith: very sorry for you, bad news :(