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

World: r3wp

[!REBOL3-OLD1]

Henrik
25-May-2006
[1046]
pekr, I may have a closer look at horizonal scrolling soon, because 
I need list-view now for tables with 30-40 columns
Pekr
25-May-2006
[1047]
:-) cool ...
Geomol
25-May-2006
[1048x2]
Would it make sense to use words in tuples? Like:
a: 4
1.2.3.a
The tuple should then reduce to 1.2.3.4
Or is that crazy?
If it means, that tuples will be slow, then I'm against it.
Henrik
25-May-2006
[1050]
>> a: 1 b: 2 c: 3
== 3
>> to-tuple reduce [a b c]
== 1.2.3
Cyphre
25-May-2006
[1051]
I gues this would slow down tuple!s
Henrik
25-May-2006
[1052x2]
I noticed that tuples can be used for simple math operations on multiple 
values. I think it would be nice to expand that to blocks.
2.3.4 * 5 = 10.15.20

I'd like to see: [2 3 4 5 6 7] * 5 = [10 15 20 25 30 35]
Geomol
25-May-2006
[1054]
Uhhh, parallel vector processing! If you get that working and can 
use the hardware to do the actual calculations, then you'll get lots 
of speed!
Pekr
25-May-2006
[1055]
interesting discussion regarding modules starts, and some points 
are raised, mainly because of security.
BrianH
26-May-2006
[1056]
Geomol, tuples are currently an immediate value like an integer, 
rather than a block-like value. This is why they are fast.
Geomol
26-May-2006
[1057]
Yes, I realize that. It was just a crazy idea, that would make it 
easier to work with colour values. But we better keep tuples the 
way, they are. Fast!
BrianH
5-Jun-2006
[1058x2]
Something to consider for REBOL 3: The current implementation strategy 
for symbols in REBOL has significant limits to the possible number 
of symbols available at one time. It might be a good idea to try 
a red-black tree for symbols instead - newLISP uses that strategy 
and can handle millions of unique symbols efficiently.
I'm just putting the idea out there - I'm not familiar enough with 
red-black trees to know whether they would be possible to use in 
this case, just that another language with similar implementation 
size uses them and it works for that language.
Anton
6-Jun-2006
[1060x2]
Any news on user datatypes ? I've just realised they would be very 
useful to me to implement an interpreter.
Just wondering if it would be possible for richtext command sequences 
to also fit into a word!, so symbols can have their own colour and 
font when molded into a richtext field. eg:
	word: to-word "/bPhrase"
Now when I mold word I see it rendered with bold text.

My concern is just to make sure that all the command sequences (like 
/b in the example) are allowed in a word!, and possibly also still 
allow  loading as a word! directly. eg:
	type? load "&bPhrase" ;== word!
(assuming the richtext escape character is & )

This could mean an editor could render symbols with their formatting, 
for instance. (I'm also thinking of implementing an interpreter within 
rebol).
Pekr
7-Jun-2006
[1062x4]
for R3 View group. I just did my homework, trying to get PythonCard 
working. It seems to me Python plus PythonCard is not enough, so 
I needed wxPython - total install is 55MB :-)
but that is not the point. I just first could not follow, how they 
work with widgets, and then I found out - they have separated code 
and widget definitions. At first it looks strange .... it is like 
having 'feel(s) , event maintanance, app logic, without seeing what 
actually you are working with. But I do understand, why they keep 
widget defs outside in external file, which is kind of simple (as 
VID is), with static positioning - it is very easy to import to visual 
GUI builder ....
so just for the sake of inspiration, to think about - can you imagine 
having screen painter, taking your layout block, and enabling you 
to change the postions/size etc. params for our widgets, without 
actually being dependant upon running the app with live data?
btw - how do we refer to instantiated style - still a 'style? Or 
will we adapt widget name too?
Henrik
7-Jun-2006
[1066]
you mean using the layout as kind of a "dead skeleton"?
Pekr
7-Jun-2006
[1067x3]
yes ....
they have e.g.:
{'type':'TextField',
  'name':'Profile',
  'position':'170,110),
  'size':'(307,-1),
  'editable':True,
  'foregroundcolor':(0,0,255),
}
just dunno what they do, if the want some kind of comuted values? 
Maybe they import just what is defined, you change layout, and after 
the widget is drawn, they can adjust, dunno .... just an idea, we 
imo need visual screen editor in future ...
PeterWood
7-Jun-2006
[1070]
I believe this is how Cocoa works and have seen the technique referrd 
to as "freeze-dried widgets".
Henrik
7-Jun-2006
[1071]
widgets and their functionality are defined in .nib files for a cocoa 
program. this is because much of the binding between the widgets 
and the code is created during runtime. this is also why Interface 
Builder is able to create much of the initial functionality for a 
Cocoa GUI, just by defining attributes to widgets and let you test 
the interface to a fairly high level without compiling any code.
Anton
8-Jun-2006
[1072]
BrianH, do you know what structure rebol currently uses for holding 
symbols ? Red/Black trees are complex, so it will take a fair effort 
to implement and debug.
Tomc
8-Jun-2006
[1073x2]
red-black trees are 2-3 trees implemented as binary trees
or they were when I studied them
BrianH
8-Jun-2006
[1075x2]
As far as I can tell, REBOL currently uses a hash table. I am not 
the one to ask though.
As for red-black trees, I'm not sure they had been invented yet the 
last time I was in school for computer science. My studies were more 
focused on programming language design than data structures, so again 
I am not the one to ask.
Anton
9-Jun-2006
[1077]
Well, you could always try seeing how hard it is to implement from 
the available souce snippets. I think by the time you've finished 
doing that you'd be an expert.
Robert
10-Jun-2006
[1078]
The difference between binary search trees and red-black trees is, 
that the latter only have O(h) if the height of the tree is small. 
Red-Black tries are balanced and hence can guarantee O(lg n) times. 
But there exists many other search-tree schemes that hold too.
Pekr
13-Jun-2006
[1079]
will R3 use packed BCD?
Robert
16-Jun-2006
[1080]
Ups... just saw: latter=former
Chris
20-Jun-2006
[1081]
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/197938
-- looks like the Ruby approach to Unicode will be to use UTF-8/16 
as the internal string representation and convert from legacy encodings 
on read(/write?).
Volker
9-Jul-2006
[1082]
http://plib.sourceforge.net/

lgpl, uses in flightgear and torcs. Dont know about size, but all 
my  crashes where steering-related :)
Jerry
27-Jul-2006
[1083]
I would like to know what status the REBOL v3 is in. When will we 
have the beta version? Thanks.
Henrik
27-Jul-2006
[1084]
I'd like to know when the alpha version comes. :-) Thanks.
Gabriele
27-Jul-2006
[1085]
no release date set yet. just stay tuned... :)
Robert
28-Jul-2006
[1086]
Takiing into account the first made estimate (alpha in April IIRC?) 
and the time lag we now have, I think we won't see R3 final before 
September-2008. Other bets?
Graham
28-Jul-2006
[1087x2]
Xmas 2006.  Carl usually gives us a Xmas present.
for the first beta
Henrik
28-Jul-2006
[1089]
remember also, when it's quiet, Carl's probably working like a madman.
Robert
28-Jul-2006
[1090]
Yes, I know, nevertheless doing it "mostly" alone limits the pace 
we can move... it's still the same problem. Within production optimization 
I would say: We have a capacity, lot size (the different tasks) and 
setup time problem to solve.
Pekr
30-Jul-2006
[1091]
being away for more then week, I would expect more than one vague 
blog post?
Ingo
30-Jul-2006
[1092x2]
You would? Really ???
I've given up on expecting anything.
Pekr
30-Jul-2006
[1094x2]
I would not like to, but probably this is the way to ... nothing 
to expect ....
So far, RT is killing REBOL, definitely ...