AltME: R3 Protocols
Messages
Wednesday 5th June, 2013
Rebolek
20:46
Also, changing the READ code to:
read [
print ["Read" length? event/port/data "bytes"]
true
]
does nothing. It still waits until timeout.
GrahamC
20:47
the http protocol uses two event engines .. it's complicated
20:47
Does it print any data?
Rebolek
20:47
yes, it prints instantly and then waits 10 seconds.
GrahamC
20:48
change that to . return true and not just true
20:48
you still have false at the end of your loop
Rebolek
20:49
Wow!
20:49
Oh, I see...
20:49
Thanks, Graham!
GrahamC
20:49
Or, restructure your loop the same way as I did
20:49
NP .. still waiting on text-table and text-list fixes :)
Rebolek
20:51
I know, I''m sorry...I'm spending too much time with Redis ;)
20:52
Bt with async (almost) working I guess I can move from it for some time and fix the styles :)
GrahamC
20:52
Anyway, I thought I explained this in my tutorial .. I need to look again to see what I wrote
20:52
in case it's not clear enough
Rebolek
20:52
Is there some new version? I remember there was only SYNC-WRITE.
GrahamC
20:53
https://github.com/gchiu/Rebol3/blob/master/protocols/prot-demo.r#L56
should be 'closed and not 'ready
20:53
No new tutorial yet .. there was an attempt to expand it .. but that has stagnated
20:54
always a problem with committee approach lol
Rebolek
20:59
Hm, the simple example works, but trying to put it in scheme does nothing yet...
GrahamC
21:02
is your redis:// on github yet?
Last message posted 486 weeks ago.