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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
10-Apr-2007
[5788x2]
Download and run this script .. it downloads it all for you.
Or, spend 10 mins learning how to use SVN and join the rest of us.
Pekr
10-Apr-2007
[5790x4]
that works for small group - other than that - it is not simply constructive 
aproach ...
I can't imagine sourceforge would not offer package downloads - that 
aproach simply sucks
well, I will package it for PeterD once again and send it to him 
...
noone should be forced to use some stupid helper tools suited for 
developers. We've got some users interested in RebGUI, not SVN gurus 
...
Graham
10-Apr-2007
[5794x4]
For those who are not developers, Ashley offers a download on his 
site.
the SVN site is for those contributing to the sourcecode
Where do I get it?

Just click the 'RebGUI' icon (under REBOL Demos) 
in the REBOL/View Viewtop (which can be started by typing desktop 
at the console).

If that is too hard ... well, I think someone has a problem.
Pekr
10-Apr-2007
[5798x6]
that crashed on me few days ago - going to try ...
works here. Must be some problem with my new Vista notebook then 
....
Also - did not know new betas are posted. So - please  accept my 
apology. PeterD - you can download nearly new builds from the website 
directly. It was just in the past, that website contained xy incarnation 
older builds ...
would anyone agree to make following the default rebgui coloring/look? 
Basically to achieve this it is very easy:

1) set 'over to sky
2) change rounding to 1
3) set window color to wather
4) set effect to: gradient 1x1 white water

http://www.xidys.com/new-rebgui-default-look.jpg

I would call it "white water skin" :-)
it also somehow reflects rebgui website coloring. But I think the 
look is upon each of us. It is just that it looks better to me than 
default look ...
Ashley - just small tip - look at ui.dat. There are new lines before 
the closing bracket, imo those are not necessary. That is just cosmetic 
issue, but it could make ui.dat source more readable ... also each 
"make object! ..." could start on new line ...
Henrik
10-Apr-2007
[5804]
pekr, I don't like that gradient at all :-) It's too strong and not 
symmetric.
Ashley
10-Apr-2007
[5805]
Note that the easiest way to grab the latest SVN build (without using 
any client s/w) is via a simple REBOL script like this:


 write %rebgui.r read http://trac.geekisp.com/rebgui/browser/rebgui.r?format=raw

 write %tour.r read http://trac.geekisp.com/rebgui/browser/tour.r?format=raw


%rebgui.r (the complete merged distribution sans %tour.r) is now 
regenerated and uploaded every build.
PeterD
10-Apr-2007
[5806x2]
Pekr,Graham,Henrik,Ashley, all of you,


Thanks for your help and interest. Everything is sooo new and there 
is a lot of it.

I am to "new" to help with the development part, however I can play 
and test.
Just want to make sure I use the "latest and greatest" 

I used to download from Ashley's site until I realized that I'm 2-3 
build behind.


I will RebolAutomize thinhs as I go and hopefully catch up with you.

Best regards
A newly Rebolized
Peter
Any of you gurus feels a need for a multi-level-sort-table ?
I  need one and hopefully I'm not alone ! 


I have a lot of data with a lot of same values in some columns, no 
simple sort will do what I need.

For right now a simple hard coded: first by Col1, than by Col2 and 
so forth will do.
A more elegant and flexible [sort-definition] can follow later.
Cheers
btiffin
10-Apr-2007
[5808x3]
In the meanwhile check Cesar's %multple-key-sort.r in the rebol.org 
library.

http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=multiple-key-sort.r
Ashley;  Build 74

>> do %rebgui.r
>> q
Segmentation fault

Debian Linux, rebview 2.7.5
A little more
>>echo %trace.txt
>>trace on
>>do %rebgui.r
>>echo none
Trace:  echo (word)
Trace:  none (word)
Trace:  if (word)
Trace:  port? (word)
Trace:  system/ports/echo (path)
Result: true (logic)
Trace:  [
    close system/ports/echo
    system/ports/echo: none
] (block)
Trace:  close (word)
Trace:  system/ports/echo (path)
REBOL Internal Error: Stack overflow


                                    Program terminated abnormally.

                                                                  This should never happen.

                                                                                           Contact www.REBOL.com with details.
Ashley
11-Apr-2007
[5811]
Can't reproduce that under Win or Mac. Does the error occur if you 
'do another script and quit (i.e. is it dependent on loading %rebgui.r)? 
Failing that, try commenting out the third last line of %rebgui.r 
(system/view/face/feel: none) and see if that changes things.
Pekr
11-Apr-2007
[5812x4]
Henrik - gradient being assymetric is what I like. Well, the only 
one trouble for me is small visual "defect", where buttons don't 
look too good on dark background, because they miss more concrete 
border. I wonder if it would look good, if buttons shared default 
widget border? Well, probably not :-)
But - visual look is area for customisation for anyone. However - 
I showed mine adapted default look to 3 ppl - 1 PC admin, 1 web designer, 
one reboller, and most agreed that the difference (using mild blue 
colors and grays, non-rounded shaping of tabs) is some 30% of feel 
to them :-)
hehe, just tried to make button and table tabbable, got following 
error - imo because of table :-)
** Script Error: empty? expected series argument of type: series 
port bitset
** Where: set-focus
** Near: view*/caret: case [

    all [caret in face 'caret face/caret] [at face/text face/caret]
    find behaviors/caret-on-foc...
Gabriele
11-Apr-2007
[5816]
segmentation fault at quit on Linux is very common with REBOL. I 
don't think it's rebgui related.
btiffin
11-Apr-2007
[5817]
Ashley;  Yeah , this seems to be an internal stack problem in REBOL 
beta  Sorry for dropping this here.
Graham
11-Apr-2007
[5818x3]
Pekr, can you post your code so we can reproduce the error?
Cyphre's spell checker http://www.rebol.cz/~cyphre/spell.r
And Ladislav posts an improvement leading to 3x speed increase.
Ashley
11-Apr-2007
[5821]
post your code

 ... I suspect it was as simple as adding a fiew widget names into 
 behaviors/tabbable via request-ui

posts an improvement leading to 3x speed increase
 ... where?
Graham
11-Apr-2007
[5822]
mailing list
Steeve
11-Apr-2007
[5823x2]
hum, i'm not sure that all modifications made by ladislav are improvment
his 'train function is slowest than the primary
Ladislav
11-Apr-2007
[5825]
yes, it is, but it does more things
Steeve
11-Apr-2007
[5826x4]
^^^
ladislav, i gan 1 second while intializing the dictionary with this 
train function:

train: func [
	words [block!]
	/local keys values pos i
][
	keys: to hash! unique words
	values: head insert/dup cp [] 0 2 * length? keys

 i: 0 loop length? keys [change values first keys values: skip values 
 2 keys: next keys]
	values: head values
	keys: head keys
	foreach word words [
			pos: 2 * index? find keys word 
			poke values pos 1 + pick values pos
	]
	sort/reverse/skip/compare values 2 2
	values
]
the first 'sort in your train function consume a lot of time
anyway, my function is not perfect ...either
Ashley
11-Apr-2007
[5830]
The 'correct function is *very* slow, takes almost 4 seconds to do 
the following:

	>> correct "caustic"


Also, where is the bin file sourced from and are other languages 
supported?
Steeve
11-Apr-2007
[5831x3]
yeah all languages are supported, it's the good thing with this algo
you juste have to replace the corpus by another bin file
i mean, all "latin" languages are supported
Ashley
11-Apr-2007
[5834]
And a good collection of bin files would be located at?
Steeve
11-Apr-2007
[5835x3]
hey, they are just plain text books
just take a book well writed
what is your language ?