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

World: r3wp

[!REBOL3-OLD1]

Pekr
19-Aug-2007
[4172]
yes, if BCD in general would be usefull for other things than money 
and bank apps meaning, then it could be the right time to do so. 
I was inspired by dictionary! to map! rename, so it seems the team 
is open to ideas in that regard....
Gabriele
19-Aug-2007
[4173]
yes, but dictionary does not break compatibility, money! would (view 
scripts don't run in r3 but core scripts may run quite well)
Pekr
19-Aug-2007
[4174x2]
I don't agree to that argument though. Even core will change, protocols, 
schemes are different, and btw - what about missing hash? I remember 
using hash, but I never used money! IMO money! is the least used 
datatype in REBOL :-)
but the issue is not really that big, so I can live with money!, 
although it will be kind of weird, if I will use it for weight or 
other unit, when the need of BCD would arise ..... well, maybe I 
will not even need BCD, so .... :-)
btiffin
19-Aug-2007
[4176]
Petr; I use money! all the time with the contruction accounting scripts. 
 Bosses love it, until I have to pummel them for using commas in 
big money! and with construction projects it doesn't take long to 
get to a monkey.
PeterWood
19-Aug-2007
[4177x2]
Gabriele: Why not leave money! just as it is for compatibility for 
the people who want to use it and introduce a Fixed! type. (I didn't 
call it BCD because apparently it isn't). The following behaviour 
(modelled on IBM 360) would be ideal:

>>fixed-dec: 1.98F2
== 1.98
>>type? fixed-dec
== fixed!
>>print fixed-dec
== 1.98
>> probe fixed-dec
== 1.98F2
>>2F2 / 3F2
== 0.66
>>2F2 / 3F2 + 0.005F3
== 0.67
To keep Brian's construction bosses happy you could allow the use 
of  thousand separators eg
>>fixed-dec: 1,000F2
== 1,000.00
Gabriele
20-Aug-2007
[4179x2]
changing how money is implemented does not break compatibility.
also, it's not bcd, but it's not fixed point either. it is 26 decimal 
digits floating point.
Pekr
20-Aug-2007
[4181x2]
why "standard" BCD aproach was not adopted? Is it binary represented 
or not? I mean - can we be sure that some weird rounding will not 
happen, and that the number stays allways the same?
I second fixed! datatype name .... or I propose unit!
Gregg
20-Aug-2007
[4183]
I'm sure there will be notes about why standard BCD was not used.
amacleod
20-Aug-2007
[4184]
vv.v,xc                         ,gbbokgtokio98tttttttttttttttttttttttttttttttttttttttttttttt8oolllllllllllllllk
Kaj
20-Aug-2007
[4185]
Hi Junior! :-)
Pekr
20-Aug-2007
[4186]
:-)
Henrik
20-Aug-2007
[4187]
I see another rebol coder coming up
Kaj
20-Aug-2007
[4188]
Could be a cat in the bag...
Pekr
20-Aug-2007
[4189]
so we'll finally get regular expressions engine in R3 :-)
Gabriele
20-Aug-2007
[4190x2]
petr: because this the current money! format is faster and takes 
less space (you can't pack 26 bcd digits in a rebol value otherwise)
it's still decimal (not binary) so no rounding problems when converting 
from string to internal representation.
Pekr
21-Aug-2007
[4192x4]
When will we be able to comment on new VID? I have found out link 
to docs. But I also don't want to open some discussion here, when 
other ppl might not be informed. The trouble is, that just because 
we are not let in in the early state of development, we might miss 
the influence on what the new VID will all be about ....
And I fear one things - it will all be cooked behind the scenes, 
and we will be presented with result. So far we were told to trust 
what the group comes up with, but I really wonder, what that group 
of 20 or so testers is doing, if docs contain things like using "-" 
char for "no value to change" meaning, instead of none :-)
I read every VID related doc more than 5 times, and I am only slowly 
starting to get the idea behind it :-) So I wonder - is new VID conceptually 
so complicated, or there is still not enough docs to get the idea? 
:-) There are already things I like a lot, but there are also some 
worries, although those migh show as minor. Maybe some better explanation 
(more docs) will help the situation ...
So far the most precise docs in View area are Cyphre's draw docs. 
Well, those are mostly a reference. I also like make-gobs doc.
Henrik
21-Aug-2007
[4196]
The trouble is, that just because we are not let in in the early 
state of development, we might miss the influence on what the new 
VID will all be about ....


Do you really, really want that? The only thing you'll get is "design 
by commitee" and slowing things down.
Pekr
21-Aug-2007
[4197]
whereas nowadays we get "no comment" and similar results ...
Henrik
21-Aug-2007
[4198]
you asked at one point how much the docs correspond to the state 
of VID, and I think they are revealing probably 60-70% of what is 
there now.
Pekr
21-Aug-2007
[4199x2]
From my pov, I can already see some things, which are a bit disappointing. 
I represent userbase as any other potential user. And I can already 
imagine typical answer - "you can create your own GUI after all" 
:-)
my intention is not to harm the design, but have the possibility 
to eventually influence some decisions ....
Henrik
21-Aug-2007
[4201]
having used VID3 for a bit now, I can tell you, it's SO EASY. it's 
amazingly simple, compared to the R2 VID. it's possible to do things 
in 10 lines of code that would require 500 lines of R2 VID code.
Pekr
21-Aug-2007
[4202]
... of course for the good ...
Henrik
21-Aug-2007
[4203]
but it's not done yet, so we'll wait a bit longer with the comments
Pekr
21-Aug-2007
[4204x2]
I hope so, Henrik - I was nicely suprised by make-gobs dialect ...., 
but some minor syntax things look just weird to me :-)
well, I expected that first comes some "basic" architecture design, 
then comes styles. Of course, when we think more complex styles, 
we just may find out, that we need to change a design, that is ok 
....
Henrik
21-Aug-2007
[4206]
make-gob isn't even ready for commenting internally yet. I haven't 
used it, so I don't even know what it can do.
Pekr
21-Aug-2007
[4207x2]
It can help you, the style designer :-)
my concerns are very simple, but concrete. I can not agree e.g., 
how stylize escapes missing arguments, from right to left, that just 
seems crazy :-)
Henrik
21-Aug-2007
[4209x2]
I'm sure we'll get around to those things when they become important.
for now, we'd like to build the house first, before discussing the 
color of the window curtains in the bathroom. :-)
Pekr
21-Aug-2007
[4211x3]
but you should use good stick for your house's brick, or it will 
collapse later :-)
btw - looking at RebGUI docs, and thinking about VID2, I found out, 
that I like keywords very much (effect, font-size .... , on-click 
etc. in RebGUI). I hope that concept lives and is not replaced by 
awful with/options aproach, which burns you deep inside VID internals 
...
rename on-get-value to on-get-default .... When I first saw the two 
- on-get, and on-get-value, I could not find out, what on-get-value 
could be about. Just recently I read doc explaining it in one simple 
sentence. But - I dont want to read docs and I still want to be intuitively 
able to understand the meaning, if possible. And "default" immediatelly 
caught my eye. If you don't believe me, just run "source switch" 
and look what we already use in rebol :-)
Henrik
21-Aug-2007
[4214x2]
but... on-get-value has nothing to do with "defaults"?
besides, I can see from your comments that the look-options system 
hasn't been documented yet.
Pekr
21-Aug-2007
[4216x2]
no? it just return default value you wish to defaultly return, no? 
:-) Sorry for english :-)
as for doc writers:
Henrik
21-Aug-2007
[4218]
no, it returns whatever value you want to return from within the 
face's spec block, when you invoke GET-FACE.
Pekr
21-Aug-2007
[4219x2]
Let's not depreciate my points, if possible. I know that I may be 
harsh, but - I was main collumnist for Amiga Review for 4 years. 
In my past job, my boss used me to write some things for management 
= nice reading, about nothing, but noone dared to say anything against 
it :-) I mean - docs should be kind of smooth reading. What I currently 
think about docs (I already mentioned the good ones) is - they should 
read smoothly. They should not be references, but they should talk 
concepts ....
Currently reading docs (and I know they are supposed to change) is 
like reading a facts ... there is function xy, which does that. But 
the question of novice is - but why?
Henrik
21-Aug-2007
[4221]
we are already internally talking about the shape of the documentation. 
right now, the important thing is that WE HAVE DOCS. that is opposed 
to some R2 docs that are NON-EXISTANT. fixing the flow to make it 
nicely readable comes later. this is just not a priority.