REBOL3 - Library (REBOL.org: Script library and Mailing list archive [web-public])

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
673GreggFeature problem with my old install that is. The new Refresh option is what was needed. Excellent.4-Apr 17:05
672GreggSo it's a psychological and feature problem.4-Apr 16:43
671GreggLooks like it was just updated thought. :-)4-Apr 16:41
670GreggI haven't used it for a long time, because it's out of date WRT content.4-Apr 16:40
669Gabrielelol, ropus.r was for Core 2.0... heh. it says a lot that it still works though. (not that it does anything weird.)4-Apr 9:30
668btiffinOther than Help flashing to quickly it seemed to operate ... perusal mode that is.3-Apr 21:55
667btiffinI had it running on 2.7.6 Win98. But it required a change of an OPEN/WAIT to OPEN/NO-WAIT. It's from 2001 so ...3-Apr 21:54
666GeomolHm, from dec. 1999, so not supported for a long time.3-Apr 21:54
665GeomolDo you know, with what version it works?3-Apr 21:52
664GeomolCool! I'll see, if I can find it...3-Apr 21:48
663btiffinJohn; Gabriele posted ropus.r to the library! :) I think it only needs a change to an OPEN/WAIT to be 2.73-Apr 21:48
662btiffinPlus ... if you can't tell; I've read Agile, never done Agile, but I think it fits as a counter balance to REBOL Cowboy. Plus ... don't take me using the moniker Cowboy to mean a bad thing. It has been the method of many a good piece of REBOL software, just perhaps not what some IT managers want to see.3-Apr 21:47
661GeomolI don't use Desktop Librarian. I'm not absolutely sure why. Maybe because I don't use the desktop much. And why not that? Again, not absolutely sure. Because it feels a little weird!? Because it needs a Directory Opus (from Amiga) kind of tool!?3-Apr 21:46
660btiffinIf what I know about Agile is anywhere near close, we'd also need a "customer" or two. To be open, honest and critical. But those individuals, while having an idea of what they want to see, can't really be exisiting Library Team members ... I don't think. Any Library Team members not involved in dev, would be the "management"3-Apr 21:38
659btiffinHow many people use the Desktop Librarian? If not, why? If so, how?

And if the answer to the first question is more than 1, who would be up for a documented experiment in REBOL/Agile team development? It would be starting from a 60%ish completed RebGUI app with big big plans (and a potential complete rewrite to fit with a could-be-soon Revault). There are definite and defineable 'pieces' involved.

R2 mind. See; I dropped the ball a few months back and need a reason slash motivation to restart as rebol.org is too valuable a resource to not. :)

3-Apr 21:20
658SunandaThanks Oldes. Part of the problem is that all pages served from REBOL.org are served as charset=utf-8 even if a specific needs a different charset. We need to make that more flexible :-)14-Mar 12:11
657OldesI've added encoding: 'cp1252 into header... it's up to rebol.org now to use such an info and convert such a script into utf8 before displaying it in html14-Mar 11:04
656Oldesthe script is correct for download http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=code-colorizer.r but not for display.14-Mar 11:02
655Oldesno.. it's not working:(14-Mar 11:01
654OldesI will try to upload the script directly (not from webform to see it it's deformed as well)14-Mar 10:27
653OldesThere is big problem with rebol.org library if you are using different than ascii chars. I've just submited a script which contains latin2 chars and it's not uploaded correctly as there were converted to utf8 (so the script will not be working correctly as the chars are used in parse.14-Mar 10:23
652btiffinI'd like to see this as a system/standard/script field. For rebol.org there could be helper forms with some common choices but I'd also like to see it support url! in the submission validator (although that may have longevity problems).

Would system/standard/script/Rights, /License and /Disclaimer (or Warranty) cover all the legalese?

1-Feb 17:12
651GeomolLet's look at bit closer at the REBOL header block and licenses. In the library (http://www.rebol.org), REBOL scripts have a library entry in the header, and it contains a field named "license" with about 10 different possibilities. Is it enough to specify the license like that, or do we have to put a license text and/or warranty in the header of our scripts? Not just in the library but in general. Does anyone know, or should we ask an attorney?1-Feb 15:42
650SunandaIf you are a member of this Altme world, then you may also have been a member of its predeccessors: REBOL World and REBOL2 world.

There is now a private archive of those worlds on REBOL.org: http://www.rebol.org/cgi-bin/cgiwrap/rebol/aga-index.r

However, you will only see them if your REBOL.org membership profile says you were a member -- they were *private* worlds, so we cannot make the posts publicly available. If you were a member of either world and want access to the archive, please just ask -- just let me know your World user name and your REBOL.org member name.

9-Oct 5:03
649SunandaAnd, of course, if you use UNIX date format [seconds from 1-jan-1970], you have to politely pretend the dozen or so leap seconds inserted since then do not exist.19-Jul-07 6:08
648btiffinI liked this one from Dave Mills NTP RFC1305... There will exist an 200-picosecond interval, henceforth ignored, every 136 years when the 64-bit field will be zero and thus considered invalid.19-Jul-07 5:53
647btiffinlol19-Jul-07 5:47
646SunandaClose enough for jazz :-)19-Jul-07 5:47
645btiffinSorry. Slight misread, seconds and milliseconds... What? I'm only out by 3 orders of magnitude. :)19-Jul-07 5:43
644btiffinGraham; I just did a search, Gregg posted date-to-epoch in the DZone snippets. Along with epoch-to-date. Looks like standard run of the mill world class Gregg code. :)19-Jul-07 5:37
643btiffinRedirected from I'm new...javascript time

Integer date and times are a problem without some real mucking about.

19-Jul-07 5:29
642btiffinFor everybody...no more mucking with date formatting... Use Chris' %form-date.r from the library. form-date now/precise "%c" full REBOL timestamps nicely formatted. "%s" added for seconds with nanosecond precision. (Precision...not accuracy) All your dates and times can line up now. :)19-Jul-07 4:57
641Geomol:-)30-Jun-07 12:02
640SunandaRE the discussion back in May about improving the Library's display of scripts when colorized..... We've adopted Geomol's color scheme for the live Library.....Thanks. John. It looks great!29-Jun-07 20:51
639GreggAgreed Brian.22-Jun-07 15:31
638btiffinGregg; It turns out the 'hard' part of the work is learning enough REBOL to describe it to others. More fun than work and I may be getting more out than I'm putting in. :)21-Jun-07 20:10
637GreggI haven't had time to review your recent handiwork, and may not until after next week. If you don't get any response, ping again here as a reminder, and thanks for all your hard work Brian.21-Jun-07 15:45
636btiffinOn that note; does anyone have any requests for types of documentation for the library? Are the usage docs of enough use? Tweaks? Thanks in advance. Seriously though. I'd rather know at document 40 than at 400. :)21-Jun-07 6:36
635btiffinoops. last message to wrong group. don't read it :)21-Jun-07 6:11
634btiffinPosted docs to the last of the Anonymous scripts. Starting the none list. Do I change the Author to Anonymous and the version to 1.0.0 for these scripts, or just leave the headers alone?21-Jun-07 1:31
633btiffinFirst time I saw an animated favicon was today. Thanks for the shutoff advice. That would have driven me nuts. Saved from insanity by Sunanda. :)12-Jun-07 19:47
632SunandaIt can be done from the config menu: about:config image.animation_mode ====> none Easier with Opera: just F12 and the option is on the quick menu10-Jun-07 8:36
631btiffinI can see a new preference...disable animated favicon. I'm surprised it was a mozilla coder that would have thought up this little distraction.9-Jun-07 23:56
630SunandaMe too!9-Jun-07 22:00
629ChrisHope it doesn't catch on...9-Jun-07 18:09
628ChrisSeems like a scary direction to take favicons...9-Jun-07 18:08
627OldesFF is able to display even animated 16x16 gifs - http://www.czech.cz/favicon.gif (using <link rel="icon" href="/favicon.gif" />)9-Jun-07 18:07
626Chrishttp://www.towofu.net/soft/e-aicon.php9-Jun-07 18:06
625OldesI use http://www.winterdrache.de/freeware/png2ico/9-Jun-07 18:04
624ChrisSunanda, there is IconSushi as well (thanks Scot)9-Jun-07 18:03
623Oldesif you don't want to clear all cache, just get the icon using direct url as for example http://www.rebol.com/favicon.ico and reload it9-Jun-07 18:01
622SunandaTo get new icon in IE7, I had to clear all caches and then restart IE. Other browsers where simple and intuitive.8-Jun-07 23:42
621btiffinYep. Got the new one with Ice Weasel...still no luck with Ice Ape, but that is all my problem. rebol.org is 'fault free' on this one :)8-Jun-07 23:35
620Maximdid you try clearing the cache?8-Jun-07 23:31
619btiffinNice. I like the new one.8-Jun-07 23:31
618btiffinJust tried it with Ice Ape, no favicon...something in mozilla sharing. Gonna try Konqueror.8-Jun-07 23:30
617Maximyep... that did it.8-Jun-07 23:30
616Maximwill clear the cache, just to see.8-Jun-07 23:29
615Maximnope8-Jun-07 23:29
614SunandaMy cache updated immediately -- perhaps cos local time crossed midnight? Maxim: do you have any extension installed that are meant to handle favicons? Maybe they are duff.8-Jun-07 23:25
613btiffinBut favicon.ico is really hard to 'get out' of the cache. You gotta find it and delete it.8-Jun-07 23:23
612btiffinMy Ice Weasel shows it...8-Jun-07 23:22
611Maximstrange... FF just isn't picking it up :-( (FF2.0)8-Jun-07 23:21
610SunandaNice! Email gets the job done.....It's live. Thanks!!8-Jun-07 23:20
609IzkataJust sent it8-Jun-07 23:17
608SunandaPlease again!8-Jun-07 23:17
607IzkataEmail is so bland/boring =)8-Jun-07 23:17
606IzkataEmail, then?8-Jun-07 23:14
605Izkataer.. "The AltME files application is not available in this world."8-Jun-07 23:13
604SunandaPlease!8-Jun-07 23:12
603Izkatahrm... Got a simple favicon, should I upload it to AltME's file sharing?8-Jun-07 23:05
602Volkerfirefox, white with brown letters.8-Jun-07 22:56
601SunandaWorks 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 tabs8-Jun-07 22:54
600IzkataIt showed up for me in FF..8-Jun-07 22:32
599MaximI don't seem to be getting it in FF8-Jun-07 22:31
598Sunanda16x16 is (a) standard http://en.wikipedia.org/wiki/Favicon I used this to create the current one: http://www.htmlkit.com/services/favicon/8-Jun-07 22:30
597IzkataHow big are favicons, usually? 10x10 pixels?8-Jun-07 22:27
596SunandaI 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!8-Jun-07 19:26
595SunandaGood idea! I *think* we had one at one time, but it isn't there now. Would you like to craft us one!?8-Jun-07 19:16
594RobertSunanda, 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 ;-)8-Jun-07 15:53
593SunandaAs long as there is an option to mute the sound.....6-Jun-07 7:18
592btiffinSo what are you saying? I can't use a Celine theme for LD2?5-Jun-07 21:13
591MaximCeline if you say pictures of her when she was a teenager... man... she'd make jaws run away in a pool!5-Jun-07 20:00
590SunandaI think we may part company when it comes to Celine worship :-)5-Jun-07 19:32
589btiffinOh I forgot to mention Celine Dion...we owe a lot to Celine Dion too5-Jun-07 19:13
588btiffinSunanda; Kids now-a-days... :) Don't know we owe a lot to Eno, Fripp, Manzanera...5-Jun-07 18:21
587btiffinOnce you've had a chance to check them I'll drop myself as 'owner'.. :)5-Jun-07 18:11
586Maximthanks5-Jun-07 18:10
585btiffinDone. Maxim...you may want to update the History, date them for when you actually wrote the code... animresize.r and fastscroll.r5-Jun-07 18:09
584btiffinMeaning yep with a big smiley :)5-Jun-07 16:53
583btiffinYep...5-Jun-07 16:43
582Maximyep... and two of mine should follow yess? ;-)5-Jun-07 16:42
581btiffinIt was heart warming. I posted 798, 799...was just about to taunt people and there it was. 800. Kind of like magic.5-Jun-07 16:20
580SunandaCongratulations tp Rebolek!!! And now, 801! (One of Brian Eno's early post Roxy Music projects ......I'm showing my age here :-) Keep 'em coming!5-Jun-07 12:18
579RebolekGeomol, image the level of spam I'm going to produce when library will be close to 1000th script ;-)5-Jun-07 8:33
578GeomolNo, 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! :-)5-Jun-07 8:30
577GeomolSpammer! ;-P5-Jun-07 8:29
576RebolekI said I was aiming for 800th one... ;) So I had to quickly upload something ;)5-Jun-07 8:02
575btiffinRebolek posted the 800th script to rebol.org... Congratulations Boleslav.5-Jun-07 7:52
574GeomolRegarding 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.3-Jun-07 9:42
573SunandaWe're back! Sorry, No idea why the outage.2-Jun-07 15:29
572SunandaREBOL.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.2-Jun-07 11:25
571GreggCool. I'll switch to John's CSS and post any thoughts.31-May-07 11:37
570SunandaI 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.html31-May-07 8:02
569TomcI 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 purpose31-May-07 6:11
568Tomcthe color scheme I use has red for native/action/op blue for mezz /functions green for comments and more muted colors for other types31-May-07 6:09
567GreggMy 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. :-)30-May-07 23:03
566GreggIn 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.30-May-07 23:01
565GeomolComments could be italic. We're used to, that we can skip italics in text, I think.30-May-07 22:00
564?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.

30-May-07 21:59
563?"like them hour" should have been "list them here" (yes, I'm insane!)30-May-07 21:57
562?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).

30-May-07 21:55
561GeomolYes, I'm trying that out with gray comments. A good idea. Should known words (the words REBOL deliver in system/words as default) be green or blue, now comments aint blue?30-May-07 20:49
560?I have to say that comments should be light gray, a web common practice.30-May-07 20:38
559?Very cool stuff John...30-May-07 20:38
558GeomolOk, I'll look at the Library class names. Thanks!30-May-07 18:49
557SunandaNice set of subtle colours! On my Win-based machine, all selected text is the same colour....white text on dark blue (though that is configurable) *** A thought: if instead of FONT tags you could switch to CSS. Then your experiments could use the same class names as the Library. Implementing that as your personal CSS on REBOL.org would be trivial30-May-07 18:47
556GeomolOS X has a default palette of rather bright colors for highlighting to choose from, suggesting the text colors to be dark, so the text still can be read when selected.30-May-07 18:46
555GeomolAlso try select the text in the browser. What color does the different browsers and OSs use for highlighting text? Can the colored text still be seen, when it's selected?30-May-07 18:41
554GeomolFirst example with test of colors: http://www.fys.ku.dk/~niclasen/rebol/example.html My idea is to build an example, that satisfies the need. Then I look at implementation for the Library, so sources in the library can be viewed this way.

Maybe refinements shouldn't be that yellow!? Should background be a little gray like this? #f9f9f9 Or should it be white? The purple and blue might be a bit too bright compared to the red and green? Or should the red and green be brighter?

30-May-07 18:24
553GeomolSome syntax colors: http://www.fys.ku.dk/~niclasen/rebol/syntax-color.html This is work in progress! First is colors for comments and values (as I suggest). Then colors from Carl's script color-code.r, then some named colors from REBOL, and last some JavaScript syntax colors, I found on the net.

Syntax colors for many languages seem to use green for comments. I prefer blue, so comments better stick out, also for people having trouble with red and green. Values being red seem to be widely used. I'll try to make an example of REBOL code with colors...

30-May-07 16:41
552GreggOoooh, a grok button. I like that.30-May-07 16:24
551btiffinSorry for clogging the channel...It must be the Hare Krishna rock band I've got playing in the background while doing LibDesk2 design thinking... I think LD2 might be pretty cool.30-May-07 16:17
550btiffingork = grok30-May-07 16:09
549btiffinI've thought that same thing a few times. A "gork" button.30-May-07 16:09
548btiffin:)30-May-07 16:08
547btiffinWeirdo30-May-07 16:07
546GreggOr if you're looking for specific datatypes, have a hot-key that, when pressed, highlights them.30-May-07 16:07
545GreggI prefer the color-code scheme over the VIM scheme (don't like the pink), but as long as it isn't too bright most anything should be OK.

It would be interesting to do some research on using different rendering schemes for code, based on activity. For example, when writing and maintaining code, I like comments in gray, so they "fade out" a bit; but if you're reading code, in a Literate Programming sense, you probably want the prose to stand out and the code to be subordinate.

30-May-07 16:06
544Volkercan be diferent fonts too. IIRC he used 4 colors or so. or if nothing else helps some markup.30-May-07 13:43
543btiffinGood points. And Charles had some trouble with 'printouts'. :) I stopped following the progress quite a few years ago.30-May-07 13:18
542SunandaTrouble with colour is that some people are colour blind. For some of them (and therefore all of us) using [red/green] to mean [danger/safe] or [stop/go] is dangerous. Which is why (at least where I live) green traffic lights have been slowly migrating towards bluey-green over the past couple of decades.30-May-07 13:15
541btiffinOne of my heroes, Chuck Moore found colour important enough to use it for 'meaning'. He got rid of colons in ColorForth by using bluespace and redspace and greenspace instead of just whitespace.30-May-07 13:09
540SunandaSo did ! The color styles used right now are here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/css-view-system.r (search for colorizer) We already (in effect) collapse some into the same color: like file! and email! Perhaps url! should be the same color too.30-May-07 10:18
539GeomolI programmed in COBOL for many years without coloring. Then I started using vim, and I found, it looked weird with all those colors. After a while, I started to really like it, because it's so much easier to read the code. Colors make our brains look and distinguish components much better than words. I'm for colors. But they have to be balanced, so it doesn't hurt the eyes too much.30-May-07 9:54
538ICariipersonally id go for minimalist hilighting with colouring only for comments and strings - any more than that and it starts to look like a fairground -)30-May-07 9:48
537GeomolYou guys can also think about, how many different colors are needed (preferred), when displaying REBOL source. A color for comments, values, datatypes, words, etc. Should values be split into numeric values, series and others with each their color. Other things?30-May-07 9:11
536GeomolGregg, the Tiscali server (or network) was a bit slow last night. Try the links again, if you had trouble.30-May-07 9:04
535Jean-FrançoisThat's great Geomol. Yes the pdf-maker docs are a good example. I would stick with gabriele's color for a start.30-May-07 5:02
534GreggCan't seem to hit those John.30-May-07 0:04
533GeomolThis is how vim color REBOL code: http://home.tiscali.dk/john.niclasen/rebol/color-test-vim.html29-May-07 21:41
532GeomolDoes anyone have an opinion on what colors to use in syntax highlighting? The color-code.r script by Carl produce these colors: http://home.tiscali.dk/john.niclasen/rebol/color-test.html29-May-07 21:35
531SunandaThe personalised CSS feature starts here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/css-available.r Use the menu bar to explore the options [Preview page · Update · View system CSS · Switch to system CSS · CSS help] Have fun!29-May-07 20:40
530GeomolIs it the look of the code in this document: http://www.colellachiara.com/soft/PDFM2/pdf-maker.html that is asked for?29-May-07 20:24
529GeomolI got some time to look at the CSS style sheet for displaying script code, Jean-Franois asked for. Where is the CSS located?29-May-07 20:06
528Jean-FrançoisGabriele, That is great ! I hadn't noticed the extra info poping up. Just that simple extra info is very helpful when inspecting/reading code (well for me anyway). Thank you. The fact I hadn't noticed it might be a counter argument to Sunanda's fear of being annoyed by it. You really have to leave your pointer on it.

Any new language (natural or artificial) feels like "Scriptio continua" ( http://en.wikipedia.org/wiki/Scriptio_continua ) at first and all these visual cues are very helpfull in building the program's tree in your mind.

Imagine yourself a beginner at german reading a text that would have been colorized to accentuate its different elements. Hovering over a colored word would give you a translation or even maybe just a picture to prevent you from thinking in your first language.

1-May-07 23:59
527SunandaGabriel -- Thanks....A word list sounds a good way to go. *** Jean-Francois -- a hover-over on kewords is certainly do-able and could look fun for the first couple of minutes on colorised scripts. Though it has drawbacks: ** it'd just about double the size of the page ** I think I'd be serious annoyed by it after 30 seconds -- though that may just be me ** lots of hidden-by-css styles (that's the way I'd do it, usng some of Eric Meyer's clevernesses) could create confusion for anyone using an elderly web browser or screen reader.

A good step in the right direction would be better styles for the code as we display it now.....So anyone experimenting with that is doing us all a great service ... Amd it would pave the way by creating a better foundation for higher cleverness.

1-May-07 21:44
526GabrieleSunanda: i keep the list of know words external to the script. there's a link to it from the html doc i posted (look for the #include directive and click on it). there's also a script that generates that file (apache directory index is enabled for that dir, so you'll be able to see it there)1-May-07 20:30
525GabrieleJean: did you try overing on a bold word in my output? :)1-May-07 20:28
524Jean-FrançoisI understand about the "Rebol Explainer" app. ... maybe someday in a Rebol IDE.

But are the enhancements "à la Gabriele" still possible (i.e. Keywords, Words, and Tabs tags ) ?

1-May-07 18:27
523SunandaThat's true -- not something we could do safely on a server.....Hence we are limited to load/header etc. A desktop application may be able to be more daring -- provided you don't let arbitrary code out of the sandbox.1-May-07 16:44
522MaximREBOL's scopeless binding makes it VERY hard to analyse code without actually evaluating it... which can be pretty dangerous. :-(1-May-07 16:41
521SunandaThat's a nice idea for a sort of "REBOL explainer" application. But it would be difficult to do in the Library. The Library does attempt to load and parse scripts -- that's how we do the colorisation. But (as with Gabriele's code) we rely on REBOL's own reflective abilities to tell us what is a word, function, operator etc. The Library runs an old version of Core (and even if we update that, we'd never run a version of View on a webserver) so it does not have access to all the information a proper explainer.highlighter would need. Take this script for example: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?color=yes&script=reboldiff.r 'new-line is a valid REBOL word, but it is not colored: that's because it is not a word in the version we use. So sadly, the colorisation at REBOL.or remains a nice bit of eye candy rather than a solidly dependable feature.1-May-07 16:39
520Jean-FrançoisThanks Sunanda. I wasn't aware one could define it's own CSS for library code display.

However Gabriele's emitter has very usefull tags that are missing in the current library emitter. In particular, it is posible to highligh differently standard Rebol words and new words. This is extremely usefull for a beginner like me who doesn't yet know all of Rebols vocabulary. There is also the TAB tag that helps a lot.

Unfortunately, writing a new emitter using Gabriele's code is beyond my ability.

And from the dreamer in me... here is a suggestion for this better emitter: When one clicks (or maybe hover) on one of the standard Rebol words, you are presented with it's definition.

1-May-07 15:51
519Sunandayes you is!1-May-07 15:11
518Maximaren't = ain't1-May-07 15:08
517Maximaren't I an honorary member ;-)1-May-07 15:07
516SunandaThere's a lot that can be done to make the Library easier to use without waking up the Librarians :-)1-May-07 15:06
515Maximanother pet project in queue ;-)1-May-07 15:06
514Maximhehe.1-May-07 15:05
513SunandaIt could even work from a zip file, so no server scripts need be harmed in the writing of it :-)1-May-07 15:03
512SunandaIf there was a standard REBOL library that could open *any* common zip format, then yes: it'd be easy to accept a zip upload and turn it into a package. Otherwise, it'd be a support headache. *** The current method of uploading package files (via a browser interface) is itself a headache. But (this is where I toss the ball back to you Maxim), LDS (the Library's API) supports package file uploading. So *you* could write an easy package assembly routine to run on the contributor's computer. Problem solved!1-May-07 15:02
511Maxim(the zip would be opened and converted to a package btw) its just sooo easy to prepare a zip file.1-May-07 14:59
510Maximbut we've had the discussion before... so many things... so little time.1-May-07 14:57
509Maximzip file upload would be cool and easier... (nudge nudge, wink, wink)1-May-07 14:57
508SunandaYou can upload *packages* -- assemblies of any type of file you like. Some examples here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?filter=type-package1-May-07 14:55
507DockimbelCan I upload a ZIP archive in the Library or does it require to upload only a single REBOL script ?1-May-07 14:54
506btiffinLooks good. Groks nicely.30-Apr-07 14:40
505ChrisIt's perhaps not the most exhaustive documentation, but it covers most points. Feel free to revise...30-Apr-07 14:35
504ChrisHow does this look? -- http://www.rebol.org/cgi-bin/cgiwrap/rebol/documentation.r?script=filtered-import.r30-Apr-07 14:33
503btiffin%datascreen.r %screening.r? Naming is fun. %filtered-import.r is nice too.

Note to everybody: If you haven't, check out Chris's %form-date.r, newly in the library... Chris's func'ies are funky, and a nice learn.

30-Apr-07 14:15
502ChrisHalfway there, just need to add a quick explanation...30-Apr-07 14:08
501btiffinGive us a "C"....give us an "h" ... Sorry, Deja-vu :) Thanks again Chris.30-Apr-07 14:07
500SunandaSounds good.30-Apr-07 13:34
499ChrisI'm thinking %filtered-import.r30-Apr-07 13:33
498SunandaI see, thanks. I have various things like your script. (Never wrote one generic enough for piublication). They have names like check-type or check-data-type.30-Apr-07 13:33
497ChrisSort of, I have a helper function 'as that acts as 'coerce. The meat of this script is filtering a block of [word! any-type!] values.30-Apr-07 13:29
496SunandaAssuming you don't just validate, but also load the data according to the filter, then coerce might be a good name: coerce [date! "1 jan 2007"] ==> 1-jan-200730-Apr-07 13:27
495ChrisIt's still a reasonably generic function.30-Apr-07 13:20
494ChrisI'd rather it was still somewhat succinct.30-Apr-07 13:20
493Antonor "Chris-validated-import-loader" ? I could get longer...30-Apr-07 13:18
492AntonIt's short, but still leaves room for confusion. How about being more descriptive ? Eg. "validation-filtered-load" ?30-Apr-07 13:17
491ChrisThat works. %mask-import.r -- %input-mask.r -- %import-mask.r30-Apr-07 13:14
490Anton"mask-import" ? Your validator seems general but I presume you made it for a specific purpose.30-Apr-07 13:11
489ChrisI have a function that I'd like to add to the Library that takes some user data (could be from CGI query, or from View fields), processes and validates it according to a given spec, eg. [word "2007/4/30"] -> [word: date!] -> [word 30-Apr-2007] I've named this function 'import, but I realise that %import.r may be too generic a script name for the Library. Any suggestions?30-Apr-07 12:42
488SunandaThanks.....If you need some HTML tweaks to make the CSS really sing and dance, please let me know, and we can probably arrange it.29-Apr-07 21:48
487GeomolNoted. I'll see, if I can come up with something, when I have some time. It's very important to make things clear and easy to understand for everyone interested, so making REBOL code easier to read is something, I'm very interested in.29-Apr-07 8:02
486SunandaThanks......And if anyone wants to play with the CSS tha colors scripts on REBOL.org, the code is here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/css-view-system.r (look for the SC-xxxx styles). You can copy them into your personal settings and change them.27-Apr-07 21:51
485Gabrielefeel free to copy from mine - i took the colors for the datatypes from the css on rebol.org iirc :)27-Apr-07 21:46
484SunandaSame here !27-Apr-07 21:45
483Gabrielei don't think my CSS is very good, I know Chris could make it 10x better. but until someone does a better one... i have something to use :)27-Apr-07 21:45
482Gabrielemy code is very similar to Carl's, most of the additions are just to support literate programming and you won't need them. i'm emitting clean xhtml (no <font> etc. stuff) so that the look can be 100% configured via CSS.27-Apr-07 21:44
481SunandaThanks. Basically, we use this code of Carl's when displaying a script in color: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=color-code.r Thogh we've adapted it for CSS and a couple of other minor tweaks. What we are lacking is beautiful CSS :-)27-Apr-07 21:41
480GabrieleSunanda: just in case you eventually decide to do something like that, my code is described here: http://www.colellachiara.com/soft/MD3/emitters/wetan.html#section-427-Apr-07 21:37
479GabrieleJean-Francois: thanks :)27-Apr-07 21:34
478SunandaFor those who never visit the Mailing List: Brian has stepped up to the mark and is a member of the Library Team.....He's going great work already: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-message.r?m=rmlVPCC27-Apr-07 18:01
477SunandaI'd be delighed to have some better styles.....Why not experiement (all the Library's CSS can be overridden by any Library member) and come up with something you like. If you do the work, we can take it from there :-) http://www.rebol.org/cgi-bin/cgiwrap/rebol/css-available.r27-Apr-07 16:51
476Jean-FrançoisSunanda, would it be possible in the library to use Gabriele's PDFMaker HTML doc CSS style sheet for displaying script code ? I find it realy beautifull. It realy turns reading code into a visual aesthetic experience.27-Apr-07 16:11
475SunandaBrian: you are a saint! None of the Library stuff needs guru level skills. Just some gentle persistence to get lots of little details right.17-Apr-07 8:11
474btiffinThe library is one of those precious resources that, once beyond noob, is invaluable to the learning curve. And yes we are rebols aren't we.16-Apr-07 23:37
473Maximcomes with the title of REBOLer... ;-)16-Apr-07 23:35
472btiffin:)16-Apr-07 23:35
471Maximjust that they never do so for "OTHER" people's stuff ;-D16-Apr-07 23:34
470Maximhahaha... no there are many volunteers...16-Apr-07 23:34
469Grahameeek! rare sighting report -- a rebol volunteer!!16-Apr-07 20:23
468Grahambuild in older versions into the exe ;-)16-Apr-07 20:21
467btiffinSunanda; I'm not a g-level rebol yet, but if you need to off load any mundane time-wasting low-brain work, send it this way and I might be able to help...willingness is there...skill? dunno. :)16-Apr-07 20:21
466SunandaThat would be a good solution, Graham, if: 1. it were able to then load and run the right .exe 2. the whole software stack runs the same version......Imagine the annoyance if you need one utility that needs and earlier / later executable? (I don't need to imagine that; it's happened already for me)16-Apr-07 20:19
465SunandaThe Library itself already has some problems with this. The Libraty code (lots of it) runs under an outdated version of REBOL. And that has trouble doing a load/header on scripts written for later verisons. It's an annoyance at the moment, and not worth fixing yet if we have to go through another remediation to fix code for R316-Apr-07 20:17
464Grahamperhaps R3 can include some type of switch to check the header first?16-Apr-07 20:15
463btiffinYep. Agreed. I was pre-thinking potential work arounds...I've come to rely on the library scripts for information, inspiration and idle-time wasting. :)16-Apr-07 20:14
462Sunanda{Altme lost the first version of this post) We don't as yet know the extent of the incompatibilities between R3 and previous versions. The more incompatibilites there are, the bigger a problem we all have: most of us have personal libraries of useful functions (code snippets etc). If we cannot trust them to work under R3, then we all have a hiatus while we fix our code.16-Apr-07 20:11
461btiffinGraham; Ok. Credit where credit due. I still want Mr. Irwin offering up hints and guidance, the same as I expect you to keep things on a nice shiny track as well. :)16-Apr-07 19:56
460GrahamGregg hasn't been involved hands on in the library for sometime!16-Apr-07 19:52
459btiffinGregg; If history is any indication, and you are involved, the future looks bright. :)16-Apr-07 19:42
458GreggSomeday we'll have a slick auto-test system that runs each script under every known version of REBOL and gives a red or green light for each one. Of course, that means we need a test engine....result logging...Hmmm, might not happen right away. :-)16-Apr-07 19:40
457btiffinSo I'll add a little/lotta work on contributor shoulders as well then? Just that some contributors may be ex-rebols by now. :)16-Apr-07 19:31
456GreggSunanda is the go-to guy on this, but we do have a tested-under field in the library header. At least that way you would have a clue if something was known to work under R3.16-Apr-07 19:29
455btiffinGraham; Yeah, sorry, I knew I was bringing up two seperate points. Should have mentioned it. I'm just hoping the 700+ scripts in the library don't go to waste when everyone goes R3. A little/lotta work on RT's part, a little/lotta work on the Library Teams shoulders...16-Apr-07 19:22
454Grahamthere are no binaries on rebol.org16-Apr-07 19:15
453btiffinDear Library Team,

I've only got a single script in the library, but I like it, and I'd like it to live through the R3 update. Are there any plans for adding explicit rebol versioning to scripts that want to stand the test of time?

Is having multiple binaries on target REBOL platforms a no-no? Meaning, could the released binary packages for REBOL 3.0 include REBOL 1.3 (2.7) executables so scripts don't age out as fast as they did when going from 1.2 to 1.3? A little bit of configuring on the host OS to start the correct REBOL by extension, shebang, or resource fork on MacOS? Can DO add a secret launch of older/other binary if a Needs: is specified?

Curious.

16-Apr-07 19:11
452OldesThe rewrite must be possible in 1.3 as well. You can move old links permanently using script.7-Mar-07 17:30
451SunandaIt would certainly be nicer to have shorter URLs. We inherited the use of CGIWRAP (which is creating all the long URLs), and were not able to remove it when we started. That's a great pity. What I'd realy like is for the server to be running apache 2, so we could read the REDIRECT variables in the 404 handler. Then we could do pretty much any amount of rewriting of URLs intelligently in a REBOL script. Sadly, we are still on 1.3 with no hope of an early upgrade.7-Mar-07 16:55
450OldesWhat about using Apache's Rewrite module [ http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html ] to make nicer links in the Library.7-Mar-07 8:56
449SunandaThanks. It's in the Library now: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=q-plot.r6-Mar-07 12:24
448Oldesit is working6-Mar-07 11:04
447SunandaThanks. Looks like this dates back to the slightly mangled handover between REBOLtech and REBOL.org. ** The script is here: http://www.reboltech.com/library/scripts/q-plot.r Though I haven't checked if it works.......If you could, and it does, please let me know; and we'll moe it over to REBOL>org5-Mar-07 16:24
446OldesThere is this script in the library http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=ez-plot.r but there seems to be missing the q-plot.r script, which is required:(5-Mar-07 15:28
445Graham550 is a server error21-Jan-07 1:26
444btiffinThankees21-Jan-07 1:17
443Sunandatomc troubleshoots the ML -- a message here to him usually gets a quick response21-Jan-07 1:15
442btiffinSorry, hit return to soon. The above is supposed to be preambled with a whine about me not getting into the mailing list. I can't talk to lists spat rebol spot com. And I just noticed I didn't mungle the list email in above. I mungled IP addressed to xxx.21-Jan-07 1:13
441btiffinHi. This is the qmail-send program at yahoo.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<lists@rebol.com>: xxx.xxx.xxx.xxx does not like recipient. Remote host said: 550-"The recipient cannot be verified. Please check all recipients of this 550 message to verify they are valid." Giving up on xxx.xxx.xxx.xxx.

--- Below this line is a copy of the message.

21-Jan-07 1:10
440SunandaThanks. It's another example of Carl's blog observation: things take longer to fix if they don't go wrong. http://www.rebol.net/article/0307.html9-Nov-06 12:05
439AntonThanks Sunanda, it's cool to have an insight into what causes outages.9-Nov-06 4:00
438SunandaApologies -- REBOL.org was unavailable for just under a day, it's back now. The problem originated with the ISP, and it took them a little while to work out what they'd done wrong. Using a "non-standard" language seems to have added to their debug time: Extracts from two emails from the ISP's technical support: <<Hi, Sunanda. Sorry this is taking a bit. As I'm sure you know you have a non-standard setup :-) We aren't familiar with it and are puzzling it out. Am I right that you have your own scripting language? And that [snipped] is the [path to the] interpreter?>> <<Aha! Our web server rebooted yesterday. It's a FreeBSD server, and for a reason we haven't determined yet, the Linux compatability module didn't load. We loaded it and your site works again. We'll figure out why that module didn't load at boot.>>8-Nov-06 20:38
437Maximok I will make a discussion for this: revault (just a working name)30-Sep-06 3:02
436PeterWood.. on Rebol.org30-Sep-06 2:41
435PeterWoodMaxim

I also personally feel that Rebol really needs an easy-to-use, well-organised standard library. (Ruby Gems seems to be a very good model).

I will be willing to help once I have done a few of the things that I have promised to do

30-Sep-06 2:41
434MaximI am willing to put a bit of time on structuring a vault of high-quality and re-useability functions and toolsets. Is anyone ready to help me put some time on it ? (speccing, coding, refactoring current sources, and/or management of submission of new code).30-Sep-06 2:27
433Maximso, my ranting is done, it is not aimed at anyone its just that I wish rebol.org was more usefull for me... I imagine I'm not alone. :-)30-Sep-06 2:23
432MaximI am sure that the good hearted folks on rebol.org will only be happy to get help and in the least some heart felt orientation on how it can be improved.30-Sep-06 2:15
431MaximI am not talking about adopting slim as it is. it maybe too full-featured. but we need a common reference. and people underestimate how Carl perceives the work done by the community. If the community tends to its own. and creates a precedent... I know Carl will be only too happy to work in the same direction.30-Sep-06 2:14
430Maximso I ask this, is anyone willing to put a little bit of time where their mouth is... and help me organize the content of rebol.org.30-Sep-06 2:13
429Maximwrt slim, people might say its not documented... well, it was all documented on the web for a long time... but that didn't change anything. And I can't be the only one providing all the answers for such a community oriented project. Other people have to jump in. The list of advanced features within slim is too long to list here, but it has many things even python coders wish they had.30-Sep-06 2:12
428Maximand it reflects the community.30-Sep-06 2:06
427Maximthe site is well organized... but its content isn't30-Sep-06 2:06
426Maximany how... I am saturating this group... so I'll stop, but I'd like some support from others in trying to ORGanize the Content of rebol.ORG.30-Sep-06 2:05
425Maximmany things either do not work or have no useable examples in how to use them.30-Sep-06 2:04
424Maximrebol.org has many nice features. but I feel (and sorry for being open and blunt) that its a tough resource to use.30-Sep-06 2:04
423Maximthen we would have a useable set of professional interworking toolsl which will grow instead of runing in circles.30-Sep-06 2:03
422Maximthere is no refusal of code, only that it must obey to common sense rules.30-Sep-06 2:02
421MaximAll this would need is a few conspirators who manage the code submission in order to classify them and make sure they comply to a clear manifesto.,30-Sep-06 2:02
420MaximI would call this the Rebol Vault. or in short REVAULT which ties is very nicely with the REBOL itselft.30-Sep-06 2:01
419Maximthe basic premise is that any tool should be able to have several competing implementations and versions. They are available, made free of license restraints.30-Sep-06 2:00
418Maximeither tool sets or individual utility functions.30-Sep-06 1:59
417Maximwhich has no "scripts" but actually "libraries"30-Sep-06 1:58
416Maximits funny that Gregg brings this up (again) cause I was chatting to sunanda about setting up a special part of rebol.org.30-Sep-06 1:58
415Maximbut the basic issue with the REBOL community in general is its lack of unity.... Most of us are free thinkers. We do our own, cause we can ! :-)30-Sep-06 1:57
414Maximits on rebol.org its called slim.r30-Sep-06 1:56
413Maximit already handles all of what Carl proposes wrt modules. except what can't be done like namespacing, and memory protection, which have to be hard-coded in the interpretor.30-Sep-06 1:55
412MaximI'm not saying its perfect. never have, but it was supposed to be a starting point where people could agree on a platform for sharing code.30-Sep-06 1:54
411Maximit has been used, I use it daily. I have been using it for several years now. and it does many things more than include.30-Sep-06 1:53
410MaximHi All, I have often discussed the stuff... I have done more than just propose, I have coded an open framework to handle libraries.30-Sep-06 1:52
409GreggI've been dumping functions on Big Bold's snippet repository; it's easy and provides visibility to non-REBOLers, but you can't search for stuff by tags and there is no collaboration system of course.29-Sep-06 15:07
408GreggCollecting things is a good first step, but then we quickly need to consider something like Ladislav's #include function and a context/module standard.29-Sep-06 15:06
407GreggPart of the "problem" is that REBOL is really built for programming-in-the-small today, and being interpreted, you can't optimize out things you don't need--not without a preprocessor of some kind. It also lends itself to simple, direct word use, not the more verbose context/func approach. That makes it harder to build effective libraries.

I've often thought that the best approach might be a simple library of "global" functions, which would basically add to the available words in REBOL, so they should be very generic, and there might be a lot of them. More complex modules would be contexts, and we'd need an agreed upon system for naming, exported words, etc.

29-Sep-06 15:05
406GreggThere have been a number of initiatives in this area, but none have taken hold. I think it's *very* important, and have wanted it for a long time, but the hard part is coming up with a design that will work for everyone, since there is no standard for modules and libraries. I'm hoping R3's module design will address this, and give us the common ground we need to do something like this.29-Sep-06 15:01
405Henrikthe IRC channels I visit can be a bit the same. It's like being a stranger walking into a bar full of people who know each other very well. either you are accepted or not.

The elitist thing is not meant at anyone here, but I think it can be seen as elitist from the outside. :-)

28-Sep-06 18:26
404Henrikwell, I guess that's how things are right now. I do find it to be a bit elitist, you have to ask permission to come in here and most of the people know each other somewhat.28-Sep-06 18:25
403Maximbut this is a closed world, it gets lost, some ppl leave, and it prevents the platform to grow. seems like we are always rebooting the community every few years...28-Sep-06 18:24
402Henrikwell, there are some things that I've found to be astonishingly effective and that is asking questions in here. there is almost always an answer so you can get your code working.28-Sep-06 18:22
401Maximbut its hard to have rebolers working together... something about all of us being free thinkers...28-Sep-06 18:22
400MaximI have advocated for this years ago... before rebol.org became organized by sunanda and team28-Sep-06 18:21
399Maximit would become public domain, meaning you relinquish rights to what you submit, unless someone wants to organize a rebol source foundation, and then we can have the foundation be the authorised copyright owner of the peer-reviewed libs.28-Sep-06 18:20
398Maximhttp-tools is a good example. I have some stuff, you have some stuff, there is A LOT of it here and there.28-Sep-06 18:19
397Maximand its pretty bot defensive :-) meaning there is little chance our work will be defaced.28-Sep-06 18:18
396Maximrebol.org has everything needed to manage it, including documentation, forums, users, excellent indexing on google (thanks to carefull work by sunanda).28-Sep-06 18:18
395Maximyeah sort of28-Sep-06 18:17
394Maximsomething like lib-org-whatever.r ?28-Sep-06 18:17
393Henrikmaxim, a script wiki?28-Sep-06 18:17
392Maximmaybe officializing a naming convention so they have a distinct name, making them easy to identify by peers.28-Sep-06 18:15
391Maximusing official REBOL style guide and wrapping every lib within a CTX object and possibly an extra function which exposes the words, instead of forcing them directly using 'set.28-Sep-06 17:50
390MaximI am starting to wonder if there is now more collaboration in the community, such that we could start compending libs of utility funcs, instead of separating them in tens or hundreds of separate files.28-Sep-06 17:49
389Maximwithout owners, or with more than one?28-Sep-06 17:48
388Maximis it possible to have scripts editable by anyone?28-Sep-06 17:48
387Maximthe file browser allows you to create dirs... although I admit auto-creation of typed paths in the field is a good idea (maybe with a little req asking for confirmation)22-Sep-06 16:29
386Maximtalking about newer repack.r?22-Sep-06 16:28
385Robertdownloader: Download DIR should be create if it doesn't exist.22-Sep-06 16:27
384Henrikhttp://www.rebol.net/article/0243.html <--- some interesting points regarding GPL here.22-Sep-06 5:11
383GrahamI'm not sure people know the difference between the lesser GPL and GPL.22-Sep-06 1:02
382MaximLGPL does not impede useage by forcing your apps to become open source.22-Sep-06 1:01
381Maximunless it also has the letters mysql ;-)22-Sep-06 1:00
380GrahamIf you want to promote your glayout .. you need to change the license . See rebgui's license.22-Sep-06 0:59
379GrahamBasically my experience is that anything that has the word GPL in it does not get used.22-Sep-06 0:59
378Maxim(aren't we in the wrong group? ;-)22-Sep-06 0:59
377MaximI have been thinking about it.22-Sep-06 0:58
376Maximcause I'm a control freak ;-)22-Sep-06 0:58
375GrahamSo, if you are happy to give people non LGPL .. why not release as BSD or something else?22-Sep-06 0:57
374Maximunless you include GLayout *within* your script, in which case, your app is now GPL. but I'll be happy to give people non LGPL versions if they really need it (if they ask nicely ;-)22-Sep-06 0:30

Return to Index Page