<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 ***Fuuzetsu_ is now known as Fuuzetsu
***Fuuzetsu is now known as Guest9947
***Guest9947 is now known as Fuuzetsu`
***Fuuzetsu` is now known as Fuuzetsu
<James_Zorf>nalaginrut, I feel most rejuvenated after just having slept. <nalaginrut> heye artyom-poptsov ! I've already hit it when I get up this morning ;-) <James_Zorf>artyom-poptsov, you never greet me with such enthusiasm, what s up with that? <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. <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? ***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 <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>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? <nalaginrut>guildhall itself has it, but there's no cpan.org ;-) <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>Gitorious is fully free software under the AGPL and yes that factors in on the Guile community from what I've seen <artyom-poptsov>So sneek is presumably an IRC bot. Is it a cunning-bot instance? <sneek>Sneeky bot running on Guile version 2.0.11 using bobot++ 2.3.0-darcs <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 ***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 ? <ijp>uses statprof under the hood, I think <daviid>the 'Profiling' entry of the concept index of the guile reference manual [version 2.0.11.2-0ece4] points to 'Traps' 6.25.4, I think it should point to 'Profiling commands' 4.4.4.5 <DeeEff>what's the recommended way to install modules using guile? Just a simple makefile using /usr/bin/install ? <daviid>Total time: 2.734684354 seconds (0.106948131 seconds in GC) <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 <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 <dje42>As in gdb, ,apropos is your friend. :-)