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

World: r3wp

[!REBOL3-OLD1]

Pekr
13-Jan-2010
[20802x2]
You were supposed to do the rewamp, no? :-) Now as Graham produces 
schemes, we will be lazy to redo it :-)
I thought it is slow because I run it from USB flash ... I am in 
Hungary on business trip for 3 days .... :-)
BrianH
13-Jan-2010
[20804]
Carl, the design od that was finalized and the work will be done 
this week.
Carl
13-Jan-2010
[20805x4]
Pekr, do you mean rewamp? Are you sure you're not visiting Transylvania?
(Romania)
B: sounds good.
Pekr, seems too slow for USB flash. I think it's on floppy or R/W 
CDROM.
Pekr
13-Jan-2010
[20809]
What do you know about those countries btw? ;-) You were supposed 
to - was to BrianH ... I have some 10-15 sec lag here ...
Carl
13-Jan-2010
[20810]
For those countries, maybe next DevCon?
Pekr
13-Jan-2010
[20811]
both altme and IOS are not designed for USB. Strange, as altme does 
not have much files to read from (in comparison to IOS chat, where 
one msg = 1 file), but slow anyway  ...
BrianH
13-Jan-2010
[20812]
Pekr, I was going to work on the network scheme revamp after that. 
I have to put things I already know how to do first, and there are 
a few LOAD and module changes that have accumulated that I know how 
to do already.
Carl
13-Jan-2010
[20813]
Because they write state variable files constantly for the apps.
Pekr
13-Jan-2010
[20814]
eh, I am out from net in something like 30 minutes. The four star 
hotel charges 15 EUR for 100 minutes of wifi. That is stupid :-) 
When we do wifi, we suggest hotels to provide such service for free.
BrianH
13-Jan-2010
[20815]
I have AltME running on an SD card, so it's even slower, but the 
big problem is the sending lockups and network dropouts. Chat works 
so much better - AltME 3 can't come quickly enough for me.
Graham
13-Jan-2010
[20816]
off topic guys
BrianH
13-Jan-2010
[20817]
Right, thanks.
Graham
13-Jan-2010
[20818x3]
My issue with the r2 schemes is that too much was abstracted so that 
you could not easily do stuff without rewriting the scheme
having simple port abstractions helps the early user but is very 
limiting to experienced users
So, for hylafax which uses the ftp protocol ... I would have to rewrite 
the whole scheme because the ftp scheme assumed the directory listing 
was always in a certain format etc.
BrianH
13-Jan-2010
[20821]
In theory R3 schemes should just handle the protocol overhead and 
provide an abstracted behavior model, then the concrete work should 
be done in the handler or by the port actions.
Graham
13-Jan-2010
[20822x3]
And it uses STAT instead of STOR for uploading files ...
So, the opportunity for code reuse was limited
Anyway, ... we need some decisions made about the base context, network 
tracing etc
BrianH
13-Jan-2010
[20825]
However, FTP directory listings are a different issue, protocol overhead 
that needa a lot of special-case code, as I recall.
Graham
13-Jan-2010
[20826x3]
so I just approached it by supplying a callback to format the directory
What's with the dns:// scheme ?  How do we overwrite the existing 
scheme which doesn't do much ?  We called ours dns2:// pro tem ...
I guess we need to find the existing scheme and set it to the new 
one rather than just adding it ...
Carl
13-Jan-2010
[20829]
Remove it, then re-add it. But, how are you doing DNS? It's a device.
Graham
13-Jan-2010
[20830]
query on port after connect
Carl
13-Jan-2010
[20831]
so, via tcp: ?
Graham
13-Jan-2010
[20832]
yes http://rebol.wik.is/Rebol3/Schemes/Dns
Carl
13-Jan-2010
[20833]
interesting method
Graham
13-Jan-2010
[20834]
That's what 'lookup is used for is it not?
Carl
13-Jan-2010
[20835]
yep
Robert
14-Jan-2010
[20836x2]
R3 request: Please, please, please... .add a good paranthese balance 
problem report. I don't know how often I have searched for a missing 
[ or ] in either source-code or large data-files. Rebol doesn't give 
a good hint where the problem is.
Editors choke on this as well because these are to stupid to skip 
braces in strings. So the balance function is mostly not correctly 
working.
Graham
14-Jan-2010
[20838x2]
Robert I have this issue all the time ...
The easiest way for me to fix it is to use a pretty code tool to 
indent until I see where I'm no longer balanced
Robert
14-Jan-2010
[20840]
Well, but I really don't want to scroll through a 1MB data file getting 
pretty printed... this will be thousands of line long.
Graham
14-Jan-2010
[20841x4]
hehe ...
ftp://ftp.compkarori.com/pub/clean.exe
I just paste functions into the text area and run clean script on 
it ...
because I generally know which function I've been working on ...
Henrik
14-Jan-2010
[20845]
Same question as I asked in the Core group. It would be nicer with 
a REBOL function, so we could build a REBOL based diagnostic tool 
around it. Very handy to build into programs, so they can examine 
damaged datafiles themselves.
Graham
14-Jan-2010
[20846x2]
If you've got a 1mb function .. you're in bigger trouble that this 
tool can help you with ....
clean.exe is just a text area that has clean-script running on  a 
button.
Henrik
14-Jan-2010
[20848x2]
Usually this is not functions, but data files. Yesterday, we encountered 
a datafile with an illegal char in it. Took an hour to find the problem.
and it was a data file that had been MOLD/ALL/FLAT from REBOL and 
then attempted to LOAD/ALL again, which failed.
BrianH
14-Jan-2010
[20850]
Be sure to report the problem, and which char in which type caused 
the problem. In theory, MOLD/all generating an illegal char or non-loadable 
syntax at any point is a bug, and should be reported.
PeterWood
14-Jan-2010
[20851]
Robert & Graham: JEdit does a good job of matching [, { & ( and even 
auotmatically indents and de-indents them for you.