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

World: r3wp

[!REBOL3-OLD1]

Maxim
2-Jun-2009
[14874]
its an object within an object, so I am thinking it has something 
to do with binding.
Carl
2-Jun-2009
[14875x2]
Maxim: ah good, I look foward to seeing the problem.
BTW, there is a bug in objects related to a copy loop if the object 
references itself (directly or via a block).
BrianH
2-Jun-2009
[14877]
Is that  new?
Maxim
2-Jun-2009
[14878]
I can't wait to convert liquid  to a datatype, its going to be soooo 
much more sexy, and easy for everyone to "get".
Carl
2-Jun-2009
[14879]
No, it's in the bug db, but under an odd ticket title.
Maxim
2-Jun-2009
[14880]
the only thing is that the inner object (the shared class) gets a 
reference to the outer object (the instance) as its first parameter, 
just like the R2 face/feel
Pekr
2-Jun-2009
[14881]
Maxim - so you are the second one to BrianH waiting for user-types 
:-)
Maxim
2-Jun-2009
[14882x2]
I've been waiting for user types since core beta  ;-)
thats core v1 :-)
BrianH
2-Jun-2009
[14884]
I'm OK with coming in second here, as long as user-defined types 
can include function types :)
Pekr
2-Jun-2009
[14885x2]
Carl - maybe we could just rename May plan to the June one? It came 
late and imo if you were supposed to write new one, it would not 
be much different, or would it?
Maxim - you are so long here remembering R1? :-)
Carl
2-Jun-2009
[14887]
reduci: func ["Example of reduce using DO/next" blk] [
	out: make block! 3
	forskip blk 0 [append/only out do/next blk 'blk]
	out
]
BrianH
2-Jun-2009
[14888x2]
Please, a new June plan that also recaps the May accomplishments 
:)
Maxim, I haven't been here that long - just got here for the release 
of R2, though I did use R1 for one project.
Maxim
2-Jun-2009
[14890]
I remember eagerly waiting for view  :-)
BrianH
2-Jun-2009
[14891]
The View alpha/beta list was fun :)
Pekr
2-Jun-2009
[14892x2]
It was called Ally, and I still have it archived :-)
Sterling Newton, Jeff Kreis, Holger Kruse, Jim Goodnow - RT was big 
company back then :-)
Maxim
2-Jun-2009
[14894]
the thing I miss most is reading about REBOL on every tech news site 
on the net every other week.
Pekr
2-Jun-2009
[14895]
well, we are so small, that we don't even update rebolweek properly. 
It will be more difficult to get noticed once again, as we missed 
some momentum, but it can be done. Done by example, by some work 
- e.g. posting news to OSNews.com etc., or wrapping something like 
Google Wave, showing the world JS UI is still slow crap :-)
Maxim
2-Jun-2009
[14896]
and the helpfull and always generous support that Bo would give out
Pekr
2-Jun-2009
[14897]
Shouldn't do/next not allocating new block be called do/next/into 
instead of coming with other tricks?
BrianH
2-Jun-2009
[14898x3]
No, the /into option doesn't work like that. The /next word could 
be named cont, since it is a kind of continuation :)
I would really rather have the non-block-allocating DO/next, even 
if it isn't consistent with LOAD/next or TRANSCODE/next. DO of block 
is lower-level than those two, in terms of overhead.
However, if we want to change LOAD/next to match it's an easy fix.
Chris
2-Jun-2009
[14901]
'do/next - I use it in a function as a subverted version of 'case. 
 Perhaps if that's a bad function, there is an alternate way to implement 
it?
BrianH
2-Jun-2009
[14902x2]
We are implementing it in the alternate way already :)
Oh, you meant your subverted (?) CASE, not DO/next. CASE itself is 
very good, and we use it extensively.
shadwolf
2-Jun-2009
[14904x5]
rebol/next ?
Carl > Have you seen wave.google.com ? 

why isn't that kind of project  made with  Rebol ?
 

I mean most of the technologies involved in wave could be done using 
rebol and even in a better way if  instead of jave/python xml and 
html you can design a wave oriented dialect . Your clever than me 
so I think you already got the point.
next ask is do you think  somthing like colaborative "at the same 
time" could be possible to do with R3  for example hum lets be crazy 
in futur viva-rebol IDE offers a way to make several ppl working 
on the same project at the same time use the viva-rebol IDE and sharing 
in real time information
for example you and me works on the same file at the same time using 
viva-rebol ide and you fill a part of the file i fill another part 
of the file and we both see in real time what the other is doing. 

(for example you do the parse parse rules and i write the GUI  of 
an applicaton things like that)
well that's not a new thing Moon edit propose that kind of collaboration 
real time since some years already. what i like in wave is the modular 
aspect  you are not limited to a conversation you can create  "wavelets" 
to anykind of  use and extrapolating that system to the already existing 
rebol tools (rebol.org, view/desktop, ios etc...) would be really 
a big thing
Chris
2-Jun-2009
[14909x3]
B: does block if case is false.  Sort of like 'all, but with a reason 
for each failing case (provisionally called 'assert-all):

either assert-all [
	case-a [raise "Case A failed"]
	case-b [raise "Case B failed"]
	0 < 1 [raise "Something is very wrong"]
][
	print "Both Cases were true!"
][
	probe raised-val
]


Makes more sense when each case is dependent on the previous one, 
for validating input, etc.
All cases were true!
 - I added one : )
Might be easier to do with parens instead of do/next, but the case-like 
construct is more readable...
BrianH
3-Jun-2009
[14912]
Take a look at the ASSERT function in R3 - it might do what you need 
faster and safer. Or it might be off-topic :(
Chris
3-Jun-2009
[14913]
Never mind, I read a point above incorrectly.
Pekr
3-Jun-2009
[14914]
Another attempt (I don't give up yet :-) - has anyone problem, if 
money! datatype would be renamed to unit! datatype? I think "money" 
is really a bad name for something being more general and precise...
Henrik
3-Jun-2009
[14915]
Yes, I have a problem with it, due not being able to identify money 
during parsing, if we lose it. I think there should be more focus 
on having a generic BCD number type. As money is now, I think it 
should be left alone, but add other datatypes that are more appropriate 
to specific jobs.
Pekr
3-Jun-2009
[14916x2]
Some ppl still confuse what I am proposing. The same goes for Carl. 
I don't want to remove anything. I just want to change the really 
bad name. I refuse to accept the fact, that such general mechanism 
as BCD is linked to as ugly name as money! is. So what I want is 
- either another general BCD datatype, or - rename money! to unit! 
and it could work that way:

g$100
v$100
km$100
USD$100
Of course I am not sure it is flexible enough, as how would I express 
e.g. km/h?
BrianH
3-Jun-2009
[14918]
Calling it "money" makes sense when you consider that the only available 
character for the literal representation is $.
Henrik
3-Jun-2009
[14919]
renaming it sounds very much like removing it.
Pekr
3-Jun-2009
[14920]
I have to be really stupid, or I really can't understand, how renaming 
something = removing something? So are we going to remove 'map, just 
because we are going to rename it to 'map-each?
Henrik
3-Jun-2009
[14921]
also tieing a unit to a number directly might limit the applicability 
of unit calculations as used in physics and symbolic math.
BrianH
3-Jun-2009
[14922]
I don't want to call it "unit!" because the type would be really 
poor for that, and we don't want to reserve the word "unit" for a 
poor implementation of the idea, especially when we have user-defined 
datatypes.
Pekr
3-Jun-2009
[14923]
BrianH: then think of $ as a sign of measure (that was another name 
for money, but unit is shorter and more to the point). Why is file 
represented by % sign then? It has nothing in common with percentage 
= $ has nothing in common with money. Maybe in US.