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

World: r3wp

[!REBOL3]

GiuseppeC
3-Nov-2010
[6055]
Also I don't know which complexity is behind this kind of porting. 
Nice to read something about this from the gurus.
nve
6-Nov-2010
[6056]
I think there are 2 ways : make a Jebol like Jython or make REBOL 
work on a JVM like Groovy or Scala. 

Jebol why not but I think there is no professionnal need behind. 
Because REBOL is very lightweight.

But make REBOL work on JVM  is very interesting because in that way 
REBOL could work on any device that has a JVM.

For the futur of REBOL, make it work on Mobile Phone, Tablet PC and 
WebOS is really important !
Sunanda
9-Nov-2010
[6057]
Can a couple of people check this bug on non-Windows platforms, please?
   http://www.curecode.org/rebol3/ticket.rsp?id=1753
Andreas
9-Nov-2010
[6058]
Same problem on Linux:

>> mold tangent 89.99999999999986 
== "399405529304859.^O"
BrianH
9-Nov-2010
[6059]
Looks like a MOLD problem, not a TANGENT problem.
Andreas
9-Nov-2010
[6060]
>> type? tangent 89.99999999999986
== decimal!
BrianH
9-Nov-2010
[6061]
Right. But it's only a problem when it is displayed or molded (regular 
display calls MOLD).
Andreas
9-Nov-2010
[6062]
Yes, this was meant to illustrate that it's very likely some kind 
of MOLD issue.
Sunanda
9-Nov-2010
[6063]
Without the MOLD I see: 
  399405529304859.î

That decimal fraction part appears differently between alpha 110 
and alpha 109...Not tested in older versions.
   399405529304859.?   ;; alpha 109
Oldes
9-Nov-2010
[6064]
>> mold tangent 89.99999999999986
== "399405529304859.$"
GiuseppeC
9-Nov-2010
[6065x2]
I have a question.

Somwhere, between Rebol Wiki and BLOG appeared an article about OBJECT 
creation and what is copied and what is shared.
Do you remember the exact position ?
Don't Mind. I have found the link: http://www.rebol.net/w/index.php?title=Copy_Semantics&redirect=no
Pekr
11-Nov-2010
[6067]
hmm, we are preparing for the beta - finally! Carl is working on 
the Projects/Roadmap site, the list is gone and we will get new one. 
I wonder if we will be able to influence that. My bet is that we 
will kind of rush for beta, so things like tasking will be postponed 
for 3.1 :-)
GrahamC
11-Nov-2010
[6068]
where does it say this?
Pekr
11-Nov-2010
[6069]
http://www.rebol.com/roadmap.html
Robert
11-Nov-2010
[6070]
Expect the community to take over the things it can improve on its 
own.
Pekr
11-Nov-2010
[6071]
Yes, I can fear that "excuses" already, as it happened in the past 
too :-) E.g. tasking being part of host, and hence delegating the 
responsibility to the community, while that thing is absolutly fundamental 
to being designed properly, not just hacked-in ...
Robert
11-Nov-2010
[6072x2]
Excuses

 is the total wrong word and interpretation. We had this topic over-and-over 
 again: A lot say "Rebol is bad because it's not open-source.", well 
 I want to ask: "How many of you have contributed to the parts that 
 you can work on now?"
Taling is easy, doing is hard.
Pekr
11-Nov-2010
[6074]
And doing is different than designing imo, and that is my point - 
some things should still be under the supervision of RT, especially 
things that need to be designed very carefully and precisely. I have 
nothing against various experiments done by the community ....
BrianH
11-Nov-2010
[6075x3]
My list of what needs to be fixed/done before we can consider beta, 
in CureCure tickets: #539 (likely as definitional return), #851, 
#1509, #1515, #1518, #1519, #1520, #1742, #1743, maybe #1744, #1758, 
#1759. Plus all the PROTECT bugs. There isn't a single one of those 
that isn't more important than tasking or a new codec model.
And yes, I even have the numbers memorized. That is how important 
they are.
And now you can add #1760 to that list.
Pekr
11-Nov-2010
[6078]
OK, so will you talk those tickets with Carl? Because - I might surprise 
you, but I prefer consistency and bugs fixed, instead of new features 
added (of course if adding those features later will not break things 
:-)
BrianH
11-Nov-2010
[6079x2]
And #1521 (which is a side-effect of #1509 getting fixed).
I'll try to get in touch with Carl over this.
Ladislav
14-Nov-2010
[6081x2]
This one is a poll question everyone should not have trouble to answer. 
In R2, the USE function initialized the local values to #[unset!] 
for better user protection. In R3 (implementation quirk) the local 
USE variables are initialized to #[none!]. Which alternative do you 
prefer?
I, personally, do not mind much, but, depending on the result of 
this poll, I intend to adjust my policy when judging other cases, 
e.g. new functions, that are not yet implemented.
Henrik
14-Nov-2010
[6083x2]
I think it should be the same, as if you were to use those values 
local to a function. Aren't they set to #[none] there too?
I sometimes have a tendency to write code like:

use [blah] [...body...]

and later move that code to:

func [/local blah] [...body...]

and it would be nice not to have to change the body.
Ladislav
14-Nov-2010
[6085x2]
Aha, OK, so 1 for the current R3 implementation.
thanks
Oldes
14-Nov-2010
[6087x2]
+1 hanrik
(henrik)
Ladislav
14-Nov-2010
[6089]
USE3:USE2 = 2:0
Oldes
14-Nov-2010
[6090]
But I have no problems with #[unset!] as well. But as Henrik says, 
better to be consistent with the function initialization.
Henrik
14-Nov-2010
[6091]
As long as they use the same start value, I'm OK with either #[unset!] 
or #[none].
Ladislav
14-Nov-2010
[6092x2]
they use the same start value

 - so, I understand it, that what you actually want is the consistency 
 between "initialization of function locals" and "initialization of 
 USE locals"
(not minding much what value it actually is)
Henrik
14-Nov-2010
[6094]
yes. the end-goal would be to not need to change the body.
Ladislav
14-Nov-2010
[6095]
thanks, leaving the score as is, but making a note for myself
Anton
14-Nov-2010
[6096]
Good argument, Henrik.

Ladislav, you wrote "the USE function initialized the local values 
to #[unset!] for better user protection."

Better protection than what? Or what is the protection? (Or do you 
just mean USE creating locals is the protection?)
Ladislav
14-Nov-2010
[6097x4]
Sorry, improving the formulation:


In R2, the USE function initialized the local values to #[unset!] 
for better user protection against uninitialized variables (variables 
not initialized by the user).
At least I have been told, that was the main reason for the existence 
of the #[unset!] value
Which means, that a variable being intitialized to #[unset!] behaves 
like being "uninitialized"
I hope it is clear now
Anton
14-Nov-2010
[6101x2]
Aha, that makes sense.
I have a slight preference for unset!, but the consistency argument 
overpowers it.
Ladislav
14-Nov-2010
[6103x2]
Which means, if I understood you well, that your favourite behaviour 
is:

    use [a] [type? get/any 'a] ; == unset!

as well as

    do has [a] [type? get/any 'a] ; == unset!

, the current behaviour

    use [a] [type? get/any 'a] ; == none!

and

    do has [a] [type? get/any 'a] ; == none!

being the second best only?

and

type?
(sorry for the cut'n paste mess at the end)