[REBOL] System... and the other objects!

2000-02-22 Thread jamatos

Ok Jeff... I've done it. Thanks!

I preferred to do the set-net and then configured the
system/schemes/smtp/proxy things to none! It's better like this 'cause I
just don't need the proxy to access my mail server.

Now I have another question (sorry to bug you all, but the FAQ's just
don't answer these ones):
How can I know wich objects, variables and other things exist under an
object?!
It's like this: I know that under system I have schemes. (system/schemes).
How can I know all the objects under a certain object?!

[EMAIL PROTECTED] wrote:

   Howdy Matos:

 You can specify a proxy for each individual protocol.  I
 believe the following should work for you:

 (In your user.r, or at the top of your script:)

set-net [[EMAIL PROTECTED] mail.host.dom]
system/schemes/http/proxy/host: "your.proxy.host"
system/schemes/http/proxy/port-id: some-number

   (Of course, substituting in all your information..)

   You probably want ftp and others too.  I believe you can also just
 set a by-pass for individual protocols as well -- which might be a
 cleaner way to do what you want...

 -jeff

   Hello all...
   I'm having this  problem: I can  access my e-mail server without  a
  proxy  se= rver, but if  i try to  access it with  the  "help" of my
  proxy server then i can't reach it (it is not the objective = of the
  proxy server). But if I want to access web pages, the only way to do
  that is using the proxy server.
   My problem is that when  we configure the proxy  server in REBOL he
  assumes=  that the  proxy should be  used  also to   access the mail
  server. Is there a way to correct this excluding the hipo= thesis of
  doing a set-net every time i want to access the web or the mail?!

--
Signout: Zé Matos

--
A frase imediatamente abaixo desta é verdadeira!
A frase imediatamente acima desta é falsa!
--




[REBOL] constructor destructor Re:(3)

2000-02-22 Thread brian . hawley

Elan wrote:
With automatic garbage collection, i.e. memory getting automatically
reclaimed, I think the motivation behind a destructor function no longer
exists and a destructor function is no longer critical.

There are other functions performed by destructors, or finalizers
as they are called in garbage-collected environments. For instance,
finalizers are typically used to close ports, release references to
external resources, etc.

Since REBOL doesn't currently have native CORBA or COM support, the
resource releasing function isn't quite as important, but closing
ports is. The only way to get around the need for finalization here
would be for the garbage collector to automatically close the ports
it reclaims using some internal method, something it currently does
not do (I checked).

I've added finalization as an enhancement request to Feedback.

Brian



[REBOL] Any help or direction of how to proceed on this message UPS for freight calculation Re:

2000-02-22 Thread brian . hawley

Gobiraj wrote:
We are using say UPS for freight calculation. I want to give the to and from
zip code, weight and dimension to the UPS site. Then I would like to 
download the freight charges in to some local table/ascii file.
My url will be https://www.ups.com/ups.app/iss.class. Is it possible to 
invoke this and enter the information directly into the URL.And get back the
information needed

REBOL doesn't currently have https support. Adding it is a
non-trivial task, requiring at least doubling of the size
of REBOL, much money (for patent license fees), and many
lawyers. I think they're working on it...

Try using an external program to do the https transaction
and then operating on the retrieved data with REBOL. That's
what I've
Brian



[REBOL] System... and the other objects! Re:

2000-02-22 Thread strejcek

[Charset iso-8859-1 unsupported, filtering to ASCII...]
 Ok Jeff... I've done it. Thanks!
 
 I preferred to do the set-net and then configured the
 system/schemes/smtp/proxy things to none! It's better like this 'cause I
 just don't need the proxy to access my mail server.
 
 Now I have another question (sorry to bug you all, but the FAQ's just
 don't answer these ones):
 How can I know wich objects, variables and other things exist under an
 object?!
 It's like this: I know that under system I have schemes. (system/schemes).
 How can I know all the objects under a certain object?!

Try this:

 tmp: make object! [a: 1 b: 2]
 first tmp
== [self a b]

OR for concrete words in object:
 found? in tmp 'a
== true
 found? in tmp 'c
== false   

Regards,
Jan

--
Jan Strejcek
[EMAIL PROTECTED]



[REBOL] constructor destructor Re:(4)

2000-02-22 Thread icimjs

Hi Brian,

you wrote:
The only way to get around the need for finalization here
would be for the garbage collector to automatically close the ports
it reclaims using some internal method, something it currently does
not do (I checked).

I've added finalization as an enhancement request to Feedback.

My preference would be for the garbage collector to close the port. Why
should a port be treated different from memory allocation?

;- Elan  [: - )]



[REBOL] Session ID?

2000-02-22 Thread rex

What's the best way to generate a unique session identifier in Rebol? 

.:Eric



[REBOL] WOW a rebol HTML calendar, please do % and criticize Re:

2000-02-22 Thread dolmen



- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 22, 2000 3:59 AM
Subject: [REBOL] WOW a rebol HTML calendar, please do % and criticize


; please run this and comment as you will :-)
[...]
   Comment: { Thanks to  bpaddock, olivier doleman, Donald Dalley, karin,
rryost
especially Olivier doleman for the slick date coding, and Donald
Dalley
 and others on list who replied to my initial 'prelude to HTML post'.
[...]

I'm not "Olivier Doleman".
My name name is "Olivier Mengué". And my nick name is "Dolmen".

Olivier