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

World: r3wp

[!REBOL3]

Ladislav
26-Oct-2010
[5725x4]
Hmm, that reason is not relevant, as far as I can tell. Example: 
IEEE754 standards define comparisons, but REBOL uses a different 
approach.
So, REBOL is not "coded to standards", rather it uses the available 
features of the hardware.
In my opinion, the exclusion of infinities from the decimal! datatype 
was intended, exactly because REBOL was not "coded to standards". 
(I may be wrong, not being Carl, though)
In general, the usage of infinities in programming languages is not 
required by any standards, as far as I can tell. In my opinion, it 
is only "supported".
Sunanda
26-Oct-2010
[5729]
REBOL clearly uses parts of the standard -- raising errors! rather 
than returning NANs or INFs is generally a useful approach for most 
programmers.

But, given it (now) partially implements INFs, some clarity about 
what parts (and why) would be useful too.
Ladislav
26-Oct-2010
[5730]
Well, I feel it may be the other way around - when not wanting to 
write much code, it is easier to have INFs than not. The removal 
of INFs requires to take care of all the exceptions.
Cyphre
26-Oct-2010
[5731]
Pekr, Andreas, ChristianE and anyon who is interested...I published 
win console R3core version that should show correctly ut8 characters. 
IF you can try to dsiplay your native language chars just download 
it from here: http://cyphre.mysteria.cz/tests/r3-core-a107-console.zip
and let me know if it works for you.

Note that this version doesn't work well with STDIN/OUT redirection 
yet. I didn't want to waste time on this part yet until the normal 
console STDIN/OUT works well.
ChristianE
26-Oct-2010
[5732]
Cyphre, this looks like a nice acomplishment. Those aren't exactly 
letters from my native language's alphabet, but your console nicely 
prints  

>> print to string! #{e282acc2aec3a4c59fc691cea3ceaecfae}


when startet in a cmd.exe console reusing that as well as opening 
it's own console if double clicked from desktop.
Andreas
26-Oct-2010
[5733x5]
Cyphre, does it allow you to input "special" characters as well?
Yes, seems it does.
And it launches nicely from both a pre-existing console as well as 
from the explorer.
Very nice, Cyphre!
(Ah yes, console not GUI build, so that last part is for free :)
Pekr
26-Oct-2010
[5738]
ok, what about having console (not GUI) build of R3, and loading 
View extension? Could it work?
Andreas
26-Oct-2010
[5739x2]
sure, it does work already.
if you remember my console build you downloaded earlier :)
Pekr
26-Oct-2010
[5741x2]
yes ... that is why I am confused, because there was a saying, that 
under Windows, you can't have both worlds - console, and GUI app 
in one, and that e.g. even python uses two separate executables ...
Very good work. I confirm that under Vista (32 bit) it works well 
so far. Both from the icon, and from the cmd console. I don't even 
have to change fonts ...
Henrik
26-Oct-2010
[5743x2]
I'm not sure what chars to expect from the above test string, but 
it doesn't work for me.
That is, I get ?? along with a few other chars that I'm not sure 
are outside the ascii range.
Pekr
26-Oct-2010
[5745]
I get "?Ra(with umlaut)s(with hook under it)???"
Henrik
26-Oct-2010
[5746x3]
I get a plain "?(registered trademark)(a with umlaut)s(integral sign)S??"
um... what page do people get with www.rebol.com?
ah, nevermind. seems to be a DNS issue.
Sunanda
26-Oct-2010
[5749x2]
Carl asking for comments (it's a Curecode, not the usual blog RFC, 
so might get overlooked):
   http://www.curecode.org/rebol3/ticket.rsp?id=1719&cursor=1
DNS problem:
   http://www.rebol.com/article/0493.html
Maxim
26-Oct-2010
[5751]
we can't comment its reviewed... but I would call it  diff   not 
compare.


since if they are equal it would return none, its a much better word 
than compare.
Oldes
26-Oct-2010
[5752]
you can comment, just must be logged in.
BrianH
26-Oct-2010
[5753]
Agreed, Maxim.
Maxim
26-Oct-2010
[5754]
yeah... just added a simple comment which makes it obvious that diff 
is a better name.
BrianH
26-Oct-2010
[5755]
Look at 1718 and 1720 too.
Maxim
26-Oct-2010
[5756x2]
commented 1720
1718 looks good to me.. though the name is hard to map to the effect 
it has... I didn't find a better one.
BrianH
26-Oct-2010
[5758]
I think FORFIND was one (worse, and by me) suggestion, when Carl 
brought this up in a blog last year.
Maxim
26-Oct-2010
[5759]
I just had a flash!!!

when data value [  do something  ]
BrianH
26-Oct-2010
[5760]
Nothing particularly loop-y or sequency about WHEN, not like *ALL.
GrahamC
26-Oct-2010
[5761x3]
we already have difference
I have suggest 'diverge?
ed
Maxim
26-Oct-2010
[5764x2]
not difference.... diff.
actually difference could handle series .  right now its not used 
on series... or is it?
BrianH
26-Oct-2010
[5766]
It is, and differently.
GrahamC
26-Oct-2010
[5767]
that's the point .. we already have difference .. so we should choose 
a different word
BrianH
26-Oct-2010
[5768]
It treats the series like sets. One of the group with UNIQUE.
GrahamC
26-Oct-2010
[5769]
and a diff should really show all points of difference
BrianH
26-Oct-2010
[5770]
Divergence ?
GrahamC
26-Oct-2010
[5771x2]
so using 'diff implies more than one gets
( does 3 more characters add much ? )
BrianH
26-Oct-2010
[5773]
It adds the right part of speech. Grammatical correctness.
GrahamC
26-Oct-2010
[5774]
if not diverge? seriesa seriesb [ print "they're equal mate!" ]