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

World: r3wp

[!REBOL3]

Kaj
27-Jan-2011
[7349]
The copy/part's are an optimization of Ladislav's original version. 
I'll review the feedback here later
Pekr
31-Jan-2011
[7350]
Wow, some bugfixing after looong months, cool :-)
Henrik
31-Jan-2011
[7351]
>> sort/compare [d a c b] func [x [string!] y [string!]] [probe type? 
x x > y]
word!
word!
word!
word!
word!
word!
word!
== [d c b a]

This is also a problem in R2.
BrianH
31-Jan-2011
[7352x2]
Typespecs ignored: http://issue.cc/r3/1516
Sort not stable in R3: http://issue.cc/r3/1152

Those are the two problems that I know of that affect the above code. 
Did you mean something else?
The second might not affect the code, if the == [d c b a] is not 
an error.
Henrik
31-Jan-2011
[7354]
type specs ignored, is the problem.
BrianH
31-Jan-2011
[7355x2]
Right, [d c b a] is the correct order. Yes, #1516 is a really big 
(security) problem.
Be sure to watch out for this too in R3: http://issue.cc/r3/1100
Henrik
31-Jan-2011
[7357]
Thanks
Mchean
2-Feb-2011
[7358x2]
nothing since Nov?
nothing since Nov?
Henrik
2-Feb-2011
[7360]
bug fixing mode right now, and Carl is looking into encryption and 
SSL.
Pekr
2-Feb-2011
[7361x2]
why SSL and encryption?
Carl should get beta list out, not just choose another priority for 
next 3 months and then disappear again ...
Henrik
2-Feb-2011
[7363]
Because there is a process of determining how it should be done and 
it might make sense to prepare for it now. There are several possibilities 
for implementation.
Maxim
2-Feb-2011
[7364x2]
really, if we have to choose between encryption and threads... there 
is no contest.... all the "usability" stuff we can code as extensions 
and indeed, the cURL binding is a good example of this.


we need threads to be done... they have an over-arching effect on 
every aspect of REBOL... we can't put this off until later... its 
going to change the design of things for sure.  I can't understand 
why Carl is side-stepping this again.
is carl even aware that there is a cURL binding right now and that 
maybe he can skip this for now?
Pekr
2-Feb-2011
[7366]
I don't like the fact that Carl does not discuss the direction (beta 
list) with the group ....
Kaj
2-Feb-2011
[7367]
Carl has handled cURL related bug reports, but chances are he doesn't 
know what it is :-)
Maxim
2-Feb-2011
[7368]
in any case a tool like cURL is always going to be better since its 
being developped using standard tools which evolve and keep pace 
with changing specs and are bug fixed on their own.


I'd rather that we be able to wrap cURL within schemes properly and 
that they be fixed or enhanced to make it happen.

the core already has enough features... we need more architecture 
work and polishing.
Pekr
2-Feb-2011
[7369]
Maxim - I don't necessarily agree. I would not like to see us departure 
from REBOL port model. I still think, that in the long run, protocols 
should be done directly in REBOL.
Henrik
2-Feb-2011
[7370]
We already have a working prototype for a native SSL/TLS implementation.
Pekr
2-Feb-2011
[7371]
Henrik - you mean from R2?
Henrik
2-Feb-2011
[7372x2]
wait... I retract "working". I've not read the code, but Cyphre has 
done it a few days ago.
Pekr, no a new implementation.
Maxim
2-Feb-2011
[7374]
pekr, as I understand it the system right now needs to be updated 
in order to allow external developpers to properly integrate into 
the port/scheme model.


would be nice that this be addressed so that Kaj could have already 
done it.
Kaj
2-Feb-2011
[7375]
Brian tells me it should be possible to wrap cURL's features in R3 
schemes, but I can't make it a priority yet
Pekr
2-Feb-2011
[7376]
I thought so - so it is a RMA stuff. And Carl most probably taking 
an easy route of finish R3? I hope this is not going to be an extension, 
but that encryption ports are part of kernel?
Maxim
2-Feb-2011
[7377]
weren't there some problems with the code that someone trying to 
do their own schemes brought up? can't remember the details.
Kaj
2-Feb-2011
[7378]
Async devices would be very nice to do it properly, though
Pekr
2-Feb-2011
[7379]
Maxim - no, it was just Graham doing port schemes. Carl was supposed 
to revise them for inclusion or something like that. Graham gave 
up, as typically no feedback was received.
Kaj
2-Feb-2011
[7380]
I have doubts that scheme wrappers can support all efficiency tactics 
of cURL, but all REBOL scheme features should at least be possible
Henrik
2-Feb-2011
[7381]
Pekr, I don't know the deep details and I can't access the source 
(SVN trouble), but I can see one of the goals being that some parts 
are logically implemented in REBOL, because that makes them easy 
to maintain, rather than sifting through C code.
Pekr
2-Feb-2011
[7382x2]
But - I am all for architecture related stuff - so e.g. security, 
improving extension mechanism including devices, new streamed codec 
model, threading (not because I think it is important, but because 
I think that it might have some implications on how some underlying 
stuff is organised)
I would really welcome, if Carl would start to communicate, not cutting 
the rest of the community off. Seeing last R3 related blog or Twitter 
message dated back to November really makes bad impression ...
Maxim
2-Feb-2011
[7384]
threading is extremely important in real life apps which require 
performance.
Kaj
2-Feb-2011
[7385x2]
And simple responsiveness
If you have no threading and no async, you can forget multimedia
Maxim
2-Feb-2011
[7387]
exactly  ... and servers too.
Kaj
2-Feb-2011
[7388]
Servers such as Cheyenne can get by with multi-process
Maxim
2-Feb-2011
[7389]
but the real reason threading has to be done is because of the side-effects 
it will have on all the rest.
Kaj
2-Feb-2011
[7390]
Yep
Maxim
2-Feb-2011
[7391]
but threading makes a lot of things on a server possible which cannot 
be done *practically* using multi-process.
Kaj
2-Feb-2011
[7392]
Very high scalability, yes
Maxim
2-Feb-2011
[7393]
read access to shared memory is a big deal in handling sessions for 
example.
Kaj
2-Feb-2011
[7394]
Yes, I will eventually need that for an application server
Maxim
2-Feb-2011
[7395x2]
it also saves on RAM, and I could do multi-processing liquid nodes, 
for example... right now its impossible to do.
or rather currently *unsafe* since the thread model in R3 has some 
limitations.
Henrik
2-Feb-2011
[7397]
I can see that, and I'm not sure when work on threading will start 
or if Carl is studying it behind the scenes. All I can see is that 
many things right now are being handled on RM Asset needs, which 
right now is very focused on bringing certain tools to life. In that, 
there is work on GUI and database connectivity.


The SSL discussion was initially brought up by Cyphre as he talked 
about his prototype (which I now read is in fact done in R2, sorry). 
Carl gladly accepted this and asked for specification on what needs 
to be implemented natively to make it all work.
GiuseppeC
2-Feb-2011
[7398]
Henrik, kust for curiosity. Which database connectivity ?PostgreSQL, 
MySQL ?