IRC channel logs

2015-08-12.log

back to list of logs

<mark_weaver>daviid: see http://debbugs.gnu.org/ and http://debbugs.gnu.org/server-control.html
<mark_weaver>(for info on how to use the debbugs system)
<daviid>mark_weaver: thanks, will read asap
<mark_weaver>daviid: as for where to install modules, a module (foo bar) should be put in @GUILE_GLOBAL_SITE@/foo/bar.scm
<mark_weaver>actually, I'm not sure what GUILE_GLOBAL_SITE is, I meant GUILE_SITE, which is set by the GUILE_SITE_DIR autoconf macro.
<daviid>yes. I was asking about the content of pkg-config files, I opted for "...module_directory=@GUILE_GLOBAL_SITE@/grip \\n..."
<mark_weaver>(normally something like $prefix/share/guile/site/2.0
<mark_weaver>)
<mark_weaver>daviid: would that end up being something like $prefix/share/guile/site/2.0/grip ?
<daviid>mark_weaver: I wrote my guile.m4 adding this var and a CCACHE 1 as well.
<mark_weaver>there's already a guile.m4 installed by guile.
<daviid>mark_weaver: no, endsup here module_directory=/opt/share/guile/site/grip
<daviid>since it works both 2.0 and 2.2, like g-wrap, gnome-2, cauro ...
<mark_weaver>so, give me an example of a module in there, tell me its absolute file name, and what is its module name?
<daviid>./share/guile/site/grip/push.scm relative to $prefix
<daviid>whixh in my case is /opt
<mark_weaver>and the module name is (grip push) ?
<daviid>yes
<mark_weaver>is this pure scheme code? no C code at all?
<daviid>pure scheme
<mark_weaver>okay, I guess that's fine, as long as the compiled .go files don't end up in there.
<mark_weaver>basically, anything that ends up in guile/site/ needs to really work with multiple versions of guile, and .go files are specific to a particular major+minor version of guile.
<daviid>no, go files land in guile's site cchache, I'm getting good :) at autotool now, my quizz was about the pk-config grip-1.0.pc.in file
<mark_weaver>okay, sounds fine with me.
<daviid>go land here: ./lib/guile/2.0/site-ccache/grip/push.go
<mark_weaver>although Ludovic wants to avoid ever putting anything in guile/site, to the point of not including it in the guile load path in GNU Guix by default.
<mark_weaver>however, I disagree with him on this, and will try to discuss with him when he returns from his vacation
<daviid>here my grip-1.0.pc.in file http://paste.lisp.org/+3AFO
<daviid>mark_weaver: i agree with you too
<mark_weaver>where is GUILE_GLOBAL_SITE coming from?
<daviid>let me paste, I wrote my guile.m4
<mark_weaver>why did you write your own guile.m4 instead of using the one that's installed by guile?
<mark_weaver>(i.e. the guile.m4 in the 'meta' directory of guile sources)
<mark_weaver>(which gets installed in a place where autoconf should normally find it)
<daviid>here is 'my' meta/guile.m4 http://paste.lisp.org/+3AFO/1
<daviid>because guile's meta/guile.m4 miss GUILE_SITE_CCACHE_DIR and i just added GUILE_GLOBAL_SITE_DIR as well
<daviid>so I could refer to them in configure.ac ... and Makefile(s).am ...
<mark_weaver>daviid: hmm. I think GUILE_GLOBAL_SITE_DIR should do about the same job as GUILE_SITE_DIR
<daviid>mark_weaver: the library i'm working is closing, have to leave, bbl. anyway wanted to confirm my grip-1.0.pc.in file, so thanks! bbl maybe later today or tomorrow
<mark_weaver>but I admit that GUILE_SITE_CCACHE_DIR seems to be missing
<mark_weaver>okay, ttyl!
<daviid>ok, we'll improve my draft, have to leave now
<mark_weaver>happy hacking!
<daviid>they're throwing me out :)
<daviid>tx
***GameDev is now known as Guest26798
<Guest26798>Quick question, does anyone know the status of Sly/Guile2D? Is that project dead?
<serhart>Guest26798: I'm pretty sure Sly is still actively being developed
<Guest26798>Thanks, is there a repository somewhere? The old Guile2D page links Gitorious which appears to be dead.
<serhart>I'm not quite sure where the repository is being hosted
<serhart>davexunit would be the person to ask
<adhoc>the repo moved
<Guest26798>alright thanks
<adhoc>git://dthompson.us/sly.git
<adhoc>thats the new git repo
<Guest26798>awesome, thank you
<nalaginrut>morning guilers~
***michel_mno_afk is now known as michel_mno
<nalaginrut>fixed some bugs, now it works fine https://gist.github.com/NalaGinrut/7fdf328fc4c856145ab5
<mouldy>Hey how would I go about getting the arguments given when runing a guile program; i.e when i run guile hello.scm arg1 how do i get arg1.
<ft>Take a look at ‘command-line’
<mouldy>Cool thanks!
<amz3>héllo :)
<amz3>why do people come and go... you can stay people!
<xvx>k
<amz3>what's the plan xvx
<amz3>?
<xvx>probably stay for a while
<amz3>good :)
<xvx>what's the plan amz3
<amz3>well I plan to stay here and I figured that it can be nice to work on wiredtiger properly instead of chasing the dream
<amz3>right away
<xvx>what's the dream amz3
<amz3>I'm talking about https://git.framasoft.org/a-guile-mind/guile-wiredtiger/tree/develop
<amz3>well, I'm waiting that gsoc is completed to work on a P2P app in guile
<xvx>they joined MongoDB
<amz3>yes!! you know them?
<xvx>who
<amz3>wiredtiger! you know wiredtiger!
<amz3>I seem like the lone wiredtiger user of the whole universe
<xvx>i just googled it
<amz3>ah ok
<xvx>never heard of it before
<amz3>you know Oracle Berkeley DB ?
<xvx>i know of it
<amz3>or gnu dbm ?
<xvx>no
<amz3>wiredtiger looks like gnu dbm
<amz3>but has ordered keys (lexicographic order of the byte values)
<amz3>and looks like bsd db
<xvx>when do you think guile emacs will be ready
<amz3>I don't know, I am not in this bussiness
<amz3>wiredtiger could put to good use in guile-emacs
<amz3>xvx: it's packaged for guix IIRC
<amz3>let me check
<amz3>yes it is
<taylanub>long-time lisper/schemer 'forcer' from #emacs lamented that lisps lack simple generic ref/set operations and instead make you type long stuff like (hashtable-set! ...) all the time in code where it's commonplace, so I thought I'd give something like this a spin: https://github.com/TaylanUB/scheme-generic-ref-set
<csed>I just learned that there's an r7rs.
<csed>wouldyoulookatthat
<amz3>forcer?
<taylanub> https://github.com/jorgenschaefer
<dsmith-work>Morning Greetings, Guilers
<dsmith-work>Wow. forcer looks really different. Used to have big hair.
<amz3>I use elpy all the time for python dev, it's awesome
<ArneBab>taylanub: nice! thanks! (I had thought about creating that for quite some time :))
<paroneayea>time to start putting squee to use by combining with activitystuff... gonna write some experiments involving serializing and unserializing from disk :) :)
<davexunit>awesome :)
<paroneayea>jason self courteously gave me a little MUD adventure he put together to test the activitystreams stuff with
<paroneayea>if all goes well
<paroneayea>I'm going to add a vocabulary for multiplayer text adventures :)
<davexunit>:)
<davexunit>sounds fun
<davexunit>guile is an exciting place these days
<amz3>yeah!
<davexunit> https://www.gnu.org/software/guile/docs/master/guile-tut.html/Where-to-find-more-Guile_002fScheme-resources.html#Where-to-find-more-Guile_002fScheme-resources
<davexunit>oof
<amz3>maybe we should start a planet ;)
<amz3>we'd need planet software!
<davexunit>we have sxml to read rss/atom feeds, so writing an aggregator wouldn't be hard.
<paroneayea>curious.
<mark_weaver>bah, a new set of security flaws and fixes for firefox-esr38, and we still have no GNU icecat for esr38, which means now I have to backport those fixes to esr31 :-(
<davexunit>is esr31 no longer supported?
<mark_weaver>oops, wrong channel again
<mark_weaver>davexunit: that seems to be the case
<davexunit>if it makes you feel better, I didn't realize either. ;)
<amz3>what do you think about the planet idea?
<amz3>what do you prefer:
<amz3> sudo-guile.net
<amz3>1) sudo-guile.net
<amz3>2) planet-guile.net
<amz3>3) guile-planet.net
<amz3>?
<mark_weaver>or maybe planet-guile.gnu.org
<mark_weaver>whatever it is, I think that the FSF should own the domain
<davexunit>agree
<amz3>agree
<artyom-poptsov>amz3: Maybe it's a shot in the dark, but probably "guile-prime" sounds iteresting too (as a reference to sci-fi worlds which names end with "Prime" -- e.g.: http://en.memory-alpha.wikia.com/wiki/Talk:Prime_planets)
<amz3>yes, it's better than planet, it will continue on the theme of ice-9
<amz3>at least, I like it
<amz3>what about allowing people to post on the planet/prime
<amz3>without blog?
<amz3>they provide some admin the content of their post and it get posted
<davexunit>amz3: complicated for not much value
<amz3>obviously this must not be done on a regular basis
<davexunit>should be a simple aggregator
<amz3>well maybe you are right
<amz3>ok
<amz3>I think it can help people to start blogging and consider doing more guile. The planet is for regular users of Guile. If some user does something intersting I think it's good to have the opportunity to get her/his article reviewed and published
<amz3>It's also true that people can ask people from prime to publish their article but that is less obvious for a lot of people that "they can ask"
<amz3>anyway I will work on something I keep you up to date
<davexunit>I think you should keep it as simple as possible to start with
<daviid>taylanub: wrt generic set! ,use (oop goops) convert set! to a generic function, fyi
<amz3>what is a generic function?
<amz3>he worked previously at a company I worked for ^^
<amz3>he was dubbed yoda at dotcloud now docker.io
<amz3>(wrong channel obviously)
<daviid>amz3: search the web for "The Common Lisp Object System: An Overview" you'll find lins to a small/short pdf which answers your quizz
<daviid>s/lins/links
<amz3>ty
***michel_mno is now known as michel_mno_afk
<davexunit>anyone else see this tweet from last winter? https://twitter.com/kaz_yos/status/550388355746525184
<davexunit>a nice advertisement for the power of guile
<amz3>ping rekado-
<amz3>sorry rekado-
<amz3>so parsing atom files using match doesn't work
<amz3>I think this statment «matching of SXML elements does not depend on any degree of normalization of the SXML»
<amz3>is not true
<amz3>I'll explain if you want
<amz3>I'm using sxpath instead
<amz3>well, I have another bummer
<amz3>it probably possible to work with the other syntax but with sxpath syntax
<amz3>I can only match the full set of attribute along the "attribute axis
<amz3>"
<amz3>say for instance i have (a (@ (a "a") (b "b")))
<amz3>;; (sxpath '(a (@ (equals? (a "a")))))
<amz3>won't match the above sxml
<amz3>instead of equal? i require something more like "has" (lake of better word)
<amz3>at least that's what I've understood