r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3 Schemes] Implementors guide

Andreas
11-Jan-2010
[1070x5]
fine for gui's, yes
shouldn't be bound to guis
R3 actually needs an event loop to work anyway
it's there on win32, not there on linux (yet)
btw, here's the source link to the pop3 seq diagram: http://bit.ly/4q0ADG
Graham
11-Jan-2010
[1075]
One good thing .. on r2 I doubt I could download a 500Mb file using 
ftp .. but I'm nearly there now and the windows task manager is only 
showing 12Mb of ram usage with 0-1 % cpu
Andreas
11-Jan-2010
[1076]
very nice
Graham
11-Jan-2010
[1077]
We need some standard network error handlers too .. like if the password 
is wrong etc.
Andreas
11-Jan-2010
[1078x2]
the other, more traditional approach, would be something around copy/part
(for your data streaming question)
Graham
11-Jan-2010
[1080]
except the r2 ftp scheme doesn't support that ... AFAIK
Andreas
11-Jan-2010
[1081x4]
ftp: open ftp://...
write/append %... copy/part ftp 10240
don't care about R2 :)
(I don't)
wrap a `while [not tail? ftp] [....]` around this
Graham
11-Jan-2010
[1085]
My issue with the schemes is that the interface to them was always 
too restricted ...
Andreas
11-Jan-2010
[1086]
yeah. don't know if that's even possible in R3 at the moment
Graham
11-Jan-2010
[1087]
so we had to hack the schemes to add eg. 'TOP in r2 prot-pop
Andreas
11-Jan-2010
[1088]
i think a COPY actor will be there, but i guess tail? won't
Graham
11-Jan-2010
[1089]
so instead of directly interacting with the scheme, we need an intermediate 
level ...
Andreas
11-Jan-2010
[1090x3]
tough issues
what would you like the error handler to do in case the password 
is wrong?
just raise some standardised error!?
Graham
11-Jan-2010
[1093x3]
yeah ...
I just use Gabriele's http-error ...
but these things should be defined in a common network kit
Andreas
11-Jan-2010
[1096x5]
most definitely, yes
a module
net-tools
or even netkit :)
if R3 modules wouldn't suck so hard :)
Graham
11-Jan-2010
[1101]
640mb iso image downloaded successfuly!
Andreas
11-Jan-2010
[1102x2]
nice
md5sums match :) ?
Graham
11-Jan-2010
[1104]
7zip opens it up ..
Andreas
11-Jan-2010
[1105]
great
Graham
11-Jan-2010
[1106]
Uploaded my latest version which by default downloads ubi.exe which 
is a 1.5mb file ( ubuntu windows installer. )
You can uncomment the 650 mb download if you want to try :)
Andreas
11-Jan-2010
[1107]
we really ned to get rid of those WAITs :)
Graham
11-Jan-2010
[1108]
I haven't done it yet, but if one gets an error code, it should probably 
throw an error.
Andreas
11-Jan-2010
[1109]
or maybe the server is so slow :)
Graham
11-Jan-2010
[1110]
the debian server was really slow ... I had to wait 7 seconds for 
it to respond
Andreas
11-Jan-2010
[1111]
i guess i'll try a local ubuntu mirror
Graham
11-Jan-2010
[1112x2]
but using a timeout for some reason means that it defaults to the 
timeout value ?
so every command uses the timeout .. so don't understand that
Andreas
11-Jan-2010
[1114]
you wait [port timeout] ?
Graham
11-Jan-2010
[1115]
yes
Andreas
11-Jan-2010
[1116]
strange
Graham
11-Jan-2010
[1117]
well try it and you may see it ...
Andreas
11-Jan-2010
[1118x2]
i have a huge wait after SYST
ah, i guess i should try with the win32 r3 instead