IRC channel logs

2016-09-16.log

back to list of logs

<paroneayea>wingo: what's the background reasoning in the idea behind blocking on channels' queue being full?
<paroneayea>is that to prevent message pile-up?
<paroneayea>I wonder if it could also accidentally cause locking situations as another tradeoff, I dunno
<paroneayea>wingo: is that inspired by another system's handling of channels?
<paroneayea>I guess I need to think through the implications more
<dsmith-work>Seems similar to the way a pipe behaves
<paroneayea>dsmith-work: ah, is it? I'm embarassingly ignorant in much of this territory, despite trying to help forge ahead in it ;)
<paroneayea>ACTION trying constantly to catch up!
<paroneayea>oh wait
<paroneayea>I see
<paroneayea>right, this is probably fine, it's suspending...
<paroneayea>I think what has me surprised is that in 8sync, either you explicitly suspend and wait for a response, or you send the message, and then queue yourself to be resumed with no attention to the response
<paroneayea>but 8sync's communication across things which "break off" is not as good unless you use the actor model system, which is kind of like a more actor'y version of channels, which are pretty actor'y
<paroneayea>but the "maybe suspend and wait to continue" or "queue yourself to continue immediately" distinction is what's different here
<paroneayea>ACTION finishes reading the Fibers manual
<paroneayea>a fun manual!
<paroneayea>ok, wrapping my head around the difference/similarities between 8sync's design and fibers
<paroneayea>fibers lies somewhere in-between vanilla 8sync and 8sync with actors
<paroneayea>the difference being maybe that each actor kind of has one "channel" in some ways to retrieve messages from, but it doesn't have as much control over when it listens to it... messages are just passed to the actor, then the actor wakes up
<paroneayea>you could implement 8sync style actors on top of fibers, of course...
<paroneayea>but what the implications of that would be, I'm not too sure.
***logicmoo is now known as dmiles
<amz3`>here is the web ui I came up with for my search engine http://hypermove.net/?query=guile
<amz3`>it's verrrrrrrrrry slow
<amz3`>I should switch to the other backend at some point
<amz3`>at least now I know this backend is slow...
<amz3`>there is not much in the database, so outside "guile" as query it won't return anything
<jmd>What is the difference between the procedures "and" and "and=>" ?
<jmd>(persons considering the answer "read the manual" need not respond)
<OrangeShark>jmd and=> applies the first value to the function passed in the second
<OrangeShark>it applies the value if the value is not #f
<OrangeShark>jmd: and the manual should probably have a nice example showing it :P
<jmd>It probably should. But doesn't. (at least not the version I have.) thanks anyway.
<OrangeShark>ya, it doesn't, I should write this down and see if I can add it to the manual
<amz3>!
<OrangeShark>hello amz3
<davexunit>also, 'and=>' is a procedure and 'and' is syntax
<dsmith-work>Happy Friday, Guilers!!
<daviid>happy friday all!
<amz3>happy friday!
<DeeEff[m]>I am working! Sad Friday!
<OrangeShark>happy or sad friday!
<amz3`>tonight is the night!
<amz3`>let's create (a search engine (with a web interface (that is fast)))
<random-nick>but will it have a gopher interface?
<amz3`>nah!
<OrangeShark>emacs interface :)
<amz3`>maybe ;)
<daviid>OT: guile-lib web-pages are generated [from sxml]: now for some reason when I try to visualize doing this 'epiphany index.html', it 'triggers' a Downloads of this page. then I opened it in emacs and tried validate, got this nsgmls -s index.html
<daviid>nsgmls:index.html:1:108:E: could not get "/TR/xhtml1/DTD/xhtml1-strict.dtd" from "www.w3.org" (reason given was "Server Error")
<daviid>anyone knows a bit more then I o this?
<daviid>the sxml template spedifies
<daviid>(define *xhtml-doctype*
<daviid> (string-append
<daviid> "<!DOCTYPE html PUBLIC \\"-//W3C//DTD XHTML 1.0 Strict//EN\\" "
<daviid> "\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\\">\\n"))
<daviid>
<daviid>I'm using epiphany 3.20.3: could it be epiphany?
<daviid>hum: firefox index.html does show the page
<amz3`>fast search engine is fast http://hypermove.net/?query=guile
<avoine>impressive!
<amz3`>it still lakes 1bn pages ;)
<amz3`>or 2
<amz3`>...
<DeeEff[m]>amz3`: what is the search engine for? General search engine a la google?
<avoine>I think it's his web site only