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

World: r3wp

[!REBOL3-OLD1]

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) ?
Pekr
11-Jan-2009
[9515]
not sure there is sound available in R3 yet ...
Janko
11-Jan-2009
[9516]
if there will be a chance to write bindings for R3 then this shouldn't 
be a problem because people will probably make bindings to various 
sound libs like (I know few that are used in (casual) game engines 
like irrKlang, KSound, SDL mixer, or something.
Pekr
11-Jan-2009
[9517]
... or fmod.org
Janko
11-Jan-2009
[9518]
yes
PeterWood
11-Jan-2009
[9519]
I asked about sound in R3 a few weeks back. The answer was that there 
is no sound support in R3 yet.
Janko
11-Jan-2009
[9520x2]
at sound (to my limited knowledge) there are many solutions but neither 
one is ideal. It's not like software rendering for graphics - where 
you know they will work everywhere. Or even OpenGL (which has problems 
on certain % of windows users because of bad drivers)... there is 
OpenAL but it also won't work on some hardware. Example of this is 
that something as big as Java doesn't have a solid sound library 
that would work in non-signed applets. I wrote a game in processing(java 
lib/lang) but had to rewrite it to java+lwjgl+jopenAL because there 
was no way to make native java play sound consistenty. Basically 
it didn't work on more computers that it did, and processing is very 
media oriented.
media = multimedia