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

World: r3wp

[!REBOL3-OLD1]

Pekr
2-Dec-2008
[8596]
I think that if Carl generally releases alpha to the public, the 
more and more will be done in R3. We might be close the boundary, 
when we should start using R3, even if not complete ...
Henrik
2-Dec-2008
[8597]
CharlesW, there are some differences, like unicode, but go ahead 
and get a good feel for it.
PeterWood
2-Dec-2008
[8598]
The feeling I get from documents such as the Wait_in_Wait page is 
that R3 is still being prototyped.
Graham
2-Dec-2008
[8599x2]
Yes ...
Wait .. wait ... wait ..
Steeve
2-Dec-2008
[8601x4]
me too ;-)
sh
ou
should that not be resolved by usage of different tasks ?
Graham
2-Dec-2008
[8605]
doesn't look like we have multithreading
Steeve
2-Dec-2008
[8606x2]
it"s what i would say, thanks
differents threads
Pekr
2-Dec-2008
[8608]
... separate timers ...
Steeve
2-Dec-2008
[8609x3]
in fact there sou
argh.. what with my keyboard...
Carl is updating the wiki, but who is coding ?
james_nak
3-Dec-2008
[8612]
One of our .net programmers showed me something kinda cool yesterday. 
They were "child" windows of a main window that would align together 
if you brought one within a certain proximity to the other. From 
that point the top bar from either window moves both. Of course it's 
not as cool as having draggable screens like we did in '86 but...
Henrik
3-Dec-2008
[8613]
some mac programs does something similar. I know the technique.
Reichart
3-Dec-2008
[8614]
WinAmp does this, yes?
Henrik
3-Dec-2008
[8615]
yes
Steeve
3-Dec-2008
[8616x2]
just one question about R3:

to convert a 32 bits integer to a binary serie i currently use that 
trick:
>>my-int: 150
>>debase/base skip tail to-hex my-int -8 16

it's quite inelegant and memory consuming (especially the to-hex 
function)
we need a more speed and compact function in R3.
I know another one trick using struct! but it's slow too.

To convert binaries to integers we don"t have such problem, cause 
[to integer! my-binary] works well and is short.
idealy, [to integer! to binary! my-int] should return my-int, it's 
not the case currently
Dockimbel
3-Dec-2008
[8618x2]
You don't need to "skip tail" :
>> debase/base to-hex 123456 16
== #{0001E240}
I agree that R3 should provide a better way to achieve that.
Steeve
3-Dec-2008
[8620]
i need it cause my script works well with R3 alpha and R2 too.
to-hex returns longer strings in R3 than in R2
Dockimbel
3-Dec-2008
[8621x2]
Btw, you can also use a struct! value to convert integer to binary.
At least in R2.
Steeve
3-Dec-2008
[8623x3]
in know the trick with struct!, but my tests show that it's not faster 
than using [debase to-hex]
for info, to convert an integer to a binary with struct! , we do.
>>str: make struct! [int [integer!]] [0]
then
>>str/int: 150
>> third s 
== #{XXXXXXXX}
which is the integer in little endian format
i don't know why but  it seems that it's not faster than the [debase 
to-hex] method
Henrik
4-Dec-2008
[8626]
Observe progress of internal releases here:

http://www.rebol.net/wiki/R3_Releases
Tomc
5-Dec-2008
[8627]
... noses pressed against  window ...
Graham
5-Dec-2008
[8628]
noses pressed against gobs
Tomc
5-Dec-2008
[8629]
gobs in the noses pressed against the glass in front of the gobs
Henrik
5-Dec-2008
[8630]
Small status update:


- Mostly doing code cleanups and bug fixes now, so changes are not 
very visible.

- Carl has worked on window positioning and popup offsets, which 
were not working correctly. This should finally enable us to get 
popup styles done. Actually I've already done the first for date 
field. Popups are very simple to do, compared to VID. Just open a 
modal window without a border.
- Icarii has begun working on R3 styles too now. Thanks!

- Still baffled at the concept of MAX-SIZE. There are some places 
where it just doesn't work (see my later screenshots with a funny 
curled-up scroll-bar).

- I'm very pleased with my container style. It has proven to be very 
useful and we will build many more styles with it.

- Autogenerated style list and style tree (will publicize this soon 
here. R3-alpha users can see them in Users/Henrik/style-tree.rmd 
and style-list.rmd)
- Over 80 styles now. I suspect there will be 10-20 more.

- Color policies are being settled, so you can abstract colors away 
from a style into a theme.

- Each style will eventually get a tag block. This makes it possible 
to tag a style as 'internal or 'advanced, depending on where it's 
intended to be used and what it can do. This is very useful in documentation, 
and for some styles that need to work together in specific ways. 
It also makes it possible to hide advanced styles from end-users, 
who won't need to use them directly.


For those who have missed it, screenshots and videos are here: http://rebol.hmkdesign.dk/files/r3/gui/index.rsp
Pekr
5-Dec-2008
[8631x5]
Is orientation of group vs panel fixed already? Btw - that you very 
much for update!
Henrik - the problem with the list is its complexity. I am not sure, 
I would like to see hidden advanced styles, but various variants, 
and styles as 'clicker, which has no benefit for an end user, unless 
he/she is ready to produce his own ones, based upon 'clicker.
Simply put - when you look into RebGUI widget directory, you can 
see all widgets, which imediatelly make sense for user - when you 
compare it with the list provided, the difference is very obvious 
- every one single self-descriptory, usable, vs. chaos ...
The distinction boundary and suggestion of how to think about tagging, 
is imo - VID level user, making GUI, not wanting to create style, 
vs style tweakers, vs style authors ... - but that is only suggestion.
As for MAX-SIZE - what does Carl thinks conceptually about your concerns?
Henrik
5-Dec-2008
[8636x2]
Carl has not responded much to MAX-SIZE, so I am only thinking that 
he will at some point solve the issue when he gets annoyed with it 
enough himself. :-)
The style list is only there to describe the styles as they exist 
and are defined in the system: As a single flat list. The 'parent 
value is the only thing to make it into a tree. A tag block would 
help us group it however we want. I don't think there will be problems 
describing the styles in the documentation in a clear fashion.
Oldes
5-Dec-2008
[8638]
How it looks with unicode in VID texts?
Henrik
5-Dec-2008
[8639]
not yet
Pekr
5-Dec-2008
[8640]
Henrik - what is in system metrics? Is there resolution only? Or 
also other aspects? In the past, I tried to wrap rebol to win32 funcs, 
to detect properly multiple monitors and their orientation, but was 
not successfull at the task. It would be nice, if we would have such 
funcitonality ...
Henrik
5-Dec-2008
[8641]
pixels are used here
Pekr
5-Dec-2008
[8642]
I will try today one test with r3-alpha - connecting my notebook 
to LCD TV. IIRC, REBOL then reports screen size of monitor1-X + monitor2-X/max 
(monitor1-Y, monitor2-Y), or something like that ...
CharlesW
5-Dec-2008
[8643]
Henrik, I went through all of your videos and it looks awesome. Had 
there been any discussion on an HTML viewer widget?
Henrik
5-Dec-2008
[8644x2]
Not at this time, no. I think that will be left up to a 3rd party 
to do such a thing.
I'm wondering now if it's going to be possible to write an R2 client 
for RebTalk. I've not asked Carl about this yet.