[REBOL] Re: Is the mailing list dead?

2009-10-30 Thread Tim Johnson

* Hallvard Ystad hallvard.ys...@babelserver.org [091029 11:10]:
 
 It's not dead yet. But be patient - whan I lost patience and resent a=
  message about a week ago, my message appeared twice. (OK, so I tested from=
  two different addresses, but I still didn't expect my message to arrive=
  with a two-day delay.)
 
 Things seem to be happening, though. Courage, camrades!
   Yes camrades, courage it is.:) I will talk to the fellow that I
   lease my server from - with CC to Carl S and start the process of
   migrating the ML to my sever. Given that Carl still approves.

-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Is the mailing list dead?

2009-10-30 Thread Tim Johnson

* Nick Antonaccio n...@guitarz.org [091030 06:12]:
 
 Thank you Tim.  Is there a way to donate to the project?
  Hi Nick:

  The arrangement that has been discussed between Carl S, myself and
  the owner of the server that I lease would be to host the ML on my
  server, under my domain.
  
  With the current traffic level, or even somewhat greater, there
  would be no cost. The list traffic from that server would then be
  redirected thru the current node, and I don't even think the
  address would have to change. 
 
  If the situation changed where some cost was entailed, I could set
  up such a portal, as to paypal. 
  thanks
-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: HELP Needed for Rebol.net

2009-10-11 Thread Tim Johnson

* Nick Antonaccio n...@guitarz.org [091010 17:07]:
 
 I'm willing to donate some time and money - setting up a Paypal =20
 account may be good idea for this sort of thing.
 
 Is a dedicated server really necessary?  I wonder if a shared hosting =20
 solution would work.  I prepaid several Lunarpages accounts last year, =20
 and they each ended up being $4.95 per month.  They've never given me =20
 any problems running REBOL on their servers.  I also have several =20
 domains running on each account.  They seem to be well maintained.

  In the case that I describe, leasing a server gives the leasee
  (I think that is the word) complete control over the server.
  Plus the support of the server owner. I had some domains on
  Hostmonster at one time. With one account, multiple domains could
  be hosted, but there was no seperation of permissions, which made
  it useful only if one hosted one's own domains. It didn't make
  reselling practical or safe, which is why I have this arrangement.

-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: HELP Needed for Rebol.net

2009-10-10 Thread Tim Johnson

1)I have noted that despite the support expressed for moving the ML to
my server as per my earlier offer, no decision has been expressed.
I am making note of this because I feel that it is related to
Giuseppe's issue with rebol.net

2)I note also Carl S's blog about degrading hosting support.

3)As to rebol.net:
The service provider that I lease my server from charges $150 per
month. With full and I mean *really full* support. Any number of
domains can be hosted on it.
This may be the solution for all 3.
-
I would be happy to make a $10 per month donation - every month to
pay for the leased server. If 14 other reboller would do the same,
life would be *so* much better for this community - and for its
Benevolent Dictator.
Just need some dictating .
MTCW
tj

* Giuseppe Chillemi gchill...@aliceposta.it [091009 12:03]:
  
 Hello,
there is a problem with REBOL.net: we cannot proceed with the translation
 of foreing documentation and importing of articles from alla around the
 world and then translate them because REBOL.net runs on an old CENTOS linux.
This mean that the newer version of MediaWiki software cannot be used
 because of PHP5 (needed) does not run on this machine.
We need an upgrade and a (some) volunteer(s). Carl has clearly stated
 that he has not the time to work on this problem. The situation is blocked
 since january 2008 and we are near the end of the second year.
  
Scenario 1: Someone makes a backup and upgrades REBOL.net OS and migrates
 everything to the new setup.
Scenario 2: Someone receives a backup ad install everything on a Virtual
 Machine running on a virtual Machine provider.
  
If nobody wants to take this task we will never port the WHOLE rebol
 documentation project, nor we can provide translated version of the same
 page of documentation with the simple click of the proper flag.
  
It is all in your hands.
  
Giuseppe Chillemi
REBOL2 Docbase Maintainer.
  
 
 
 -- 
 To unsubscribe from the list, just send an email to 
 lists at rebol.com with unsubscribe as the subject.
 

-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] can you here me now?

2009-10-06 Thread Tim Johnson

Still trying to send to the list
-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] ML Host Offer

2009-10-06 Thread Tim Johnson

The following was sent out yesterday, and bounced back as
undeliverable. So I have contacted Sunand, Tom Conlin and Carl.  It
now looks like the ML is now (for the time being) recognizing me.

--
In the 10 years that I have been on this mailing list there have
been frequent outages - this last one was for over a week.
That doesn't do the rebol community any good - and can certainly
turn off prospective/new users.

We have discussed in the past, using google groups. Carl has opposed
that because he wishes to have intellectual property rights to the
mail. Apparently google would claim that right.

I would like to offer to host the ML on my server. My server is
co-located with cniweb.net. In the 9 years that I have hosted
domains and other service with cniweb, they have never interrupted
service. Their technical support is top-notch. Their owner, Corey
Johnson (no relation) is always right on the mark. Furthermore, Carl
will have full property rights.

I want to say also, that cniweb has been rebol-friendly in all ways
from the very beginning

No strings attached. Let me know. We can make this happen later in
this week or the next one.

One caveat. The address *will* have to change, since it will no
longer be under rebol.com, but we should be able  set up a
rebolesque domain name.

regards
-- 
Tim Johnson
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: OpenCL Wrappers: is anyone working towards this or something already exists!

2009-09-09 Thread Tim Johnson

* Petr Krenzelok petr.krenze...@seznam.cz [090909 05:56]:
 OTOH - there's some potentially good news for you - R3 got first version 
 of its Extension (plugins) interface. There are hopefully going to be 
 done some small enhancements before we go to beta. Max already started 
 to test some OpenGL stuff, and it worked. So - stay tuned, now at least 
 the capable infrastructure is going to be available.
 Hi pekr -(I love saying that!) - 
   Could you tell us what browsers rebol3 will be available for as a
   plugin?
   Also, has the R3 team followed the development of google chrome
   browser and google chrome OS? If so, what would be the
   implications with chrome?
   thanks
-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: VID Extension Kit

2009-08-29 Thread Tim Johnson

* david may david.ma...@ntlworld.com [090829 13:14]:
 
 do many people use it today ?, or are most people on the net still
 advocating and writing Python or indeed anything But rebol for their
 and the majority of average peoples GUI video related scripting needs
 today!
  I prefer rebol for much of what I do - but read on: 

  Not meant to be an argument but a statement of policy. My
  company's mission statement is about open source.  Based on the
  more proprietory nature of the vid dialect, I have never used
  rebol/view.  in the 10 years that I have been programming in
  rebol. Just rebol/core. My partner and I have agreed that we will
  use open source libraries for GUI applications. Therefore, it is
  in our agreement that he (primarily a perl programmer) and I
  (rebol, python, newlisp, javascript) will use (as an example
  TKinter). And we've done precious little of that since we have
  found (for our work) that html and javascript and CGI can do what
  we need to do for our customers, in terms of interfaces.

  I have no argument with the rebol components that are closed
  source. That is Carl Sassenrath's Business plan :) and that's his
  business. But my business is with Open Source as much as is
  possible. I can recall some pretty spirited ( :) but never
  mean-spirited) exchanges on the topic of Open Source here on this
  ML. I'm just happy to have rebol for the uses that I put it to.
  It is a thing of beauty.

  regards.
-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: New site

2009-08-25 Thread Tim Johnson

* G=E9rard C=F4t=E9 gerardc...@gmail.com [090824 15:25]:
 Hi List,
=20
 A couple of questions and comments for you here.
=20
 I really can't know why my new ML submissions are not taken into accoun=
t -
 while my reply to a msg coming from the ML is accepted
 Do I have to put some tag word like [REBOL] in the subject line or what=
ever
 else ?
 I doubt that it is your fault. In the 9 or 10 years I've been on
 this ML - I've seen temporary glitches come and go. Kind of sad,
 but we've been living with it. I see that an email I sent last week
 has just showed up. :) not _my_ fault either - at least I don't
 think so.
--=20
Tim=20
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: send/header command fails

2009-08-24 Thread Tim Johnson

* Ben Brannen ben.bran...@gmail.com [090820 07:47]:
 
 sorry  forgot to answer the original question:
 whats the difference with trace/net on?
 (series of 'xx' replace private data)
 ---
  probe header
 make object! [
 To: [ben.bran...@x.com]
 CC: none
 BCC: none
 From: none
 Reply-To: none
 Date: Thu, 20 Aug 2009 09:54:25 -0500
 Subject: none
 Return-Path: none
 Organization: none
 Message-Id: none
 Comment: none
 X-REBOL: View 2.7.6.3.1 http://WWW.REBOL.COM;
 MIME-Version: none
 Content-Type: none
 Content: none
 ]
Ben, 'send has got some gotchas in it. In some cases, making a
reference to an object rather than a specific 'copy can cause an
error. Send is a mezzanine function. That is, it is written in rebol,
not native C. This means that you can source the function, copy the
code, do a probe on the data structure that's being sent to the
port.
Example:
either only [
address: copy address
remove-each value address [not email? :value]
message: head insert insert tail net-utils/export header-obj newline 
message
content: reduce  [from address message] ;; added
probe content added
;; change insert smtp-port reduce [from address message]
insert smtp-port content
;; might seem a little cumbersome, but might lead to a new 'send :)
HTH
tim
-- 
Tim 
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Sendmail problem?

2009-06-29 Thread Tim Johnson

* Carlos Lorenz carlos.lor...@gmail.com [090629 09:29]:
 Hi list,
=20
 Suddenly most scripts than run on a remote server just won=B4t send me =
the
 regular emails anymore.
=20
 All I get is this annoying message:
=20
 ** Access Error: Cannot connect to localhost ** Where: open-proto ** Ne=
ar:
 smtp-port: open [scheme: 'esmtp] either only
=20
 Is it possible the guys that run the server made some upgrade to sendma=
il
 (or postfix) ?
  Hi Carlos:
  In my experiences shouldn't make any difference if it is sendmail
  or postfix.
  Example:
  On my box, I use postfix.
  On remote server, sendmail is used.=20
  Localhost points to the same port, really.
  1)Ask the server sysadmin
  2)Try the loopback address
  HTH
  tim
 Maybe should I upgrade to REBOL/Core 2.7?
=20
 Thanks
=20
 Carlos Lorenz
 Unidade Lorenz Ltda
 www.revistaeletronica.com.br
 (11) 4034 1971
 (11) 7100 1540 pessoal
=20
 --=20
 To unsubscribe from the list, just send an email to=20
 lists at rebol.com with unsubscribe as the subject.
=20

--=20
Tim=20
t...@johnsons-web.com
http://www.akwebsoft.com
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: setting values to blocks - need help

2009-04-28 Thread Tim Johnson

On Tuesday 28 April 2009, =DEemseddin Moldibi [ Bircom ] wrote:
 Strings and blocks are always references in Rebol. If you want different =
=3D
 block for each of them, you should use copy command.
 It is same for strings also.
   And that is not a bad thing, once you get used to it. For instance, if
   you were to assign a series value to a word in a function, rather than
  'copy'ing the value to the word, the word then retains its value, for   =
=20
  subsequent   calls to that function. Like a static datatype in C.
  Can be useful at times.
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: let's re-visit math oper. in a var.

2009-04-03 Thread Tim Johnson

On Friday 03 April 2009, mumps...@gmx.com wrote:
 
 Thanks for your input!  as well as everybody on the list.
 I think that I'm going to leave REBOL alone for awhile, until
 I cool off. have a good one
 When I started to learn rebol, I had been working for 11 years
 almost exclusively with C/C++ and a little assembler coding.
 I was told more than once - on this list - to stop thinking in
 C. It was good advice. I was more fortunate than you in that
 I started with a simpler topic: loop iteration and FTP - and FTP
 in rebol is ridiculously simple. You have actually begun with
 the most difficult (and powerful) feature of rebol - symbolic
 evaluation. 

 I've noted that the rebol community doesn't often refer to
 rebol as having symbolic programming features - such as
 lisp,, but I would bet that someone coming from lisp would
 make that note.

 When you get back to rebol - and I hope that will be soon - you
 might find that conceptual seeds have been planted and that 
 they might now be sprouting.

 Good luck
 tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: let's re-visit math oper. in a var.

2009-04-03 Thread Tim Johnson

On Friday 03 April 2009, Gregg Irwin wrote:
 
 I think the biggest click in my head was when I finally understood
 that there is no code in REBOL, there is only data that is evaluated.
 Very lispish. Rebol is the Blue Pill


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: insert

2009-04-02 Thread Tim Johnson

On Thursday 02 April 2009, Iyer wrote:
 All,

 I have defined the following (on my OS X, both R2 2.7.6  R3 A40) :
  num: [1 2 3]

 then I execute the following:
  num: insert tail num [4], expecting [1 2 3 4]. However, I get:
 
  []
 
  print num
 
  []

 Any suggestions? Join works though!
 Help is your friend:
 help insert
USAGE:
INSERT series value /part range /only /dup count

DESCRIPTION:
 Inserts a value into a series and returns the series after the insert.
 INSERT is an action value.

ARGUMENTS:
 series -- Series at point to insert (Type: series port bitset)
 value -- The value to insert (Type: any-type)

REFINEMENTS:
 /part -- Limits to a given length or position.
 range -- (Type: number series port pair)
 /only -- Inserts a series as a series.
 /dup -- Duplicates the insert a specified number of times.
 count -- (Type: number pair)

Note the the return value .
thanks
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: REBOL_HOME

2009-03-28 Thread Tim Johnson

On Friday 27 March 2009, mumps...@gmx.com wrote:
 I set the REBOL_HOME env. var. to point to $HOME/rebol where I want
 all my REBOL scripts scripts to live. Either the interpreter does not
 recognize this env. var. or I'm missing something, cuz when I do:

 load %blah.r   = no joy
 load rebol/%blah.r  = no joy

 Do I need to specify the complete path for REBOL to find files?
 Anybody else having issues with REBOL_HOME?
 I've used rebol on linux for over 8 years. I never did get REBO_HOME to work.
I've gotten used to a customized user.r which is either loaded explicitly
as in load %/some/path/to/user.r or resides in the same directory as
the executable script. Even with a cgi script, the rebol binary appears to
check for a user.r in the same directory as the script.
I went on to customize user.r with a system path variable and an import
scheme. Code available if you want.
[tim: almost-60]
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: REBOL_HOME

2009-03-28 Thread Tim Johnson

On Saturday 28 March 2009, mumps...@gmx.com wrote:
 
 Hey Carl S.  -- are you listening in on this?
 Disclaimer: I couldn't get it to work, doesn't mean it doesn't work...
 
 I'd appreciate your code that works-around this PITA. REBOL_HOME would
 have been way too cool I suppose. I think that the problem is in the
 semantics between the *nix definition of $HOME and HOME means to the
 rest of computer-dom.
 I did come to something like that conclusion too.
 Carl S.  is this easily fixable?

 Almost 60  Start counting backwards NOW - young man. You'll live
 to enjoy it ;))
 Yeah. By 5..
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Logos

2009-03-25 Thread Tim Johnson

Hi Folks:
My company is setting up a new website, like to have a rebol logo
on it. Can anyone recommed a logo that would be legal for us to
use?
Thanks
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Logos

2009-03-25 Thread Tim Johnson

On Wednesday 25 March 2009, Peter W A Wood wrote:
 Hi Tim

 Try these: http://www.rebol.com/logos.html

 Thanks Peter
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Compatibility REBOL 2.x / REBOL 3.0 ?

2009-03-11 Thread Tim Johnson

On Tuesday 10 March 2009, Alan Macleod wrote:
 I have a large project now almost complete in R2...I can't wait to port it
 to r3.
 It needs a major rewrite anyway. (Sloppy code, discovered better ways to do
 things, new features that only R3 can offer)

 I would think most scripts in r2 are either small enough to port with no
 problem or are looking for an excuse to rewrite: tighten up code, add new
 function etc.
  Speaking for myself, I've been coding in rebol for 9 years and have many
  large applications written in it. But rewriting, yes!
  Plus rebol 2 /core is a _very_ good product. Solid and stable on linux and
  sun OS's
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Compatibility REBOL 2.x / REBOL 3.0 ?

2009-03-11 Thread Tim Johnson

On Tuesday 10 March 2009, Alan Macleod wrote:
 I have a large project now almost complete in R2...I can't wait to port it
 to r3.
 It needs a major rewrite anyway. (Sloppy code, discovered better ways to do
 things, new features that only R3 can offer)

 I would think most scripts in r2 are either small enough to port with no
 problem or are looking for an excuse to rewrite: tighten up code, add new
 function etc.
  Speaking for myself, I've been coding in rebol for 9 years and have many
  large applications written in it. But rewriting, yes!
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: rebol 3 = 64 Bit problems

2009-02-12 Thread Tim Johnson

On Thursday 12 February 2009, Henrik Mikael Kristensen wrote:
 
 The issue has been well known to RT for years: Linux is the hardest OS
 to support due to its very non-standardized nature. There are constant
 kernel and library changes. But RT usually asks regularly what people
 use the most, and then compile versions of REBOL to that Linux
 variant. The question was in fact asked again a few days ago, when the
 R3 version was going to be built. The answer was Ubuntu and an Ubuntu
 version was built.
 We've never had such problems with python or perl. We have never had to
 build perl or python on our machines. Although I have built newlisp. 
 Thusly, I believe you are overstating the variance among linx distros.

 It has been a long time since I programmed in C and had to compile, but
 I believe a strategy for more flexible loading or static linking exists.

 Furthermore rebol 2 should be compiled for 64-bit. The year I started
 coding for compensation - 1989 - was the year of the Ashton-Tate
 dBase fiasco. And I was programming in dBaseIII+ and dBaseIV.
 I quote from the Wikipedia entry:

 a focus on future products without addressing the needs of the current 
customers. 

There's a cautionary tale there.

I am glad that you are building for ubuntu. You should take great effort
to ensure that rebol is in the repositories and that it includes a nice
application of some sort. I would like to test such a build. 

If you are part of the development team did you see my email of
Saturday 07 February 2009, subject Re: Inside R3's developement...?
I am very concerned that no one replied to my problem there.

Rebol has served me, my company and my customers very well for
9 years. It is a pleasure to work with and at least 50% more productive
than python or perl in small, single-programmer projects. Even tho'
I use it as the critical part of my productivity and production tools,
I've stop doing any development for customers until a mature rebol
with 64-bit compatibility is available.

A 64-bit rebol 2 should have been built long ago. If but a few server
farms start converting to 64-bit and rebol binaries become inoperable,
there will be such a stink that rebol3 will never overcome. 
I hate to be the contrarian here, but what I say needs to be said.
And this is all I have to say on the subject. 

However, I hope this issue stays on the front of everyone's minds,
including windows users.

Regards
Tim



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Inside R3's developement...

2009-02-12 Thread Tim Johnson

On Thursday 12 February 2009, Henrik Mikael Kristensen wrote:
 gunzip r3-core-a33-p421.gz

Got it now.
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Inside R3's developement...

2009-02-12 Thread Tim Johnson

On Thursday 12 February 2009, Henrik Mikael Kristensen wrote:
 On Thu, Feb 12, 2009 at 8:29 PM, Tim Johnson t...@johnsons-web.com wrote:
   Henrik:
   Can you send me an update of the download link?
   Can you assert that my syntax for gzip is correct?

 I used the following link (just tried it again to be sure):

 http://www.rebol.com/r3/downloads/r3-core-a33-p421.gz

 and unpacked it like this:

 gunzip r3-core-a33-p421.gz

 The MD5 sum for the file is:

 5f4abbbef6569c1c1b78c8e3266efe5f
  PS: Is there a changelog . new function, functionality
  descriptions?
  Thanks Again
  Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Inside R3's developement...

2009-02-12 Thread Tim Johnson

On Thursday 12 February 2009, Henrik Mikael Kristensen wrote:
 http://www.rebol.net/wiki/REBOL_3

re: http://www.rebol.net/wiki/Porting_Recipe
--
You're on the right track here. If I understand what is going
on there - and I only have a brief amount of time to scan - this
should give programmers - including package builders - the ability
to do porting without releasing source code. 
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: rebol 3 = 64 Bit problems

2009-02-12 Thread Tim Johnson

On Thursday 12 February 2009, Andreas Bolka wrote:
 Excerpts from Tim Johnson's message of Thu Feb 12 18:02:56 +0100 2009:
  A 64-bit rebol 2 should have been built long ago. If but a few server
  farms start converting to 64-bit and rebol binaries become inoperable,
  there will be such a stink that rebol3 will never overcome.

 I have REBOL 2 running on several 64-bit machines:

 $ uname -m
 x86_64

 $ file `which rebol`
 /usr/local/bin/rebol: ELF 32-bit LSB executable, Intel 80386,
 version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
 shared libs), stripped

 $ rebol -qw --do 'print system/version'
 2.7.6.4.2

 So I don't really see what's becoming inoperable here? Neither Linux
 nor Windows has any troubles running legacy 32-bit executables on
 64-bit systems, if necessary. On some Linux systems, you have to take
 some care (e.g. make sure the ia32-libs package is installed on
 Ubuntu), but generally that's not an issue.
 Rebol certainly was inoperable on my 64-bit kubuntu. I do believe that I
 looked at ia32-libs but don't remember and can't reproduce,
 since I went back to 32-bit OS. 
 It would be interesting to see what Mario has to say about your advice.

 That's really not  the point though. Rebol should take this on proactively,
 and publish a solution. That might even give rebol an edge on others.
 Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: rebol 3 = 64 Bit problems

2009-02-11 Thread Tim Johnson

Hi Mario:
I'm Cc'ing this reply to the rebol mailing list, because
frankly, the lack of concern showed regarding this issue
is disturbing and the rebol community should have this
stuck in their face.. 
On Wednesday 11 February 2009, you wrote:
 
 I've followed your description of running the Rebol on 64-bit Linux,
 but couldn't make it happen due to my insufficient understanding.

  libm.so.6 = l1bm.so.6
  libc.so.6 = l1bc.so.6
  ld-linux.so.2 = ld-l1nux.so.2
  and made copies of the shared objects with those name changes, ported all
  to the ubuntu machine and I have rebol running.
You can try getting a copy of 32-bit libm.so.6, renaming it to l1bm.so.6
and putting in the same directory (presumable /lib) - then do the same for
libc.so.6 and ld-l1nux.so.2. So now you have
/l1bm.so.6, /l1bc.so.6, ld-l1nux.so.2
Does that make it clearer.
 I did correct the paths using the vim -b mode, but then I didn't
 understand the shared objects and porting. Anyway, the question I have
 is whether it is possible to have a Rebol 276 running on a Debian
 64-bit (Lenny) platform and how can I achieve this? 
I ended up going back to 32-bit ubuntu. I had more problems than just
with rebol. Even if you get this working, you may still have dns problems.
IOWS: You might not be able to do read http://www.rebol.com but
you would have to do read http://205.134.252.23
 I also tried to 
 use the Alpha version of it R3, but I guess it's the same problem. The
 last option for me is to downgrade the system to 32-bit.
 And that's even more disturbing. Sorry to sound so grouchy here - I'm
not usually this way, but I think that this is an issue being swept under
a rug and it won't go away, it could really cause a major public relations
disaster for RT.

Let me know how it goes. Please continue to CC to the ML so that this
issue becomes better know.
tj


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Inside R3's developement...

2009-02-09 Thread Tim Johnson

On Saturday 07 February 2009, Carl Read wrote:
 For those (like me) not inside the loop, there's a nice overview of the
 state of R3 to be found among the comments here...

 http://www.osnews.com/comments/20930

 Look for henrikmk's comment.

 -- Carl Read.

I downloaded r3-core-a33-p421.gz
when I tried to unzip it I got this:
t...@bart:~$ gunzip r3-core-a33-p421.gz

gzip: r3-core-a33-p421.gz: not in gzip format

Corrupted?
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Dialecting......

2009-02-07 Thread Tim Johnson

On Saturday 07 February 2009, Srini Iyengar wrote:
 Hi Gregg,

 Ultimately, I think REBOL should be used to implement all kinds of
 DBs, languages, and systems. Not necessarily as production tools, but
 as teaching tools.
   FYI: In 2000 - 2001 - I developed an online course - intro to programming -
   for a now defunc online highschool - using rebol.
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Supported mobile platforms

2009-02-06 Thread Tim Johnson

On Friday 06 February 2009, =DEemseddin Moldibi [ Bircom ] wrote:
 Which mobile platforms supported by Rebol?
 Is there any Rebol application I can download/test?

Should it qualify:
I've got an Asus EEE 900, with xandros linux. Rebol 2.7.X worked
out of the box. Haven't done much with it thus far.
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: User-defined function parameters

2009-01-23 Thread Tim Johnson

On Friday 23 January 2009, =DEemseddin Moldibi [ Bircom ] wrote:
 Hi, is it possible to force a function get a parameter which is a =3D
 user-defined object type? I guess no, but I would like to be sure. =3D
 (sorry for bad english)
 Look at example below please,

 My-Object: [name:  age: 0]
 F: func [a [My-Object!]] [...]
  This is kind of a 'rigged' solution  but it works for me.
  In python, rebol, and newlisp, I've adapted a strategy for
  objects or contexts: a member, always of the same name.
  In rebol, it might be _class_name_

  so a check on the user type might be something like this.
  either all[
 object? foo
 some-class-name =3D foo/_class_name_=20
 ][do-something][throw-error]

or if one is not sure one has followed the convention without fail
either all[
 object? foo
 in foo '_class_name
 some-class-name =3D foo/_class_name_=20
 ][do-something][throw-error]
:-)Beware: untested code!
HTH
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: reduce second [one two]

2009-01-13 Thread Tim Johnson

On Tuesday 13 January 2009, Giuseppe Chillemi wrote:
 probe reduce second [one two]

I've never used 'reduce on a singleton value, which is
what you are doing here: (evaluating right to left)
 second [one two]
== two
;; get the value
 probe get reduce second[one two]
2
== 2
Is this what you are after?
cheers
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: RebCon 2008 - Head Count

2008-12-19 Thread Tim Johnson

 Sorry. I'd love to, but will be traveling then. Time tied up and limited
 (or no) internet access.
 Best of luck.
 tim
 -Original Message-
 From: rebol-bounce@rebol.com [mailto:rebol-bou...@rebol.com] On Behalf
 Of Rebol
 Sent: December 18, 2008 1:41 PM
 To: rebol...@rebol.com
 Subject: [REBOL] RebCon 2008 - Head Count

 Hello Everyone,

 First of all, my thanks to Nick. He has really helped out a lot in
 bringing this to a reality. Just seeing some of the faces that joined
 the test yesterday was interesting.=20

 We'd like to get an idea of how many of you think you will be able to
 make it online (12/27/08 @ 12:00 PST). We have a list on Altme that so
 far has myself and Maarten Koopmans but of course Nick and Reichart have
 been active. We just want to make it more clear so reply to this email
 with your name please.

 Thanks,
 James
 --
 To unsubscribe from the list, just send an email to lists at rebol.com
 with unsubscribe as the subject.


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Best of both Worlds (was Re: Altme)

2008-12-19 Thread Tim Johnson

On Friday 19 December 2008, Petr Krenzelok wrote:
 Carl Read napsal(a):
  What people use for private communication about REBOL isn't important -
  whoever's involved will just choose what they like the best.

 yes, it is important, and you are imo wrong :-) We should not depreciate
 one factor - diversification of comm channels. What is another comm
 channel good for, if not used? How many ppl from here do support newices
 on reboltalk.com for e.g.? Our community is rather small and I prefer
 less well supported channels than other way around ...
  Here's what I think would be very cool. (I use linux). Altme running as
  a system tray, with an option feature allowing one to 
  1)subscribe to a topic
  2)have an optional and unobtrusive popup to signal a reply to such a topic
 - ubuntu's adept_updater as an example
  3)Mirror altme topics to email!

   that way us mutt or pine users to can exploit those interfaces'
   extreme agility to organize and manage messages and we
   can also have altme's modernity and proprietory rebol-ness
   And shouldn't be OS-specific.

Be the best of both worlds I think.

I am concerned tho - that having too many channels might work to
dilute and disperse the rebol community - which is admittedly pretty
small as it is...

BTW: I won't be able to follow this thread or reply for two weeks.
My ML filter starts in one hour - since I will be traveling, but I
will be able to receive personal email (intermittenly)
cheers
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Altme

2008-12-17 Thread Tim Johnson

On Wednesday 17 December 2008, Graham Chiu wrote:
 the =20 nonsense has been discussed before.
 It's a limitation of your email client ( and mine too ...gmail shows them
 up ).
   I use kmail on linux. I receive mail from about
   20 mailing lists. I do see them far more often on this ML than any other.
   Is there a possible fix on my end?
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Rebol on ASUS Eee PC 900

2008-11-19 Thread Tim Johnson

See:
http://www.amazon.com/Display-Intel-Mobile-Solid-State/dp/B001BYB60W/ref=wl_it_dp?ie=UTF8coliid=I1LWNM4XK03I86colid=2W50K6F8Z1QO4
I'm considering getting one.
Anyone have any comments or knowledge of rebol performance
on this. The OS is xandros linux, I believe.
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Language Comparisons

2008-10-16 Thread Tim Johnson

Pretty thorough...
http://shootout.alioth.debian.org/gp4/index.php
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol and Ubuntu 8.04

2008-10-15 Thread Tim Johnson

On Monday 13 October 2008, Tom wrote:
 Thanks for your effort John
 I look forward to the day rebol is already just there by default.

 John Blake wrote:
  Return Receipt
 
 Your   [REBOL] Rebol and Ubuntu 8.04
 document:
 
 was[EMAIL PROTECTED]
 received
 by:
 
 at:10/13/2008 11:02:15

Rebol ought to be submited to the ubuntu repositories.

Include a killer app. How about a 'view version of MC?
That will get some people's attention.

Seriously
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol and Ubuntu 8.04

2008-10-15 Thread Tim Johnson

On Tuesday 14 October 2008, Graham Chiu wrote:
 This is my current Ubuntu/Rebol project

 http://rebol.wik.is/Hylafax

 a minimalist web interface to HylaFAX
 :-) Go Graham!
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: HTTP Silent Redirect

2008-09-23 Thread Tim Johnson

On Monday 22 September 2008, [EMAIL PROTECTED] wrote:
 Hello Rebol List,

 I'm attempting to do a silent http redirect via REBOL
 rather than an Apache mod_rewrite.

 In Apache it could be written as:
 RewriteRule ^secret_crush_prank/?$ 
 /var/chroot/html/go/secret_crush_prank.html [NC,L]

 If the client visited http://www.domain.com/secret_crush_prank
 the client would be silently redirected to another page without
 seeing the new URI location in the Address bar of the browser.

 Hello Vonja: I'm not sure just what your end use is, and I'm a bit
 confused about what you mean by silent redirect because to me
 the term seems to be an oxmoron. So follows two code snippets:
 one for a redirect: ( in python, but easy to translate to rebol)
def js_redirect(S,emit=None):
Compose a javascript redirection.
R = 'SCRIPT language=JavaScriptwindow.location=%s/script' % S
if emit: print R
else: return R
that should translate to something like (untested)

reb-redirect: func[URL][print rejoin[{SCRIPT 
language=JavaScriptwindow.location=} URL {/script}]

But if you were doing something like a silent get url - like the 
silentposturl method used by credit card authorizers, as an example -
here's an idea employing the rebol command line and another script
on my desktop:
 res: read 
http://bart.johnson.com/cgi-bin/baker/reb/baker.r/execute?task=List-Queries
;;Capturing the output from the script in the 'res variable suppresses any
;;output
and if I look at baker.dbg (the debug log for baker.r), I see that both the
'execute' path part and the 'task' name/value pair have been logged.

Does either of these help?
regards
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Developing Rebol under Linux for the console averse with gedit

2008-09-11 Thread Tim Johnson

On Wednesday 10 September 2008, Peter W A Wood wrote:
 I found this easy way of running Rebol directly from the gedit text
 editor.

 1. Select Edit-Preferences

 2. Select Plugins Tab

 3. Select External Tools

 4. Select Configure Plugin

 5. Added a new tool giving it a name (Rebol/View in my case)

 6. Set Shortcut Key to your choice (ControlAltr in my case).

 7. Set Commands to the command you would use to start Rebol (/home/
 peter/Desktop/rebview -vs in my case)

 8. Close the External Tools Manager

 9. Close gedit preferences
 Can you run the rebol interpreter asynchronously using this setup?
 I wrote a rebol mode for emacs years ago and love the comint (inferior)
 mode for running the interpreter (/core)
tim 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: REBOL-SIMPLE dialect

2008-08-21 Thread Tim Johnson

On Wednesday 20 August 2008, Carl Read wrote:
 
 Well spotted.  Plus, given this was supposed to be an easy example for new
 users to figure out, isn't it reasonable to assume that the questionmark is
 part of REBOL's syntax and not just a character that's part of a word? 
 Afterall, colons are added to both the beginning and ends of words in
 REBOL, so it stands to reason that a questionmark on the end of one
 suggests they can be added to all words. ie...
 Hiya Carl:
 Might be good to check all type predicates for R3. Myself I've made use of 
only
 a few of the datatypes - but with REBOL3 coming along would be a good
 time to review them. Know that all tests are correct would harden rebol.

 BTW: I noticed something interesting:
   source email?
email?: native [Returns TRUE for email values. value [any-type!] 43]

Us old hands know that 'native means that this function is coded in C 
and compiled into the binary _But_ what does the number 43 mean?
again email?: native [Returns TRUE for email values. value [any-type!] 43]
---^^
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: REBOL-SIMPLE dialect

2008-08-20 Thread Tim Johnson

On Wednesday 20 August 2008, Henrik Mikael Kristensen wrote:
  if email? [EMAIL PROTECTED] [print Yes, that's an email]

from /Core 2.6.2.4.2 (linux) 
  if email? [EMAIL PROTECTED] [print Yes, that's an email]
Yes, that's an email

;; Bad call! Blows the validation scheme out of the water. :(
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Newbie question about func refinements

2008-08-13 Thread Tim Johnson

On Wednesday 13 August 2008, Ed O'Connor wrote:
 I'm sure this has been covered elsewhere, but I couldn't find it. Given a
 function, such as:

 sum: func [Return the sum of two numbers.
 arg1 [number!] first number
 arg2 [number!] second number
 /avg return the average of two numbers
 /sub subtracts the first from the second
 /div divides the first into the second
 ][
 switch/default self/refinement [
 avg [arg1 + arg2 / 2]
 sub [arg1 - arg2]
 div [arg1 / arg2]
 ][arg1 + arg2]
 ]

 Is there a way to dynamically obtain a refinement value so I can use it in
 a switch statement?
 In the example above, the pseudo-code expression self/refinement is what
 I'm looking for.

 Odd that I've never encountered this over the years. I'm sure someone here
 can set me straight on it.
  Terribly blue-collar of me to propose an alternative, but simple solution. 
Maybe a refinement is not what you want but a mode argument
Untested code: sum: func[arg1[number!] arge[number!] mode[word! unset!]
;; .. check for unset? mode and assign default value if necessary.
 switch/default mode [
'avg [arg1 + arg2 / 2]
 'sub [arg1 - arg2]
 'div [arg1 / arg2]
 ][arg1 + arg2]

HTH
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Working with large files

2008-08-12 Thread Tim Johnson

On Tuesday 12 August 2008, CarleySimon wrote:
 There is also a /with refinement to specify additional line terminators

 open/direct/lines/with %file ,

 It seems that works on both the , and newline.
 Using Tim`s suggestion and checking the last char for a newline and doing a
 remove, second pick and a rejoin should fix that.
 Jon
  And of course, results and methods could vary with the OS and the available
  memory. open/direct/lines works for me on files up to 1GB on linux with 3GB  
  of RAM and  3GB of swap space.
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Working with large files

2008-08-11 Thread Tim Johnson

Hi Brock:
Have you tried using 'open instead of read?
I use open with the direct refinement on large files:
Example:
inf: open/direct/lines file
while [L: pick inf 1] [
;;do things with L
]
close inf
 help read
USAGE:
READ source /binary /string /direct /no-wait /lines /part size /with 
end-of-line /mode args /custom params /skip length 

DESCRIPTION:
 Reads from a file, url, or port-spec (block or object).
 READ is a native value.

ARGUMENTS:
 source -- (Type: file url object block)

REFINEMENTS:
 /binary -- Preserves contents exactly.
 /string -- Translates all line terminators.
 /direct -- Opens the port without buffering.
 /no-wait -- Returns immediately without waiting if no data.
 /lines -- Handles data as lines.
 /part -- Reads a specified amount of data.
 size -- (Type: number)
 /with -- Specifies alternate line termination.
 end-of-line -- (Type: char string)
 /mode -- Block of above refinements.
 args -- (Type: block)
 /custom -- Allows special refinements.
 params -- (Type: block)
 /skip -- Skips a number of bytes.
 length -- (Type: number)
HTH
Tim
On Monday 11 August 2008, Brock Kalef wrote:
 I'm looking to read 800+ MB web log files and process the log prior to
 running through an analysis tool.  I'm running into Out of Memory
 errors and the odd Rebol Crash in attempting to do this.

 I started out simply reading the data directly into a word and looping
 through the data.  This worked great for the sample data set of 45 MB.
 this then failed on a 430+ MB file.  i.e..  data: read/lines
 %file-name.log

 I then changed the direct read to use a port i.e..   data-port:
 open/lines %file-name.log.   This worked for the 430+ MB file but then I
 started getting the errors again for the 800+ MB files.

 It's now obvious that I will need to read in portions of the file at a
 time.  However, I am unsure how to do this while also ensuring I get all
 the data.  As you can see from my earlier example code, I'm interested
 in reading a line at a time for simplicity in processing the records as
 they are not fixed width (vary in length).  My fear is that I will not
 be able to properly handle the records that are truncated due to the
 size of the data block I retrieve from the file.  Or atleast not be able
 to do this easily.  Are there any suggestions?

 My guess is that I will need to;
 -  pull in a fixed length block of data
 -  read to the data until I reach the first occurrence of a newline
 -  track the index of the location of the newline
 -  continue reading the data until I reach the end of the data-block
 -  once reaching the end of the data retrieved, calculate where the last
 record process ended
 -  read the next data block from that point
 -  continue until reaching the end of file

 Any other suggestions?

 Regards,
 Brock Kalef


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-07 Thread Tim Johnson

On Monday 07 July 2008, DocKimbel wrote:
 Hi Tim,
 ...
 Hi DocKimbel:
 But if you're forming the sql queries by appending data to SQL strings,
 it's up to you to correctly encode/escape data.
 I generally do the above, however, I have one function that takes an already
 prepared query.  I'm still at ver. 1.1.1 of your scheme, will download 1.6
 and implement.
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-04 Thread Tim Johnson

On Thursday 03 July 2008, Petr Krenzelok wrote:
 
 You have to look at docs, find your C API for your particular library
 and create routine wrappers 
  It would be good to see an example. There's no docs with this distro,
  and docs for ver 2.6 (as far as I can find) show no examples for 
load/library.
thanks
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-04 Thread Tim Johnson

On Friday 04 July 2008, Petr Krenzelok wrote:
 Tim Johnson napsal(a):
  On Thursday 03 July 2008, Petr Krenzelok wrote:
  You have to look at docs, find your C API for your particular library
  and create routine wrappers 
 
It would be good to see an example. There's no docs with this distro,
and docs for ver 2.6 (as far as I can find) show no examples for
  load/library.
  thanks
  tim

 huh? http://www.rebol.com/docs/library.html
  Thanks. I figured it would be in the /command
  docs 
cheers
tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-04 Thread Tim Johnson

On Friday 04 July 2008, Nick Antonaccio wrote:
 Hmmm, I thought I posted that link several messages back...  Anyway, =20
 here's how to wrap functions from a library (from the other link in =20
 that earlier message):

 ; to open the library:

 lib: load/library %TheNameOfYour.library

 ; to wrap a function in the library:

 your-rebol-function-name: make routine! [
  return-value: [data-type!]
  first-parameter [data-type!]
  another-parameter [data-type!]
  more-parameters [and-their-data-types!]
  ...
 ] lib TheFunctionNameInsideThelibrary

 ; to run the wrapped function in Rebol with your parameters:

 your-rebol-function-name parameter1 parameter2 ...

 ; to free the library when done:

 free lib

 I'm not at all familiar with the MySQL api, but here's a quick example =20
 of the mysql_real_connect function wrapped for Rebol.  You'll need to =20
 fix the datatypes (for example, I'm not sure what type mysql_init =20
 returns for use as the first parameter conn), but this outline =20
 should give you an idea of how to get started:

 lib: load/library %/usr/lib/libmysqlclient.so.15

 mysql-connect: make routine! [
  return: [integer!]
  parameter1 [int!] ; not sure of this type
  parameter2 [string!]
  parameter2 [string!]
  parameter2 [string!]
  parameter2 [string!]
  parameter2 [int!]
  parameter2 [string!]
  parameter2 [int!] ; not sure of this type
 ] lib mysql_real_connect

 ; the conn variable below is gotten by running mysql_init

 mysql-connect conn, localhost root PASSWORD mysql 0, , 0
  Thanks Nick!
   Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-03 Thread Tim Johnson

On Wednesday 02 July 2008, Petr Krenzelok wrote:
 pekr:
 I doubt that you would gain any speed linking to C. C is a trade-off.
 Doc's scheme was proven to be even faster, than native one of Command.
  Good to hear.
 
 /library component is now being free.
Could you explain further. Do I take this to mean that /core
has access to shared libraries? Or are you referring to rebol3?

 However - sending the query to DB 
 is hardly the main botleneck, isn't it?
 Of course not.
 Thanks
 Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-03 Thread Tim Johnson

On Thursday 03 July 2008, Petr Krenzelok wrote:
 Tim Johnson napsal(a):
  On Wednesday 02 July 2008, Petr Krenzelok wrote:
 
   pekr:
  /library component is now being free.
 
  Could you explain further. Do I take this to mean that /core
  has access to shared libraries? Or are you referring to rebol3?

 Yes, when preparing 2.7.6 release, we asked Carl, if RT would release
 library component for free, and he agreed. So - just download latest
 REBOL and you've got /library wrapper available! Good news, isn't it? :-)
  Wham!
  tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-03 Thread Tim Johnson

On Thursday 03 July 2008, Sunanda wrote:
 Tim:
  Could you explain further. Do I take this to mean that /core
  has access to shared libraries? Or are you referring to rebol3?

 I think he;s referring to Core 2.7.6, released in March:
 http://www.rebol.net/upnews/0026.html
 OK. Downloaded and untarred but:
 Not much help in either the binary itself or the URL for
 how to use.
 On my machine: 
 res: load/library %/usr/lib/libmysqlclient.so.15
== ELF
 probe res
ELF
== ELF
 
;; DUH!
Any further docs anywhere?
thanks
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide

2008-07-01 Thread Tim Johnson

On Tuesday 01 July 2008, Peter W A Wood wrote:
 The pre-release of Rebol for pros, Chapter 5 of Rebol - A programmer's
 guide is now available at http://www.lulu.com/content/2845102

 It covers calling other programs and shared libraries, using MySQL
 from Rebol CGI scripts and how to manage source code with the free
 version of the Rebol pre-processor. All of these can be used from the
 latest free versions of Rebol.

 The chapter also includes a really enthusiastic introduction to IOS
 and details of the data encryption features in Rebol/Command.

 Regards

 Peter Wood

I understand that this is written for /command?
Is that correct.
thanks Peter
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Using REBOL to navigate a database with a Browser

2008-06-17 Thread Tim Johnson

On Monday 16 June 2008, Giuseppe Chillemi wrote:
 Hello,
I have the following needs:

I want to build a database of internet news and browse it. Actually I
 have it and it is file based but it is limited and I want to port to
 SQLLite and navigate it using a browser the way I do now and more.

When I start the browser a navigation page must be opened. Then you
 select a news to start from or filter the database for a group of news.
 REBOL now it comes. It should receive the input from the browser and
 return:

 -  the next news
 -  the group of news filtered
 -  the selection of a checkbox to change the news state into the database.

I have actually no hints about the way to achive this. I know I have:

IIS (Internet Information Server) into XP
REBOL is able to work using CGI script

I don't know:

How CGI scripting works
How to setup IIS to interact with REBOL using CGI

Could you please help me ? Maybe I have to switch to somethin else like
 Cheynne. Please le me know.

Thank you !

Giuseppe Chillemi

Hi Giuseppe:
Any journey starts with a first step. 

For servers:
Apache is also available for XP, in fact IIS might require a purchase?
Cheyenne is a rebol-based server. I can't speak about it, except that
the developer is the same developer (dockimbel) who developed the
rebol Mysql Protocol. 

for scripts
http://www.rebol.com/docs/core23/rebolcore-13.html#section-8.6
Is an example of the first steps in setting up a CGI script
I recommend that you familiarize youself with the Common Gateway
Interface itself:

For rendering: You'll need a user inteface into your database, you will
need to learn the available options for render the interface, that is, how
to deliver the content upon request. Simple print statements can
deliver content but there should some templating options available,
as well as the 'ML dialect available from rebol.org in the scripts library.

Database access. My experience with rebol and databases - and that
is how I make my living - is with the MysqlProtocol system which
interfaces with MySQL. I'm not certain how mature is the sqlite/rebol
library.

Here's a link for a mysql driver:
http://softinnov.org/rebol/mysql.shtml
Here is cheyenne:
http://cheyenne-server.org/
If you go to www.rebol.org and choose scripts, you should be able
to find a driver for sqlite. You should also be able to find many
rendering options there. I highly recommend 'ML. I've used it for
years.

I hope this helps you get started.
Best regards
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Can't find rebol3 alpha download

2008-05-27 Thread Tim Johnson

According to http://www.rebol.com/article/0347.html,
a rebol3 alpha is available for download. The article
links to:
http://www.rebol.com/rebol3/ REBOL 3.0 Home Page
but I'll be darned if I can't find a download link there.
thanks
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Permission to Document Request Tim Johnson, Andrew Martin

2008-04-13 Thread Tim Johnson

On Saturday 12 April 2008, Brian Tiffin wrote:
 Hello;

 This is mainly for Tim.  I'd like permission to document all the Andrew
 Martin scripts in rebol.org.  You're name is attached to most (if not
 all) the scripts in question.  Is it okay if I build up an Andrew Martin
 toolkit doc?

 Of course if Andrew reads this, I'll ask you're permission as well.
  Certainly. I can't recall modifying more than a couple - that were submitted
  to rebol.org. Andrew has a large body of work and I'm sure that much of
  it would qualify for a rebol standard library - should any ever be 
assembled. 

:-) You have my permission!
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol View NO GO in Ubuntu 8.04 Beta

2008-04-06 Thread Tim Johnson

On Sunday 06 April 2008, Bob Warren wrote:
 Hi All,

 In case anyone is interested at this stage, Rebol View 2.76 (or before)
 does not execute in the Ubuntu 8.04 (Hardy Heron) BETA, unless there is
 something obvious I have missed (yes, the file has executable status).
 The Ubuntu beta I am running has been installed via Windows (the new
 option), though I imagine that this might not be a factor (or could
 it?). But View doesn't run from the live CD either.

 Has anyone else tried View in Ubuntu 8.04?
 I'm running /core on kubuntu 7.10, don't use /view, but wanted to
ask: Is this a 32-bit or 64-bit distro?
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Google API

2008-03-21 Thread Tim Johnson

On Wednesday 19 March 2008, Ryan Cole wrote:
 Has anyone tackled any of the google API yet? If not, what about soap?


 --Ryan

I am using an interface to the google maps api, but implementing thru python.
My partner is using soap calls from perl.
Regardless of the language, the protocols are the same.

Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: test-ignore

2007-12-27 Thread Tim Johnson

On Wednesday 26 December 2007, Tom Conlin wrote:
 seeing if the list is up


 --
... nice weather eh  [EMAIL PROTECTED]

Yup. Still up. Must be a record.
--
20F and blowin' like hell here.
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Personal Programming and Rebol Promotion

2007-12-17 Thread Tim Johnson

On Monday 17 December 2007, Gregg Irwin wrote:
 
 I also think that we're only about 5% of the way there right now. We
 need better tools, scriptable apps, and a lot more dialects. I have
 hope though.
  What is also needed is rebol binaries compiled for 64-bit systems.
  Now. 
  IF RT abandons 64-bit support for rebol 2, it will reflect badly on
  rebol 3.
  MTCW
  Tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Variable not avilable out of a foreach

2007-12-12 Thread Tim Johnson

On Wednesday 12 December 2007, Henrik Mikael Kristensen wrote:
 

 Let me add that if you experience issues with words not containing the
 correct values where they should, BIND? can offer an explanation. It
 shows the context (object) that the word is bound to.
 amen...
 :-) http://www.fm.vslib.cz/~ladislav/rebol/contexts.html 
 http://www.fm.vslib.cz/~ladislav/rebol/contexts.html#section-7
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Scope [was variable not available...]

2007-12-11 Thread Tim Johnson

Hi rebolers:
For the recent commers to rebol and even (some of us)
old guys a discussion on scope is worth having (again).
Rebol's approach to scope is very simple but has some 
gotchas.

http://www.rebol.com/docs/core23/rebolcore-9.html
documents functions and has some illustrations about
scope.

I also recommend the resources made available by
Ladislave at
http://www.fm.vslib.cz/~ladislav/rebol/
and look for the link to 'lfunc.
I've been using something like this for years.
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Variable not avilable out of a foreach

2007-12-11 Thread Tim Johnson

On Tuesday 11 December 2007, Anton Rolls wrote:
 Hi Giuseppe,
I must defer to Anton's grasp of rebol - I believe his knowledge
of theory runs deeper than mine, but I must differ with what
he says here: 

 Let me just start by saying that rebol defines no scope.
because at
http://www.rebol.com/docs/core23/rebolcore-9.html#section-9
scope is indeed a topic here to say otherwise is to
further confuse the newcomer.

 Every word can be bound and rebound dynamically
Indeed! And 'bind is a powerful tool that enables us to 
manipulate scope... but first one must understand how
rebol uses definitional scoping.
respectfully
Tim

 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Variable not avilable out of a foreach

2007-12-10 Thread Tim Johnson

On Monday 10 December 2007, Giuseppe Chillemi wrote:
 I have the following script:

 rebol: []
 get_data: does [
  parse line []
 ]

 main_loop: does [
  file_database: request-file
  database: read/lines to-file file_database
  foreach line database [
  get_data
  ]
 ]
 main_loop

 The script returns LINE has no Value, I must assign it to a temporary
 variable... why ?
 try changing get_data to a func and pass 'line as an argument to it
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Variable not avilable out of a foreach

2007-12-10 Thread Tim Johnson

On Monday 10 December 2007, Tim Johnson wrote:
 On Monday 10 December 2007, Giuseppe Chillemi wrote:
  I have the following script:
 
  rebol: []
  get_data: does [
   parse line []
  ]
 
  main_loop: does [
   file_database: request-file
   database: read/lines to-file file_database
   foreach line database [
   get_data
   ]
  ]
  main_loop
 
  The script returns LINE has no Value, I must assign it to a temporary
  variable... why ?

  try changing get_data to a func and pass 'line as an argument to it
 tim

p.s. your problem stems from the way that rebol evaluates 'get_data before
the loop and knows nothing about a global 'line. Just for grins, you could 
also put get_data as a 'does inside the loop where 'line would now be in
the same scope as 'get_data.
as in:
 b: [1 2 3 4 5]
foreach line b[g: does[print line] g]
but is probably not a good idea :-)
tj
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: R: Re: Variable not avilable out of a foreach

2007-12-10 Thread Tim Johnson

On Monday 10 December 2007, Giuseppe Chillemi wrote:
   The script returns LINE has no Value, I must assign it to a
 
  temporary
 
   variable... why ?
 
   try changing get_data to a func and pass 'line as an
  argument to it tim

 Yes, it is another solution but my question is WHY is this happening ?
Hi Giuseppe:
  Because the source of get_data is first evaluated outside of the *scope* of
the foreach loop. When it is called within the loop it treats 'line as a 
global which does not exist. If there were a global 'line, then you could
have some very unpredictable results...

See my second post on this question, I've got some little examples there.

HTH
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: [editor] REBOL editor (was: Updated Syntax Highlighting for UltraEdit)

2007-12-09 Thread Tim Johnson

On Sunday 09 December 2007, Gregg Irwin wrote:
 I've always thought that we were 90% of the way there, since emacs was
 built on a Lisp engine that they had to write first. Cal Dixon wrote
 a console mode emacs engine, and James Marsden did some really cool
 stuff with View. I think it's doable, and I want a full REBOL
 environment but, to me, that means rethinking things, not just doing
 what other editors and IDEs do.
 :-) I'm all for an editor built on rebol, but I *do* use emacs as
 my editing and development environment - having developed a
 a major mode for rebol using elisp.

 There are many who turn up their nose at emacs - they get distracted
 by rumors of having to use keystroke chords and they roll their
 eyes at such a rumor and stop there. The truth is - emacs is the 
 most extendable editor/IDE in the freeware world IMHO and that is
 why I use it. Emacs in the raw is very difficult to learn, but many
 different skins can be built on top of it.

 In fact emacs *could* be the engine that drives a 
 fully endowed rebol IDE and the user (if he/she so chooses) would
 *never* have to press 3 keys at once. :-)

 Having said that, I'm not sure what a beast emacs would be on windows,
 I'm not sure that asynchronous communication with the binary works
 on Microsoft platforms and that is one of the things I really find 
productive.

tim
 


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Speed required

2007-11-29 Thread Tim Johnson

On Thursday 29 November 2007, Kai Peters wrote:
 I need to transform SQL cursors with up to 10,000 records and it needs to
 be= fast:

 Example cursor:

 [
 [ 100 Joe Browne Chicago 55 445-5689 ]
 [ 101 Joe Browne Chicago 55 223-2221 ]
 [ 102 Joe Browne Chicago 55 489- ]
 [ 103 Joe Browne Chicago 55 235-2245 ]
 ]

 I need a copy of this cursor, but only containing certain fields from each=
  record;
 the desired fields should be specified in a block like:

 [ 1 2 5 ] if I wanted record #, name  phone from each record in the
 example above.
 Hi Kai:
 I'm not sure if I fully understand your need, but if you are looking
 for column values 1, 2  5, why not compose your SQL query
 to those specific columns in that order?
 as in select col1,col2,col5 from MyTable?
 If I've missed the boat here - sorry! Oh, and what
 do you mean by 'transform'?
regards
tim 



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Speed required

2007-11-29 Thread Tim Johnson

On Thursday 29 November 2007, Kai Peters wrote:
  Hi Kai:
  I'm not sure if I fully understand your need, but if you are looking for=

  column values 1, 2  5,

  why not compose your SQL query to those specific columns in that order?
  as=

  in select

  col1,col2,col5 from MyTable? If I've missed the boat here - sorry! Oh,=

  and what do you mean by

  'transform'? regards tim

 Or - to hopefully make it even more clear:

 Here's what I have been using:

 cursor: [
  [ 100 Kai  49  #764-0929]
  [ 101 Zu   52  #764-0915]
  [ 102 Dewi 16  #312-1772]
 ]
 cols:   [ 1 2 4 ]
Aha! 'cursor applies to the entire result set.
See comments below

 remove-columns:  function [ cursor [block!] columns [block!]] [ tmp result
 ]= [

  ;; below could be a time penalty if function in a loop or nested loop
result: copy []
foreach record cursor [
  ;; below could be a time penalty if function in a loop or nested loop
   tmp: copy []
   foreach column columns [
 append tmp pick record column
   ]
   append/only result tmp
]
result
 ]

 probe remove-columns cursor cols
I'd recommend that you
1)try to make a reasonable assumption about amount of memory usage, 
2)double that amount :-)
3)create your 'result and 'tmp blocks before iteration starts using 'make 
instead of 'copy to reserve memory and hopefully prevent resizing - which
would be something like a 'realloc() call in the native code
4)pass them as arguments to 'remove-columns
 'clear'ing them first
I don't do a lot of processing of big record sets with rebol, but
I would guess that memory allocation and reallocation would
be an issue.

I hope this adds to what Gregg has provided. 
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Who read this mailing list?

2007-11-23 Thread Tim Johnson

On Thursday 22 November 2007, Carl Read wrote:
 
 The PL that I consider an alternative to rebol is newlisp. If you look at
 their forum, you will see that Lutz Miller - the developer of newlisp -
 participates almost daily in the community.

 I had a quick look at its FAQ and the thought struck me.  Would it
 understand this? (hello world 9 $80.00 7.6.5.4 3x2 10:20 1-Jan-2001
 [EMAIL PROTECTED]) etc...
PLs each have their own strengths and weakneses, and one of rebol's
strengths is the variety of datatypes and how they can be applied, one of
newlisps strengths is the involvement of the developer IMHO
 And of course, is there a View equivalent?
of course there is and it appeals to me more than view (I never have used
view) My needs are to a great degree based on the fact that I own and
operate a small business with two partners. What I do has to in some
degree mesh with my partners and I have a business plan that takes
that into account. My choices come down to the mixture of the
pragmattic, the contractual and the aesthetic and should they differ
from yours, they don't make mine better than yours or vice versa,
just different. My needs and my opinions should they differ from someone
else here are because my needs and my opions are different, not to
be construed to be better.
However: I have always got the impression that RT promises more than
it delivers and sometimes I get the feeling that someone has come down
from a mountain with some golden tablets, dropped them at our feet for
all do decipher and them gone back into the clouds. Newlisp *seems* more
democratic to me. IMHO 
That's all I have to say on this subject.
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Language Popularity Network Effects; Ruby Mongrel

2007-11-22 Thread Tim Johnson

On Wednesday 21 November 2007, Brian Tiffin wrote:
 Hi Brian:
 :-) I'm deleting all the '=20's - don't know where they come from
 but very likely, the list-serv
 It is a little bit of a catch-22.  So many features that are visible
 libraries for most scripters are a one or two-liner built-in for REBOL

 Even the one-liners can extend the basic functionality of the mezzanine
 and be very enlightening to new and( in my case anyway) old programmers.

 But there are libraries we do need and those should be built and then
   Much thought to give about how to organize them, for sure.
 propagated in a well defined and well advertised way.  All planned...now   
 action?  Hmmm, action.  :)
 You mean, like follow-up and follow-thru? Hahaha! One step at a time and
 you get there.
tim
 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Who read this mailing list?

2007-11-22 Thread Tim Johnson

On Thursday 22 November 2007, Alessandro Manotti wrote:
 Hello,

 I was following all the discussions made in these days in this mailing
 list, and... I asked to myself: is there any RT member (official member)
 that read these emails?

  chuckle We're waiting to find out with bated breath. /chuckle

The PL that I consider an alternative to rebol is newlisp. If you look at 
their forum, you will see that Lutz Miller - the developer of newlisp -
participates almost daily in the community.

Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Language Popularity Network Effects; Ruby Mongrel

2007-11-21 Thread Tim Johnson

On Wednesday 21 November 2007, Ed O'Connor wrote:
 
 messaging language. I think I'd be struck down to hear someone say,
 Boy, you need to get your hands on a good, solid messaging language!
   Bam!
   I can tell you - but I can't tell you where - that there are places where
   rebol is used extensive for messaging as in TCP/IP. There's may be
   more than what I know of - but there are organizations that (and big
   ones at that) that may be using rebol, but are not going to advertise
   it like google might advertise its use of python.

 I think that REBOL's strong point is it's convenience. I like the fact
 that I can fire up the interpreter on Windows or OS X and use it to
 manage my local data files with minimal fuss. Or that I can parse 
 extract content from web pages quickly 
   I use rebol extensively for web scripting not so much for for network 
stuff, for that it runs rings around python. but read on
 The areas where I find REBOL is not so simple is in managing errors,
 networking, encryption, xml and building DSLs. I'm not saying the
 power isn't there, just that you need to have a good deal of expertise
 in these areas to leverage these features.  
  Oh if rebol could just report the file and line number of an error!
  Python has really got it down for error handling!
  To elaborate on what Alessandro has said about protocols - absolutely.
  And they don't have to be native, could be mezzanine or in libraries.

  Speaking of libraries, what many, many who examine rebol and remark 
  to me is Why is there no libraries? What is up with that? Is this really a 
serious programming language? 
Given rebol.org
  as a starting point, there should be libraries. Libraries that are reviewed
  vetted and blessed by RT. In my opinion, rebol is crippled without that,
  because fellow programmers are telling me that is one thing that rebol
  is missing..

 I know, I've said this before, many times on this ML.
 I'll probably say it again.
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Development rebol scripts on Linux

2007-11-17 Thread Tim Johnson

On Saturday 17 November 2007, Carl Read wrote:
 On Friday, 16-Novenber-2007 at 7:50:39 Tim Johnson wrote,

 Nothing beats the interactivity of a console tho'.
 I am (I think) the first person to develop an interactive
 class on programmer using rebol. My great frustration
 was that the students students wanted the bells and whistles -
 i.e. drag-and-drop, all kinds of windows popping up and
 plenty of other stimulus and were not able to concentrate
 on small discreet portions of code.
 
 rantIMHO this is one of the reasons that my
 county (USA) is losing programming jobs - to much
 desire for stimulus on the part of younger generations.
 /rant

 The kids are aways right Tim - never forget that! ;-)

 And they have a point.  They might not know how to say it, but they'd
 instinctively know that it'd be much easier and faster to create a GUI
 using point  click than by typing.  A mouse  GUI will have been the only
 way 90% of them have ever got things done on a computer, since that's been
 the default interface on personal computers for over 20 years now.
  It is not a matter of being *right* or *wrong* it's about a mindset.
  One has *got* to be able to focus on algorithms.
  BTW1: I came to rebol from C++ builder with a background in combining
  drag-and-drop with coding.
  I'm well aware of the economics. JKG might have suggested that the world
  needs a global monetary standard to level the playing field, but that 
  is beyond me. 
  I stand by my contention that you have to be able to free onself from the
  temptation of high stimulus to really use your imagination.

  Look at what Einstein did - and a lot of what he came up with happened
  when he was hiking in the Alps.

  I grew up on a farm,, most of my family still farms and I've done my share 
of bushwhacking and subsistance living. Amazing ideas have come out
of the austere life led on the central plains of the North American 
continent. And other rural open environments as well.

The local electric utility routinely train their CAD staff in a special class
that emphasis the keyboard. They claim that it gives a 30% increase of
productivity over relying solely on the pointing device.

I use emacs for coding rebol. I primarily use the keyboard, with the mouse
as needed and where it works best. Comparing this environment to coding
in C++ builder is like comparing a sportscar to a truck. Of course trucks
have their place but since I am a single coder instead of part of a team, this
works best for me.

Nice arguing with you. :-)
Did you know that J.K. Galbraith and William F. Buckley were best friends?
WFB describes JKG as his dearest friend - think of the arguments they
must have had.

Regards
Tim
 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Development rebol scripts on Linux

2007-11-16 Thread Tim Johnson

 
 2007/11/15, Alan [EMAIL PROTECTED]:
 . I'm not a big console guy so I tend not to
  start programs from the linux command line.
 Another way might be to do your testing from a script,
set up your file associations so that the script is run
on a mouse click.

Example:
you have a file with code inside of functions.
You execute the code that you want to test from a
function - let's call it 'test.

You put test as the last line in the file. Then
you run it from a file manager - OR you could
also run it as a CGI script. I do that a lot when
I want to capture a lot of output.

You can then test your code from whatever editor
you feel most compatible with. Emacs is a bear to learn.

Nothing beats the interactivity of a console tho'.
I am (I think) the first person to develop an interactive
class on programmer using rebol. My great frustration
was that the students students wanted the bells and whistles -
i.e. drag-and-drop, all kinds of windows popping up and 
plenty of other stimulus and were not able to concentrate
on small discreet portions of code.

rantIMHO this is one of the reasons that my
county (USA) is losing programming jobs - to much
desire for stimulus on the part of younger generations.
/rant
Gotta love the code

Anyway, I hope we are being of some help to you Fergus.
regards
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: rebol - off line

2007-10-26 Thread Tim Johnson

On Thursday 25 October 2007, Alan wrote:
 Good to see rebol back up..However, It is sad to see a simple email based
 network down so often.

   I did some serious whining about that on the reboltalk forum last week and 
Gabriele noticed my distress :-). Maybe that had something to do with the 
restoration.

Seriously, the ML is my favorite medium for something that I want to monitor
on a ongoing basis.

Examples:
1)I code in rebol daily so an ML is preferable. And I really miss it when
it is down.

2)I've been brewing my own wine and beer for 30 years, but
I'm not involved with that daily - thus a forum is fine for brewing 
questions.

I don't want to commit myself at this time, but I think I could find another
hoster for the ML so that RT can concentrate on R3BOL.

mtcw
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: unbuffered file reads (large files)

2007-10-23 Thread Tim Johnson

On Tuesday 23 October 2007, Anton Reisacher wrote:
 If you open bigger files, you will see, that not the whole file is read
 ahead.
Aha!
 The termination can look like this

 inf: open/direct/lines %file
 while [line: pick inf 1] [probe line]
Understood.=20
thanks Anton.
That's a big help.
Tim

  Original-Nachricht 

  Datum: Tue, 23 Oct 2007 10:46:14 -0800
  Von: Tim Johnson [EMAIL PROTECTED]
  An: [EMAIL PROTECTED]
  Betreff: [REBOL] unbuffered file reads (large files)
 
 
  Hello:
 
  I'm processing some large text files - 100,000 lines or more.
  It would seem to me that using 'open with the 'direct refinement
  would be the answer, but I'm seeing
  1)buffering
  2)problems terminating the read loop.
  What follows is a test rebol file and a little text file to test.
  I've made this to run as CGI, so that the port dump is a little more
  readable. I have further comments at the end.
  ;; rebol file - can run from command line or as CGI
  #!/usr/bin/rebol -cs
  REBOL[]
  print Content-Type: text/html^/
  print pre
  print Read file with cache
  inf: open/lines %test.txt
  while[not tail? inf][
  print first inf
  inf: next inf
  ]
  close inf ;; works fine, but is buffered
  print Read file without cache
  inf: open/direct/lines %test.txt
   ;; help open says 'direct should be unbuffered
  ;; tail test fails immediately
  ;while[not tail? inf][
  ;   print first inf
  ;   inf: next inf
  ;   ]
  ;; use truth test of inf
  while[inf][
  ?? inf   ;; look at the 'state members, expecially 'inBuffer
  print first inf
  inf: next inf
  ]
  close inf
  ;; here is the input text file
  line one
  line two
  line three
  line four
  line five
  ;; comments follow:
  1)the tail test fails in direct mode
  2)the truth test for 'inf is not helpful either.
  3)It looks to me like direct mode *is* buffered after the
 first read
  4)The termination test could be something like
   if all[string? inf/states/inBuffer empty? inf/states/inbuffer][break]
  5)But we still have buffered input right?
  What do you all think?
  Thanks
  --
  To unsubscribe from the list, just send an email to
  lists at rebol.com with unsubscribe as the subject.

 --
 Pt! Schon vom neuen GMX MultiMessenger geh=F6rt?
 Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Language-oriented programming

2007-09-20 Thread Tim Johnson

On Thursday 20 September 2007, Ed O'Connor wrote:
 Language-oriented programming is interesting and caused a small stir a
 couple of years ago. Unfortunately, it hasn't gone anywhere,  
:-) What about parse?
Common LISP has used the DSL approach for decades, I believe.

I don't have a lot of time to elaborate right now, but I must say that
rebol lends itself *very* well to dsl. I make a great deal of this approach
(dialecting), usually the dialect is sitting on top off an object.

A superb example of a dialect is Andrew Martin's ML dialect, which should
be available from rebol.org.

After using 'ML, one would never want to go back to using literal strings
or tags for emitting html for any large structure.

MTCW
Tim
Example below:
;; 'htm is a simple wrapper for 'ML, auto-composing any parens
 content: htm[
  form/action/method (.g/blog-url) POST[
  table/border/cellpadding/cellspacing/width
  0 2 1 100% [
  tr[td/align right[b[Name:]]
  td/align left[input/type/name/value/size
  text name $name 45
  ]
  ]
  tr[td/valign top[p/align right b[(brs 1)
  Comment: ]]
  td[textarea/name/rows/cols text 8 58[$msg]]
  ]
  tr[ td/width 87[nbsp;]
  td[input/type/name/value submit Cancel Cancel
 input/type/name/value submit (button-text) 
(button-text)]
 $more
  ]
  tr[td/width/height 87 25[nbsp;]
  td[i[Note: HTML tags allowed for: (tags-allowed)]]
  ] (newline)
  input/type/name/value hidden cmt $file
  ]
  ]
  ]
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Language-oriented programming

2007-09-20 Thread Tim Johnson

On Thursday 20 September 2007, Ed O'Connor wrote:
 On 9/20/07, Tim Johnson wrote:
  On Thursday 20 September 2007, Ed O'Connor wrote:
   Language-oriented programming is interesting and caused a small stir a
   couple of years ago. Unfortunately, it hasn't gone anywhere,
  
  :-) What about parse?
 
  Common LISP has used the DSL approach for decades, I believe.

 This is true, and I didn't mean to suggest that DSLs emerged 2 years
 ago, but the  term language-oriented did. Sadly, I don't think are any
 DSL lanuages (in the classic sense) which are considered mainstream.

 There is quite a spectrum of what DSL-ish constructs:
 1- a high-level abstraction
 2- a function, or collection of functions
 3- a markup/formatting language or shorthand
 4- a little language such as SQL or the UNIX utils
 5- a 4GL or NLP-ish script such as ZIL (Inform Language) or AppleScript
 6- a lingo or domain language (e.g., Iced Decaf Triple Vanilla Skim latte)

 But I prefer not to hash that out here. My (admittedly ineffective)
 definition of a DSL is more like the FCC's definition of indecency: I
 know it when I see it. I suspect that the less a construct
 looks/feels like something that might be called a DSL (such as #6
 above), the more successful it probably is!

 I think of DSL in terms of degree. As in OOP there are degrees - I used to do 
 OOP in ansi C. It wasn't Object programming like smalltalk or even python, 
but employed some of the priciples.
I'm happy that rebol provides *some* degree of DSL

 Time to go study LOP at the knee of my local barista.
   That would be an OOPs if I did that :-)
tj


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol and New Hybrid Software Model

2007-09-16 Thread Tim Johnson

On Sunday 16 September 2007, Gabriele Santilli wrote:
 2007/9/16, Chris Dwyer [EMAIL PROTECTED]:
  Perhaps the best hope for RT is to provide R3 as a development
  language on the $100 laptop and let the emerging nations push it
  forward. It is small and easy to learn.

 Actually, I have a friend in the OLPC team... but his answer was only
 GPL software. (I guess these kind of statements can be revisited once
 we can offer more than an alpha, but anyway, it's not easy to get into
 that mindset.)
  Hi Gabriele:
  I'm wondering why rebol is not available in debian/ubuntu repositories.
  Is that omission a GPL issue or :-) just an oversight?
  Regards
  Tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol and New Hybrid Software Model

2007-09-16 Thread Tim Johnson

On Sunday 16 September 2007, Brian Tiffin wrote:
 Tim;
 
 I agree completely that REBOL should get packaged.  I've been playing with
 a man page but I can't seem to handle more than a few minutes of groff at a
 time.  :)
  Hi Brian:
 You have my deepest sympathies! To tell the truth, I don't know anything
  about the process of submitting to a repository. What role does groff play?
 tj



-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Rebol and New Hybrid Software Model

2007-09-15 Thread Tim Johnson

On Saturday 15 September 2007, Petr Krenzelok wrote:
 Chris Dwyer napsal(a):
New Hybrid Software Model
 
  Perhaps R3 should go this direction?

 You should know, that there is some guy at QNX company, who is author of
 that hybrid model for them. That guy lives close to Carl, and they met
 in the summer. Carl told him about his Hybrid model, and now QNX comes
 with that. Coincidence? :-)

  Open source has changed everything and all languages are competing
  with the likes of PHP and javascript, java et al.

 There is many examples of stuff not being open-source and popular, and
 of things being open-source, yet not widespread 

  I hate talking to my ISP cause I know that as soon as I mention REBOL
  on their servers, their eyes roll back into their collect heads. I
  feel I can't use REBOL if there are these issues to overcome.

 And I think you are highly exagerrating. I talked to two ISPs here, and
 they had no problems at all. What is more - once you have general CGI
 allowed, you don't need even to mention it to them - just place rebol
 executable into cgi-bin directory itself.  
Yikes! Don't do that. Please. There's been a discussion earlier about this 
earlier...
Because cgi-bin is open to the outside world, multiple requests like
http://mydomain.com/cgi-bin/rebol could bring the server down. And now
the ISPs would *really* be rolling their eyes. You could more safely place
it someplace like /home/mydomain/bin.

I belong to a professional organization that is mostly sysadmins for ISPs
and telcos and they are uniformly  opposed to this. One of the local ISPs
the I know of - that doesn't belong - *does* allow this and they are
gonna be sorry!
MTCW
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Annabelle Content Management System

2007-09-13 Thread Tim Johnson

On Wednesday 12 September 2007, Sabu Francis wrote:
 
 I am a practising architect by training, profession and practice. I use
 programming to investigate architecture of all kinds. I am relatively
 new to Rebol (Prolog is my preferred language) 
Hi Sabu:
Just wondering if you have checked out prolog.r from the scripts library,
and if so, what you think of it?
thanks
tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Annabelle Content Management System

2007-09-13 Thread Tim Johnson

On Thursday 13 September 2007, Sabu Francis wrote:
 Hi
 No. I have not tried this. I should do that sometime
I keep meaning to test it out for my own use - but haven't 
found the time to get around to it. I find any extension of
conditional logic to be a very interesting concept.
thanks
Tim
 Thanks
 Sabu Francis

 Tim Johnson wrote:
  On Wednesday 12 September 2007, Sabu Francis wrote:
  I am a practising architect by training, profession and practice. I use
  programming to investigate architecture of all kinds. I am relatively
  new to Rebol (Prolog is my preferred language)
 
  Hi Sabu:
  Just wondering if you have checked out prolog.r from the scripts library,
  and if so, what you think of it?
  thanks
  tim


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Annabelle Content Management System

2007-09-13 Thread Tim Johnson

On Thursday 13 September 2007, Sabu Francis wrote:
 Hi
 Yes Prolog is quite a useful language. The concept of 'backtracking' is
 very powerful. In fact, I think (not verified) many important concepts
 originated in Prolog and Lisp, two of the oldest languages. It also
 handles data and meta-data structures very nicely.

 I had used a variant of XML in Prolog (which I used to call 'proXML')
 that overcame many of the problems that Carl had pointed out in XML.
 Anyway, I am probably digressing ...

 I find Rebol also a very good language to work with. I think it can also
 handle data+code together (data turning into code, code back into data)
 which can be very useful. Now if someone has figured out a way to do
 backtracking in Rebol and do things like 'findall' ( a predicate in most
 Prolog to collect data together)... well that would be really wonderful.

  I'm a web programmer and despite then popularity of python (my other
  scripting tool) and the depend for python scripters, I do more and more
  in rebol. The change is accelerated by the growth in rebol assets such as
  those at rebol.org
 
  I'm not sure *exactly* what findall does, but what follows is 
  first - a rebol function that I wrote based on earlier code by Marco
  ( I think that is the same Marco that wrote prolog.r) - and after that is
  a simple console session.
  cheers
  tim
;; === code =
 every: def[  
Evaluates code following any expression that is not FALSE or NONE.
  Accumulates return values of code (if 'set).
  Returns a block if at least one code set is evaluated.
  If no code block is evaluated, returns 'false.
  Handles unset! values
 cases [block!] Block of cases to evaluate.  
][  
_n: func [Check for unset values and return 'none if found
v [any-type!]][either unset? get/any 'v [none][v]]
res: false
data: copy[]
 while [not empty? cases][  
 set [condition cases] do/next cases  
 if condition [  
 res: true 
 body: first cases  
if T: _n do body[append data T]
]  
 cases: next cases  
]  
either res[
either empty? data[res][data]
][res]
]
;; NOTES: 1)'def is a subroutine variant that automatically generates
;;local variables
;; 2)Multiple docstrings
;; console session:
 res: every[1[1] false[2] true[3]]
== [1 3]

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Server Question

2007-09-06 Thread Tim Johnson

On Thursday 06 September 2007, Carlos Lorenz wrote:
 Hi Chris,

 The guys at my ISP think the same unfortunatelly and I have my REBOL
 scripts running ok.

 All I did was to upload REBOL interpreter an my scripts to cgi-bin
 directory.

 The scripts have the extension .cgi and the first line of each one is:
 #!rebol -cs
  If the rebol binary is in cgi-bin and let's say cgi-bin is accessable to
  the outside world as http://www.carlos_domain/cgi-bin,
  then what happens if someone points there browser to
  http://www.carlos_domain/cgi-bin/rebol ??

  The result should be that rebol loads, the user gets a server 
  error and rebol stays resident. And everytime this is repeated,
  another image of rebol is loaded into memory, potentially
  releaving the server of all memory.

  I've had ISPs make a similar to me and declined. 
  Tim
  
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Server Question

2007-09-06 Thread Tim Johnson

On Thursday 06 September 2007, Carlos Lorenz wrote:
 Tim,

 Why Carl=B4s tutorial did not mention that?

 Don't know I'm being presented with a similar situation.
 I'm going to recommend to the sysadmin that putting rebol
 in the cgi-bin directory would be a bad idea and suggest that
 they set up a local /bin directory that my client could use.
 So we would have something like this:
 !#/home/woods/bin/rebol -cs
Since I have admin rights on my workstation, then I could set
up user `woods` with a bin directory and a symlink to rebol
 so I don't have to change the she-bang line when I upload.

and it looks like Sabu has an alternative..

cheers
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: And another stumper....

2007-08-30 Thread Tim Johnson

On Wednesday 29 August 2007, Kai Peters wrote:
 I am testing my code and run the function below against a non-existent
 mysql server:

 Hmm - thought that try should catch this but apparently other things=
  happen:
Kai, below is a basic code framework that I use for my rebol CGI
 scripts. Most relevant to error handling is the last two lines.
I hope that you find this a helpful example
cheers
tim
(code follows)
;; ==
application: [; execution block
cgi/init  ;; initialize cgi handler
cgi/set[testservers: test-server-names] 
db-profile: [* * 127.0.0.1 *] ;; mysql login info
db[init db-profile]  ;; log into mysql server
main   ;; code here
db[close] 
cgi/close
]
;;==
;; 'print-error is the error handling function
except: [print-error disarm err ]
if error? set/any 'err try application except
 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Just two ways to the same place?

2007-08-29 Thread Tim Johnson

On Tuesday 28 August 2007, Kai Peters wrote:
 Hi Tim ~

 tried to think of a situation where I'd use that and could
 not come up with anything - do you have a practical example
 you can share?
:-) I use many.
 The code below has been modified to remove any dependencies, so
it may break when you test it, but any error should be obvious, and
hopefully the concept is clear.
Data stored in the anonymous context is presistant,
 
I use it to create html buttons with inline javascript for rollover effects. 
It has two helpful characteristics: 
1)Dictionary style argument list. 
2)No need to redundantly call with a large 'args list
context [
type: button name: button value: click me 
bgc: #cc color: black hcolor: lightblue
fs: 12px fw: normal hbgc: black onclick: 
;; previous defined words
kws: [type name value bgc color hbgc hcolor fs fw onclick]
set 'do-button1 func[
create a button using 'button function with keywords 
[catch] args[block!] 
keywords: type, name, value, bgc, color, hbgc, hcolor, 
fs, fw, onclick 
/local use-onclick test blk][
foreach[key val] args[
if not in self key
[throw make error! rejoin[Unknown key:  form 
key 
  . Use one of: [ 
form kws ]]]
if key = 'onclick[use-onclick: true]
either word? val[
set in self key get val
][set in self key val]
]
blk: copy [input type=^ self/type ^ name=^ 
self/name ^ value=^ 
self/value ^ style=^background-color:  
self/bgc ; color:  self/color ; font-weight:  
self/fw ; font-size:  self/fs 
;^ onmouseout=^this.style.backgroundColor=' 
self/bgc ';this.style.color=' self/color 
'^ onmouseover=^this.style.backgroundColor=' 
self/hbgc ';this.style.color='
self/hcolor '^ 
]   
if use-onclick[
append blk [ onclick=^ self/onclick ^ ]
]
append blk 
]
]   

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: And another stumper....

2007-08-29 Thread Tim Johnson

On Wednesday 29 August 2007, Kai Peters wrote:
 I am testing my code and run the function below against a non-existent
 Hi Kai:
 End of a long day here and between my mailer and yours, I think I
 am seeing things that you didn't originally code -
 *but*, I believe that you need to 'disarm the error object.

See 
help disarm 
and the current documentation on error handling.

talk to you later
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Just two ways to the same place?

2007-08-28 Thread Tim Johnson

On Monday 27 August 2007, Kai Peters wrote:
 Is there any difference between

 set 'some-word func [ ..

 and

some-word: func[ .
 Hi Kai:
 Consider this:
 context [set 'test func[][]]  ;; untested :-)
 here we have an anonymous context.
 And such a creature can be very useful.
 tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] MySQL driver - trap warnings

2007-08-26 Thread Tim Johnson

Hello rebelers:

My second favorite programming language is python :-)

The python DB api for mysql has a feature that reports warnings from
MySQL.

I haven't used net-log, not sure how it works but I see from mysql-protocol
ver 1.1.1 that DocKimbel is employing it.

Perhaps it would be a good addition to a wish list to trap warnings, 
possible via net-log.

Thanks
Tim 
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: MySQL driver - trap warnings

2007-08-26 Thread Tim Johnson

On Sunday 26 August 2007, Tim Johnson wrote:
 Hello rebelers:

 My second favorite programming language is python :-)

 The python DB api for mysql has a feature that reports warnings from
 MySQL.

 I haven't used net-log, not sure how it works but I see from mysql-protocol
 ver 1.1.1 that DocKimbel is employing it.

 Perhaps it would be a good addition to a wish list to trap warnings,
 possible via net-log.
   Looks like net-log could be overridden to write to a log-file, provide a 
summary, whatever.
tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: convert money values to integer?

2007-08-26 Thread Tim Johnson

On Sunday 26 August 2007, Kai Peters wrote:
 Wow - I  expected this to work:

 a: $100
 
 Strings are handy for that...
 print to-integer a
   to-integer next to-string a
== 100
;; next:
 a: %=3D$4.95
  I'm not sure of assignment above.
  Did you mailer add something?
 ;; similarly:
 a: $4.95
== $4.95
 print to-decimal next to-string a
4.95
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: convert money values to integer?

2007-08-26 Thread Tim Johnson

On Thursday 16 August 2007, Sunanda wrote:
 Kai:
  a: $100
  So what do you use for this simple? conversion?

   a/2

  Say what?
  Well, I just learned something new!
  On a related note, look here:
 t: now/date
== 26-Aug-2007
 t/1
== 2007
 t/2
== 8
 t/3
== 26
;; but the path referencing is counter-intuitive
;; (to me anyway)
Tim

   == 100.0

 Sunanda


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: convert money values to integer?

2007-08-26 Thread Tim Johnson

On Sunday 26 August 2007, Kai Peters wrote:
 Hmm, I did not read up on it yet but it would seem as if dates are kept in
 ISO format -mm-dd internally and thus we would see what you
 describe below??
 I think you nailed it. referencing path/indexes on 'now (without the /date 
refinement) appears consistant with ISO.
tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: MySQL driver issue?

2007-08-25 Thread Tim Johnson

On Saturday 25 August 2007, Kai Peters wrote:
 The query below fails:

  SELECT * FROM donations where DonationAmount  10 order by DonationID

 ** User Error: URL error:=
  mysql://theuser:[EMAIL PROTECTED]:3306/thedatabase?SELECT * FROM=
  donations where DonationAmount  10 orde...
 ** Near: cursor: read rejoin [mysql-url ? querystr]


 while this one works:

  SELECT * FROM donations where DonationAmount =3D 10 order by DonationID

 DonationAmount  happens to be  a decimal 8.2 in this case

 These queries work just fine from any MySQL client on all platforms.

 It seems that including an operator like '' or '' is causing the
 problems.= Escaping issue? Re-read the docs but
 am unsure what this might be
   Hi Kai: 
   I don't use that method. I know that you will be hearing from DocKimbel or
   someone else soon with insights. In the meantime, if you just need to get
   up and running I could suggest another method:
   ;; factor out a port and open it
   db: open mysql://theuser:[EMAIL PROTECTED]:3306/thedatabase
   insert db SELECT * FROM donations where DonationAmount  10 order by 
DonationID  ;; string wrapped by my mailer
  print db
  ;; try that and see if you get an error
Tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Send mail error

2007-08-22 Thread Tim Johnson

On Wednesday 22 August 2007, Carlos Lorenz wrote:
 Hi list,

 My ISP has moved my site to another server and since then my cgi scripts
 cannot send me emails anymore.

 Here is the error I get

 ** Access Error: Cannot connect to mail.revistaeletronica.com.br ** Where:
 open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only
 I used to put this at my scripts before the send command worked very at old
 server:

 [EMAIL PROTECTED] localhost]
 I wonder if they changed the SMTP server. What does your
 set-net command look like?
The schema kind of works like this:
set-net [
[EMAIL PROTECTED] ;; SYSTEM/USER/EMAIL
smtp.somedomain.com;; SYSTEM/SCHEMES/DEFAULT/HOST
postman.somedomain.com  ;; SYSTEM/SCHEMES/POP/HOST
none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/HOST
none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/PORT-ID
none ;; SYSTEM/SCHEMES/DEFAULT/PROXY/TYPE
]
And you get probe systems scheme object from the script and see if
(for instance) SYSTEM/SCHEMES/DEFAULT/HOST is the same as the ISP
smtp server.

HTH
tim

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



[REBOL] Re: Test

2007-08-21 Thread Tim Johnson

On Monday 20 August 2007, Gabriele Santilli wrote:
 The mailing list should be back up now...

 Regards,
 Gabriele.

I can hear you now.
Tim
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.



  1   2   >