IRC channel logs


back to list of logs

<hyvr>Hi, I just opened the guile interpreter and when I hit enter or ctrl-M, the interpreter just prints ^M and ignores me. This makes it impossible to send any commands or get started, can anyone help?
<dje42>It's waiting for an expression.
<dje42>What happens if you type (+ 1 2)<ret>
<hyvr>after restarting the interpreter, i can't replicate the bug
<hyvr>i'll see myself out, thanks
<dje42>no worries
***Fuuzetsu_ is now known as Fuuzetsu
***Fuuzetsu is now known as Guest9947
***Guest9947 is now known as Fuuzetsu`
***Fuuzetsu` is now known as Fuuzetsu
<nalaginrut>morning guilers~
<James_Zorf>nalaginrut, I feel most rejuvenated after just having slept.
<nalaginrut>well, seems I should sleep more too
<James_Zorf>nalaginrut, however so my fair maiden?
<artyom-poptsov>Hi nalaginrut
<artyom-poptsov>And hello everybody
<artyom-poptsov>Released Guile-SSH 0.7.0 (in case you missed it):
<nalaginrut> heye artyom-poptsov ! I've already hit it when I get up this morning ;-)
<artyom-poptsov>nalaginrut: Great :-)
<James_Zorf>artyom-poptsov, you never greet me with such enthusiasm, what s up with that?
<James_Zorf>Am I not a man, and a brother?
<tadni>James_Zorf: Do you have a Y? Do you have a sibling?
<artyom-poptsov>James_Zorf: It's always exciting to do new releases, especially when you naively think that you were able to catch most of the bugs.
*tadni loves him some active guile projects.
<James_Zorf>tadni, explain?
<James_Zorf>Ohh, in that way.
<James_Zorf>tadni, it's actually not the Y, it's the SRY.
<James_Zorf>But 'man' in the quote refers to human being.
<James_Zorf>And brother is metaphorical.
<James_Zorf>It's abolishonism propaganda basically.
*tadni is literal.
<tadni>But not literally.
<tadni>wingo: o/
<civodul>Hello Guilers!
<artyom-poptsov>Hi civodul
<tadni>civodul: Hey. o/
<sbidin>Hi, I've started learning Scheme/Guile and have run into a problem. I'm using (system foreign) to call a C procedure. However, it expects a pointer to an int as the input. How can I allocate an int and get its address from within Guile?
<sbidin>Or I suppose I should do that with malloc instead?
<civodul>hey, artyom-poptsov
***jjmarin_ is now known as jjmarin
<nalaginrut>sbidin: I think you may create a large enough bytevector and convert it to pointer
<civodul>sbidin: (let ((bv (make-bytevector (sizeof int)))) (bytevector-...-set! ...) (bytevector->pointer bv))
<sbidin>nalaginrut, civodul: Ah, I missed bytevectors. Thanks!
<sbidin>Is there a commonly-used repository of packages for Guile, like Haskell's Hackage? I've heard talk about a package manager, Guildhall, but that's in limbo?
<taylanub>there's Guildhall and there's Guix (whole OS/package-manager).
<taylanub>not sure how many packages Guildhall has
<taylanub>sbidin: BTW if you do FFI a lot this might help:
<sbidin>taylanub: Ah, so Guildhall works! That's good, though the project doesn't seem to have been updated for more than a year. Thanks for the bytestructures tip, that will be very useful to me.
<taylanub>sbidin: tell me about any issues you have with bytestructures
<sbidin>taylanub: I only just noticed you're the author. :) I'll ping you if I run into any.
<taylanub>I don't have any users so that'll be good :)
<ft>civodul: Thanks for fixing the plural exansion warnings with ‘format’. Works for me. :)
***Shozan is now known as SHODAN
<sbidin>Do Guile users avoid Github because it's not free software? I notice lots of libs are at Gitorious.
***karswell` is now known as karswell
<nalaginrut>sbidin: guildhall works fine, but we may need a site for showing packages
<nalaginrut>sbidin: btw, I'm using github for hacking
<nalaginrut>because github has better society, but I use gitorious for mirror
<sbidin>nalaginrut: Ah, yes, the Gitorious ones often do seem to have Github mirrors (or vice versa), so I probably overreacted. Small sample size.
<sbidin>Does Guildhall have some sort of homepage aside from the one on github?
<sbidin>I'm assuming not.
<nalaginrut>guildhall itself has it, but there's no ;-)
<civodul>ft: cool, you're welcome
<civodul>artyom-poptsov: oh, just saw the Guile-SSH announcement, congrats!
<civodul>sorry i didn't take the time to follow up on the various issues
<taylanub>sbidin: Gitorious is fully free software under the AGPL and yes that factors in on the Guile community from what I've seen
<sneek>So noted.
<taylanub>sneek: gitorious
<sneek>Gitorious is fully free software under the AGPL and yes that factors in on the Guile community from what I've seen
<taylanub>haha, fuzzy nick matching I guess
<taylanub>sneek: forget gitorious
<sneek>Consider it forgotten.
<taylanub>sneek: botsnack :)
<artyom-poptsov>So sneek is presumably an IRC bot. Is it a cunning-bot instance?
<taylanub>sneek: version
<sneek>Sneeky bot running on Guile version 2.0.11 using bobot++ 2.3.0-darcs
<artyom-poptsov>Where's its repository?
<taylanub>don't know
<taylanub>sneek: source
<sneek>source is at
<taylanub>sneek: code
<taylanub>sneek: bobot
<artyom-poptsov>taylanub: I suppose it should have a "help" command or something like this.
<taylanub>indeed, but better do that in a query, outputs a lot of stuff
<artyom-poptsov>Yeah, it does have a "help" command. Just checked.
<artyom-poptsov>civodul: Thanks for congratulations.
***James_Zorf is now known as GodsCountry
***GodsCountry is now known as DrMcKay
***DrMcKay is now known as DrMeredithMcKay
***haroldwu_ is now known as haroldwu
***haroldwu is now known as suckwind
***suckwind is now known as yenshine
***yenshine is now known as haroldwu
***taaz_ is now known as taaz
<daviid>hello guilers. do you guys profile using times or is there something better that i am not [yet] aware ?
<daviid>and in the code?
<ijp>uses statprof under the hood, I think
<daviid>for info:
<daviid>the 'Profiling' entry of the concept index of the guile reference manual [version] points to 'Traps' 6.25.4, I think it should point to 'Profiling commands'
<DeeEff>Hey guilers
<DeeEff>what's the recommended way to install modules using guile? Just a simple makefile using /usr/bin/install ?
<daviid>,profile gives me this
<daviid>Sample count: 123
<daviid>Total time: 2.734684354 seconds (0.106948131 seconds in GC)
<daviid>which does not make sence
<daviid>.time gives me this
<daviid>;; 389.104340s real time, 3.325558s run time. 0.104384s spent in GC.
*daviid needs a lesson on profilig and timing numbers interpretation :)
<Cork>i have a list with an #<unspecified> element
<Cork>is there a way i can remove this from the list?
<Cork>i've tried with delete and delv, but i don't know what to enter to match that element
<ijp>not a question
<Cork>ijp: what do you mean?
<dje42>ISTR the portable way to construct "unspecified" is (if #f foo), e.g., (if #f #f)
<ijp>Cork: that's the predicate that tests for the unspecified object
<ijp>if you are using delete rather than remove, you give it *unspecified* as the object to compare with
<Cork>with stars
<Cork>ijp: thx
<dje42>As in gdb, ,apropos is your friend. :-)