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

World: r3wp

[!REBOL3]

Pekr
21-Feb-2010
[982]
words-of, values-of?
Graham
21-Feb-2010
[983]
ok
Pekr
21-Feb-2010
[984x2]
hmm, why does not it work?

>> foreach word words-of system [print get in system word]
core
2.100.97.3.1
7-Feb-2010/4:31:57
** Script error: Windows word is not bound to a context
** Where: print foreach
** Near: print get in system word
would it be possible to iterate foreach upon more than one series? 
:-) something like:


foreach [word value] [words-of system values-of system][print [word 
value]]
Henrik
21-Feb-2010
[986]
print evaluates the word
Pekr
21-Feb-2010
[987]
ah, ok ... print mold does it ...
Steeve
21-Feb-2010
[988x2]
Still no way to serialize vectors as binaries ?
i meant, a fast way...
Pekr
21-Feb-2010
[990]
I think that vectors are still due to be implemented ...
Steeve
21-Feb-2010
[991]
Not finished, and not usable as is, in any case.

While Carl doesn't  really need them in some products, nothing will 
be done.
Until that day, I will continue to ask for them every month :)
Pekr
21-Feb-2010
[992]
they are part of R3 priorities list
Steeve
21-Feb-2010
[993]
FUuuuuuu..... :)
Pekr
21-Feb-2010
[994]
and Carl mentioned them IIRC here one or two weeks ago. Guys want 
images and vectors to work in extensions ...
Graham
21-Feb-2010
[995]
Where is all the test code for r3 ?
Henrik
21-Feb-2010
[996]
that might be in the r3-alpha world or somewhere in r3 chat.
Gregg
21-Feb-2010
[997]
What test code? Henrik and I both did some on R3-alpha, but Carl 
wanted a simple block format, and I don't know where any of that 
is.
Henrik
21-Feb-2010
[998]
I think that is in the r3-alpha world. I remember Carl writing some 
docs around it.
Ladislav
22-Feb-2010
[999]
objects don't have a 'self field in R3

 - interesting, I always thought, that if I hide something, it does 
 not cease to exist...
Paul
22-Feb-2010
[1000x2]
'self is still there.
>> obj: context [a: does [probe self]]
== make object! [
    a: make function! [[][probe self]]
]

>> obj/a
make object! [
    a: make function! [[][probe self]]
]
== make object! [
    a: make function! [[][probe self]]
]
Ladislav
22-Feb-2010
[1002]
yes, Paul, that is what I mean
Steeve
22-Feb-2010
[1003x3]
it's not exactly what Brian said though :)
the FIELD (as an exported property) doesn't exists anymore.

>> in context [] 'self 
== none
Or still private but not public anymore
BrianH
22-Feb-2010
[1006x3]
Yeah, sorry, I was more exact in the comment of the ticket you wrote.
In any case, the code that you have been using to demonstrate your 
complaint (with the exception of Paul's above) is an example of what 
we are trying to avoid people doing. Don't use IN object 'self, it's 
a bad idea. Use BIND?.
So to discourage that behavior, 'self is hidden as-if with PROTECT/hide 
(effectively, not really), blocked from modification as-if with PROTECT 
(effectively, not really), not counted by LENGTH?, not unprotectable 
by UNPROTECT and only referenceable through BIND block! any-object!. 
It is unknown by anyone other than Carl whether the field actually 
exists in the object at all - I would guess that it does, because 
the alternative seems more complex and that's not his style. In any 
case, every reasonable effort has been made to discourage its use 
in any way except in code like Paul demonstrates above. R2's usage 
of the word was a security hole, and unnecessary once we got the 
BIND? function, both in R2 and R3.
Steeve
22-Feb-2010
[1009]
>> context [self: "hello"]
** Script error: cannot set self - it is protected
** Where: make context
** Near: make object! blk

Was possible within R2
BrianH
22-Feb-2010
[1010x3]
And was a security hole. And so is explicitly blocked.
Fortunately there is an alternative to the insecure code that was 
added to R2 later in its life: the BIND? function. It's in R3 as 
well.
The alternative was added later, not the insecurity.
Paul
22-Feb-2010
[1013]
where is query-string at now?  No more system/options/cgi?
Jerry
22-Feb-2010
[1014x2]
Last night, I dreamed that Carl announced in his R3 Blog that A98 
was released. The first thing I did in the morning was to make sure 
it's real. It's not. ... I need to see a shrink, seriously.
I am mentally damaged.
Paul
22-Feb-2010
[1016]
never mind the query-string thing.  I think I got it figured out. 
 Althought RT needs to document this under the R3 wiki section.
Pekr
23-Feb-2010
[1017]
Jerry ... we all wish for things to proceed faster. However, we have 
to wait a bit. Hopefully Carl is doing wildly in the HostKit/Extension 
area, so that guys can proceed with other areas, as GUI for example 
...
Graham
23-Feb-2010
[1018x2]
thought he was working on redoing the r3 docs ...
There's a real paucity of news at present.
Pekr
23-Feb-2010
[1020]
The only news is recent Twitter post: "AltME.com website, DNS, WNS, 
and various other changes quite disruptive today, but should settle 
down soon."
Graham
23-Feb-2010
[1021]
nothing regarding R3 development
Pekr
23-Feb-2010
[1022]
I know ...
GiuseppeC
23-Feb-2010
[1023x2]
2 years ago, in times like this I were really upset: "were are we 
going ?", "when will it be usable ?", "I need it !" ...

Now follow the various REBOL channels with curiosity. I expect nothing. 
When it will be ready I'll be happy and start using it.
(* I follow)
Graham
23-Feb-2010
[1025]
Expect nothing and that's what you'll get
Pekr
23-Feb-2010
[1026]
The truth is, that I was claiming to guys here, that we are at 80% 
of the dev stage, one or more years ago. But we are still there. 
Unless HostKit is released and contains stuff devs need, we can't 
move much forward. I hope we are close to that stage. It is just, 
that we are close to it for several months already :-)
Graham
23-Feb-2010
[1027]
Everyone ( well, perhaps not Henrik ), is on hold ... just waiting.
Pekr
23-Feb-2010
[1028]
But there is still lots of work to do for Core too. E.g. tasking, 
or other stuff listed in priority doc.
GiuseppeC
23-Feb-2010
[1029]
Graham... things go this way on REBOL. We have to wait...
Pekr
23-Feb-2010
[1030]
I am encountering a crash, dunno if easily traceable. I start R3, 
type-in "chat". Then I quit the chat by "q", then I type "demo" .... 
and R3 crashes ...
Oldes
23-Feb-2010
[1031]
I'm not on hold. I'm just using only R2 regulary.