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

World: r3wp

[Script Library] REBOL.org: Script library and Mailing list archive

[unknown: 9]
30-May-2007
[562x3]
I find when I have to correlate something to colours or  patterns 
it is better to start with the patterns first.


Since there are really only a few colours people can distinguish 
against white (or black) we can just like them hour:

Black = Structure, brackets, etc.
Gray = Comments
Dark blue 
Light blue
Red 
Pink
Purple
Dark green
Light green
Brown
Orange
Yellow (perhaps)

More subtle colours cause confusion.  

You also have Bold and Italics to consider.

I would use these to show "new" items (bold).
Also, you can do white on colour (BG).
like them hour
 should have been "list them here" (yes, I'm insane!)
In general you want to have it such that if everything is good, there 
is little colour distinction.  

For example most everything is black, gray, and dark blue.


The stranger the colour, the stranger of something you are trying 
to pull off in code.  Red should mean the parser is totally confused 
for example.  Or that the code is not actually code, but something 
that looks like code but is actually data.  That type of things.
Geomol
30-May-2007
[565]
Comments could be italic. We're used to, that we can skip italics 
in text, I think.
Gregg
30-May-2007
[566x2]
In ConText, I use bold+blue for for branching and a few other important 
funcs (if, either, all, etc.), navy for other funcs, green for datatypes, 
red for numbers, dark red for strings, gray for comments; brackets 
are dark gray, but go black to show matching pairs when you're on 
one.
My thinking behind the bold+blue was driven by the concept of cyclomatic 
complexity (McCabe), and making things jump out that indicate complexity 
in code. I know if I see a lot of bold+blue stuff on the screen, 
I either need to think real hard, or rewrite it. :-)
Tomc
31-May-2007
[568x2]
the color scheme I use  has red for native/action/op blue for mezz 
/functions green for comments and more muted colors for other types
I  auto generate the  words so when a new rebol comes out I can notice 
if a word I happen to use already has a builtin purpose
Sunanda
31-May-2007
[570]
I see geomol has updated his personal CSS at the Library.....You 
can now look at any script using his set of colours and font effects...Much 
better than the system default!!
Example:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?color=yes&script=acgiss.r&css=geomol

(just add css=geomol to *any* Library URL. Or set your CSS preference).

And anyone can play the game -- devise and publish your own CSS for 
script coloring or any other aspect of the Library:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/boiler.r?display=css-help.html
Gregg
31-May-2007
[571]
Cool. I'll switch to John's CSS and post any thoughts.
Sunanda
2-Jun-2007
[572x2]
REBOL.org looks like it is down right now -- the whole ISP who host 
it seem dead too. (they've not been as reliable since they merged 
with another ISP).
Apolgies!

This has no effect on  REBOL.com or REBOL.net .... they are completely 
separate.
We're back!
Sorry, No idea why the outage.
Geomol
3-Jun-2007
[574]
Regarding my css "Suggested standard" in the Libarary, I think, the 
red for values is a bit too dark. Also the orange for refinements 
seem a bit too light.
btiffin
5-Jun-2007
[575]
Rebolek posted the 800th script to rebol.org...
Congratulations Boleslav.
Rebolek
5-Jun-2007
[576]
I said I was aiming for 800th one... ;)
So I had to quickly upload something ;)
Geomol
5-Jun-2007
[577x2]
Spammer! ;-P
No, it's good to have lots of content for visitors at the Library 
to grab. If only 10% of that is quality, it's very good! :-)
Rebolek
5-Jun-2007
[579]
Geomol, image the level of spam I'm going to produce when library 
will be close to 1000th script ;-)
Sunanda
5-Jun-2007
[580]
Congratulations tp Rebolek!!!
And now, 801!

(One of Brian Eno's early post Roxy Music projects ......I'm showing 
my age here :-)
Keep 'em coming!
btiffin
5-Jun-2007
[581]
It was heart warming.  I posted 798, 799...was just about to taunt 
people
and there it was. 800.  Kind of like magic.
Maxim
5-Jun-2007
[582]
yep... and two of mine should follow yess?  ;-)
btiffin
5-Jun-2007
[583x3]
Yep...
Meaning  yep  with a big smiley  :)
Done.  Maxim...you may want to update the History, date them for 
when you actually
wrote the code...   animresize.r  and  fastscroll.r
Maxim
5-Jun-2007
[586]
thanks
btiffin
5-Jun-2007
[587x3]
Once you've had a chance to check them I'll drop myself as 'owner'.. 
:)
Sunanda;  Kids now-a-days... :)
Don't know we owe a lot to Eno, Fripp, Manzanera...
Oh I forgot to mention Celine Dion...we owe a lot to Celine Dion 
too
Sunanda
5-Jun-2007
[590]
I think we may part company when it comes to Celine worship :-)
Maxim
5-Jun-2007
[591]
Celine if you say pictures of her when she was a teenager... man... 
she'd make jaws run away in a pool!
btiffin
5-Jun-2007
[592]
So what are you saying?  I can't use a Celine theme for LD2?
Sunanda
6-Jun-2007
[593]
As long as there is an option to mute the sound.....
Robert
8-Jun-2007
[594]
Sunanda, does rebol.org use a Facicon? On my side none is shown. 
Would be nice to add one, as I have tens of sites opened at the same 
time and can't find rebol.org fast enough ;-)
Sunanda
8-Jun-2007
[595x2]
Good idea!
I *think* we had one at one time, but it isn't there now.
Would you like to craft us one!?
I did one -- it's live, but it's poor -- just our top-left image, 
so too small for practical benefit.
Please -- anyone! -- do us a better one!
Izkata
8-Jun-2007
[597]
How big are favicons, usually?  10x10 pixels?
Sunanda
8-Jun-2007
[598]
16x16 is (a) standard
http://en.wikipedia.org/wiki/Favicon
I used this to create the current one:
http://www.htmlkit.com/services/favicon/
Maxim
8-Jun-2007
[599]
I don't seem to be getting it in FF
Izkata
8-Jun-2007
[600]
It showed up for me in FF..
Sunanda
8-Jun-2007
[601]
Works for me in FF, IE and Opera.

You may need to have 2+ tabs open in FF (for different sites) before 
it shows in the tabs
Volker
8-Jun-2007
[602]
firefox, white with brown letters.
Izkata
8-Jun-2007
[603]
hrm...  Got a simple favicon, should I upload it to AltME's file 
sharing?
Sunanda
8-Jun-2007
[604]
Please!
Izkata
8-Jun-2007
[605x3]
er..  "The AltME files application is not available in this world."
Email, then?
Email is so bland/boring   =)
Sunanda
8-Jun-2007
[608]
Please again!
Izkata
8-Jun-2007
[609]
Just sent it
Sunanda
8-Jun-2007
[610]
Nice!
Email gets the job done.....It's live.
Thanks!!
Maxim
8-Jun-2007
[611]
strange... FF just isn't picking it up  :-(  (FF2.0)