[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== icon-browse.r --change: updated script --title: Iconic Image Browser --owners: carl gchiu --author: Carl Sassenrath --purpose: Browse a directory of images using a scrolling list of icons. Displays a progress bar while icons are being created. --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=icon-browse.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --29-May-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== read-below.r --change: new script --change: documentation added or updated --title: read-below --owners: brett --author: Brett Handley --purpose: Reads all files and directories below specified directory --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=read-below.r topic-tags.r --change: discussion post(s) made --title: Topic Tags --owners: christian --author: Christian Ensel --purpose: Makes tagging the mailing list a little bit more comfortable. Lists all topic tags in a window which I like to have open while tagging. Clicking on any tag copies it into clipboard so I only have to paste it into browser. --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=topic-tags.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent discussion: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-active-posts.r recent documentation: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-recent-docs.r ===end=== --The Library People --22-May-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== topic-tags.r --change: new script --title: Topic Tags --owners: christian --author: Christian Ensel --purpose: Makes tagging the mailing list a little bit more comfortable. Lists all topic tags in a window which I like to have open while tagging. Clicking on any tag copies it into clipboard so I only have to paste it into browser. --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=topic-tags.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --15-May-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] View beta desktop startup
How do you have View start in the desktop view with version REBOL/View 1.2.46.3.1? I tried to give it a user.r and a prefs.r to feed on but it always comes up with the command line first. ...just getting lazy James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== lds-demo1-package.r --change: updated script --title: Demonstration of a Package on REBOL.org --owners: greggirwin sunanda --author: Sunanda --purpose: Demonstration of a package, and competition --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=lds-demo1-package.r lds-local.r --change: documentation added or updated --title: Library data services --owners: sunanda --author: Sunanda --purpose: Provides the client end of the REBOL.org Library Data Services interface --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=lds-local.r rc4.r --change: new script --title: Basic RC4 algorithm --owners: arthurbeltra --author: Arthur Beltrao (Brasil) --purpose: Provides encryption and decryption using the basic RC4 algorithm --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=rc4.r steel-libs.r --change: updated script --title: steel library modules (in slim format) --owners: moliad --author: Maxim Olivier-Adlhoch --purpose: A package which includes all the lastest steel slim modules --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=steel-libs.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent documentation: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-recent-docs.r ===end=== --The Library People --5-May-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== slim-link.r --change: new script --change: updated script --title: slim-link - steel library module linker --owners: moliad --author: Maxim Olivier-Adlhoch --purpose: link apps which have references to slim libs inside --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=slim-link.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --28-Apr-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== liquid.r --change: new script --title: liquid.r - data flow management --owners: moliad --author: Maxim Olivier-Adlhoch --purpose: To make data flow limpid within an application. --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=liquid.r steel-libs.r --change: new script --change: updated script --title: steel library modules (in slim format) --owners: moliad --author: none --purpose: A package which includes all the lastest steel slim modules --url: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=steel-libs.r ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --21-Apr-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Presentation software
Thank you Petr. That was very cool. James - Original Message - From: Petr Krenzelok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 08, 2004 11:49 PM Subject: [REBOL] Re: Presentation software rebol wrote: Thanks Carl. I 've seen that mention of the reblet but apparently it isn't finished. I agree, I should be able to create one using the plugin. Thanks again. James dunno why noone stepped in yet, but IIR there was some presentation dialect done by Jeff Kreis from RT. Don't know where it was awailable, maybe old Express server. So, I found it. Can't test it locally, as I am currently at server's subnet, but try downloading following URLs: http://www.rebol.cz/scripts/presentation.r http://www.rebol.cz/scripts/jupiter.gif -pekr- -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Presentation software
Thanks Carl. I 've seen that mention of the reblet but apparently it isn't finished. I agree, I should be able to create one using the plugin. Thanks again. James - Original Message - From: Carl Read [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 3:05 PM Subject: [REBOL] Re: Presentation software On 08-Apr-04, rebol wrote: Does anyone know if there are any presentation reblets that will allow essentially a controlled slideshow remotely? In other words, clients would sit at their computers and watch a presentation controlled remotely. Thanks, Well, there's one that's a future reblet for IOS... http://www.rebol.com/reblets.html Don't know if there's any working presentation reblets available. With the REBOL plugin available now though, writing one that people would use is possibly a little bit easier. -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== glayout.r --change: new script --change: updated script --title: glayout - GLASS-based layout engine slim.r --change: updated script --title: SLiM - STEEL | Library Manager ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --7-Apr-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Presentation software
Does anyone know if there are any presentation reblets that will allow essentially a controlled slideshow remotely? In other words, clients would sit at their computers and watch a presentation controlled remotely. Thanks, james -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== dropdown.r --change: updated script --title: VID Dropdown geekwithin.r --change: new script --title: Geek Within Automated Helper slim.r --change: new script --title: SLiM - STEEL | Library Manager summer.r --change: new script --title: Daylight Saving Time function based on North American rules ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --31-Mar-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== oneliner-subset.r --change: updated script --title: Check if subset pdf-labels.r --change: new script --change: updated script --title: PDF label maker ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --24-Mar-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] How to write files
I was trying the new browser plug-in with an app and I have run across a question. How would you suggest writing a file to another server (other than the one that is hosting the reblet)? I was using ftp but it doesn't seem to work in this context. I suppose this is a general question about writing files outside of ftp'ing them. Please forgive my ignorance of how these Internet protocols work. Thanks in advance, James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== request-date.r --change: new script --change: updated script --title: request-date object/func optimization and enhancment wgetit.r --change: new script --title: Web-GetIt! ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --17-Mar-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== cgi.r --change: new script --title: Rebol CGI library emailbot.r --change: updated script --title: emailbot ff3edit.r --change: new script --title: FF3 ZSNES Saved state editor hllogparser.r --change: new script --title: Half-life log parser ora-listener.r --change: new script --title: Analyze of Oracle listener logs steganography.r --change: updated script --title: REBOL::STEGANOGRAPHY ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --10-Mar-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== button.r --change: new script --title: VID Button Set date.r --change: new script --title: Date Selector dragbar.r --change: updated script --title: VID Titlebar dropdown.r --change: new script --title: VID Dropdown wizard.r --change: updated script --title: Wizard ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --3-Mar-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== group.r --change: new script --title: VID Group lds-demo1-package.r --change: new script --title: Demonstration of a Package on REBOL.org lds-local.r --change: documentation added or updated --title: Library data services rnill.r --change: new script --title: RNILL - REBOL Non Intelligent Language Learner wizard.r --change: updated script --title: Wizard ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent documentation: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-recent-docs.r ===end=== --The Library People --25-Feb-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== wizard.r --change: new script --title: Wizard ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --18-Feb-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== garmin-protocol.r --change: updated script --title: garmin gps protocol make-doc-pro.r --change: updated script --title: make-doc-pro meteomap-poland.r --change: new script --title: REBOL to POLAND ICM METEO map interface ngbg.r --change: updated script --change: discussion post(s) made --title: National Geographic Image of the Day Downloader substring.r --change: new script --title: Simple substring function - returns empty when outside boundery webcam.r --change: new script --title: webcam style ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent discussion: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-active-posts.r ===end=== --The Library People --9-Feb-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== dragbar.r --change: new script --title: Titlebar Replacement garmin-protocol.r --change: new script --title: garmin gps protocol get-stock.r --change: new script --title: Download stock data ieee.r --change: new script --title: IEEE-32 ngbg.r --change: updated script --change: discussion post(s) made --title: National Geographic Image of the Day Downloader ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent discussion: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-active-posts.r ===end=== --The Library People --2-Feb-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== lds-local.r --change: new script --change: documentation added or updated --title: Library data services quickparser.r --change: updated script --title: XML to HTML node parser webserv.r --change: updated script --title: REBOL Web Server ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent documentation: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-recent-docs.r ===end=== --The Library People --26-Jan-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== arcfour.r --change: new script --title: ARCFOUR and CipherSaber ngbg.r --change: discussion post(s) made --title: National Geographic Image of the Day Downloader oneliner-webserver.r --change: discussion post(s) made --title: Very Short Webserver quickparser.r --change: updated script --title: XML to HTML node parser render-rich-text.r --change: new script --change: updated script --title: Simple Rich Text renderer ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent recent discussion: http://www.rebol.org/cgi-bin/cgiwrap/rebol/cpt-active-posts.r ===end=== --The Library People --19-Jan-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== gen-syntx.r --change: new script --title: generate syntx line-intersection-demo.r --change: new script --title: Line Intersection Demo steganography.r --change: new script --change: updated script --title: REBOL::STEGANOGRAPHY unzip-desktop.r --change: updated script --title: View-Desktop packed by Volker vid-usage.r --change: new script --change: updated script --title: VID Usage ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --12-Jan-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== gzip.r --change: new script --title: gzip iff-dialect.r --change: new script --title: IFF dialect quickparser.r --change: updated script --title: XML to HTML node parser tar.r --change: new script --title: Tar ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --5-Jan-2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: games
Some of the better REBOL games aren't in the script library Doc Kimbel's reBOX Frank Sievertsen's Tetris Alan's card games (or at least I couldn't find them there). -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== analog-clock.r --change: new script --title: Analog Clock exif-core.r --change: updated script --title: REBOL::EXIF exif-image.r --change: updated script --title: REBOL::EXIF::IMAGE static.r --change: new script --title: Static zip-fix.r --change: new script --title: Zip-Fix ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --29-Dec-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== quickparser.r --change: new script --change: updated script --title: XML to HTML node parser ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --22-Dec-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== substr.r --change: new script --title: Simple substring function - with the addition of error message to prevent 'none' shown ===additional information=== new and updated scripts: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent ===end=== --The Library People --15-Dec-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== cookie-example.r --change: documentation added or updated --title: cookie-example.r html-calendar.r --change: new script --title: HTML calendar json.r --change: updated script --title: JSON to Rebol converter ===end=== --The Library People --8-Dec-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Sharp Zaurus 5600
Hello, Do any of you have a Zaurus? Can Rebol be ported? Thanks, James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: ftp and the closing of ports.
Thank you all who sent great advice. The cache setting did the trick for my application. James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== cgi-debug.r --change: new script --change: documentation added or updated --title: CGI wrapper function for debugging dump-face.r --change: updated script --title: Dump-Face dump-style.r --change: updated script --title: Dump-Style encompass.r --change: new script --change: updated script --title: encompass function hsv-lab.r --change: new script --title: HSV Lab load-header.r --change: new script --title: Load-header mem2.r --change: updated script --title: Mem-Usage - a set of routines to test memory usage oneliner-prime-factors.r --change: documentation added or updated --title: Prime factors ===end=== --The Library People --1-Dec-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] ftp and the closing of ports.
Hello, I've been reading some of the posts regarding rebol's ftp. I am having an issue with the closing of ftp ports. My host recently went to a 2 ftp connection limit (from the same IP) and this has caused my 5 year old ftp scripts to fail. What happens is this - I have a function that opens a port, writes a file then closes the port. It only works once however because on the next call, the ftp server complains I have reached the limit. At this point even testing is a bear because I have to wait until the server closes the port to try again. It looks like the port really isn't closed. I've attempted Brett Handley's system/schemes/ftp/handler/cache-size: 0 but I get an invalid path value error. Any ideas? Thanks, James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [REBOL.org] Recent changes for #mailing-list
[REBOL] [REBOL.org] Recent changes for #mailing-list This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== rebol-stress-test.r title: REBOL stress test --Updated script ===end=== --The Library People --24-Nov-2003 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Euro and German currency
Hi Andrew, here comes some info from a German. There might be some official guidelines where to put the euro-sign in a currency format, but in real life it doesn't matter if it is in front or behind the amount. Important is the . as delimiter for thousands and , as decimal delimiter. Sometimes we use EUR for the Euro when the is not available (price labels). As we have the euro as the only legal currency, the German Mark is only useful for historical circumstances (as said before Note: Your quotation is right). HTH Thorsten A J Martin [EMAIL PROTECTED] schrieb am 21.10.2003, 11:12:47: Can people living in Europe or Germany confirm whether these formats for currency look right, please? Euro: 123.456,00 German Mark: 123.456,00 DM US Dollar: $123,456.00 Unfortunately, Rebol doesn't yet understand the above formats: 123.456,00 ** Syntax Error: Invalid decimal -- 123.456,00 ** Near: (line 1) 123.456,00 123.456,00DM ** Syntax Error: Invalid decimal -- 123.456,00DM ** Near: (line 1) 123.456,00DM Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/ - -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] System Port Trap Example
Here is a short script that uses the REBOL system-port to intercept shutdown types of interrupts from various operating systems. Why? For example, you would want to do this if you had a REBOL server process on Linux that has internal state. You may want the chance to write out information to files before quitting. This is the code you need to make it happen. The code below will detect both CTRL-C and REBOL ESCAPE key. enable-system-trap: does [ ; Trap OS interrupts if not system/ports/system [ if none? attempt [system/ports/system: open [scheme: 'system]][ print NOTE: Missing System Port exit ] ] if find get-modes system/ports/system 'system-modes 'signal [ set-modes system/ports/system [ signal: intersect get-modes system/ports/system 'signal-names [ sigquit sigterm sigint sighup ] ] ] system/console/break: 'signal append system/ports/wait-list system/ports/system ] check-system-trap: func [port /local msg] [ ; Process OS interrupts if not port? port [return none] if any [port/scheme 'system port system/ports/system][return port] if not system/ports/system [return none] while [msg: pick system/ports/system 1] [ if find [signal escape] msg/1 [ print [System Trap: msg] ; (save files here) quit ] ] none ] print Starting... enable-system-trap forever [ wake-port: wait 20 ; timeout period check-system-trap wake-port ] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] List Glitches
We had minor glitch in this list server. Should be fine now, but keep your eyes open. -Carl -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] REBOL FAQ updated
The REBOL Language FAQ is alive again. Check it out at http://www.rebol.com/faq.html. Now that the FAQ is stored in REBOL format, it will get updated more often. -Carl -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Sort in REBOL
Yes, sorry, I oversimplified it for the email... Normally the data would be such that you would use a /skip/all combination. You are correct. Here's a better example: data: [ abc [name 123] def [fred 345] ] sort/skip/compare/all data 2 func [a b] [a/2/1 b/2/1] At 9/8/02 03:05 PM +0200, you wrote: Hi 3) The /ALL refinement allows you to sort more complex data, for example, by data fields within blocks: data: [ [name 123] [fred 345] ] sort/compare/all data func [a b] [a/2 b/2] Perhaps you already know all this... but, I figured, what the heck... I did not and yes that's very cool. Or there is something i do not understand, or the Carl example is wrong (!). I do not see here any difference in using ALL. Like changes doc of Core 2.5 explains, ALL must be used with SKIP: /all Used in combination with the /skip refinement. [NEW] By default only a single field in a record is used for comparison. If the /all refinement is used then all fields in a record are used for comparison. --- Ciao Romano -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Sort in REBOL
Noticed the thread on SORT, but I don't have time to read it all. A few notes: 1) SORT in recent versions of REBOL is much more reliable. It is also quite fast, but that depends on what you're sorting and the function you use for comparison. We use it all the time. 2) If you want a stable sort, return 1, -1, and 0 from a sort subfunction, rather than true and false. sort/compare data func [a b] [ if a b [return 1] if a b [return -1] 0 ] 3) The /ALL refinement allows you to sort more complex data, for example, by data fields within blocks: data: [ [name 123] [fred 345] ] sort/compare/all data func [a b] [a/2 b/2] Perhaps you already know all this... but, I figured, what the heck... -Carl -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Core Guide Update - Minor Changes
The REBOL/Core Guide at http://www.rebol.com/docs/core23/rebolcore.html has had some minor changes, including eliminating bad links and adding newer version change docs to the table of contents. Also, Chapter 6 and 11 have been converted and reformatted with makedoc.r. I would very much appreciate it if someone could look over these chapters for formatting errors. It's hard to catch them all. Email me directly if you find something. Thanks. -Carl REBOL Guy PS: Appendix 1 conversion still pending. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] About REBOL OSX...
Regarding REBOL on OSX: Yes! We are very interested in supporting OSX better! Problem is, we need more information from someone who is an OSX developer (with regard to how to upgrade our developer release and tools.) During our office move back in Jan, we lost track of the OSX developer information. If you can help, please contact me directly. Thanks, -Carl REBOL Founder -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] REBOL/Core 2.5.3 Released
A new REBOL/Core has been released for testing purposes. Check out the list of changes and find out where to get it at: http://www.reboltech.com/downloads/changes.html Some of the changes include: MAKE-DIR Rewritten New Bitset Functions: CLEAR, LENGTH?, EMPTY? Changes to SKIP Function ARRAYs Initialized with Block Values Added PARSE BREAK Word Fix to OPEN on Network Ports Fixed Crash on Modified Functions Unset Object Variables (on Exit) Added BUILD-MARKUP Function Revised BUILD-TAG Function Revised DECODE-CGI Function and more... Some of the changes to functions like BUILD-TAG might be worth discussing... because the old function was pretty bad, and the new one is not that compatible with it (if anyone was in fact using the old one.) Let me know what you think. There's more to do, but we didn't want to hold up some of the nicer changes to wait for everything. Newer versions of /View, /Command, /Encap, /Link, and /Serve will be made available soon. -Carl REBOL Guy -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] I've had it with email.
Hello fellow REBOLers, [flame: on] Email has become useless to me. After 24 years of email, I think I'm qualified say that the situation with spam has recently grown totally out of hand. Each month I add ever more email filters to keep my email useful. Currently, there are over 300 filters preprocessing my email. But, as you know from the REBOL web site, we think there are much better ways to communicate. Email reminds me of general delivery postal mail. Anyone can send email to anyone. Plus, it's not reliable, it's not secure, it's easy to spoof, viruses poison attachments, it's limited in power (e.g. compare with X-Internet here), and there's no way to stop the flood of spam. It has become a tedious chore to deal with email (those of you who run web sites or openly post your email address know what I mean). At this rate, I think email will be dead in a few years. In fact, let me go on record saying that. A venture capitalist recently commented that this was a bold statement... but just watch. You watch. I'm not saying email will go away permanently. I'm saying that we'll have much better ways to communicate. Those of you who've tried IOS have a good idea what I'm talking about. IOS has been a great learning experience. Now, after more than 18 months of using IOS, the future has become more clear. But, this is not intended to be an ad for IOS... [flame: off] So... my new email address can be found on the contacts page of the REBOL.com web site. And, as always, if you've got something important to say about REBOL or IOS, I'm always interested in hearing it. Contact me. -Carl The REBOL guy. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] ANN: Rebol/flash dialect updated
Hello rebol-list, I've done some imoprtant changes in my Rebol/Flash dialect again - fixed Sprite building recursion bug - add small support to be able compile FlashMX files as well (the Flash MX is mainly improved in the ActionScript so it was not such a problem) There are also some new examples... http://oldes.multimedia.cz/swf/ PS: If someone know specification of the compressed FlashMX files, I would love to know it... Cheers Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Align bytes in the new Rebols
Hello rebol-list, writing my previous post about the bug in the debase, I've recalled one thing I would like to see in the new Rebol versions ;now using debase/base 1100 2 == #{FC} ;but: debase/base 11 2 == none ;so what about something like: debase/base/align 11 2 == #{FC} Of course in the native debase function, so I would not have to use my own byte-align functions as: byte-align: func[bits [string!] /local p][ p: (length? bits) // 8 if p 0 [insert/dup tail bits #0 8 - p] bits ] debase/base byte-align 11 2 == #{FC} Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: issue-to-tuple
Hello all, How about to-tuple form issue Anton. X If I understand it well Oldes needs that function for converting hexa X RGB values to REBOL format so this won't work. X I vote for [to-tuple debase/base clr 16] :) Yes, you are right Bolek, I need it for converting hexa RGB values in my Rebol/Flash dialect (my first reason why to use issue datatype ever:). I've reduced the problem just just for converting issue to binary (because there is no problem to convert binary to proper tuple) and did some quick test: REBOL/VIEW to-binary #234311 == #{323334333131} issue-to-binary: func[clr ][load head insert tail insert next mold clr { }] issue-to-binary #234311 == #{234311} t1: now/precise loop 100 [issue-to-binary #234311] t2: now/precise t2/time - t1/time == 0:00:07.08 issue-to-binary: func[clr ][load head insert tail insert head form clr #{ }] t1: now/precise loop 100 [issue-to-binary #234311] t2: now/precise t2/time - t1/time == 0:00:07.32 issue-to-binary: func[clr ][load rejoin [#{ form clr }]] t1: now/precise loop 100 [issue-to-binary #234311] t2: now/precise t2/time - t1/time == 0:00:16.604 ;with the Brett's debase patch t1: now/precise loop 100 [issue-to-binary #234311] t2: now/precise t2/time - t1/time == 0:00:26.608 ;without the patch - CRASH So although my solution looks like more complicated, it's much more faster. The problem is in the DEBASE - Debase is native but with a bug inside so it's useless:-( cheers Oldes PS: latest Rebol/Flash example: http://oldes.multimedia.cz/swf/swf5-clock2.html -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Native Url-encode
Hello rebol-list, and... another thing I would vote as native in new Rebols - URL-ENCODE We already have native DEHEX so why not to have the opposite. Rebol is Internet messaging language and URL-ENCODing is the basic. thanks Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: File analysis
Hello COFFRE, I'm really interested, do I understand it well, that you just want to write some simple parser that will join the function name to the propper code? I would like to try the Action Script Viewer at home (where to download it)... for some more exploration you can use my exam-swf.r script (it's part of the Rebol/Flash dialect zip archive at http://oldes.multimedia.cz/swf/) My script is not perfect because it's not complete yet and I use it just to hack the structure of my testing flash files, but may be usefull as well. cheers oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] issue-to-tuple
Hello all, Does anybody know, if there is better way how to convert issue to tuple then this one? issue-to-tuple: func[clr ][ to-tuple load head insert tail insert next clr: mold clr { } ] Thanks Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: write a text in vertical way ?
Hello Stéphane, Wednesday, April 10, 2002, 10:43:37 AM, you wrote: SD Hello, SD I would like to know if it's possible to write a text SD in vertical way. SD What I want to do is to write a text for each value of SD a table, but the text is too large. See the example of SD what I want to do below. SD I also don't understant why I can't change the SD font-size option of the text in this draw fonction. SD Thanks in advance for your help. SD Stéphane SD REBOL [] SD statistiques: layout/size [ SD tableau: box 550x500 coal effect [ draw [] ] SD appel: button Appel [ SD clear tableau/effect/draw SD for i 1 40 1 [ SD j: i * 10 SD k: i * 10 + 10 SD emp1: to-pair reduce [j random 470] SD emp2: to-pair reduce [k 470] SD append tableau/effect/draw reduce [ SD 'fill-pen 'blue SD 'box emp1 emp2 'white SD 'text emp2 text SD ;This don't work - SD 'text emp2 'font-size 5 text SD ] SD ] SD show tableau SD ] SD ] 600x600 SD inform statistiques This is not solution for your problem (i'm not a draw guru), but you should rather use 'compose instead of 'reduce: compose [ fill-pen blue box (emp1) (emp2) white text (emp2) text text (emp2) font-size 5 text ] It's a little bit faster bacause it evaluates only parens... t1: now/time/precise loop 500 [reduce ['number random 100]] t2: now/time/precise t2 - t1 == 0:00:12.959 t1: now/time/precise loop 500 [compose [number (random 100)]] t2: now/time/precise t2 - t1 == 0:00:12.067 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Curl
Hello Jason, Wednesday, April 03, 2002, 6:29:41 AM, you wrote: JC http://www.curl.com/html/ What it should be? I downloaded some installation (plugin?) and tried to install it offline and it was still trying to connect somewhere and finally stop with message that I must be conected I don't like such a software behaviours:-( Oldes -- Best regards, rebol-listmailto:[EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Core 2.6 - Last minute requests - take your chance!
Just please fix possibility to load block with word: ' (left shift) --- load [ ] ** Syntax Error: Invalid tag -- ** Near: (line 1) load [ ] load [ ] == [] --- and this one is most wanted as well: x: load [a,a] ** Syntax Error: Invalid word -- a,a ** Near: (line 1) load [a,a] ( rather to return: [a , b] where second x == ', ) ...so we will have possibility to load whatever text file and parse it and maybe rejoin/with rejoin/with [a b] #/ == a/b thanks oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: designing dialects - was OWL
Hello Terry, Saturday, March 23, 2002, 1:48:51 AM, you wrote: TB Ok, here ya go.. TB Rebol [] TB A: Send an email to every email address there is telling people not to TB send emails to me unless I've asked them to... TB b: ask What do you want me to do?: TB if a = b [ TB c: read/lines 6_billion_e-mail_addresses_for_$29.95.txt TB foreach val c [ send val Do not send e-mails to Carl Read unless he asks TB you to.] TB ] 6_billion_e-mail_addresses_for_$29.95.txt has to be quite large so I would prefere: emails: open/direct/lines 6_billion_e-mail_addresses_for_$29.95.txt while [found? email: copy/part emails 1][ send email Do not send e-mails to Carl Read unless he asks you to. ] close emails Oldes:-) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Ready for REBOL/Core 2.6?
Hello Cyphre, Friday, March 08, 2002, 10:34:35 AM, you wrote: C Holger(RT), C I forgot one very useful feature which would probably lot of rebolers love C to have in new Rebol/Core. I mean the possibility to add new words to C specified context...something like: C extend object [new-word: value] and what about: obj: context [a: 1] probe make obj [b: 2] make object! [ a: 1 b: 2 ] so you can have function: extend: func[obj [object!] blk [block!]][make obj blk] probe extend obj [c: 3] make object! [ a: 1 c: 3 ] I think that should be enough in most cases. I would rather appreciate some native for converting numbers to binary! Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: designing dialects - was OWL
Hello Carl, Saturday, March 23, 2002, 5:16:54 AM, you wrote: CR On 23-Mar-02, Terry Brownell wrote: Ok, here ya go.. Rebol [] A: Send an email to every email address there is telling people not to send emails to me unless I've asked them to... b: ask What do you want me to do?: if a = b [ c: read/lines 6_billion_e-mail_addresses_for_$29.95.txt foreach val c [ send val Do not send e-mails to Carl Read unless he asks you to.] ] CR Ah - but you're a human, not a programming language. (I hope:) And what about this scenario: My_boss: David, next 2 hours 23 minutes and 3 seconds work on a program that removes all spam from my pop box. David: Yes, my Lord! is this human programming? is it so unreal? in my_boss dialect: [ task program that removes all spam from my pop box for david in 2:23:03 ] cheers Oldes -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Shamless request for improving function speed.
HK Please do not post source code for cryptographic functions to the mailing HK list. This list is hosted in the US and some subscribers are outside of HK the US, so posting source code constitutes a violation of US export laws HK on cryptography. reading lines like this one always reminds me that for some people we are second class persons living on this planet [just because our ancestors were not killing aborigines in America or Australia?] I now that you just had to write this mail as I wanted to write this one... Oldes - -[you never know who is observing you!] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] FYI2 (in case you forgot email)
Hello, in case you forgot email, here is FYI2 for your information. Feel free to use the engine to whatever you want. You can even sell it for big money (if someone wants to buy it :-) Look at line 3 ('tekst). First version was using [...to-string first text...] but that produces strange results in draw (some strange chars are printed on screen - instead of f it produces something like f. And printing one char (#f) does not work in draw). Bye, REBOL/DEMO Team ---8-cut-copy-and-paste-here-8-- view layout [ b: box 350x150 with [ tekst: [r e b o l d e m o @ s e z n a m . c z] rate: 20 edge: none image: make image! 350x150 font: make font [color: red shadow: 1x1 size: 15 style: 'bold] feel: make feel [ engage: func [f a e][ switch a [ time [ f/effect: compose/deep [ crop 1x3 347x142 fit blur contrast 3 luma -28 draw [ pen (200.200.200 + random 55.55.55) font make font [size: (18 + random 12)] text (make pair! reduce [((14 + random 2) * index? f/tekst) 40 + random 15]) (first f/tekst) ] ] f/image: to-image f show f f/tekst: next f/tekst if tail? f/tekst [f/tekst: head f/tekst] ] ] ] ] ] ] --- Odchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.231 / Virov bze: 112 - datum vydn: 12.2.2001 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] FYI (for your information)
Hi. Just run the script for your information. REBOL/Demo Team 8cut-here-(use-sharp-scissors-;-)8 rebol [Title REBOL/Demo Competition] view layout [ b: box 350x150 with [ text: either now/date 15-3-2002 [ rejoin [15-3-2002 - now/date days to deadline!] ][ See you next year! ] rate: 20 edge: none image: make image! 350x150 font: make font [color: red shadow: 1x1 size: 15 style: 'bold] effect: compose [ crop 1x3 347x143 fit luma (random -60) blur sharpen contrast 10 ] feel: make feel [ engage: func [f a e][ switch a [ time [ f/para/scroll: (random 2x5) - 1x3 f/font/color: (random 100.100.100) + 150.155.150 f/image: to-image f show f ] ] ] ] ] ] --- Odchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.231 / Virov bze: 112 - datum vydn: 12.2.2001 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: REBOL/Demo 2002 Competition
Hi, I thought this is the least important thing because whole competition can be run by a REBOL script (although I'll need server for this). if now/date = 15-2-2002 [send [EMAIL PROTECTED] invitation-message] if all [now/date 15-2-2002 now/date 15-3-2002] [wait-for-demos] if now/date = 15-3-2002 [upload-reb-site] if all [now/date 15-3-2002 now/date 1-4-2002] [count-votes] if now/date = 1-4-2002 [send [EMAIL PROTECTED] results] Anyway, my name is Boleslav Brezovsky aka reBolek. The whole thing is my idea and I have several reasons for this. Richard Smolak (Cyphre) is/will be partially helping me with some technical stuff. I think that my demos cannot be part of competition but Cyphre is not counting voices and so I think his demos CAN be part of it. Of course I'll write something but just as bonus. We are in no way involved with REBOL Technologies but if they want to support us they're welcome (We haven't contacted them yet as no demos arrived still). Bye, REBOL/DEMO team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brett Handley Sent: Wednesday, February 20, 2002 1:39 PM To: [EMAIL PROTECTED] Subject: [REBOL] Re: REBOL/Demo 2002 Competition Hello REBOL/DEMOn, If there won't be enough demos to open at least one category than I'm afraid that REBOL's future is not very bright. Please introduce yourself. I'd like to have some idea of who it is that I am considering committing my time to before I commit. Cheers, Brett. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. --- Pchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.231 / Virov bze: 112 - datum vydn: 12.2.2001 --- Odchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.231 / Virov bze: 112 - datum vydn: 12.2.2001 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] REBOL/DEMO msg 2
Further guidelines? Demos must be written in REBOL. Graphical or ASCII demos - it's on you. 1st category - 1kB. Limited in size to 1024 bytes. 2nd category - 16kB. Limited in size to 16384 bytes (most REBOL demos will fit here) 3rd category - wild compo. If you've got 5Meg animation running under REBOL - this category is for you. What is demo? Good question - We think that things like 'vector cube' 'fire' 'plasma' and so on are enough for 1kB category. It takes hour or two to write them and they are fun for weeks. Why? Because we're curious what YOU can do in REBOL (What WE can do you may see on REBOL/DEMO REB) Prizes: List of prizes will be available on dedicated reb. GUIDELINE: today - 15. 3 : REBOL/DEMO Staff - waiting for demos, preparing REB other people - writing demos, sending them to [EMAIL PROTECTED] 15.3 - 30.3 : If there is enough demos, REB will be opened and people can vote for best demos. 1.4 (on fool's day because the whole competition looks like fool's idea ;-) : ceremonial declaration of the winner. Any other questions? Feel free to ask us! [EMAIL PROTECTED] --- Odchoz zprva neobsahuje viry. Zkontrolovno antivirovm systmem AVG (http://www.grisoft.cz). Verze: 6.0.231 / Virov bze: 112 - datum vydn: 12.2.2001 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] REBOL/Demo 2002 Competition
Hello, just to let you know - First round of REBOL/Demo 2002 Competition has just started. Send your demos to [EMAIL PROTECTED] with subject subscribing one of three categories: 1kB, 16kB or wild compo. If there will be enough demos (5 at least in one category) dedicated reb will be opened on www.sweb.cz/reboldemo where you can see the demos and vote. But that depends on you. Write demos, send them to [EMAIL PROTECTED] , deadline is Friday15th March 2002. If there won't be enough demos to open at least one category than I'm afraid that REBOL's future is not very bright. Bye, REBOL/DEMOn -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Newbie script: A Rebol web browser - help please
In View goto: http://www.mindnexus.com/rebol/gecko11.r Currently I have a hardcoded home page and a location box that allow you to put in a url with an external document that is basically a view layout. The external layout loads into a pane of a fixed with browser window. http://www.mindnexus.com/rebol/vid1.txt http://www.mindnexus.com/rebol/vid4.txt http://www.mindnexus.com/rebol/vid4a.txt Are my web documents. Note: I currently only have hyperlinks working as buttons. And when you use them it doesn't update the loction bar. But still there is a lot of fuctionality for 1.19 KB of code. Next step is building a script that converts HTML to rebolview layout, Does anyone have open code that does this. Or if not does anyone have an example of a file format converter I can study. Also if people could post rebol layout files on otherservers could they send me url. So I can test that this works across webservers. thanks in Advance, Scott __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] FW: Mathematical Operations in REBOL Re:
Hi Doug, go to http://www.rebol.org/math/index.html and pick up a copy of Eric Long's decimal.r. He writes: Purpose: Contains functions for the manipulation of decimal values, packaged into the REAL object. These provide full support for native binary floating-point file IO, compatible with C, FORTRAN, etc. REBOL decimal and money values may also be saved and loaded with no roundoff error. This package is necessary because the standard REBOL representation of decimal values may round off one or two significant digits, and the rounding of money values is an even greater source of error. This script contains two more objects, IEEE and EMPIRICAL, which provide several functions useful for exploring how decimal values are represented as double floating point numbers, and for testing the inexactness of the REBOL comparison functions. Direct download link: http://www.rebol.org/math/decimal.r This may be exactly what your friend is looking for. Elan [EMAIL PROTECTED] wrote: A colleague forwarded this set of comments/questions to me and I am forwarding to the REBOL list... When performing mathematical calculations, I've come across some interesting results, particularly with the modular division ( // ) operation. For example, if I perform e: 1.22 // 0.01 in REBOL, e will equal 9.92E-3. Although the answer is 0.01, or 1E-2, I can type e = 0.01 and true will be returned. While accepting 9.92E-3 is sufficient in most cases, I may be in trouble if I wanted to convert the value of e to a string, for example. Is there anyway to make this calculation return display 1E-2 exactly? I am using REBOL/Core Version 2.3.0.3.1. Thanx, -C. Hampton
[REBOL] eGroups Rebol-List replacement list Re:(2)
If RT wants to close down their Selma based lists and migrate to a different service, I think they should a) create the lists they want to use; b) pipe the existing email addresses to the lists they create and c) send out automated invitations to users to continue using the new list(s) in place of the old Selma based lists. If you do NOT respond to these invitations you should be subscribed to the new lists. If you respond to the invitation with unsubscribe you're deleted from the list. d) Lists that are officially "owned" by RT should be maintained by RT employees exclusively! e) It would be helpful if they format of the new subject lines are announced on this list, before they migrate the lists. So that we can modify our filters accordingly. Just my 0.2 cents, Elan [EMAIL PROTECTED] wrote: Hi Rebolers Should we all subscribe now . when are we going to lose selma ??? Cheers PHil - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 13 October 2000 12:30 Subject: [REBOL] eGroups Rebol-List replacement list Rishi wrote: Otherwise, what shall we call this discussion group? Call me impetuous, but I went ahead and made a replacement list at eGroups for this list: Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Unsubscribe:[EMAIL PROTECTED] List-owner: [EMAIL PROTECTED] Rebol-List-URL: http://www.egroups.com/group/Rebol-List Would anyone else like to be co-moderator, just in case I get run over by bus? Carl? Bo? Jedi Masters? Jedi Knights? And,... Should I go ahead and make these, more specific, lists? [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] They seem very clear to me and can be easily expanded to cover other products that Rebol-Crew will produce in future. I'd like a few "Yes" votes. :-) Andrew (Impetuous) Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --
[REBOL] eGroups Rebol-List replacement list Re:
Hi Rebolers Should we all subscribe now . when are we going to lose selma ??? Cheers PHil - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 13 October 2000 12:30 Subject: [REBOL] eGroups Rebol-List replacement list Rishi wrote: Otherwise, what shall we call this discussion group? Call me impetuous, but I went ahead and made a replacement list at eGroups for this list: Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] Unsubscribe:[EMAIL PROTECTED] List-owner: [EMAIL PROTECTED] Rebol-List-URL: http://www.egroups.com/group/Rebol-List Would anyone else like to be co-moderator, just in case I get run over by bus? Carl? Bo? Jedi Masters? Jedi Knights? And,... Should I go ahead and make these, more specific, lists? [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] They seem very clear to me and can be easily expanded to cover other products that Rebol-Crew will produce in future. I'd like a few "Yes" votes. :-) Andrew (Impetuous) Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ --
[REBOL] Re: Parsing question Re:(2)
Hello [EMAIL PROTECTED], Here's a parse rule that does the trick: my-table-rule: [ 4 [thru "table" thru "/table"] 1 [thru "table" copy my-text [thru "/table" to "/table"]] to end ] "to end" isn't strictly nessesary, but will make parse return true if the text was succesfully copied. Best regards Thomas Jensen On 04-Oct-00, [EMAIL PROTECTED] wrote: okay maybe I was being too generic. Example, parsing a web page to locate the fifth table. This basically involves looking for the fifth occurrence of "table" and then the second occurrence of "/table" (as there is an embedded table in one of the cells). html body table/table table/table table/table table/table table tr tdtable/table/td /tr /table /body /html The content I'd like to be copied is "trtdtable/table/td/tr" (don't ask why I'd want this) Hope that clears up what I'm trying to do. Cheers, Jamie
[REBOL] Re:
Hi Sharriff, 1. Thanks for the link to the SocketServer site. Interesting stuff. 2.Theoretically (I haven't actually timed it) LIST! is faster when it comes to adding and removing elements. If you have a lot of add/remove operations on a series than a value of type list! should be faster. HASH! is faster when it comes to looking up elements. If you need to speed up searches then HASH! should be much faster. I expect that the speed of looking up elements in hashes is offset by the time it initially takes to construct a hash! and to add and remove elements in a hash. Be careful when navigating in list series. Indeces do not work the same way they do in blocks. Try out these examples: list: make list! [1 2 3 4] block: make block! [1 2 3 4] first block first list remove block remove list first block first list [EMAIL PROTECTED] wrote: It´s stated somewhere that HASH! and LIST! types are better for data retieval, by what factor and why exactly? are there any special sort or retieve commands or functions that are not documented? I habe´nt found any I´m using Blocks to try to implement a user list of 40-50 users. Sharriff Aina med.iq information quality in healthcare AG
[REBOL] List! series [Was: blank] Re:(2)
Hi gmassar, it's not quite as drastic as that. After removing from the list, do list: head list == make list! [2 3 4] Also try: list: make list! [1 2 3 4] at list 2 compare to block: make block! [1 2 3 4] at block 2 Another surprise: list: make list! [1 2 3 4] foreach element list [print element] Also try foreach element list [print mold element] forall and forskip work as expected. Also compare block: make block! [1 2 3 4] partial-block: skip block 2 list: make list! [1 2 3 4] partial-list: skip list 2 remove block remove list partial-block partial-list In short, you'll run into surprises if you expect list to behave like a block. Looks to me like list is not completely implemented in the experimental version I'm using (0.10.38.4.2) . [EMAIL PROTECTED] wrote: I followed Elan's suggestion to try out list! series. Here is what I did: list: make list! [1 2 3 4] == make list! [1 2 3 4] first list == 1 remove list == make list! [2 3 4] first list ** Script Error: Out of range or past end. ** Where: first list What!!! list == make list! [] Oh, the series is completely empty! Can anybody explain why remove all elements in the list instead of just the first element? Remove block! series just one element at the head. Why different?
[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(4)
Hi Andrew, as an aside: [EMAIL PROTECTED] wrote: probe err ** Math Error: Attempt to divide by zero. ** Where: 1 / 0 remeber to disarm errors before you probe them. Try probe disarm err That's probably what you intended to do? Elan
[REBOL] Re: Problem with try [ open/direct/binary tcp://... ] Re:(6)
Hello [EMAIL PROTECTED], On 03-Oct-00, [EMAIL PROTECTED] wrote: -- snip -- I'm having fun with mine, thank you, but I'll let you know if I get stuck ;) ok :) Too bad Gnutella's sucking so bad lately... yep I'm finding that REBOL's a pretty nice tool to get close to the protocol. Out of curiosity, how do you reverse byte order, for things like the length header? And I havn't seen an elegant way to concatenate binary! type data. Join would be nice. probe join #{012345} [ #{0123} ] #{012345237B303132337D} ; This makes me cringe probe to-binary join to-string #{012345} [ to-string #{6798} ] #{0123456798} == #{0123456798} yeah, REBOLs build-in binary capabilities are a bit strange sometimes :-/ ## to binary! 100 == #{313030} (same as: to binary! "100") I use these functions: int-to-bin: func [int /little-endian /local bin] [ bin: load join "#{" [to-hex int "}"] either little-endian [ head reverse bin ] [ bin ] ] bin-to-int: func [bin /little-endian /local int] [ bin: either little-endian [ head reverse copy bin ] [ bin ] int: (bin/1 * (2 ** 24)) + (bin/2 * (2 ** 16)) + (bin/3 * (2 ** 8)) + bin/4 ] Best regards Thomas Jensen
[REBOL] to-word questions... Re:
[EMAIL PROTECTED] wrote: ray: func [] [ print "Hi, I'm Ray" ] test: make object! [ [ bob: func [] [ print "Hi, I'm Bob" ] [] type? :ray == function! type? :test/bob Hi, I'm Bob == unset! Here you are evaluating text/bob. the function bob in the object is is evaluated which leads to the evaluation of the expression print "Hi, I'm Bob". The print function does not return a value, which in REBOL evaluates to the value unset. The unset value is passed to type? which returns the type of unset. The type of unset is unset! type? test/:bob ** Script Error: Invalid path value: ?function?. ** Where: type? test/:bob You must have defined a global function called bob in addition to the bob function defined in the test object. If you didn't have a global bob function defined, then the error you would be getting here would be:L ** Script Error: bob has no value. ** Where: test/:bob However, if I define a global bob function, then I get the same error as you do. Your error reports that REBOL has first evaluated the expression :bob. It evluated to a function, and now REBOL is trying to use the function as part of the path test/:bob. I.e. the path REBOL is dealing with is test/?function? (?function? is the internal tag used to designate a function). REBOL is complaining that you cannot use a value of type function! as part of a path construct. How do I find out if test/bob is a function? try type? get in test 'bob == function! do to word! "ray" Hi, I'm Ray type? to word! "ray" == word! Not exactly surprising. You converted the string "ray" into a word using to word!. Of course the its type is a word!. What else? function? to word! "ray" == false Of course the expression to word! "ray" does not return a function. It returns the word ray. And since word! function!, function? will report that the value ray of type word! is not a value of type fnction! type? :ray == function! Here REBOL first retrieves ray's value, which is the function it is associated wtih, and passes the function value to type? I.e. the type? function never gets to see the word ray. The rype? function reports the type of the value associated with ray. And that is a value of type function! Is the type lost for good? The type is not lost for good. It looks like what I need a get-word function Here it is: type? get to word! "ray" == function! Hope this helps, Elan
[REBOL] while statement problem Re:(4)
[EMAIL PROTECTED] wrote: The REAL root cause of your error message is that REBOL doesn't use operator precendence (as other programming languages do). Consecutive operators are evaluated left-to-right, meaning that your original: prime and test = square-root number is evaluated with the same meaning as (prime and test) = square-root number which would try to apply and to a boolean and a number (and then would try to apply = between a boolean and a number, but we don't get that far). The first of these generates the show-stopping error, as in: Correct. BTW, REBOL does accept boolean operations on integers, tuples and issues. (perhaps other datatypes?) But all values must be consistent and share the same datatype. For instance: 1 and 1 == 1 1 and 0 == 0 But 1 and true ** Script Error: Expected one of: integer! - not logic!. ** Where: 1 and true Elan
[REBOL] Re: Problem with try [ open/direct/binary tcp://... ] Re:(4)
Hello [EMAIL PROTECTED], Actually you can almost use your original function, you just got to be carefull not to evaluate the error! value. (As Andrew pointed out). Some REBOL values defaults to being evaluated on retrival, functions and errors are examples. Others don't - blocks, etc. to safely pass error values around you could use a colon in front of the word. Here's a slightly modified Connect: Connect: Func [ ip port ] [ error? Gp: try [ Open/direct/binary probe To-url join "tcp://" [ Ip ":" port ] ] if not error? :gp [ insert gp "GNUTELLA CONNECT/0.4^/^/" print to-string data: copy gp ] return :gp ] Note the additional colons and the error? in the second line. Now you can do stuff like: ## error? connect "localhost" 1000 tcp://localhost:1000 == true BTW. I once started on a REBOL implementation of the Gnutella protocol, so if you're interested in some marshalling functions, etc - just let me know... Best regards Thomas Jensen On 02-Oct-00, [EMAIL PROTECTED] wrote: e wrote: It looks like both would work, according to 'help try'... DESCRIPTION: Tries to DO a block and returns its value or an error. gp: try [ open/... ] and try [ gp: open/... ] should be equivalent, no? Let me follow with what I think is going on, and you can correct me... You're slightly misreading the description. Have a look at the simple example below: try [1 / 0] ** Math Error: Attempt to divide by zero. ** Where: 1 / 0 This actually reduces to an error, no surprise error? try [1 / 0] == true error? err: try [1 / 0] == true as demonstrated here... But if I didn't catch the error with 'error? it would ab-end? probe err ** Math Error: Attempt to divide by zero. ** Where: 1 / 0 err: none == none error? try [err: 1 / 0] == true probe err none == none I think I get it... When the expression is reduced down, if the result is type error!, it ab ends. So I could have said: if not error? try [gp: open/direct/binary probe join tcp:// [ip ":" port]] [ insert gp "GNUTELLA CONNECT/0.4^/^/"] And indeed, it works... Man this language is addictive!!!
[REBOL] Lost Subscribe Again
Hi All, Outlook Express did it again: Destroyed my inbox together with a subscribe message to the 'REBOL: The Official Guide" mailing list and a message by someone called Derek. I don't believe my message to Derek got out. Please resend those messages! As you can easily tell I've finally dumped Outlook Express (together with MS Windows) and have successfully upgraded my system to Linux (currently using Netscape for email, but not quite happy with it.) How is the REBOL email client project doing by the way ;-). Take Care, Elan
[REBOL] Hash = Associative Array?
I just noticed the following table on page 167 of the new manual... Table 5-9. Block Types Block Type Description Block! Blocks of values Paren! Blocks of values enclosed in parentheses Path!Paths of values List!Linked lists ***Hash! Associative arrays*** (emphasis mine :) I've been a baby wanting associative arrays in Rebol for awhile. Does this mean we're getting them? If not, what does this mean? Thanks! Keith
[REBOL] New REBOL/Core Manual Re:
The new manual looks *really* good from what I've seen so far. I checked out some of the diagrams you mentioned. They should make understanding series much easier for new Rebols. Anyway, just wanted to take the time to say thank you and give you a pat on the back. Good job! I'm now going through the Parsing section... :) Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 02, 2000 9:40 PM To: [EMAIL PROTECTED] Subject: [REBOL] New REBOL/Core Manual The new REBOL/Core 2.3 Manual is now available from www.REBOL.com. This is a substantially rewritten version of the manual -- it adds new chapters, new examples, and even a few diagrams to make the concepts of series more clear. This manual was a major job to write. It is well over 600 pages and the PDF is 4.5MB. I'd like to thank Scott Allen for his heroic effort in converting, editing, and formatting my files. Also, thanks also go to Erin, Barbara, Cindy, Danny, Dan, Dave, Jennifer, Jessica, Mitch, and Andrew for their input and proofreading help. This new manual is really just a starting point. There are several topics that I wanted to cover in more detail, but ran out of time. If you notice something missing, please let me know so they can included in the next revision. The HTML version of this manual will be coming soon. As it turns out, it's not as easy as you would think to convert Framemaker files to HTML. Watch the web site. Enjoy your reading, -Carl
[REBOL] Re: Repeat pattern Re:(2)
Hello [EMAIL PROTECTED], Try this: REBOL [] table-rule: [thru "table"] table-rule-copy: [thru "table" copy text to "/table"] tables-rule: [ 11 table-rule 1 table-rule-copy to end ] parse read %test.html tables-rule print text a test file is attached. Note that if you'd like to handle stuff like "table border=0", you'd need to modify the rules a bit: (not testet) table-rule: [thru "table"] table-rule-copy: [thru "table" thru "" copy text to "/table"] Best regards Thomas Jensen On 01-Oct-00, [EMAIL PROTECTED] wrote: Thanks but if you don't want copy text between 1 and 11 but only on the 12th is it possible ? - Message d'origine - De : [EMAIL PROTECTED] À : [EMAIL PROTECTED] Envoyé : dimanche 1 octobre 2000 19:53 Objet : [REBOL] Repeat pattern Re: On Sun, 01 Oct 2000, you wrote: Let suppose this rule: 12 [thru "table" copy text to "/table"] How to modify the syntax if you want to do it not 12 times but only the 12th time ? Not tested but... counter: 0 tables: [] parse mypage [some [thru "table copy text to "/table" (if (counter // 12) = 0 [append tables text] counter: counter + 1) ] ] test01 test02 test03 test04 test05 test06 test07 test08 test09 test10 test11 test12 test13
[REBOL] RTOG Mailing List
Hi. Sorry to bother you guys with this. Someone was trying to subscribe to the "REBOL: The Official Guide" mailing list and his message got destroyed when Outlook Express deleted my Inbox. If you happen to be on this list, and you have unsuccessfully tried to subscribe to the rtog list, could you please try again? TIA, ;- Elan [ : - ) ] visit my Website http://www.TechScribe.com author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com
[REBOL] Rebol/command vs experimental Re:
Hi Joe, what experimental version are you referring to? All my experimental versions of /Command have expired and there is not experimental version available for download anymore. Am I missing something (other than setting the computer clock back, which I think I'd rather without because it'll mess up quite a few things on my machine)? ;- Elan [ : - ) ] visit my Website http://www.TechScribe.com author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 29, 2000 11:08 AM Subject: [REBOL] Rebol/command vs experimental All, Does anybody know how different the experimental (free) Rebol command is as compared to the one offered for $250.00?? I was wondering if the experimental came close. If it did, what the heck, why pay for one that has maybe only a few bug corrections (crossing my fingers). Thanks, Joe
[REBOL] Rebol/Command Linux and Oracle? Re:
Hi Jeff, Oracle accounts are the most likely to have a generous budget ... ? ;-) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 10:43 PM Subject: [REBOL] Rebol/Command Linux and Oracle? According to the matrix (not the movie) on the Rebol site regarding Command. It would appear that Command only supports usage of Oracle DB on Linux. Is that true? If so, why? Oracle is the most expensive damn thing out there for production environments and that sorta kills the price point of Command. Thanks, Jeff ;- Elan [ : - ) ] visit my Website http://www.TechScribe.com author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 10:43 PM Subject: [REBOL] Rebol/Command Linux and Oracle? According to the matrix (not the movie) on the Rebol site regarding Command. It would appear that Command only supports usage of Oracle DB on Linux. Is that true? If so, why? Oracle is the most expensive damn thing out there for production environments and that sorta kills the price point of Command. Thanks, Jeff
[REBOL] Solution: Launch Programs from REBOL/View Re:(3)
Hi Jochen, I previously had a similar idea regarding browse. I'm not quite sure (wanted to first check into it, but I haven't had time yet, however since you raised the issue ...) don't browsers support mime types, and can't exe mime types be used to launch an executable via the browser? Isn't that how browsers automate the process of unpacking executable archives (at least under MS Windows)? So - at least under windows - you should be able to send the browser the executable with an exe mime type, thereby instructing the browser to execute the application. I'm not sure that'll work ... Your second idea is cute ;-). That one didn't occur to me ... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 10:57 PM Subject: [REBOL] Solution: Launch Programs from REBOL/View Re:(2) My first Idea was to use the "browse" function: you can say: browse "http://www.rebol.com" and if your system is properly configured a web-browser will pop-up. Under UN*X REBOL/View is using netscape. So netscape will be startetd by following command triggered through REBOL: /usr/local/bin/netscape -remote "openURL(http://www.rebol.com, new-window)" but if you use browse _this_ way: browse "myapp par1 par2 par3" it will try following: /usr/local/bin/netscape -remote "openURL(myapp par1 par2 par3, new-window)" What we would have to do, is to replace netscape by a simple shell-script that cuts out the URL part of the command args and then launches the application therein. Some minutes ago I'd another Idea that enables us to run programs with all REBOL-releases. (I don't no why nobody else had the idea) In the REBOL-Library lies a cute little script namely "little-bell.r" This script implements a little telnet-client. By using this code we are able to launch programs on all computers that have telnet access!!! Regards Jochen
[REBOL] Solution: Launch Programs from REBOL/View Re:(4)
Hi Jano, REBOL/Command gives you quite a lot of access to the OS (launching programs, redirecting program output to the console, loading libraries ...). What's wrong with paying for a program? ;-) ;- Elan [ : - ) ] visit my Website http://www.TechScribe.com author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 11:02 PM Subject: [REBOL] Solution: Launch Programs from REBOL/View Re:(3) This script implements a little telnet-client. By using this code we are able to launch programs on all computers that have telnet access!!! Oh, great... I know of many workarounds, but hey, give me break. Isn't this great that we can call a telnet client or do a wrap around client/server (like telnet, but specialized only for this purpose) for calling one single OS system call? This should be in REBoL. Just like the "open" "listen" "write" "read", these are basically system calls. We need "execute/spwan" and/or "fork" and have many things that we could stop complaining about for quite some time. I know Carl wanted to implement it in different way (to have task! and stuf) but this wouldn't break that schema, I believe... Well, whatever... Jano
[REBOL] a GC bug of the second kind Re:(5)
Unsubscribe yourself :-P Send a message to the list with a subject of "unsubscribe" (make sure you spell it right) Keith - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 26, 2000 1:09 PM Subject: [REBOL] a GC bug of the second kind Re:(4) Please unsubscribe me. Thanks. CP From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 26 Sep 2000 12:49:39 -0400 To: [EMAIL PROTECTED] Subject: [REBOL] a GC bug of the second kind Re:(3) REBOL/Core 2.3.0.3.1 Copyright 1997-2000 REBOL Technologies REBOL is a Trademark of REBOL Technologies All rights reserved. Component: "Internet Protocols" (17-Jun-2000/1:53:16) Finger protocol loaded Whois protocol loaded Daytime protocol loaded SMTP protocol loaded POP protocol loaded HTTP protocol loaded FTP protocol loaded NNTP protocol loaded Script: "User Preferences" (3-Aug-2000) h: make hash! 0 == make hash! [] insert h copy "0123456789" == make hash! [] h == make hash! ["0123456789"] !CRASH The hash-crash on Windows 95! So, I ask the question - why did you initialize to size 0?? Try the same thing with initialize of size 10: h: make hash! 10 h: make hash! 10 == make hash! [] insert h copy "0123456789" == make hash! [] h == make hash! ["0123456789"] recylce ** Script Error: recylce has no value. ** Where: recylce recycle insert h copy "0123456789" == make hash! ["0123456789"] NO CRASH. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 26, 2000 12:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [REBOL] Re: a GC bug of the second kind Re: Hello [EMAIL PROTECTED] On 25-Sep-00, [EMAIL PROTECTED] wrote: Jeff already signaled, that List! and Hash! datatypes are being fixed. I succeeded to track down the behaviour to the following: h: make hash! 0 insert h copy "0123456789" h recycle insert h copy "0123456789" CRASH! just in case you didn't know... It does the same in this Rebol version: REBOL/View 0.10.34.3.1 23-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. REBOL caused an invalid page fault in module MSVCRT.DLL at 015f:78010cc8. Registers: EAX=00ff CS=015f EIP=78010cc8 EFLGS=00010206 EBX=006e03c4 SS=0167 ESP=0069fc00 EBP=0069fc2c ECX=0003 DS=0167 ESI=bad1bad1 FS=72cf EDX=0805 ES=0167 EDI=bad1bad1 GS= Bytes at CS:EIP: 88 07 47 49 0f 84 57 03 ff ff eb f4 8b 44 24 04 Stack dump: 0072da9c 0043058c bad1bad1 0808 006b20e4 0072da9c 004349c7 006e29d0 00c00270 0069fc70 0069fc70 0043055a 0072da9c 006b20e4 00743088 Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ -- The Amiga version produced the following result: h: make hash! 0 == make hash! [] insert h copy "0123456789" == make hash! [] recycle insert h copy "0123456789" == make hash! ["0123456789"] rebol/version == 0.10.31.1.1 No crash here =] ... looks like a problem with the memory handling of Windoze? Regards Blaz
[REBOL] Bug! path! in objects don't behave the same as path! outside object Re:(3)
Hi Andrew, Aha. Got it. What you are observing is not specific to objects. It is the result of how REBOL evaluates words and paths. Let me simplify your example so that we can more easily focus on the essential difference. base: make object! [ p: "'p in 'base." ] derived: make object! [ p: 'base/p ] 1. Word evaluation: a) word references a path that evaluates to a string. p: 'base/p == base/p :p == base/p p == "'p in 'base." b) word references a path that evaluates to a path: r: 'derived/p == derived/p :r == derived/p r == base/p In both cases when REBOL evaluates a word and the word evaluates to a path, then REBOL returns the value that is referenced by the path. It stops dereferencing values at the second level as demonstrate by r. The evaluator return base/p and did not continue to dereference the path base/p. Compare to: 2. Path evaluation: derived/p == base/p Re: 1. (a and b) When REBOL evaluates a word, and the returned value is a path, then REBOL returns the value referred to by that path. Re: 2. When REBOL evaluates a path, then it returns the value that path is associated with. Unlike case 1., the path returned by evaluating the top-level path is not dereferenced. 3. In both cases 1. and 2. if the returned value is a function, then that function is evaluated and the value resulting from evaluating the function is returned. So what you are dealing with here is an exception that REBOL evaluator makes for words, when those words evaluate to paths. You can say that with respect to this behavior the REBOL evaluator works something like this: evaluate: func [something [any-type!]] [ if value? 'something [ either all [ word? get 'something path? get get 'something ] [ return get get 'something ][ return get 'something ] ] return print "unset" ] evaluate p == "'p in 'base." evaluate derived/p == base/p Note that this really has nothing to do with objects. You can do the same thing with blocks: block: [ p "'p in 'block" ] == [p "'p in 'block"] block/p == "'p in 'block" Word is assigned a path: p: 'block/p == block/p When the REBOL evaluator discovers that the word p is referencing a path, then the path is dereferenced as well: p == "'p in 'block" But when REBOL is evaluating a path (this time associated with a block) then unlike when evaluating a word, the evaluation is not repeated for the referenced path: derived: [ p block/p ] == [p block/p] derived/p == block/p In short, REBOL is consistent with respect to the distinction it makes between evaluating words and evaluating paths. The way REBOL treats path is not specific to objects. Hope this helps, ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] Re: XML parsing / XMLRPC Re:
Hello Chris, On 25-Sep-00, you wrote: Hello everybody, I've uploaded a few scripts that adds some XMLRPC functionality to REBOL XML parsing function to my (brand new!) REBOL section at http://www.obscure.dk/rebol/ Hey cool! Now we've got two XML-RPC libs for REBOL ;-) Cool! Maybe we should exchange notes :-) Mine (client and cgi-based server) lives and breathes at: http://www.langreiter.com/space/RXR Just had a peek, pretty cool! I'll look closer into it later. Now, shouldn't we try to implement SOAP together? I really havn't looked much into SOAP, but it seems pretty cool. I'm going to be rather busy at work this week, but after that, maybe we could discuss this again ? Bye and congrats, Chris Best regards Thomas Jensen
[REBOL] simple, yet frustrating Re:
Hi Tom, "gz.bak" certainly contains the patter "*.gz", so you shouldn't be too surprised that it qualifies for find. I have to run, but one quick and dirty way to accomplish what you're trying to do would be to say: bak-pattern: "*.gz.bak" pattern: "*.gz" if all [ find/match/any file pattern not found? find/match/any file bak-pattern ] [ do whatever it is you must do ... ] At 07:11 PM 9/25/00 +0100, you wrote: howdy list, This doesn't seem to be the time to be asking *really* easy questions, but I'm frustrated enough to go for it anyway. this is ftpdownload.r, sans the interactive part. site: ftp://ftp.rebol.com/pub/downloads/ pattern: "*.gz" files: read site foreach file files [ if find/match/any file pattern [ write/binary file read/binary site/:file ] ] what I can't seem to do is have this fetch "*.gz" files, but not "gz.bak" files. I don't want the backups (later, I'll modify this to delete them). of course, the site and pattern have been changed to protect the innocent. thanks for your patience... -- Spend less time composing sigs. -tom ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] DIALECT IN REBOL: why advanced documentation so poor in Rebol ? Re:
At 04:18 PM 9/23/00 +0200, you wrote: Since I am evaluating the language, I am mostly interested about its advanced features. Although there are hundreds of pages of very good documentation about the basic syntax of Rebol it really lacks documentation about the most advanced features which Rebol advertise on like its dialecting features. I can't see where it is documented ? Thanks. The best example for a dialect is VID, the Visual Interface Dialect that accompanies REBOL/View (experimental). Review the documentation and investigate the source code. That should give you some idea of dialecting. ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] XML parsing / XMLRPC
Hello everybody, I've uploaded a few scripts that adds some XMLRPC functionality to REBOL and an extended XML parsing function to my (brand new!) REBOL section at http://www.obscure.dk/rebol/ It's very much beta, and quite untested (and no server-side functionality yet), but anyways, here's a demo of what it currently can do: REBOL/Core 2.4.36.1.1 6-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. ## do %xml-utils.r ## do %xml-rpc.r ## test-host: make xml-rpc/host! [ [host: http://betty.userland.com/RPC2 [] ## test-host/add-method 'examples.getStateName [state-no [integer!]] ## test-host/exec [ [state-no: random 40 [print ["The name of state no." state-no "is" examples.getStateName state-no] [] The name of state no. 15 is Iowa (I hope userland.com don't mind me testing against their demo server too much :-) It currently handles marshalling REBOL to/from XMLRPC for the following datatypes: integer! - i4 logic! - boolean string! - string decimal! - double date! - datetime.iso8601 binary! - base64 block! - array object! - struct (including nested arrays and structs) Best regards Thomas Jensen
[REBOL] Bug! path! in objects don't behave the same as path! outside object Re:
Hi Andrew, you wrote: Bug! path! in objects don't behave the same as path! outside object. Which parallel case involving paths are you thinking of? Here is an example case that does not involve objects at all and behaves exactly the case you attribute to objects: base: func [/p] [ either p [print "'p in 'base."] [print "'base"] ] base/p 'p in 'base. derived: make function! [/p] [ either p [p: first [base/p]] [first [base] ] ] derived == base derived/p == base/p When you create the object (or in my example the function) the expression first [base/p] is evaluated. It evaluates to the path base/p type? first [base/p] == path! base/p is a value of type path! This value, base/p, is referenced by p in your make object! example. If you want REBOL to instead assign p as a reference to the value that the path evaluates to, you must tell REBOL that: first reduce [base/p] 'p in 'base. i.e. derived: make object! [ p: first reduce [base/p] ] REBOL/View 0.10.34.3.1 23-Sep-2000 Copyright 2000 REBOL Technologies. All rights reserved. base: make object! [ [p: does [print "function 'p in 'base"] [] derived: make object! [ [p: first [base/p] [] p: first [base/p] == base/p p function 'p in 'base :p == base/p base/p function 'p in 'base derived/p == base/p The above is incorrect, I believe. The result of the above should be the result of base/p: function 'p in 'base _not_ the path: base/p Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/ -- ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] The day before, the day after, time to leave? ... Re:(2)
Hi Petr, Hi Jano, I believe that many things Petr said make a lot of sense ... to a degree. There are two competing, equally valid views of REBOL: - REBOL as a new tool to do NEW things. - REBOL as a new tool to do OLD things. Your criticism of RT's approach is based on the view of REBOL as a new tool do OLD things. I.e., how well does REBOL replace the tools we have been using all along (shell scripts, PERL, Tcl/TK, Visual Basic ... ) to do OLD things, such as integrate different applications, use OS services, conditionally launch applications, etc. This demand is natural. REBOL is such a well-designed tool to DO THINGS that - having invested the effort of learning REBOL - one immediately wishes one were able to use REBOL to do all those OLD things that one has to do all day. I think that in Carl's mind (well, I really don't know what's going in Carl's mind other than what I conclude from his design of REBOL) REBOL is intended as a tool to do NEW things in a new way. Things that have not been done because before, because the OLD tools did not inspire doing these new things, because the old tools are too clumsy to even begin to think about doing NEW things. I think RT should continue to remain focused on REBOL as a tool to do NEW things. They should encourage a visionary approach to using REBOL. They should not get caught up in trying to make REBOL the more convenient tool for doing OLD things. Why? Because if they are going to compete with established tools (some of which have been around 10 - 20 years), they have too much catching up to do, not only in terms of specialized support for legacy technologies, but also in terms of breaking through the lethargy of people who are set in their ways and have been solving the exact same type of problems in the exact same way for ten, twenty or thirty years. And to the degree that we enjoy using REBOL and desire to make REBOL a tool we can use daily in our professional life, we should be brainstorming about the new things that can be done with REBOL instead of complaining about how well REBOL manages to replace the old tools we have been using all along. How can we, for instance, use REBOL to improve the way we continue to OLD things using OLD tools? Can we implement a meta dialect in REBOL that will enable us to use REBOL to compile high-level task descriptions into executable PERL, Tcl/TK, Java or C++ scripts and programs? Which problems in a corporate context are not being tackled with existing technologies because of the limitation inherent in these technologies? Can REBOL be used as a basis to provide solutions to problems that are not being tackled because it is not feasible to attempt to solve them using anything but REBOL? More about that shortly. At 08:28 AM 9/22/00 +0200, you wrote: Hi, the day before I left for my business trip, I answered to Bo's email sent to Phoenix ml asking why evyryone talks MS C# but not REBOL/View, so let's start with it: ... ... Time to leave after four years of loyality? ... Sadly, -pekr- Very nicely written Pekr! I guess I can only agree. REBoL is very cool, it even changing (evolving) very fast (although it's been four years now, as Pekr says), but it does it as if it was a RT's _toy_ and not a product. Actually I can see no REAL _product_. Many things can be done with REBoL, very easily... but many things can't be done, because of thing Pekr described. You know what these things are. We did (not particullary I did...) asked for them starting on the early days (execution of external programs, libraries etc.) which have finally appeared in /Command, but are actually needed in the very heart of REBoL, /Core. And many other things that have distracted many, I believe. Always a REBEL, Jano ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] newbie help Re:(3)
Hi txiki, could you include 1. The exact bang line you use (copied from your REBOL script file and pasted into the email)? 2. Which OS is the server running on? 3. Which server are you using? ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] Will REBOL/View be commercial? Re:
Hi Jochen, a few months ago Carl proposed that REBOL/View should replace REBOL/Core as REBOL's free, entry-level product. I don't think that Carl intends REBOL/View to become a commercial product. I don't know if Carl (as CTO) has the final say on these matters. I don't think you can compare REBOL/Command to REBOL/View with respect to commercialization. REBOL/Command (and other commercial REBOL implementations) will only become profitable if REBOL/View is deployed freely. REBOL/Command is a corporate type tool that would most likely be used to control a local workstation, an IntraNet or to run as a CGI interpreter on a Website. Meaning that the use of REBOL/Command does not depend on its availability on a third party's, a target client's machine. Perhaps I have a Website, or I need to provide a tool for my corporate strategical planning department to retrieve and process data from some database, or I want to glue applications together to automate some processing done by me, or by a department I'm responsible for. In all these scenarios I do not rely on a target audience - that makes its OWN purchasing decisions - already being in posession of REBOL/Command. IMHO REBOL/View's strategical position as a product is very different. It is to ensure that REBOL as a technology is marketable on a mass consumer market. REBOL/View = A REBOL Language Visual Browser The relationship between REBOL/View and the REBOL programming language is similar to the relationship between a webbrowser and HTML. REBOL/View is essentially a REBOL browser. It takes the combined effort of HTML + JavaScript + Java to replace REBOL/View. That's where REBOL/View's strength lies. That's also where REBOL Technologies chance for survival lies. /*** * If REBOL/View becomes commercial, then it is no longer competing against the ugly combination of HTML + JavaScript + Java, BECAUSE it cannot hope to compete with the ugly threesome WITH RESPECT TO availability on the consumer's, the target audience's machine. / A commercial REBOL/View distribution will prevent applications that target the Internet mass consumer market (i.e. portals, ecommerce solutions) from migrating to REBOL/View because they cannot reasonably assume that their target clients have REBOL/View available on their machines. It is this type of applications that REBOL/View targets. Developers, who have to provide solutions targeting this kind of audience will have to deliver technologies that are accessable to the target audience, and will be stuck with whatever technologies can reasonably be assumed to be freely available to the consumer: HTML + JavaScript + Java. If REBOL/View cannot replace the ugly threesome, then REBOL/View cannot fulfill its strategical role for RT. IRONICALLY, developers WILL be able to use the freely available REBOL/Core to manage their threesome projects, they WILL be able to use REBOL as a CGI engine serverside to generate their HTML and Java/Script pages, BUT THE CONSUMER WILL NEVER HAVE HEARD OF REBOL, because there is no point for consumers of Internet services to put REBOL/Core on their machine, and therefore neither developer's nor consumers will turn REBOL/View (or other REBOL implementations) into a commercial viable product. For REBOL to become a product (in contrast to being a technology) REBOL must become the consumer's favorite view of the Internet! This is only possible if REBOL/View is freely available to consumers so that it makes sense to develop REBOL/View scripts. REBOL/View will only be accepted by consumers if there are plenty of useful applications written in REBOL/View out there. They will only be written if it is realistic to assume that every consumer who now has a Web browser running on his machine will soon enough have REBOL/View running on his machine as well. In this situation IMHO REBOL/View would die as a product, if it were sold for a price. No consumer will acquire REBOL/View if there are no useful REBOL/View scripts around. No developer will invest into a commercial development effort under REBOL/View if there does not exist a large target market that uses REBOL/View. REBOL Technologies still has some way to go before commercial REBOL implementations become profitable. (Just because they're charging a price doesn't meen that they're seeing a return on investment). IMHO the free REBOL/View distribution is a tool to turn commercial REBOL implementations into profit. I think that REBOL/Command (and other commercial REBOL implementations) will sell because of REBOL/View's popularity and acceptance by Internet consumer's. And as a company RT stands and falls with acceptance by consumers, not by developers. Once REBOL/View becomes the consumer's favorite browser, the developers, investors and jobs will come running. As a later step, once REBOL
[REBOL] Will REBOL/View be commercial? Re:(2)
Hi Geo, Oberon 3: http://caesar.ics.uci.edu/oberon/ Juice: http://caesar.ics.uci.edu/juice/ At 06:44 PM 9/21/00 -0700, you wrote: Elan, Would you give us some pointers re: Oberon 3 and Juice. I know where Oberon-2 is but not Oberon 3. Just curious. Thanks Geo... [EMAIL PROTECTED] wrote: As a later step, once REBOL/View has been broadly accepted, I do see a market for a REBOL/View pcode (bytecode, or slim binaries (Oberon 3, Juice)) type engine. Commercial developers who want to protect their scripts from prying eyes will purchase a REBOL/View compiler that generates slim binary runtimables. The freely available REBOL/View interpreter will include an engine that interprets the slim binary scripts. Developers who are willing to share their scripts by deploying their application in REBOL source code do not need to pay anything to be able to do that. They are making REBOL more useful. Commercial developers who want to protect their source code and take advantage of somewhat faster execution speed (slim binaries are almost as fast as native compiled code, see Oberon 3) will be willing to pay for technology that will convert their source code files. ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] Interleaving strings -How? Re:
Hi Webdev, At bare minimum I need to understand the command syntax for stepping and clipping the string at specific points as well as the method for specifying the length of the clipped portion. This should get you started skip string: "0123456789" == "0123456789" string: skip string 3 == "3456789" string == "3456789" head string == "0123456789" string: head string == "0123456789" string == "0123456789" string skip tail string -3 == "789" at string: at string 3 == "23456789" string == "23456789" string: head string == "0123456789" back string back tail string == "9" next string: next string == "123456789" string: head string == "0123456789" copy/part partial-string: copy/part string 3 == "012" partial-string == "012" partial-string: copy/part skip string 3 2 == "34" partial-string == "34" Creating a string from an integer string: form 1234 == "1234" string == "1234" Another way to do it string: "" == "" insert string 1 == "" append string 2 == "12" picking and poking string == "12" pick string 1 == #"1" pick string 2 == #"2" poke string 2 #"X" == "1X" Hope this helps At 11:30 PM 9/21/00 -0400, you wrote: Dear "Fellow Rebol Rousers", After having read the docs I have not quite figured out how to accomplish the interleaving of strings. The short and the long of what I want to do is take latitude and longitude coordinate pairs and interleave them with each other. The rational behind this is to place objects that are physically close to each other in the real world close together in computer memory, which we all know is linear and not spherical like the earth. The coordinates are in decimal degrees for the sake of easy manipulation. The max longitude is 180 degrees while the max latitude is 90. Ignore the issue of positive/negative values as indications of north/south east/west locations. The first segment of the numbers would be interleaved on the basis of the non decimal portion of their values (1st three positions assuming required zero padding). The balance of the values would be interleaved on each subsequent pair. As an example: 043.6732452849 142.8321724625 interleaved value: 043142 6783 3221 4572 2846 4925 (spaces are only for readability/illustration) The non decimal portion must be padded with a zero for all latitude values (they never exceed 90). 100. I understand that I must convert the numbers to rebol strings to access the necessary functionality required to step through the "number" and pluck out the required portion. My problem: At bare minimum I need to understand the command syntax for stepping and clipping the string at specific points as well as the method for specifying the length of the clipped portion. Any inspiration would be most appreciated. Thanks in advance, [EMAIL PROTECTED] ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] flavors versions... Re:
Hi Pete, 1. Upgrading Command: I suspect the REBOL/Command uses an umodified /Core upgrade function (bug!). That upgrade function (because its unmodified) does the same thing it would do if it was evaluated under /Core. It downloads the latest /Core archive. Keep in mind that /Command is an experimental version. To upgrade it go to http://www.rebol.com/xpers/xpers.html and download the latest version. 2. Upgrading /Core: Which /Core version are you currently using? Does there exist a newer stable version, or are you trying to upgrade from/to an experimental version? If that is the case use the above url as well. 3. View: When /View is installed it attempts to write a copy of the /View executable to the target directory. If that target directory is identical to the directory from which you launched /View, then /View will not be able to overwrite itself (MS Windows stops it from doing that). You must unpack /View to a different (for instance temp) directory, and install it from there. If launched from a different directory /View will successfully overwrite the old version of /View it finds in the target directory. (I had a similar problem on my Win95 machine and solved it by unpacking /View to a different directory). Hope this helps. At 12:03 PM 9/20/00 -0400, you wrote: flavors versions... Hiall - OK, now I'm really losing it. Here's the way I have things set up on my NTWS4.0 machine: E: \Program Files \_Rebol \Command \Core \View I install Command, and "upgrade". A zipfile called "rebol031.zip" is written into \Command. I open and extract. Command is over-written by Core. Luckily, I still have the the original installer "command031.zip". I install Core, and "upgrade". I get a message that I'm using an unknown version of Rebol. I install View, switch to console, and "upgrade". An exe is written into \View. I run it, expecting View to open, but find that it is an installer. I change the Install path to /e/program files/_rebol/view, click "Install", and get a message that /e/program files/_rebol/view/rebol.exe cannot be overwritten. HUH? I asked this before, but got conflicting answers: can I put all three EXEs into the same folder, but call them command.exe, core.exe and view.exe? Are there differences in the supporting files that would make this impossible? How are other people dealing with the bountiful and myriad flavors and versions of Rebol? I'm not, so far! -- Pete Wason|"LWATPLOTG"|[EMAIL PROTECTED]|[EMAIL PROTECTED]|CUCUG|TA|PHX ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] newbie help Re:
Hi txiki, I assume that your script is running as a CGI script. I don't know what you're doing right, so here is a minimal set of rules: 1. If you're website is unix (linux) based, and/or you're running Apache as a webserver (even on MS Windows), then your first line must contain the bang character followed by the complete path to REBOL. Example: #!/usr/bin/rebol -cs REBOL [] 2. Before you print some content you must first indicate the content type followed by two newlines. Example: print [ "Content-Type: text/html^/^/" HTML HEAD TITLE "Example" /TITLE /HEAD BODY "Location: http://bla" /BODY /HTML ] This should work. Hope this helps At 01:30 PM 9/20/00 +0000, you wrote: Hi. I'm using Rebol on a website and am trying to print something to a page that processes a form and sends a couple emails, with print "Location: http://bla" but all I get is a white screen with REBOL printed there. Can someone help? Thanks, [EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] flavors versions... Re:(3)
Hi Pete, you wrote: As far as the other files associated with Rebol, how do you handle storage? Under Windows all versions of the REBOL interpreter are called rebol.exe, for instance. So you will have to either rename them, or install them in separate directories. REBOL/View (if I recall correctly), creates a REBOL directory in \Program Files and creates a view directory in the REBOL directory. Core and Command would also normally belong in their own directories. This may be important because you may want to have different entries in the user.r file for different REBOL versions. Either I have multiple versions of the same files in different directories, or I overwrite a script intended for use with View with one that only works in Core, Everything that works in /Core must work in /View and /Command. etc. Maybe scripts should have command: core: and view: blocks that only get executed depending upon the version of rebol being used... You could also call /Core files filename.r, /View files that include /View specific stuff filename.rv and /Command files filename.rc. That would avoid confusion as well. I'm enjoying the book, BTW. Thanks. -- Pete Wason|"LWATPLOTG"|[EMAIL PROTECTED]|[EMAIL PROTECTED]|CUCUG|TA|PHX ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com
[REBOL] reform, rejoin and separation characters Re:
Hi Terrence, you wrote: Been awhile since I have been able to chew the fat with my fellow rebols, but please correct me if I am wrong, but it seems that rejoin is a reform where the separation character is the empty string as opposed to the space. There's more to it than that. What the two functions have in common is that they reduce their argument, thereby replacing words supplied to them in a block by the values these words are bound to. However, there are quite a few differences that are due to the fact that rejoin and reform descend from different functions that are intended to accomplish different tasks. In some instances rejoin and reform have similar results. (See the differences documented below.) The rejoin function descends from join, whereas the reform function descends from form. The form function (form is a native function) is used to convert any type of value to a string. The join function (join is a mezzanine function) appends its second argument to its first argument. The join function uses form, if its first argument is not a series! type value. (source form, source join). The behavior you observe (preserving spaces or not) results from the fact that the two functions derive (or extend) essentially different functions. Besides the preservation of spaces there are, however, a few more differences: 1. While reform accepts any datatype you must pass a block to rejoin: reform 3 == "3" rejoin 3 ** Script Error: rejoin expected block argument of type: block. ** Where: rejoin 3 reform "abcdef" == "abcdef" rejoin "abcdef" ** Script Error: rejoin expected block argument of type: block. ** Where: rejoin "abcdef" This can become relevant when you are using rejoin or reform programmatically, and you don't know for a certainty, whether or not the argument you will supply to the resomething function will be a block or not. Another difference is the return value: reform [%/d/ "directory"] == "/d/ directory" rejoin [%/d/ "directory"] == %/d/directory type? reform [%/d/ "directory"] == string! type? rejoin [%/d/ "directory"] == file! While reform always returns a string, no matter what it's argument - recall that reform descendants from form, and form's purpose is to convert everything to a string - rejoin returns an argument whose datatype is the datatype of the first element in rejoin's block argument, provided that first element is a series value. After all, rejoin descends from join, and join's purpose is not to convert everything to a string, join's purpose is to join its second argument to its first argument, while preverving the datatype of its first argument, if that datatype is a series! type. If the first element in the block passed to rejoin is a string, or if it is not a series type argument, in these two cases only will rejoin return a value of type string! If you source reform and rejoin, you'll be able to see the difference: source reform reform: func [ "Forms a reduced block and returns a string." value "Value to reduce and form" ][ form reduce value ] source rejoin rejoin: func [ "Reduces and joins a block of values." block [block!] "Values to reduce and join" ][ block: reduce block append either series? first block [copy first block] [ form first block] next block ] In summary, use reform if you would have normally used form, but you must first reduce words contained in a block before the block is converted into a string: a: 1 == 1 form [a] == "a" reform [a] == "1" Use rejoin when you want to append multiple dereferenced words to the leading element, while preserving that leading element's datatype: rejoin [%/d/ "directory"] == %/d/directory That being the case, why not simply one function with different refinements? Then one could separate with the character(s) of choice: rekindle/sepchar [ 1 2 3 ] " " == reform rekindle/sepchar [ 1 2 3 ] ""== rejoin rekindle/sepchar [ 1 2 3 ] ", " == my own home-cooked joinchar. outrageous! The RT people seem kinda resistant to this sort of streamlining for some reason. We may have to rebel against the rebols to get this into REBOL. terrence-brannon: [[EMAIL PROTECTED] perl-refugee myth-gamer] free-email: http://www.MailAndNews.com free-usenet: http://www.mailAndNews.com ; all the above is real REBOL code, believe it or not. ;- Elan [ : - ) ] author of REBOL: THE OFFICIAL GUIDE REBOL Press: The Official Source for REBOL Books http://www.REBOLpress.com visit me at http://www.TechScribe.com