[REBOL] Q goes Online...

2003-10-24 Thread Terry Brownell
http://www.powerofq.com/q/index.html Q is online with a scripting free version of Q that can be placed on any web page. Tell Q to read your website (or any other) then ask it questions on what it has read. Powerfully simple. Comes with Q Pro for just $29.95.. YES the no ad version of persona

[REBOL] Re: choice of representation - was paths & lookups & change

2003-10-24 Thread Brett Handley
Hi Max, > why use switch rather than select? > > I can use code when I need it, directly in my values. > > default-value: "n/a" > > data: [name [default-value] age [30] race ["beagle"]] > name: switch 'name data > == "n/a" > > also, the fact that values are within blocks makes the use of words as

[REBOL] Re: choice of representation - was paths & lookups & change

2003-10-24 Thread Brett Handley
Hi Ashley, Interesting samples and comments. > I also try to store as much meta-data in the file-system as I can, for > example, I may have a file like the following: > > /c/rSQL/Contacts/Name.s24 > > which tells me that the "Contacts" table has a "string" column of 24 > characters width named "

[REBOL] Re: paths & lookups & change

2003-10-24 Thread Brett Handley
> > db: [id1 [name "Joe" num 32]] > > > > to be read with > > > > db/id1/name > > db/id1/num > > why is it that I missed this path ('select) notation for 4 years? There's a discipline that needs to followed with REBOL. Once you think you feel confident about how to do things, it is precis

[REBOL] Re: View Question

2003-10-24 Thread Carl Read
On 25-Oct-03, Matt MacDonald wrote: > Ok, stupid question, but I can't seem to get it to work. > I want to have the user select a file save location for a file > transfer and I want to be able to specify the default filename. Here > is my code as of now. > filepath: request-file/save/only/file

[REBOL] Re: paths & lookups & change

2003-10-24 Thread Elan
Or - then again - maybe not. ;-) Elan wrote: >Hi Romano. > >Right. Looks like a 'mold bug. The mold output in this case is: > >== { >make object! [ >first word: 1 >]} > >Should be: >== { >make object! [ >"first word": 1 >]} > > >Elan. > > > > > -- To unsubscribe from this list, just

[REBOL] Re: paths & lookups & change

2003-10-24 Thread Elan
Hi Romano. Right. Looks like a 'mold bug. The mold output in this case is: == { make object! [ first word: 1 ]} Should be: == { make object! [ "first word": 1 ]} Elan. Romano Paolo Tenca wrote: >Hi Elan, > > > >> >> db: make object! reduce [ to-set-word "first word" 1 to-set-word

[REBOL] Re: comparing two URLs

2003-10-24 Thread Tom Conlin
one more time with HEAD On Fri, 24 Oct 2003, Hallvard Ystad wrote: > > Thanks both. > > But theoretically, a these two URLs may very well not > represent the same document: > http://www.uio.no/ > http://uio.no/ > but still reside on the same server (same dns entry). > > So ... Is it possible t

[REBOL] Re: $QUERRY_STRING

2003-10-24 Thread carlos.lorenz
I used REBOL's CGI object. Look: at the page I named "referer.cgi" I put select system/options/cgi/other-headers "HTTP_REFERER" Did you see the source code of referer.cgi page? Carlos Em Sex 24 Out 2003 14:55, martin mauchauffee escreveu: > Hi Carlos > > Yes it'a a solution, what did y

[REBOL] Re: comparing two URLs

2003-10-24 Thread Jaime Vargas
Hallvard, You can possibly use id: checksum/secure read url and this id as a unique hash identifier for the page. With use this id to index your database, and If two URLs have the exact same content you will obtain the same checksum and you can then add the new URL reference to the db without a

[REBOL] Re: $QUERRY_STRING

2003-10-24 Thread martin mauchauffee
Hi Carlos Yes it'a a solution, what did you do to make the redirection ? send header ? or with apache ? > Hello Martin > > Check both URL below. They go to same page REFERER.CGI > and there I identify the path user took > > http://www.revistaeletronica.com.br/cgi-bin/path1.cgi > http://www.revi

[REBOL] Re: paths & lookups & change

2003-10-24 Thread Maxim Olivier-Adlhoch
> For very small blocks of data, i like the form: > > db: [id1 [name "Joe" num 32]] > > to be read with > > db/id1/name > db/id1/num why is it that I missed this path ('select) notation for 4 years? DOH! -Max -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED

[REBOL] Re: pdf-maker

2003-10-24 Thread Patrick . Philipot
Hi Gabriele, >GSimage x y w h img So simple as usual. Thank you! The french doc about pdf-maker (Will Arp post)is also quite good! Best regards, Patrick -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Command - View - Desktop -doesnt initiate

2003-10-24 Thread Maxim Olivier-Adlhoch
I guess command/view is actually view 1.2.10 with pro license extensions... This is a beta version with all the user based functions turned off... so it doesn't load the user.r file. basically you'll have to 'DO the user.r and prefs.r file by hand after it has loaded the console. -MAx --- "Yo

[REBOL] Re: paths & lookups & change

2003-10-24 Thread Romano Paolo Tenca
Hi Elan, > >> db: make object! reduce [ to-set-word "first word" 1 to-set-word > "second word" 2 ] but these don't work: probe do mold make object! reduce [ to-set-word "first word" 1] probe do mold/all make object! reduce [ to-set-word "first word" 1] and objects use a little more m

[REBOL] Command - View - Desktop -doesnt initiate

2003-10-24 Thread John W. Inman Jr.
Hi, I recently updated my Command to the latest version.. With it came an updated version of Command View (which I use often). Now.. when starting Command-View, it initiates to the console and NOT the desktop. Even though I have set the prefs.r - desktop: true . The location of the fi

[REBOL] Re: comparing two URLs

2003-10-24 Thread Tom Conlin
On Fri, 24 Oct 2003, Hallvard Ystad wrote: > > Thanks both. > > But theoretically, a these two URLs may very well not > represent the same document: > http://www.uio.no/ > http://uio.no/ > but still reside on the same server (same dns entry). > > So ... Is it possible to _know_ whether or not

[REBOL] View Question

2003-10-24 Thread Matt MacDonald
Ok, stupid question, but I can't seem to get it to work. I want to have the user select a file save location for a file transfer and I want to be able to specify the default filename. Here is my code as of now. filepath: request-file/save/only/file filenames/:i where filenames/:i is the defa

[REBOL] Re: Object lesson, please?

2003-10-24 Thread Volker Nitsch
with inner objects i would go with your do mold object it has the additional advantage that it checks your data for moldability. today its prety reliable, but in the old days a bad string could break it. when i stored data to disk, i checked them that way, instead of saving broken data. either

[REBOL] Re: comparing two URLs

2003-10-24 Thread Volker Nitsch
Am Freitag, 24. Oktober 2003 08:31 schrieb Hallvard Ystad: > Thanks both. > > But theoretically, a these two URLs may very well not > represent the same document: > http://www.uio.no/ > http://uio.no/ > but still reside on the same server (same dns entry). > > So ... Is it possible to _know_ whet

[REBOL] Re: choice of representation - was paths & lookups & change

2003-10-24 Thread Maxim Olivier-Adlhoch
I often use objects and store them on disk as code using mold. With rebol writing text files is so easy. but for larger data, I usually then go with blocks. using switch like so: data: [name ["snoopy"] age [30] race ["beagle"]] name: switch 'name data == "snoopy" I know many use blocks of t

[REBOL] Re: pdf-maker

2003-10-24 Thread Will Arp
Patrick, here is a tutorial (in french) with some examples: http://www.rebolfrance.net/articles/pdf1/pdf2.html Will Arp [EMAIL PROTECTED] [24.10.2003 10:36 "[EMAIL PROTECTED]" [EMAIL PROTECTED] > > Hi List, > > I am looking for the syntax or an example to use an image with > pdf-maker. I di

[REBOL] Re: choice of representation - was paths & lookups & change

2003-10-24 Thread Ashley Truter
Hi Brett, a topic near and dear to me ;) For me, I find the model I choose is impacted by: - data structure - volume - time [development] - performance requirements - whether the data is static / dynamic For key / value pairs I might use: states: ["VIC" "Victoria" "NSW" "New South Wale

[REBOL] Re: Object lesson, please?

2003-10-24 Thread Gabriele Santilli
Hi SunandaDH, On Friday, October 24, 2003, 10:34:39 AM, you wrote: Sac> Thanks, Gabriele. The one thing I hadn't thought of trying was context -- the Sac> word had slipped from my mental context. It is just a shortcut for MAKE OBJECT!... What I wanted to point out was that you could just use

[REBOL] Re: pdf-maker

2003-10-24 Thread Gabriele Santilli
Hi Patrick, On Friday, October 24, 2003, 10:36:01 AM, you wrote: > I am looking for the syntax or an example to use an image with > pdf-maker. I did not find it in the doc available. image x y w h img (x, y) is the position of the bottom left corner; w and h are width and height. img

[REBOL] Re: Object lesson, please?

2003-10-24 Thread SunandaDH
Gabriele: > 1. you can do this: > > >> original: context [a: 1 b: 2] > >> template: context [a: b: c: none] > >> probe changed: make template original Thanks, Gabriele. The one thing I hadn't thought of trying was context -- the word had slipped from my mental context. I had to change the

[REBOL] pdf-maker

2003-10-24 Thread Patrick . Philipot
Hi List, I am looking for the syntax or an example to use an image with pdf-maker. I did not find it in the doc available. -- Best regards, Patrick -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: reading POP trouble

2003-10-24 Thread bryan
No problem, glad to have been able to help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of carlos.lorenz Sent: Thursday, October 23, 2003 7:12 PM To: [EMAIL PROTECTED]; bryan Subject: [REBOL] Re: reading POP trouble Bryan I am very ashamed because the

[REBOL] choice of representation - was paths & lookups & change

2003-10-24 Thread Brett Handley
>From Elan: > My preference for this kind of tasks is using objects. Even though it is > a little more verbose, I find it quite intuitive to use the get and set > functions, as in: Choice of an "information model" and representation is something I've struggled/ruminated over for a while. I guess