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

World: r3wp

[Ann-Reply] Reply to Announce group

ChristianE
11-Jun-2005
[572x2]
I'm glad you've got it working, Graham. But for me it's really time 
for bed now (2:30 am here :-)
Good bye!
Graham
11-Jun-2005
[574]
night
ChristianE
11-Jun-2005
[575x2]
Graham, I now realise that it's all my fault: I posted the static 
links to the download page when announcing .-(
One should be better of with the link to the "view script" cgi. Bye!
Graham
11-Jun-2005
[577x2]
nope
I just tried it ... if I view it, it says 0.1.8, but if I download 
it, it says 0.1.6
ChristianE
11-Jun-2005
[579]
Uh, that's two versions beneath ... I'm sure Gregg or Sunanda will 
have an explanation for that.
Sunanda
12-Jun-2005
[580]
Sorry -- no explanation -- I see 0.1.8 when looking at both the source 
and the download on REBOL.org.  Maybe it is caching at Graham's ISP


Graham, you could try using the LDS interface to download the script:
     do http://www.rebol.org/library/public/lds-local.r
     res: lds/send-server 'get-script [menu-system.r]
     print res/data/script
Graham
12-Jun-2005
[581]
the library interface works fine.
Sunanda
12-Jun-2005
[582]
Thanks.

And yet another route, in case of ISP/HTTP/caching problems, is via 
the Rebsite:

REBOL/View / desktop / goto / http://www.rebol.org/library/reb/index.r
Graham
12-Jun-2005
[583]
Is there a way to work a library interface into the view desktop?
Sunanda
12-Jun-2005
[584]
That would be fun.

Someone could write one via LDS -- or wait for LNS which shoudl offer 
similar functionality.
Allen
12-Jun-2005
[585]
Rebol.org index is on the desktop/public/library
ChristianE
12-Jun-2005
[586]
Great! I didn't realize that (or maybe I've forgotten it ... :)
Graham
12-Jun-2005
[587]
It's just not a very pretty interface ...
Izkata
12-Jun-2005
[588]
And there's no real Search capability in there that I can find...
Pekr
12-Jun-2005
[589x2]
hey, ChristianE - who are you man? :-) I did not expect so NICE demo 
app!
that is so cool - is it RebGUI, VID based, or complete own View design?
ChristianE
12-Jun-2005
[591x2]
Thanks, Pekr. Like it?
It's VID based
Pekr
12-Jun-2005
[593]
hey, that select-file - with little arrows for scrolling, what style 
is that based upon?
ChristianE
12-Jun-2005
[594]
As I told you some days ago, I needed something my co-workers are 
used to ...
Pekr
12-Jun-2005
[595]
it looks really professional.
ChristianE
12-Jun-2005
[596]
It's a FIELD with a BTN in it's pane.
Pekr
12-Jun-2005
[597]
well, that is that - I still consider you new with rebol and you 
do it just in few days? It would take me months ;-)
Ammon
12-Jun-2005
[598]
Yes, it is a very pretty application.  The only complaint that I 
have is that it is slow on my computer (1 Ghz, 512 RAM) Have you 
done anything to optimize it yet?
ChristianE
12-Jun-2005
[599]
It's hobbistic only. And it took quite some time.
Pekr
12-Jun-2005
[600]
your menu design is new, or Cyphre menu based?
ChristianE
12-Jun-2005
[601x2]
I'm not into optimising for now I'd like to get the script refactored 
first and then profile a bit.
Actually I *tried* understanding what Cyphre did, but ...
Pekr
12-Jun-2005
[603]
I don't know if it is usefull to have sliders in there, but what 
happens if menu is larger than app window, or app window is near 
screen-face border? Will menu wrap to the other side then? What happens 
if you resize main window etc?
ChristianE
12-Jun-2005
[604]
No, that's not my league, so based on Cyphre's script I tried my 
own. Actually, no single line left from the inspiration source.
Pekr
12-Jun-2005
[605]
slow? Hmm, I have 1.8, 256MB WinXP and nothing like that?
ChristianE
12-Jun-2005
[606x2]
I spend a whole day with trying to put the menu into real windows. 
Didn't get that right ...
Actually, for each window open Windows put a window icon into the 
task-bar. And currently, I think, you can't monitor the mouse ouside 
of REBOL windows without library calls. Hence the scrolling menus 
*in* the window.
Ammon
12-Jun-2005
[608]
it takes almost a second for any any menu to display and if you run 
your mouse up the menu then any submenus display so it takes 2-3 
seconds for it to pop up each submenu in this demo and then have 
it go away before I can do anything with the rest of the application. 
 Kinda reminisent of javascript menus...
ChristianE
12-Jun-2005
[609x2]
Javascript, uh? No, I don't see that here on 1,5 Ghz Centrino 512 
MB WinXP
It's resonable fast, but as I've said, I'm optimising later.
Pekr
12-Jun-2005
[611x2]
Actually Ammon it is strange, I would expect at least some minor 
delays, as was case with older Mozillas, but 1GHz 512MB vs 1.8GHz 
256MB is not all that faster, and mine works so fast, that it is 
blink of an eye. Really I can call it realtime ...
ChristianE: Cyphre solved even following case - ability of menu to 
display on left or on right, depending if menu can fit the window 
or no. Ability to react for resizing (not sure about that one), but 
he used the same engine for context menu (right mouse button click). 
Otherwise - VERY good work. No problem with speed here. I will try 
tomorrow on P650, 256MB, W95 machine ...
Ammon
12-Jun-2005
[613]
How many applications do you have running?  I'm the ultimate multi-tasker... 
 If I'm going to use the application more than once in a day I like 
to leave it running so my current memory usage (without having his 
script launched) is over the amount of RAM that is available to me 
(I'm runnning some server applications on this here development machine.) 
so it is prolly my fault. ;~>
ChristianE
12-Jun-2005
[614x2]
As for resizing: I'd like to leave that untouched until some standard 
resizing schemes available for REBOL. Currently there are the two 
approaches of Romano and Cyphre, I'm a little bit in favor of Romano's 
one, but that isn't finished work, it doesn't run with newer rebols.
Not too many apps here, though.
Pekr
12-Jun-2005
[616]
how large is the style in KB?
ChristianE
12-Jun-2005
[617x3]
Pekr, left/right opening depending on windows borders in build in.
Context menus: The same. I'm uncertain how Cyphre's screen regions 
approach handles nested, resizable layouts ...
The style is huge (75 KB well documented source, so have of it is 
propably comments and doc strings, tabs and spaces ;-)
shadwolf
12-Jun-2005
[620]
Hi chris  I'm joining the conversation ;)
ChristianE
12-Jun-2005
[621]
Hi shadwolf!