• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[!REBOL3] General discussion about REBOL 3

BrianH
19-Jan-2013
[778x4]
And we need to go through the old previously implemented but now 
invalid tickets, to mark them as such so we don't have bad tests 
added for them.
For some of the early tickets, more thought and experience caused 
us to change our minds later on.
We used the "tested" state for confirmed built. The "complete" state 
was supposed to be for when we added a test for it to the standard 
test suite, but we were not as consistent about that.
Graham, was that proposal state change recent? Was it changed to 
"pending"? We've had a bit of a definitional problem with the "built" 
state lately. Until we actually get official builds, with version 
numbers, we don't really have a defined "built" state. We need a 
state for "implemented and accepted as a pull request into Carl's 
repo, but not in an official build yet", but we've just been callung 
that "pending" for short.
Andreas
19-Jan-2013
[782]
I think using "built" to mark things once they get accepted is fine 
(much better than "pending"), but we then lack a state to describe 
things which have been submitted as pull request but have not yet 
been declined or accepted.
Ladislav
19-Jan-2013
[783]
I updated

http://www.rebol.net/wiki/Decimals-64


to reflect the current state of knowledge about molding and loading
BrianH
19-Jan-2013
[784x2]
Yeah, we've been using comments for that.
Andreas, maybe we can use "built" for accepted into the official 
repo, but have one of the "Fixed in" states for that, not giving 
it an actual version number in that field until it's in an official 
build.
Andreas
19-Jan-2013
[786]
yes, that's fine. but it won't give us a "waiting to be accepted" 
state :)
BrianH
19-Jan-2013
[787x2]
And then we can use "pending" for waiting to be accepted.
If you like, I can implement this policy this weekend.
Andreas
19-Jan-2013
[789]
We have only 8 "pending" tickets at the moment.
BrianH
19-Jan-2013
[790]
It wouldn't take much :) And there might be miore tickets that should 
be in that state than are currently marked as such.
Andreas
19-Jan-2013
[791x4]
So yes, I think using "pending" to mark "waiting to be accepted" 
is fine.
No, I mean we have 8 tickets marked pending according to the "old" 
meaning.
So the policy change would not be very invasive.
Ah, those are seem to already be "accepted but not yet released" 
markes. So then that's an even stronger "yes" from me :)
BrianH
19-Jan-2013
[795x2]
For tickets with implementations that have been accepted into Carl's 
r3 master branch, mark the ticket with a Status of "built" and a 
Fixed in of "r3 master".
For stuff that has a pull request that hasn't been accepted yet, 
we can use the "pending" status. Watch out though, since with that 
meaning of "pending" the ticket can now be dismissed at this stage 
(that didn't use to be the case with the old meaning of "pending").
Scot
19-Jan-2013
[797]
Any insights on establishing .r3 file associations on Windows 7? 
 Am I in the correct group for this?
Ladislav
19-Jan-2013
[798x3]
You may want to have a look at


http://www.rebol.net/wiki/INCLUDE_documentation#How_to_add_a_new_association_for_.r_files_in_Windows_Vista.2C_Windows_7_or_Windows_8
(more complicated than for the older Win versions, I admit)
Not exactly answering your question, you would need to check the 
r3_auto_file key in regedit, but the procedure is the same
PeterWood
19-Jan-2013
[801]
Close, but not exact, I would say. Other people take care of r3 code 
as well.

 - As I understand others can only submit pull requests for Carl to 
 accept or reject, at the moment only Carl can commit changes to the 
 github rebol/r3 repository.
Ladislav
19-Jan-2013
[802x2]
Yes, that is correct, but that does not mean everything has to stop 
if Carl stops.
I updated


http://www.rebol.net/wiki/INCLUDE_documentation#How_to_add_a_new_association_for_.r_files_in_Windows_Vista.2C_Windows_7_or_Windows_8
BrianH
19-Jan-2013
[804]
The beauty of using a distributed version control system is that 
we can still work on stuff without really being blocked by Carl stopping.
Ladislav
19-Jan-2013
[805]
Citing from the source of LOAD:

next [
    print "LOAD/next removed. Use TRANSCODE."
    cause-error 'script 'no-refine [load next]
]


As far as I am concerned I find that print annoying (I find the error 
more than sufficient). Are there some people preferring to keep the 
print?
BrianH
19-Jan-2013
[806]
That error is exactly the same one that would be returned if there 
were no /next refinement. The print is only there to help people 
with the transition. If we don't feel that is necessary anymore, 
we should remove the /next option altogether and that entire code 
segment as well.
Ladislav
20-Jan-2013
[807x3]
Correct, I am trying to perfom something like poll. Will duplicate 
the question to the ML for people to be able to let us know what 
their opinion is.
A poll question:


-  I am adjusting Rebol core-tests suite and doing MOLD and MOLD/ALL 
tests for decimals. There is one case I want to mention separately. 
At present it seems that for almost every decimal X the expression

same? x load mold/all x


yields true. The only exception being the "negative zero" case, because 
MOLD currently yields "0.0" when molding "negative zero".

What are your preferences in this respect?
To be understood, my question is whether you prefer

mold/all -0.0

to yield "0.0" or "-0.0"
Andreas
20-Jan-2013
[810]
As `false == same? 0.0 -0.0", I'd prefer mold/all to yield "-0.0".
Ladislav
20-Jan-2013
[811]
OK, counted your vote. I assume that you do not object against

mold -0.0

yielding "-0.0" as well?
Andreas
20-Jan-2013
[812x2]
I have no opinion regarding mold, as I think mold/all should be the 
default.
But yes, if anything, I would prefer MOLD to yield "-0.0" as well.
Ladislav
20-Jan-2013
[814]
(counting as "no objection for the two to behave the same in this 
case")
BrianH
20-Jan-2013
[815]
I would prefer MOLD/all -0.0 to generate "-0.0". As for MOLD, I'm 
on the fence: If the difference between 0.0 and -0.0 is significant 
enough semantically, but not too confusing to the regular programmers 
that MOLD is targeted at, then why not? We definitely don't want 
MOLD and MOLD/all to be the same though, because there are too many 
developers that want to keep the illusion that 0.1 exists. Having 
a display setting to have the interactive console print values with 
MOLD/all instead of MOLD makes sense though.
Andreas
20-Jan-2013
[816x2]
Sorry for starting this, let's not sidetrack this further into a 
discussion of MOLD vs MOLD/all.
(But to clarify a single bit: currently the plan is for MOLD/all 
0.1 to yield "0.1".)
BrianH
20-Jan-2013
[818]
That wouldn't be the whole value.
Andreas
20-Jan-2013
[819]
It is accurate enough, as Ladislav explained before.
Ladislav
20-Jan-2013
[820]
That wouldn't be the whole value.

 - that is actually irrelevant. No software prints "the whole" 0.1000000000000000055511151231257827021181583404541015625, 
 neither I see it as practical
BrianH
20-Jan-2013
[821]
Right, because they print approximate values. If your proposal is 
to change MOLD to generate the smallest value that, while not actually 
being the value in memory, would generate that value in memory as 
a result of the loader trying to approximate what you wrote, then 
I might be OK with that if it can be done efficiently. If it can't 
be done efficiently, I'm OK with doing what all of the other non-scientific 
languages do and just use 15 digits.
Andreas
20-Jan-2013
[822]
That's precisely what Ladislav proposed: "Molding decimal numbers 
'precisely enough'".
Gregg
20-Jan-2013
[823]
R2 says 0.0 and -0.0 are the same, but R3 does not. I replied to 
Lad's googlegroup post that I would prefer "0.0", as evaluating -0.0 
returns 0.0. So, they are equal but not the same under R3. What would 
be a scenario where you would want to maintain the sign?
Andreas
20-Jan-2013
[824]
Evaluating -0.0 yields -0.0. But MOLD is used to format the evaluation 
result, that's what lead you to believe otherwise.
Gregg
20-Jan-2013
[825]
Ahhhh. So, is there every a case where we would want to maintain 
the sign (i.e. because we need the sign itself), or is "-0.0" preferred 
because it is more correct?
GrahamC
20-Jan-2013
[826]
Anyone have a suggestion on how we can get trace/net functionality
Ladislav
20-Jan-2013
[827]
R2 says 0.0 and -0.0 are the same

 - actually, in R2 it is possible to devise a test which would discern 
 -0.0 and 0.0, although SAME? can't discern them