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

World: r3wp

[Core] Discuss core issues

Andreas
14-Jul-2010
[17541]
Brian, you don't have to.
Ladislav
14-Jul-2010
[17542]
(unsupported)
Andreas
14-Jul-2010
[17543]
Report the observed difference and the expectation that this should 
not differ. The rest is up to whoever feels qualified to contribute 
more detailed observations and/or implementing a fix.
BrianH
14-Jul-2010
[17544x2]
Andreas, sorry, CureCode doesn't let you report a platform-specific 
bug without specifying the platform. I can't just say "it's not consistent" 
without it being a useless bug report. We need a report from a person 
who is qualified to make an expert decision.
At the very least, it means that any report I make would have to 
be rewritten (or comments to the same effect) by Ladislav, or someone 
equivalently qualified.
Ladislav
14-Jul-2010
[17546]
I can admit it is a bug, by I cannot really correct it in MS C without 
"too much expense"
Andreas
14-Jul-2010
[17547x2]
http://www.curecode.org/rebol3/ticket.rsp?id=1633
See, that was not so hard to report, was it?
BrianH
14-Jul-2010
[17549]
Just like I have to rewrite all of the bug reports about R3's module 
system before they can be useful. It sucks, but we need an expert.
Andreas
14-Jul-2010
[17550]
Now it is in the system, on those more knowledgeable on the matter 
can refine it.
BrianH
14-Jul-2010
[17551x2]
Ladislav?
What do you mean by "too much expense"?
Ladislav
14-Jul-2010
[17553]
Well, sure, it is a report, but, as I said, I am not going to correct 
it (would be too expensive)
Andreas
14-Jul-2010
[17554]
That's not a problem. If it is not possible to fix, Carl or someone 
else can decide that this behaviour is ok and mark it as won't fix.
Ladislav
14-Jul-2010
[17555x2]
To implement my own formatter, MS disallows me to use the best datatype 
for it
So, I have to use their formatting function, which produces this 
result
BrianH
14-Jul-2010
[17557]
Please put that in a comment of bug#1633 - it might help justify 
not using MS's compiler.
Steeve
14-Jul-2010
[17558x2]
Ladislav, I would like to see how you write that formatter under 
GCC, Is that too much code that you can't show it us ?
If so, forget it
Ladislav
14-Jul-2010
[17560x3]
Hmm, I should not do it, I suppose.
But, the principle is quite simple: multiply the number by a "suitable" 
power of 10 and convert the result to integer. The trouble is, that 
you need to use a high precision multiplication and power.
(which is unsupported in MS compiler)
Steeve
14-Jul-2010
[17563]
You mean, you don't do it using an incremental way, each digit separatly 
?
Ladislav
14-Jul-2010
[17564]
No
BrianH
14-Jul-2010
[17565]
What version of the MS compiler is being used? Can it be upgraded, 
and would that help? Can the Intel compiler be used, or the DMC++?
Ladislav
14-Jul-2010
[17566]
Only "ancient" versions of MS compiler support the extended precision
Andreas
14-Jul-2010
[17567]
GCC should suffice. And as Carl is already using it for the Host 
Kit, it may also be possible.
Gabriele
15-Jul-2010
[17568x4]
Max: this is very funny. normal MOLD, afaik, is only there for backward 
compatibilty. i personally almost always use /all, when i don't use 
it it's because i'm molding something i just loaded or something 
like that, eg. i know that i don't need the /all, bet even if i used 
it it would make no difference at all.
it's very very hard imho to come up with reason NOT to use /all...
if you try to DO a script saved with SAVE/all or MOLD/all, it will 
fail if it contains functions or objects.
 - show me an example.
The primary purpose of SAVE is to save scripts that are to later 
be processed by DO.

 - weird, i always use save and load to save and load data. but, even 
 if that was the case, save/all would work just as well, so this is 
 a silly argument.
Graham
15-Jul-2010
[17572]
Hmm... I recall saving rebol objects with save/all and not being 
able to load them again properly
Gabriele
15-Jul-2010
[17573]
but SAVE is not only for DED, THAT is my point.

 - in that case, SAVE/ALL is *BETTER* than SAVE. there is no argument 
 about that.
Graham
15-Jul-2010
[17574]
some problem with functions inside objects or something
Gabriele
15-Jul-2010
[17575x5]
If you write them out directly in that syntax, you are mixing paradigms.

 - that makes NO sense. I write them directly MANY times because it 
 saves useless evaluation of DATA
Brian: your #[function! ] example is something I have ALWAYS pointed 
out as a bug and you ALWAYS countered by saying it is a "security 
feature" which i still thing is a very stupid thing to do (doing 
that as a "security feature")
SAVE and MOLD are explicitly designed to be newbie-friendly

 - I though Carl had realized, that "newbie-friendly" is the worst 
 thing you can do to a language. I hope others realize this as well, 
 as soon as possible...
Graham: show me ONE example of something you can LOAD but then breaks 
when you SAVE/ALL it back.
SAVE is *not* able to serialize arbitrary REBOL data. that is a known 
problem that Carl did not consider important enough to address, since 
he prefers using dialects to interchange data instead of just moving 
around the internal representation a program may be using.
Ladislav
15-Jul-2010
[17580x2]
User friendliness
 is in the eye of the beholder. I consider this:

>> block: [none #[none] true #[true] 0.1 0.10000000000000002]
>> print mold/all block

[none #[none] true #[true] 0.10000000000000001 0.10000000000000002]
>> print mold block
[none none true true 0.1 0.1]


as a problem for me, trying to give me wrong informations, as well 
a a problem for a beginner, who may not even be able to find out 
the informations he obtained were wrong
CureCode #1634, add a "me too", if you like
Maxim
15-Jul-2010
[17582]
Gabriele, I also always use /ALL, when molding.    as I stated, I 
was playing devil's advocate, in which case I helped improve the 
case for SAVE/ALL being better.


 but I'm not sure its a good thing to break the symmetry between mold/all 
 and save/all.  


IMHO if we change one, we should change both.  IMO this is a better 
solution.


but this doens't change the fact that MOLDing is severely limited 
in many ways.
BrianH
15-Jul-2010
[17583x3]
Gabriele, that "security feature" argument was always more of a "look 
on the bright side" thing, not really countering the argument that 
it may be a bug. However, more functions are usable in R3 after being 
built with #function! ...] than were with R2 - apparently references 
to the "global" environment are bound, and then the function-local 
environment. I have yet to figure out how, but I'm working on it; 
a clue is that there is no real "global" environment. That means 
you lose the security benefits of the non-feature in R3, so enjoy 
the get-path and SELECT security enhancements that more than compensate 
for such things.
Ladislav, you, Gabriele and I are not the kind of users that MOLD 
is trying to be friendly to. Try newbies.
Apparently the particular "global" context bound to serialized functions 
in R3 is the system context, not the user context. Or maybe it's 
the exports context - hard to distinguish them right now, since system 
and exports is currently the same object (it's a work in process). 
So that makes serialized functions minimally useful in R3, instead 
of not useful at all as in R2. Interesting.
Ladislav
15-Jul-2010
[17586x2]
Try newbies

: unless I find out you are right, I do not have any reason to believe 
you (I remember, that I was a newbie once too)
The trouble is, that the situation is worse, as far as I am concerned. 
To me, MOLD is quite "hostile" actually
BrianH
15-Jul-2010
[17588]
You are the type of programmer who will look up the IEEE754 standard 
to determine math behavior, or will write in C if necessary. You 
are not MOLD's target market :)
Ladislav
15-Jul-2010
[17589x2]
Wrong, I *am* MOLD's target market currently, without having any 
other choice: console forces me to read that nonsense
That is why I wrote #1634