IRC channel logs

2017-04-10.log

back to list of logs

<webshinra> #<XXX UNUSED BOOLEAN 0 -- DO NOT USE -- SHOULD NEVER BE SEEN XXX>
<webshinra>oups.
<xvilka>good morning :)
<xvilka>I wonder, if there is something like "slimv" plugin for vim, but for guile?
<xvilka>I gave up rewriting program from owl-lisp to guile. TOO different, mutable tuples, special upcodes to get the reference, etc
<xvilka>:(
<xvilka>too much stuff to rewrite, sadly
<xvilka>*opcodes ofc
<slyfox>is it radamsa by chance? :)
<xvilka>slyfox: yup
<xvilka>slyfox: you know any _other_ software written in owl-lisp? :D
<slyfox>i don't! :)
<xvilka>but anyway, I gave up. Porting it will require rewriting more than 50% of code
<xvilka>easier to write something from scratch
<dsmith>Morning Greetings, Guilers
<wingo>moin
<janneke>hi!
<sneek>Welcome back janneke, you have 1 message.
<sneek>janneke, OriansJ says: You might find this interesting http://codon.com/compilers-for-free
<janneke>ACTION likes that, adding to stack
<Feufochmar>Hello. I have a problem with an http header incorrectly generated by guile 2.0 when sending a request.
<Feufochmar>I made a small example showing the problem here > http://vrac.feuforeve.fr/test.scm.txt
<meena>o/~ hi wingo
<wingo>hi :)
<wingo>sup?
<meena>re https://twitter.com/andywingo/status/851429498251866112 - i built on Ubuntu 16.10 / amd64 with ./autogen.sh && ./configure && make
<wingo>from the 2.2.0 release tarball?
<meena>the results sudo make install into /usr/local -- but /usr/local/bin/guile doesn't contain the (correct?) rpath for /usr/local/bin/libguile*
<meena>wingo: nope, git master
<wingo>cool
<meena>i actually just wanted to report some bug in firefox, but then one thing led to another…
<wingo>:-)
<wingo>& it's not an ldconfig issue then?
<meena>that's a good question, let me reinstall and see
<meena>hrm… i think… maybe… make uninstall might have done a bit too much
<wingo>humm! i hope that doesn't mean that it broke something :/
<meena>it's seems to be recompiling the whole thing
<wingo>i think we don't have any custom uninstall logic, it should be autotools' stuff which works fine afaiu
<meena>but now as root, because i did sudo make uninstall ; sudo make install
<wingo>humm
<meena>never mind, ignore me
<wingo>:)
<meena>wingo: the answer is, yes. i shoulda have run ldconfig
<meena>well, this is embarressing.
<wingo>it's easy to forget
<wingo>especially given the verbosity of things
<meena>and given how it takes some 14 hours for guile to compile itself xD
<wingo>lol yeah
<wingo>tarball builds are faster because they have prebuilt/ but yeah, terrible
<meena>¯\\(o_°)/¯
<meena>so, the other day i tried an old program of mine https://twitter.com/hirojin/status/631512092105932800 which i had written in racket back then, and it just worked™ in guile, but not in Chez Scheme, and i was wondering… why is racket porting to chez?
<wingo>meena: chez is faster :)
<wingo>currently anyway
<wingo>it's also got some interesting language facilities like submodules, etc
<wingo>& it's probably easier to appropriate right now, given that it's a bit orphaned in a way
<wingo>kindof a nice way for chez to live on tbh
<meena>hehe okay, yeah, makes sense (:
<meena>is there any more documentation on how to use these commands? https://www.gnu.org/software/guile/manual/html_node/Help-Commands.html#Help-Commands
<meena>hrm… it appears that ,d only works on … not-builtins?
<meena>oh no, it just returns #f for things that don't really have …inline(?) docs
<dsmith>meena: Hmm. C funcs have the docstrings snarfed at build time and are stuffed into guile-procedures.txt
<dsmith>I think that's modeled after emacs.
<meena>basically, i'm looking for clojure's or pry's source & doc equivalent
<meena>my knowledge of ruby has leaped immensely when i discovered pry
<dsmith>sneek: guile help cons
<sneek>`cons' is a procedure in the (guile) module.
<sneek>- Scheme Procedure: cons x y
<sneek> Return a newly allocated pair whose car is X and whose cdr is Y.
<sneek> The pair is guaranteed to be different (in the sense of `eq?') from
<sneek> every previously existing object.
<dsmith>That's (help cons) IIRC
<dsmith>Yet that doens't seem to work in my 2.2
<meena>dsmith: lol, all i see is `(srfi srfi-1): cons`
<dsmith>Aww.
<dsmith>I think 2.2's help is brokeded
<paroneayea>at one point I think I heard wingo talk about being able to set tracepoints/backtraces automatically from geiser as in "set a trap on this line" or something
<paroneayea>am I remembering right?
<paroneayea>I don't know how to do that
<wingo>hello
<wingo>i think you can do that, i don't remember how tho
<wingo>check geiser manual :)
<paroneayea>I'm looking and not seeing it :)
<paroneayea>feeling a bit self-conscious about just using pk everywhere to debug, and guile having all these nice debugging tools, why am I not using them
<paroneayea>I'm not seeing a way to do it, but maybe it wouldn't be so hard to add?
<amz3`>o/
<handsome_pirate>paroneayea: https://copr.fedorainfracloud.org/coprs/jdulaney/8sync/build/538273/