[REBOL] Re: Why I don't need get-word here!

2003-11-03 Thread Gabriele Santilli
Hi Patrick, On Sunday, November 2, 2003, 6:58:39 PM, you wrote: PP So my questions are: PP - Do I need the get-word? No, you don't in this case. PP - Is there a difference in the result? It's the same, there's no difference. PP two syntaxes, the same results, what am I missing ? Basically,

[REBOL] markup datatype

2003-11-03 Thread bryan
http://www.xmldatabases.org/WK/blog/663?t=item a wishlist by Kimbro Staken about what he wants a language to be able to do with xml. Rebol is in some ways pretty close to this. In other ways very far off. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with

[REBOL] getting headers of http response

2003-11-03 Thread bryan
So if one opens a http address, is there first of all a way to only return a specific header, I suppose this can be done via either skip or custom refinements, but which ones, second of all if I do this: Locals: probe a/locals ; a being the name of my open port State: probe a/state I understand

[REBOL] Re: markup datatype

2003-11-03 Thread Brett Handley
http://www.xmldatabases.org/WK/blog/663?t=item a wishlist by Kimbro Staken about what he wants a language to be able to do with xml. Rebol is in some ways pretty close to this. Yes. In other ways very far off. This particular example does not seem too far off for REBOL at all :^) From

[REBOL] Re: Gregg's Article in OnLamp

2003-11-03 Thread Ged Byrne
Feel free to use the comment section for the article to critique and discuss these kinds of ideas. Hopefully there will be enough interest to warrant O'Reilly publishing more articles on REBOL. -- Gregg REBOL in a Nutshell would be a great thing to have.

[REBOL] Re: markup datatype

2003-11-03 Thread bryan
In other ways very far off. This particular example does not seem too far off for REBOL at all :^) The thing that made me say far off was the xpath usage against the xml inside the variables. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as

[REBOL] Re: Why I don't need get-word here!

2003-11-03 Thread Romano Paolo Tenca
Hi Gabriele, while word does not always yield the same result as using GET. In the recent versions of REBOL the only datatypes for which there is a difference are the ones enclosed in the ANY-FUNCTION! pseudo type. It seems to me that also the lit-word! datatypehas the same

[REBOL] Re: Why I don't need get-word here!

2003-11-03 Thread Gabriele Santilli
Hi Romano, On Monday, November 3, 2003, 3:05:42 PM, you wrote: RPT It seems to me that also the lit-word! datatypehas the same behaviour: Indeed, it looks like lit-words are still word-active... Hmm, do you see any reason for this? Regards, Gabriele. -- Gabriele Santilli [EMAIL

[REBOL] Re: Gregg's Article in OnLamp

2003-11-03 Thread rebOldes
Hello Martin, Friday, October 31, 2003, 11:11:32 PM, you wrote: AJM Gregg wrote: To me, one of REBOL's greatest strengths is the ability to use words-- AJM Yes, I agree. I'd like Rebol to be more versatile in this area. I'm sure AJM with improvements to the current parser in Rebol, then words

[REBOL] Re: Why I don't need get-word here!

2003-11-03 Thread Romano Paolo Tenca
Indeed, it looks like lit-words are still word-active... Hmm, do you see any reason for this? Backward compatibility? --- Ciao Romano -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: File writing issue

2003-11-03 Thread Matt MacDonald
Sorry for the lack of clarity. Basically, I am implementing a secure messaging system. This system has 3 components: client software, a messaging server, and a file server. The messaging server handles most of the database access of storing and retrieving the messages. The file server is

[REBOL] Re: Gregg's Article in OnLamp

2003-11-03 Thread Gregg Irwin
Hi Ged, GB REBOL in a Nutshell would be a great thing to have. I agree. Let O'Reilly know. If we *all* let them know we want a great O'Reilly REBOL book, maybe it'll shake 'em up a little. :) -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL

[REBOL] Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
Hello. I have 2 values that would be mapped to each other. What I need to do is to be able to find the first valeu by searching for the ceond and locate the second by searching for the first. I did come up with solutions to that but I am not satisfied with any of the solutions. Is there a

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Maxim Olivier-Adlhoch
liquid. that is its main purpose. it is also linked to vid via liquid-vid. development has slown down for a few weeks, but it'll pick up. http://www.rebol.it/~steel a working version and some documentation can be found here: http://www.rebol.it/~steel for an understanding of liquid itself, you

[REBOL] Checking for broken connections

2003-11-03 Thread Matt MacDonald
Ok, I asked this question a while ago and got some good answers, but a scenario has risen that I wasn't counting on before, and the previous solution doesn't work. Suppose you have a sever running: s: open/lines/no-wait tcp://:8000 v: first s And a client: c: open/lines/no-wait

[REBOL] Re: Gregg's Article in OnLamp

2003-11-03 Thread Tom Conlin
On Mon, 3 Nov 2003, Gregg Irwin wrote: Hi Ged, GB REBOL in a Nutshell would be a great thing to have. I agree. Let O'Reilly know. If we *all* let them know we want a great O'Reilly REBOL book, maybe it'll shake 'em up a little. :) -- Gregg Agreed I would love a nutshell book, however

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread patrick.philipot
Hi Bruno, You can use 'select with a little trick firstvalue: 1 == 1 secondvalue: 2 == 2 searchblock: reduce [firstvalue secondvalue firstvalue] == [1 2 1] select searchblock firstvalue == 2 select searchblock secondvalue == 1 select searchblock firstvalue == 2 select searchblock

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Arie van Wingerden
Hi bruno, do you mean something like the ALIAS function? http://www.rebol.com/docs/words/walias.html If not, can you supply some code, an example? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message -

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
Hello Patrick. Thanks! This works great (although there is data duplication). It even works in a case like this: firstvalue:1 == 1 secondvalue: 2 == 2 thirdvalue: 3 == 3 fourthvalue: 4 == 4 test: [ 1 2 1 3 4 3 ] == [1 2 1 3 4 3] select teste 1 == 2 select teste 2 == 1 select teste 3 ==

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
Hello Arie. Thanks but this is not what I was looking for. Patrick nailed it though (although his solution results in data duplication). See my previous email. -Bruno Arie van Wingerden disse: Hi bruno, do you mean something like the ALIAS function?

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Joel Neely
Hi, Bruno, I know of no way to avoid some duplication. See below. Bruno G. Albuquerque wrote: I have 2 values that would be mapped to each other. What I need to do is to be able to find the first valeu by searching for the ceond and locate the second by searching for the first. I did come

[REBOL] Re: Rugby Question

2003-11-03 Thread Matt MacDonald
Sorry, I had to put this problem aside for a minute. Ok Maarten, I followed your advise to keep a running list of the server ports when I connect to them, that makes sense, but I'm still not following how the server can keep track of the clients. Basically I need to do this on the server:

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
Hello Joel. That's what I call a complete explanation. Thanks! I decided to use the interleaved values option. The reason I need something like what I described is that I am creating a HTTP Proxy using Rebol (that will eventually evolve into an HTTP Tunnel application). The mapping is used to

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Romano Paolo Tenca
Hello. I have 2 values that would be mapped to each other. What I need to do is to be able to find the first valeu by searching for the ceond and locate the second by searching for the first. I did come up with solutions to that but I am not satisfied with any of the solutions. Is there a

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Christian Ensel
Hi Bruno, doing it in the SELECT-way is nice but you should consider using it with the /SKIP-refinement. Without this you may end up with surprising results if one value may occur in value-1 and value-2 position as in ; that's-life: [cats birds cats birds

[REBOL] Re: Rugby Question

2003-11-03 Thread Maarten Koopmans
Hi Matt, Sorry, I had to put this problem aside for a minute. Ok Maarten, I followed your advise to keep a running list of the server ports when I connect to them, that makes sense, but I'm still not following how the server can keep track of the clients. Basically I need to do this on

[REBOL] Re: Rugby Question

2003-11-03 Thread Matt MacDonald
What do you mean spoofing? -- Hi Matt, Sorry, I had to put this problem aside for a minute. Ok Maarten, I followed your advise to keep a running list of the server ports when I connect to them, that makes sense, but I'm still not following how the

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Maxim Olivier-Adlhoch
Hi Bruno, I'm sorry If I have induced you into error, but I did not understand the question in the proper way... If you want to map a series of values to-from, then liquid isn't really the thing to use... I thought you meant to keep a synchronisation between to entities... so that a

[REBOL] Re: Basic Script Calling Command

2003-11-03 Thread Carlos Lorenz
Wow! How come I have never thought about this before? Thanks Anton Carlos Em Quinta 30 Outubro 2003 21:59, Anton Rolls escreveu: Ah a new linux guy. You may want to put these lines in your user.r for more familiar file system navigation: cd: :change-dir ls: :list-dir wd:

[REBOL] Re: Rugby Question

2003-11-03 Thread Maarten Koopmans
Pretending your somebody else's ip address. Using Ip addresses is very waek, security-wise. --Maarten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt MacDonald Sent: maandag 3 november 2003 21:53 To: [EMAIL PROTECTED] Subject: [REBOL] Re:

[REBOL] Re: lost the case ...

2003-11-03 Thread Paul Tretter
Pekr, I totally agree with the frustration. However, RT's mission is not to first create a language. I was also very confused over the developer updates and thinking it would be published eash month and that never happened. I never did look at VID as anymore than a sample of what we can do.

[REBOL] Re: lost the case ...

2003-11-03 Thread Will Arp
Hi Pekr, On 4-nov-03, at 00:34, Petr Krenzelok wrote: - VID is 70 - 80% complete, which means it pushes ppl to adapt styles. - styles don't provide proper encapsulation - why such thing as caret position of certain face is not simply a property of face object ... - styles are inconsistent

[REBOL] Re: lost the case ...

2003-11-03 Thread Tim Johnson
I'm not going to quote anyone here, because I'm taking a different attack than Pekr did - but it is worthwhile to take the same subject line. Given the context for which I generally use rebol - web programming - it is the most productive programming language that I have ever used. And I know

[REBOL] Re: Gregg's Article in OnLamp

2003-11-03 Thread A J Martin
rebOldes wrote: YES... I would appreciate it as well.. and #, character as a word as well so I could use it in my dialect. It would be good to send it to the feedback again. And what would you use comma (,) for? Andrew J Martin Speaking in tongues and performing miracles. ICQ: 26227169

[REBOL] Re: markup datatype

2003-11-03 Thread A J Martin
Bryan wrote: http://www.xmldatabases.org/WK/blog/663?t=item a wishlist by Kimbro Staken about what he wants a language to be able to do with xml. Rebol is in some ways pretty close to this. In other ways very far off. In some ways, .NET is like this. :) XML is to become a firstclass datatype