IRC channel logs

2015-06-26.log

back to list of logs

<nalaginrut>morning hurders~
***michel_mno_afk is now known as michel_mno
<amz3>héllo
<amz3>the code i sent yesterday, it just... useless it lakes a lot
<amz3>it only works on the example
<amz3>the good thing is that I'm learning to use match. It called destructuring in javascript. It's nice, I likeit
<dsmith-work>Happy Friday, Guilers!!
<wleslie>happy Friday dsmith-work!
<amz3>happy friday :)
<cluck>happy friday :)
***michel_mno is now known as michel_mno_afk
***michel_mno_afk is now known as michel_mno
<amz3>I'm coding something that I did 6 month ago, it looks much nicer
<amz3>match <3
<paron_remote>o/
<paron_remote>live web hacking in guile is niiiice
<paron_remote><3 geiser + guile
<amz3>I'd like to see that :)
<amz3>you use artanis?
<paron_remote>amz3: nope just basic guile builtins for now
<paron_remote>amz3: started with the "web examples" part of the manual and read davexunit's guix-web and haunt stuff as reference
<amz3>ok
<amz3>maybe I should have a look at that
<amz3>I code a template engine using sxml
<amz3>the way it's done in haunt, is not nice I think
<paron_remote>I'm thinking about sxml stuff also
<paron_remote>and comparing to my experience in python with django / jinja2 and etc
<amz3>but right now I hit a wall: how I am supposed to fetch fields from records inside the sxml. Right now I can only "display" values
<paron_remote>not intending to go full template language, I like the sxml building, but there are some nice features about that style template language
<paron_remote>esp the {{ block.super() }} stuff
<amz3>well jinja2 does every kind of text files, sxml doesn only xml based
<amz3>paron_remote: you make me think, I will code that
<amz3>inhertance stuff
<amz3>in principle I could eval the sxml file
<amz3>and it would solve the problem of getting record fields
<paron_remote>it might be fun to write a jinja2 like template language at some point that sits on top of the compiler tower but I think that's not needed here
<paron_remote>amz3: what's your trouble with getting record fields?
<paron_remote>if you just pass your records into functions, you can still (field-getter my-record) right?
<paron_remote>one other nice thing about jinja2 and friends I think is the "global context" for stuff like gettext being supplied to the environement implicitly
<paron_remote>could be done with monads but meh
<paron_remote>I still feel not smart enough for that :)
<amz3>not really, it's not like in haunt, I mapping sxml nodes to procedures manually
<paron_remote>amz3: ah I see
<antoineB`>hello, quick question why do you prefer guile over racket? They seems to compete in the same category (a sheme with a bytecode vm)
***michel_mno is now known as michel_mno_afk
<daviid>antoineB`: http://wingolog.org/archives/2013/01/07/an-opinionated-guide-to-scheme-implementations
<antoineB`>what about you?
<amz3>daviid: I did a fix regarding artanis website, do you have time to test it https://amirouche.github.io/artanis/ ?
<amz3>antoineB`: because it's gnu, because guix, because it's good :)
<daviid>amz3: good. the home page is fine now, tx for him [i was just making this comment to help really] now you/he could try to solve the 'Well formatted & color HTML5 version ' which has the same 'problem'
<amz3>I'll see with Nalaginrut for the manual (I fully understand you want to help)
***karswell` is now known as karswell