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

World: r3wp

[!REBOL3-OLD1]

BrianH
9-Jan-2009
[9465]
You might be shocked how much effort it takes to keep REBOL simple 
:)
Steeve
9-Jan-2009
[9466]
(btw for the others, the notepad editor is a joke)
BrianH
9-Jan-2009
[9467x2]
Well, you got me - I hadn't used the internal editor in years, so 
I just took your word for it :)
Though I should have realized when you said launch instead of call.
Steeve
9-Jan-2009
[9469]
and with no parameters too, y
BrianH
9-Jan-2009
[9470]
I'm still waiting on an answer about that INSERT of unset! values 
change in the 2.7 series...
Steeve
9-Jan-2009
[9471]
what should be the usage of unset! values in series ?
BrianH
9-Jan-2009
[9472]
I don't know. I know that if you need to have an unset! vale in a 
series, not being able to insert one would be a hassle. I just don't 
like the wrapper code  that it requires sometimes (as in that MAP 
discussion).
Steeve
9-Jan-2009
[9473]
you can insert unset! as a word , it's enough
BrianH
9-Jan-2009
[9474]
Then it is a word, or perhaps a datatype. Sometimes you really need 
an unset! value - like if you *want* an error on eval.
Steeve
9-Jan-2009
[9475]
in many scripts i use unset! values to compose optionnals data (like 
in to a draw block).
>> compose [ a b 1 (opt1) 2 c x (opt1)]
with opt as empty blocks ot containing optionnal values
BrianH
9-Jan-2009
[9476]
That's nice, I agree :)
Steeve
9-Jan-2009
[9477]
so it's a problem
BrianH
9-Jan-2009
[9478]
If you compose an unset value, it still doesn't insert it.
Steeve
9-Jan-2009
[9479x4]
ah !?
right !
but not for reduce [()]
it's inconsistent
IMHO
BrianH
9-Jan-2009
[9483x2]
Right, it's supposed to be - that's why there are  two functions.
In 2.7.6:
>> compose [a b c (()) d]
== [a b c d]
>> compose [a b c (#[unset!]) d]
== [a b c d]
>> compose [a b c ([#[unset!]]) d]
== [a b c unset d]
Steeve
9-Jan-2009
[9485]
>> compose [a b c (reduce[()]) d]
== [a b c unset! d]
BrianH
9-Jan-2009
[9486]
Yeah, I just tested that in R3 too. Note that unset! values mold 
differently in R3. The serialized constructor doesn't work yet either.
Gabriele
9-Jan-2009
[9487]
Brian, the change in INSERT .. unset! may have been requested by 
Ladislav, but I don't really remember. I suspect it was intentional.
Maxim
9-Jan-2009
[9488x4]
is there a newer meaner version of protect?
one that CANT be unprotected?
cause right now, we can't ensure a word is never replaced by a malicious 
piece of code.
For example, I'd add quite a few protects in my user.r to ensure, 
no application tries to replace how LOAD and SAVE function...
BrianH
9-Jan-2009
[9492]
Not yet. Modules are what is going to protect against malicious code, 
in theory.
Maxim
9-Jan-2009
[9493x4]
but what about the actual global words....
I want to be able to protect many core words.
or rather, I'd like for those words to be protected, for my clients 
sake.
for example.
BrianH
9-Jan-2009
[9497]
Once modules are implemented there will be no global words.
Maxim
9-Jan-2009
[9498]
ok then, I'll keep my question for that phase then  :-)
BrianH
9-Jan-2009
[9499x3]
Please ask them then!
Here's my favorite new REBOL 3 function: WHY?

>> 1 / 0
** Math error: Attempt to divide by zero
** Where: /
** Near: / 0

** Note: use WHY? for more about this error

>> why?
Opening web browser...
WHY? takes you to the DocBase page for that error.
Henrik
10-Jan-2009
[9502]
AmigaOS has a similar command. :-)
btiffin
10-Jan-2009
[9503]
It just hit me.  You know ... REBOL is actually kinda cool.  We should 
check it out.

Or do I mean  Go rebols GO!  Woohoo!
Henrik
10-Jan-2009
[9504]
R3 is getting a much nicer startup screen, as you've seen in the 
screenshots. I think that part of R3 is going to be a big thing for 
the coming public alpha.
btiffin
10-Jan-2009
[9505x2]
Marshall McLuhan meet Carl Sassenrath
The medium is the message and the message is sweet.
[unknown: 5]
10-Jan-2009
[9507]
what screen shots?
Pekr
10-Jan-2009
[9508]
http://rebol.hmkdesign.dk/files/r3/gui/... but Henrik's site is 
not running now ...
[unknown: 5]
10-Jan-2009
[9509]
thanks Pekr. I'll try it later.
Henrik
10-Jan-2009
[9510x2]
It should be running now.
Site is currently on my laptop and is sometimes disconnected.
[unknown: 5]
10-Jan-2009
[9512]
wow it is looking nice.
NickA
10-Jan-2009
[9513]
Animated widgets - great!
Steeve
11-Jan-2009
[9514]
what about sound ports in R3 ?
have we the same bugs (unable to do streaming in real time) ?