<please_help>How do I go about parsing a struct that contains a union and C++ bools exposed through a C interface? ***karswell` is now known as karswell
<paroneayea>... behaves differently in ice-9 match than in sxml-match <davexunit>in 'match', (litem ...) matches a list and binds the list to 'litem' <paroneayea>davexunit: I've managed to mostly convert activitystuff over to using (ice-9 json), though now I'm wondering if I really need these <as-obj> structs <paroneayea>I could just leave things in that representation <paroneayea>oh well, I'll leave it as is for now, and noodle on it later! <paroneayea>er, just leave things in the json scm representation that (read-json) gives <davexunit>paroneayea: 'sxml-match' uses a completely different, more primitive type of pattern matching syntax. <cky>taylanub: I'm sure I have no feedback regarding your SRFI that others haven't already expressed, but I just wanted to fix one little typo: "a SRFI-17 setter", not "an SRFI-17 setter". (See http://srfi.schemers.org/srfi-faq.html re pronunciation of SRFI.) <cky>(I get that that page itself has references to _both_ "a SRFI" and "an SRFI", and they really need to standardise on the former; maybe I'll submit a pull request.) <paroneayea>ACTION deeply considers going down the rabbit hole of implementing full json-ld for guile... <paroneayea>but it's really a way to make json less ambiguous, add types, etc <adhoc>paroneayea: -LD sounds like a useful thing =) <adhoc>linking documents together ;) <adhoc>i wonder if there will be a way to refer back dead links ;) <adhoc>so a .jsonld file is like an XML scheme/DTD ? <lloda`>please_help: in guile-ploy there's (amend! A data indices ...) that is similar to (array-indexes-set!). But (array-indexes-set!) seems to do sparse indexing while (amend!) does cartesian-product indexing. <lloda`>sparse indexing can be replicated with simple looping, so cartesian-product indexing seems more useful to me, it's what APL does. <nalaginrut>seems partial-continuations can't be used for make-stack... ***michel_mno_afk is now known as michel_mno
***michel_mno is now known as michel_mno_afk
<nalaginrut>well, it's time to try this actor model for a server now... ***michel_mno_afk is now known as michel_mno
<nalaginrut>amz3: it's delimited-continuation, which is the black magic of high concurrent nowadays <amz3>ah yes, I don't know that magic <amz3>Did you see my question on SO ? <amz3>About improved generators? <nalaginrut>I fixed the code, now it looks more like erlang, if you get rid of parens, it's erlang <amz3>yield and send are the thing behind the Python asynchrnous framework <nalaginrut>amz3: just looks like, I don't mean they are same ;-) <nalaginrut>but erlang has serlizable-continuations, which is another thing I have to implement <amz3>You will implement that feature? <amz3>are you planning a making guile a scheme-erlang of some sort <amz3>well, if you want to turn guile in a erlang vm yes :) <nalaginrut>well, I may implement Artanis server core with that erlang syntax, but I hope people use the framework in Scheme way <amz3>serializable continuation is like serializing thread and moving it to another processus or machine right ? <nalaginrut>anyway, it's possible to provide another framework of actor-model in case folks don't need http stuff <amz3>Getting together to get an actor-model that everybody like is hard <amz3>I think dave or paroneayea is working on something like that <nalaginrut>amz3: yes, I think it's very similar to what you said, and it's good for scalable <nalaginrut>amz3: I have to say, it's too easy to implement various actor-model with delimited-continuations and pattern matching <nalaginrut>amz3: the link you provided is implemented with call/cc which is full-continuation <nalaginrut>it's too heavy since we have delimited-continuations <amz3>I asked that question to be able to fiddle myself with delimited continuation <amz3>Now I guess, I only need to have a look at your code ^^ <taylanub>cky: heh, interesting, I'm used to pronouncing the letters individually, but I guess I'll readjust. <nalaginrut>amz3: you know, Schemers always want to write things all by themselves, since almost all the things become easy when you have Scheme, which is a common delusion ;-D <nalaginrut>but now that I've started, I decide to done it ;-) <amz3>it's good that you know that :p <amz3>anyway, I think the truth about this, is that you need to code the thing to really grok it <amz3>at some point, or take another implemenetation and study it <amz3>but I think it's less effective <amz3>Machine Learning art (music and painting) seem the thing of the summer <nalaginrut>amz3: we don't have actor-model in Guile, so Artanis needs it, I'm not going to do redundant work, as you may know, I borrowed guile-json in Artanis <amz3>nalaginrut: anyway I'm good, I'm not here to patronizing people :p <nalaginrut>well, you may say I read erlang and learned its syntax ;-) <amz3>ACTION discovered a new way to build a graphdb using a tuple space, like the one used in datomic! <nalaginrut>amz3: but it's true, I took another implementation and study it ;-) <amz3>I need to finish my SO project before being to start again doing guile, that the main issue <wleslie>carl hewitt tends to use actorscript in personal correspondance these days, I'm guessing he finds that closest to what he conceived the actor model to be ***michel_mno is now known as michel_mno_afk
***michel_mno_afk is now known as michel_mno
***dje is now known as dje42
***michel_mno is now known as michel_mno_afk
<davexunit>although I don't think it's playable on gnu/linux <davexunit>"I’m not sure yet if we are going to migrate to the regular GUI code for upcoming work, or jump all the way to OpenGL so he can learn the joys of “Why is the screen all black?”" <davexunit>paroneayea: "he's already through algebra 2" <daviid>it's being said we should avoid cadr ans friends <daviid>scheme@(guile-user)> (get-children-meta-attachment grid) <daviid>(reduce max 0 (map caddr $7)) [which gives the max width of a grid] <daviid>davexunit: i know match, but in this particular case of map <davexunit>(reduce max 0 (map (match-lambda ((_ _ w _) w)) $7)) <davexunit>yeah, mark_weaver wins this round of code golf <daviid>haha, awesome, and so happy to get better thanks to you guys! <daviid>mark_weaver: i get socket:54:0: In procedure module-lookup: Unbound variable: w <daviid>great! [i could find out by myself, but i was lazy :)] <daviid>this way of writing is really powerful! <daviid>should I say max-col-span, max-cols-span or the same but no hiphen between col and span [english quizz] <daviid>mark_weaver: than you I did think so too, nice to get the confirmation <paroneayea>davexunit: didn't I see you making some sort of syntax like this <paroneayea>which would do (func3 (func2 (func1 "initial_arg")))