<OrangeShark>is there any reason for `set-pointer-finalizer!` in (system foreign) to not be documented? ***micro` is now known as Guest13099
***micro` is now known as Guest38107
<zv>Hey guys, I'm writing a sexp encoder/decoder and I was wondering if anyone had any resources about canonical encodings of various different datatypes? <zv>i.e a map might be an alist "((a . 1) (b . 2))", an enum might be "((variant . enum_variant) (field0 . 1) (field1 . 2))" <jmd`>When I do (define (x y) y) (define z `( 1 2 ,(y 3))) this works fine. <jmd`>However if I put x into a module and export it and use that module in the one that defines z, then Guile claims that x is not defined. Why is this? <amz3>jmd`: x? that's y that you use in define z <jmd>amz3` Yeah sorry I mean't to type 'x' <jmd>(I found it works if z is a procedure. But not if it's a variable.) ***random-nickname is now known as random-nick
<gracjan>yeah, fridays are better than non-fridays! <gracjan>tuesdays are actually also better than non-tuesdays, in a tuesday sense <jmd>Is the texinfo rendering stuff part of guile itself or a contrib package? <jmd>dsmith-work: Unfortunately I don't have the guile source checked out. <jmd>But as you said "guile sources" then I presume the answer to my question is "yes". <jmd>dsmith-work: Thanks. <dsmith-work>AND it's installed. Some guile stuff is not installed, like the C source snarfer and the testing framework. <gracjan>why does it matter where guile resides? <OrangeShark>gracjan: I think it has to do with these developer preferring the workflow of Github + pull requests over the workflow of using mailing list + patches <amz3`>that's only for growing the hype of github. People love to go big fat and ugly <paroneayea>right now I have <websocket-server> and of course eventually hope to support <websocket-client> <paroneayea>but something I realized in my implementation so far <daviid>paroneayea: 1st, how about <ws-server>, <ws-client>? <paroneayea>but anyway, each server currently handles multiple client connections of course <paroneayea>each one of those needs its own address, in some way <paroneayea>or like, manage a hash table with an id for each connection <paroneayea>since actors are shared nothing, you'd want another actor to be able to say <paroneayea>but do I really want to spawn another actor for each connecting client <paroneayea>certainly not <ws-client>, since you'd want that to be for "writing a client" :) <daviid>paroneayea: but a <ws-client> instance has 'its' connection right? <paroneayea>daviid: if you're talking about "writing a client", of course <daviid>i guess i don't understand you can't do '(handle my-ws-cliet "this message") or alike ..? <daviid>"send something to *THAT* connection" <daviid>the connection is known by the client no? <paroneayea>daviid: okay I'm talking about a few different things, which is part of why I mentioned this and names :) <paroneayea>I'm not even worrying about <ws-client> as in terms of writing a client right now <paroneayea>I'm talking about whether or not <ws-server>, in accepting a new client, creates a new actor for the client connection (from the server side) <daviid>paroneayea: and that is where i get lost, because in my (superficial) understandng of your design, a server handles multiple clients, each client knows its address, no? why another actor level? <paroneayea><mean-enemy> wants to (probably with some abstraction in-between) wants to write to the "connected client" that the character got hit <paroneayea><mean-enemy> (or possibly some proxy which handles the character) doesn't have a direct handle on the connection socket <paroneayea>and it shouldn't be able to write to it directly <paroneayea>that enemy may even be on another process or server <paroneayea>so it needs *some* address to point to the specific client <paroneayea>or it even spawns another actor to handle the connected client, and that's the address used <daviid>paroneayea: if a connected client his an instance, how come tht that instance does not 'know' its socket address, so that the server can send/post to a client, the client resolve the address...? <daviid>sorry, really not my domain though ... <daviid>paroneayea: anyway, the name could be (a-solver> (address solver) ...