[REBOL] Re: A REBOL challenge - The Information World

2001-12-03 Thread chaz
Since a Tourist can carry baggage, wouldn't he be a special case of a Mail Agent who can only carry his own objects? - Original Message - From: "Gabriele Santilli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 8:45 AM Subject: [REBOL] A REBOL challenge - The

[REBOL] Re: Elegant way to reference a function?

2001-12-03 Thread chaz
This sounds like a context thing. - Original Message - From: "Patrick Philipot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 03, 2001 1:44 PM Subject: [REBOL] Elegant way to reference a function? > > Hi all, > > What is the elegant way to reference a function? > >

[REBOL] Re: Elegant way to reference a function?

2001-12-03 Thread Ladislav Mecir
Hi Patrick, your solution (display: :my-show-photo-function) seems to be perfect. Do you have any problem with that? Aliases aren't well suited, they are more permanent, than you might need. - Original Message - From: "Patrick Philipot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

[REBOL] catching the error with 'import-email?

2001-12-03 Thread Petr Krenzelok
Hi, shouldn't mezzanine functions as import-email be catchable automatically by something like: if error? try [msg: import-email data] ? my script returned something like: [root@moon smrsh]# ls -l | ./snih.r ** Throw Error: ** User Error: header not correctly parsed ** Near: throw make er

[REBOL] Re: How to read all data from input?

2001-12-03 Thread Graham Chiu
> buff: copy {} > while [data: copy system/ports/input][append buff data] > buff: head buff > > How to do it properly to be sure there are no data left > at the input > port? > This looks like the same problem as Cgi POST problem. You could try that solution. -- Graham Chiu -- To unsubscribe

[REBOL] How to read all data from input?

2001-12-03 Thread Petr Krenzelok
Hi, I just finally found solution of how to instantiate rebol automatically, once email is delivered to some account. The problem is - I have to read-out all the input data. I tried it with small messages and it works, however, on larger one - 4 MB (I will not need it, but I just don't want to br

[REBOL] httpr

2001-12-03 Thread Graham Chiu
Looks like Maarten has been pipped at the post. I see that httpr is the abbreviation used by their sugggested http reliable protocol. http://www-106.ibm.com/developerworks/webservices/library/ws-phtt/ -- Graham Chiu -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] w

[REBOL] Re: cgi weirdness

2001-12-03 Thread Graham Chiu
> Just yesterady I had similar problem. Even detab was not > enough. I cut and pasted first line from another script > (#!/usr/bin/rebolcmd -cs), detabbed the script, manually > pressed enter at the end of the line, deleted empty > lines, entered new ones, etc. - no success. I simply > deleted lin

[REBOL] Re: How can one get rid of an alias?

2001-12-03 Thread Gregg Irwin
Hi Patrick, << How can one get rid of an alias? >> This won't tell us what the ultimate solution would be but just start a new console session and you should be able to use it. alias 'print "affiche" Referencing it, even when it created the error, added it to system/words. I don't think you ca

[REBOL] Re: A REBOL challenge - The Information World

2001-12-03 Thread Mäkelä
Very interesting, one of the best proposements for creating virtual world where AI would emerge from the interaction of artificial objects, users and programmers... Have you thougth about what could be the main goals in this world? The goals are needed for evolution to work... 8) Cheers, Mikko

[REBOL] Re: cgi weirdness

2001-12-03 Thread Tom Conlin
In the enviroment I must use all cgiscripts must end in .cgi so the solution is to begin each script with a shebang line #! /path_to_rebol/rebol -cs rebol[] ... as an aside: I also use so adorned scripts as 'normal' shell commands as my co-workers typicaly can't/don't want to deal with the i

[REBOL] Re: cgi weirdness

2001-12-03 Thread Petr Krenzelok
Hi, I will help you :-) Well, I lost hours checking my environment, as I am no linux guru. And you know what? The problem was in damned spacing. I strongly suggest you following: read your script into rebol, detab it, save it once again. It matters especially when you transfer your scripts bet

[REBOL] Re: cgi weirdness

2001-12-03 Thread Brett Handley
oops. That's true, I missed that crucial piece of evidence. :-/ Brett. - Original Message - From: "Graham Chiu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 11:45 AM Subject: [REBOL] Re: cgi weirdness > On Tue, 4 Dec 2001 10:49:12 +1100 > "Brett Handle

[REBOL] Re: Problems with parsing

2001-12-03 Thread Peter Carlsson
At 16:00 2001-11-30 +0100, you wrote: >Hallo Peter, > > > To all who helped me out with the parsing problem I > > finally found a solution by myself. > > > > Thanks a lot anyway! > >can you please share it with us if it's different? Well, I used another way to parse where I included some more

[REBOL] Elegant way to reference a function?

2001-12-03 Thread Patrick Philipot
Hi all, What is the elegant way to reference a function? Let me explain a little bit my context : I am working on a program that selects items using criterion (may be the plural criteria is required here, but I'm french you know). Theses items are photos, for example, or texts such as FAQ.

[REBOL] How can one get rid of an alias?

2001-12-03 Thread Patrick Philipot
Hi, all How can one get rid of an alias? For example, I type this at the console (it was an error) >> alias 'print affiche And I receive a well deserved error ** Script Error: affiche has no value ** Where: halt-view ** Near: alias 'print affiche However, when I enter what I think is the co

[REBOL] Re: reboLDAP (LDAP for rebol)

2001-12-03 Thread Deryk Robosson
> see: http://vvn.net/reboldap/ > > Also see: http://www.rebol.com/faq.html#8290838 > Q. Any plans to support IMAP? LDAP? > > A. Yes. > (IMAP is built into core 2.5 --> so LDAP is coming in next version?) Would be nice to have so I wouldn't have to maintain multiple authentication methods acro

[REBOL] Re: A REBOL challenge - The Information World

2001-12-03 Thread James Marsden
Hi Gabrielle, All. /. had an article linking to a P2P project at University of Bologna (Italy) called Anthill. Code is freely available and they have an example of one which uses agents to simulate a document sharing network. http://www.cs.unibo.it/projects/anthill/description.htm Gabriele San

[REBOL] Re: cgi weirdness

2001-12-03 Thread Graham Chiu
On Tue, 4 Dec 2001 10:49:12 +1100 "Brett Handley" <[EMAIL PROTECTED]> wrote: > > I'm not an expert on CGI but to me it appears that the > webserver does not > recognise your script as a CGI so it just picks it up and > sends it out as > the content itself, rather than executing it. I would Hmm

[REBOL] Re: cgi weirdness

2001-12-03 Thread Brett Handley
Hi James, I'm not an expert on CGI but to me it appears that the webserver does not recognise your script as a CGI so it just picks it up and sends it out as the content itself, rather than executing it. I would guess then that it has nothing to do with Rebol, more likely it is file permissions

[REBOL] Re: A REBOL challenge - The Information World

2001-12-03 Thread James Marsden
Cool Idea Gabrielle, kinda like the Daliworld virtual ocean project and the Aglet system. This could be a fun challenge and with the ability of rebol to redefine itself dynamically the ability of self modifying Agents becomes a lot simpler. James. - Original Message - From: "pat665" <[EM

[REBOL] cgi weirdness

2001-12-03 Thread jamescis152
The strange thing is that my old scripts work. I'm using the -cs option that I have used for years. hm. This is really bugging me. Help. Thanks, James Submit: Send Message I don't know why but for some reason I can't get NEW cgi scripts to work properly. I constantly get the REBOL help ou

[REBOL] Re: Function Context Query

2001-12-03 Thread Romano Paolo Tenca
The strange thing for me is that you can use /local as a refinement and pass the values of the locals vars as arguments. I thinked that local was a special keyword for locals vars, not a refinement like the all the others. --- Ciao Romano - Original Message - From: "Paul Tretter" <[EMAI

[REBOL] Re: A REBOL challenge - The Information World

2001-12-03 Thread pat665
Go Gabrielle, Go ! I am totally supportive to your challenge, however I don't see that newbie like me can be a part of it. Nevertheless I will enjoy seeing you all gurus and Rebol jedi in a fair and loyal joust. Patrick - Original Message - From: "Gabriele Santilli" <[EMAIL PROTECTED

[REBOL] Re: reboLDAP (LDAP for rebol)

2001-12-03 Thread Joel Neely
Hi, Robert, "Robert M. Muench" wrote: > > > -Original Message- > Hi, I haven't done a lot with LDAP yet, so I read some FAQs > about it. Very interesting! Especially the name,value pair > approach is straight-forward. I can think of a lot of > applications, where LDAP could be used... b

[REBOL] Re: Function Context Query

2001-12-03 Thread Paul Tretter
Seems pretty clear: >> source has has: func [ {A shortcut to define a function that has local variables but no arguments.} locals [block!] body [block!] ][function [] locals body] >> source a1 a1: func [/local b c][print b print c] >> Paul Tretter -Original Message- From: [

[REBOL] Re: reboLDAP (LDAP for rebol)

2001-12-03 Thread Robert M. Muench
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Vos, Doug > Sent: Monday, December 03, 2001 4:27 PM > To: '[EMAIL PROTECTED]' > Subject: [REBOL] reboLDAP (LDAP for rebol) > see: http://vvn.net/reboldap/ > Also see: http://www.rebol.com/faq.html#8290

[REBOL] A REBOL challenge - The Information World

2001-12-03 Thread Gabriele Santilli
Hello all! A REBOL challenge [Permission is explicitly granted to publish this document on the REBOL Zine, on REBOLForces or on any other REBOL-related publication/site/whatever.] With this message, I'm going to launch a challenge. The goal is to create a peer-to-peer communication system as d

[REBOL] Re: ANN: IMG-FX2

2001-12-03 Thread Gregg Irwin
Another very cool effect Cyphre! -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: Function Context Query

2001-12-03 Thread Joel Neely
Hi, Mark, [EMAIL PROTECTED] wrote: > > Surely this is incorrect? > > >> a: has [b c] [ print b print c] > >> a > none > none > >> a/local 3 4 > 3 > 4 > > Surely local words default value should be unset > until they are defined? > > Also in the second case is it correct to be > able to pass v

[REBOL] Re: Function Context Query

2001-12-03 Thread Romano Paolo Tenca
Hi, Mark > Surely this is incorrect? > > >> a: has [b c] [ print b print c] > >> a > none > none > >> a/local 3 4 > 3 > 4 Amazing! At least for me! This demostrates that /local is a refinement like any other, only for convention it is used for defining local. One can use another one. The only d

[REBOL] reboLDAP (LDAP for rebol)

2001-12-03 Thread Vos, Doug
see: http://vvn.net/reboldap/ Also see: http://www.rebol.com/faq.html#8290838 Q. Any plans to support IMAP? LDAP? A. Yes. (IMAP is built into core 2.5 --> so LDAP is coming in next version?) -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the

[REBOL] Function Context Query

2001-12-03 Thread Robbo1Mark
Surely this is incorrect? >> a: has [b c] [ print b print c] >> a none none >> a/local 3 4 3 4 Surely local words default value should be unset until they are defined? Also in the second case is it correct to be able to pass values to local words in this manner? How is the above different from

[REBOL] ANN: IMG-FX2

2001-12-03 Thread Cyphre
Hi guys, On friday I have been playing with rebol for a while so if you are interested, have a look at my new demo VID style: desktop/sites/cyphre/img-fx2 regards, Cyphre --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.282 / Virov

[REBOL] Re: upgrade from console?

2001-12-03 Thread Anton Rolls
I get the same message. RT said before that the script is out of date. It used to work for earlier versions but I think they changed their version numbering system or rearranged their site so it doesn't work anymore. (sheesh.. I offered to program them a new upgrade but I never got around to it...

[REBOL] Re: another gotcha

2001-12-03 Thread Ladislav Mecir
Hi Patrick, <> (...) From where I come, these two "declarations" of zone looks like a redondancy. <> Yes, right, it really looks strange, especially for beginners. Experienced users may have some objections too, as I tried to describe in my Rep http://www.sweb.cz/LMecir/rep.html ). <> (...) So