[REBOL] Re: understanding rebol

2004-01-05 Thread Gregg Irwin

Hi Cybarite,

C> Is there any interest in resurrecting this stuff?

EasyVID is awesome. I keep a link handy to a few things and it's one
of them. I think it would be great to see it updated.

-- Gregg 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Gerard Cote

Hi Max,

> Yes I would like to see this and the ref doc tool rescuscitated.
>
> the ref-doc.r is my single most usefull rebol self-help tool.  It is out of date, 
> but man its usefull.  it would be fun to merge
both ideas by creating a base viewer and using m-d-p files as catalogues which can be 
loaded/edited.
>
I was asking for what was the ref-doc.r script but was unable to find any reference 
about it. Searching for more info I found a
rebdoc.r script in the library. After launching it from the REBOL 1.2.8 console I got 
the following :
   REBOL Word Summary for 1.2.8.3.1
6-Jan-2004/0:06:08-5:00
   288 words

Why do you say that it is a bit outdated since REBOL can regenerate a new words list 
each time it is launched.
Let me know if we talk about the same script.

By the way I still think that what is missing the most is an example list accompanying 
all these REBOL words as used in and by a
current programmer to solve most of its simpler tasks (and later in an advanced 
section the not so simple ones too).

The Cookbook is already going in this direction for some View and VID advanced 
features not really described formally elsewhere (or
simply documented and illustrated with very simple and isolated tasks). The same is 
also partly achieved with current REBOL books
but the online doc is missing these simple examples.

Personally for me as a newcomer the best examples would be based on small real tasks 
and algorithms - in a similar way my old
programming books did before for other languages. I will soon try my best at adapting 
some Lisp like code based upon the Dr. Scheme
environment and tutorials and see if I can put it at work here in the easy-VID 
environment. May be the help from some Logo examples
will be useful too but I don't want to reinvent the wheel again since there is 
probably much work that has been done formally here
by someone that doesn't take anything for granted (I don't want to name anybody in 
particular but I love the way Joel Neely, Carl
Read, Gregg and many others always get to the right solution by following a proven 
analytical process when some problem arises on
the ML.)

May be some ppl would like to contribute "lightly" and share some of their small code 
snippets used for testing the many REBOL words
they learned in the past - I alas suppose they kept these and they can take some time 
to feed us with them or at least they can
invent some others on the fly to help others when request is done as is generally the 
case here on the ML.

It seems to me this must be done now to let advanced ppl get more free time in the 
future for harder tasks - even if it is probably
a pleasure for them to continue helping newbies if I relate by the popularity of the 
questions answered here on the ML.  At least if
the newbies can fly a bit more by themselves they will cease to blame the bad quality 
of the online information available about
REBOL.



> I am starting work on STEEL|forge this week.   Maybe I could tackle this 
> documentation issue as a workable prototype to try out
the ideas I have for forge.  Instead of a dummy application, I might end-up with 
something which actually helps out, on its own too!
>
>   Something that is one script, loads catalogues, saves local appended versions.  
> With some collaboration from rebol.org, we could
include a submit button where we could all send our usefull tidbits and load them, a 
la ref-doc.
>
I'll let advanced users like you and many others in the community to start in this way.

Regards,
Gerard

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: 'do vs 'reduce

2004-01-05 Thread Volker Nitsch

Am Montag 05 Januar 2004 17:59 schrieb Gregg Irwin:
> Hi Andreas,
>
> AB> i was wondering if, letting refinements and non-block! parameters
> AB> aside, 'do is really just a "last reduce", in other words, if (a
> AB> simplified) do could be precisely expressed as:
>
> AB>   do: func [ bl [block!] ] [ last reduce bl ]
>
> Well, both cause evaluation. If LOAD were used (thinking about binding
> issues), and having not done any tests, my feeling is that you're
> probably right. Knowing how Carl likes to build things, I can't
> imagine he'd want two separate evaluators in REBOL. :)
>

similar, but
1) [do %file.r]  <> [reducce %file.r]
2) 'do can give arguments to expressions. the only function with a dynamic 
number of arguments:
!>> reduce func[a][a * a] 5
== 5 ; reduce-result is thrown away
!>> do func[a][a * a] 5
== 25 ; 5 is past to func by do. 'do fetches actually 2 arguments in this 
case.
!>>  do pick a-block-with-funcs 5 ; would work too
3) does not create a block, should be faster.

> -- Gregg

-Volker

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Gerard Cote

Hey Max, Congratulations! You simply hit the bull's-eye !!!

We simply miss some formal structure as to how and what has to be officially 
presented. May be the scripts library committee or
other REBOL and/or DOC expert can help us to start with ...

Finally someone must also be chosen as the One who will in the end decide of the final 
product contents and look and feel !!! Some
volunteer or proposed with some supporters ???

There are many good ideas already sitting down here on the table ...

Regards,
Gerard

- Original Message -
From: "Maxim Olivier-Adlhoch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 8:13 PM
Subject: [REBOL] Re: Cookbook submissions idea


>
> something like this:
>
>
> -words are not variables.
> !! words are LIKE variables with context. !!
>
>
> -there are no statements in rebol
>  !! only expressions !!
>
>   creating your own "statements"
>  - the 'ENUM example (generating words with values based on list of words )
>  - the 'UNLESS example (now part of view 1.3)
>  - the 'STATEMENT example (a function which striped of return value)
>
>   example that creating functions is actually an expression like all the rest.
>
>
> Things we could mirror in a real-time rebol doc viewer / web page cookbook tool:
>
> -per word examples.  one index page per rebol word.
>would include code (preferably one or two lines)
>and generated effect (print result, view face, etc...)
>some explanations are also a must, of course (like why or how).
>
>
> -per facet examples.  one separate index page per FACE facet.
>numerous examples for each facet.
>
>
> -per style examples.  one separate index page per standard vid style.
>numerous examples of each VID style and how it works/reacts
>
>
> All submitted as make doc (pro) files, as plain text, or as ubber simple html with 
> strict guidelines (offending layouts not
included in cookbook).
>
>
> -MAx
> ---
> "You can either be part of the problem or part of the solution, but in the end, 
> being part of the problem is much more fun."
>
>
> > -Original Message-
> > From: Gerard Cote [mailto:[EMAIL PROTECTED]
> > Sent: Monday, January 05, 2004 7:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: [REBOL] Re: Cookbook submissions idea
> >
> >
> >
> > Hi Jason,
> >
> > >
> > > "first gotchas" might be useful category..
> > >
> > > You know the crucial little things which tripped you up
> > till you went aha!
> > >
> > > - Jason
> > >
> >
> > This is exactly in the spirit of what I was thinking about ...
> > Who will be the first runner up to fill this need - just a
> > single try or two for each one of us will do the job to start I think.
> >
> > And even under this large umbrella we'll run a long time if
> > we want. Imagine all the gotchas everyone got trying VID, View, Draw,
> > Core (constructs, datatypes and conversion, objects, coding
> > style, etc...), installs, internals docs and hard to reveal
> > discoveries
> > found after long lasting night(s) ...
> >
> > Thanks (in the name of all others who are trying again ...) ,
> > Gerard
> >
> > --
> > To unsubscribe from this list, just send an email to
> > [EMAIL PROTECTED] with unsubscribe as the subject.
> >
> >
>
> --
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Maxim Olivier-Adlhoch

I've never been ablr to find a way to make that work, but this would be the answer if 
you haven't found any answer to the riddle...


a: [b true]
c: 'b

;-) next line works
change next find a c false

probe a


== [b false]




-MAx
---
"You can either be part of the problem or part of the solution, but in the end, being 
part of the problem is much more fun."
 

> -Original Message-
> From: Ashley Trüter [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 9:11 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Cookbook submissions idea
> 
> 
> 
> The one that always gets me is:
> 
> >> 
> == [b true]
> >> 
> == b
> >> a/:c
> == true
> 
> Now how does one do "a/:c: false"?
> 
> 
> Regards,
> 
>   Ashley
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: 1995 HTML (was Forum Name)

2004-01-05 Thread Jason Cunliffe

> But I will take a paragraph to explain Carl's approach to HTML.

..snip

> There are limitations in both of our approaches, but at least we both have
> some solid reasoning behind our strategies.

Thanks for the context and your thoughts.

I really do appreciate that Carl has *much* better things to than futz with
any html. I respect him enormously  no matter I agree or not. But with his
skills I'd like to think that 1 hour or less could transform that page into
something much more useful for many people. And rebol.org is a terrific
resource and going definitely in the healthy direction. thank you.

Cross-browser html is a nightmare and an expensive time-sink for about 10
years now.
However I also remember c.1995 how one could embed non-formatting tags in
html to do cool things.
CSS is a good way to go. The tragedy of so many current presentation
technologies is how they throw away the valuable semantic data that has been
put in at *the source* when it is much easier to filter for presentation.

I'd argue that benefit of adding even a few tags easily justifies  the
number of people possibly lost by that. But as you point out any of us with
skill and time could take a  sample AltME session block and parse up
intelligently ,  then submit to Carl.S

Relatively,  Rebol's web presence is weak and its community small so time is
very precious, but so too is the need for wider access to encourage new
users and web visitors. I guess the irony is that rebol is really an
alternative information space from the web, yet could benefit much more from
it.

cheers
- Jason

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Ashley Trüter

The one that always gets me is:

>> a: [b true]
== [b true]
>> c: 'b
== b
>> a/:c
== true

Now how does one do "a/:c: false"?


Regards,

Ashley
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Maxim Olivier-Adlhoch

something like this:


-words are not variables.
!! words are LIKE variables with context. !!


-there are no statements in rebol
 !! only expressions !!

  creating your own "statements"
 - the 'ENUM example (generating words with values based on list of words )
 - the 'UNLESS example (now part of view 1.3)
 - the 'STATEMENT example (a function which striped of return value)

  example that creating functions is actually an expression like all the rest.


Things we could mirror in a real-time rebol doc viewer / web page cookbook tool:

-per word examples.  one index page per rebol word.
   would include code (preferably one or two lines)
   and generated effect (print result, view face, etc...)
   some explanations are also a must, of course (like why or how).


-per facet examples.  one separate index page per FACE facet.
   numerous examples for each facet.


-per style examples.  one separate index page per standard vid style.
   numerous examples of each VID style and how it works/reacts


All submitted as make doc (pro) files, as plain text, or as ubber simple html with 
strict guidelines (offending layouts not included in cookbook).


-MAx
---
"You can either be part of the problem or part of the solution, but in the end, being 
part of the problem is much more fun."
 

> -Original Message-
> From: Gerard Cote [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 7:31 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: Cookbook submissions idea
> 
> 
> 
> Hi Jason,
> 
> >
> > "first gotchas" might be useful category..
> >
> > You know the crucial little things which tripped you up 
> till you went aha!
> >
> > - Jason
> >
> 
> This is exactly in the spirit of what I was thinking about ...
> Who will be the first runner up to fill this need - just a 
> single try or two for each one of us will do the job to start I think.
> 
> And even under this large umbrella we'll run a long time if 
> we want. Imagine all the gotchas everyone got trying VID, View, Draw,
> Core (constructs, datatypes and conversion, objects, coding 
> style, etc...), installs, internals docs and hard to reveal 
> discoveries
> found after long lasting night(s) ...
> 
> Thanks (in the name of all others who are trying again ...) ,
> Gerard
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [learning] "line", "rebol email"

2004-01-05 Thread Anton Rolls

Anthony,

Check out my anim and demo sections:
Take your Desktop browser to:

Rebol.com/Sites/Anton

Anton.

> ok, i've a problem i've been thinking about for a
> while. i realized i cant do it without reading the
> rebol manual (on the rebol home page; www.rebol.com).
> so, i started to read it again. its like 600 pages and
> i missplaced the 2nd and 3rd chapters. 
> anyway!, i want to know how to make a line running
> across a box (or full screen) pixel by pixel. like
> with a black backround and a red line going from pixel
> 250 on a 500x500 box to pixel 250 in an aloted amount
> of time.
> 
> im very much a gamer and i hope to make some sort of
> simple game (eventually becoming more complex)
> beginning with this line.

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Easy-Vid

2004-01-05 Thread Maxim Olivier-Adlhoch


> What a shame the rebol browser plug-in is no more. Mine 
> worked for a couple
> of days c.2001 and it was lovely... seems like a distant dream now

yep, its not overly usefull for real applications some might say, but its a hell of a 
magnet for new users.  It would let them install rebol in a relatively simple user 
hands-off manner (which, for some reason, lets many think that they are 
protected...from something...)

Forget about piping the view stuff in the viewer through dhtml, just make it an 
installer which opens .r files on the web, like any media player would do it.

It might just be a question of patents.  Maybe MS has patented loading of scripts on 
web pages or something else obscenely vague.

my 2 cents.


-MAx

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Gerard Cote

Hi Jason,

>
> "first gotchas" might be useful category..
>
> You know the crucial little things which tripped you up till you went aha!
>
> - Jason
>

This is exactly in the spirit of what I was thinking about ...
Who will be the first runner up to fill this need - just a single try or two for each 
one of us will do the job to start I think.

And even under this large umbrella we'll run a long time if we want. Imagine all the 
gotchas everyone got trying VID, View, Draw,
Core (constructs, datatypes and conversion, objects, coding style, etc...), installs, 
internals docs and hard to reveal discoveries
found after long lasting night(s) ...

Thanks (in the name of all others who are trying again ...) ,
Gerard

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Maxim Olivier-Adlhoch

Yes I would like to see this and the ref doc tool rescuscitated.

the ref-doc.r is my single most usefull rebol self-help tool.  It is out of date, but 
man its usefull.  it would be fun to merge both ideas by creating a base viewer and 
using m-d-p files as catalogues which can be loaded/edited.

I think this is already the case, but just in case... for sure, some updating would 
need to be done.

I am starting work on STEEL|forge this week.   Maybe I could tackle this documentation 
issue as a workable prototype to try out the ideas I have for forge.  Instead of a 
dummy application, I might end-up with something which actually helps out, on its own 
too!

  Something that is one script, loads catalogues, saves local appended versions.  With 
some collaboration from rebol.org, we could include a submit button where we could all 
send our usefull tidbits and load them, a la ref-doc.

This would be really effective with stuff from the list.  Simple and effective, ALL 
user comments considered.

I know this has been taunted by many of us and started at least in part too, but I am 
now at a point, where I can actually put time on end-user applications, through forge.



-MAx
---
"You can either be part of the problem or part of the solution, but in the end, being 
part of the problem is much more fun."
 

> -Original Message-
> From: Cybarite [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 6:40 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: understanding rebol
> 
> 
> h can't seem to leave this topic
> 
> Back in 2001, I added some sections to Carl's base work for 
> VID - it was called %easyvid.r
> 
> Carl's original is in the REBOL library at:
> 
> http://www.reboltech.com/library/html/easy-vid.html
> 
> 
> It has "runnable code" in it - i.e. see the code sample then 
> click on it to open a view that shows result.
> 
> It was incomplete then and is now a bit more out of date.  
> But when I have to do some View screens, I refer back to it 
> because it is easy to see the syntax and a click to try it out.
> 
> 
> 
> Is there any interest in resurrecting this stuff?
> 
> I think it is the best way to document the visual REBOL  
> that's why Carl made the first version of it.
> 
>  
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
> 
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Easy-Vid

2004-01-05 Thread Jason Cunliffe

> Is there any interest in resurrecting this stuff?

YES -- Easy-vid is a very cool and unique tool.
I do not know of any other interactive notebook/environment which interprets
code snips like that, except perhaps Mathematica's own fabulous notebook
interface.

Easy-Vid in my opinion makes a brilliant courseware base for Rebol as early
programming language. I played with it some time ago. I was interested to
generalize it further as a dynamic template structure for loading and
linking easy-vid friendly documents, as well as enable a timed remote
control to allow one load save edit and play easy-vid 'books' as well as
record and annotate sequence page visits. In other words give it a simple
remote control API  which can load save scripts.
I'm afraid I got side-tracked by the 10-zillion things, and then
increasingly because I became more interested/involved with FlashMX
programming than View.

But Easy-Vid is full of potential like so much rebol, and just needs a nudge
I think.
Best of all would be to interface it cleanly with http://rebol.org and make
it printable in some format. options to Load/Publish to rebol.org, to HTML,
PDF and of course Share easy-vid sessions :-)

I've tried to promote it in forums like edu-sig, but even when people are
not prejudiced about Rebol itself, they just can't 'get it' until they try
it. The direct wow factor is huge.

What a shame the rebol browser plug-in is no more. Mine worked for a couple
of days c.2001 and it was lovely... seems like a distant dream now

-Jason

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Gerard Cote

I agree entirely and it seems that the cookbook already contains some new View and VID 
stuff (can be considered as old stuff too for
the experienced REBOLERS! ) to add to %easy-vid.r . Most was written by Carl and other 
voluntaries. See the cookbook
http://www.rebol.net/cookbook/ and look for text list, windows, scroll, etc...
Doesn't seem too long to adapat for the runnable DEMO.
Who wants to try his hands at it. It will be a sure winner!

Gerard

- Original Message -
From: "Cybarite" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 6:40 PM
Subject: [REBOL] Re: understanding rebol


> h can't seem to leave this topic
>
> Back in 2001, I added some sections to Carl's base work for VID - it was called 
> %easyvid.r
>
> Carl's original is in the REBOL library at:
>
> http://www.reboltech.com/library/html/easy-vid.html
>
>
> It has "runnable code" in it - i.e. see the code sample then click on it to open a 
> view that shows result.
>
> It was incomplete then and is now a bit more out of date.  But when I have to do 
> some View screens, I refer back to it because it
is easy to see the syntax and a click to try it out.
>
>
>
> Is there any interest in resurrecting this stuff?
>
> I think it is the best way to document the visual REBOL  that's why Carl made 
> the first version of it.
>
>
> --
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Where's Carl

2004-01-05 Thread SunandaDH

> We have been Reboling away for some time now
>  and i would just like to know were Carl stands with
>  Rebol and if anyone thats in the know, could get
>  him to respond to the list especially for all the new
>  commers in 2004.

Carl's pretty head-down and working on View 1.3.  There is a pretty public 
stream of betas and bug fixes and new ideas that you can sit in on at:

http://evaluation.express.rebol.net/projects/view1.3/

Of course. it'd also be nice if he dropped by here as well.

Sunanda.
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Where's Carl

2004-01-05 Thread iNetW3
Hello everyone,

We have been Reboling away for some time now
and i would just like to know were Carl stands with
Rebol and if anyone thats in the know, could get
him to respond to the list especially for all the new
commers in 2004.Just want to know. Happy New
Years everyone.


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] ANN: Mailing list archive in DyBase format

2004-01-05 Thread Graham Chiu


I have exported my copy of the REBOL mailing list database 
( July 2k to Jan 2004 of 38,000+ messages ) to DyBase 
format, and have placed it *temporarily* on my ftp server. 
 It was 60Mb uncompressed, and 15Mb zipped.

ftp://ftp.compkarori.com/pub/rebol/maillist.zip

with a sample script on how to extract a record

ftp://ftp.compkarori.com/pub/rebol/readml.r

You'll need /Pro to make the library calls to the windows 
dlls.

The DyBase *nix and windows distributions are here:

http://www.garret.ru/~knizhnik/dybase.html

The database includes:  date, id , author's email address 
munged, subject line, and content truncated at 16Kbs.  If 
you want to create a threaded database using the 
in-reply-to header and message-id header, you won't be 
able to as these are missing.

If someone wants to make a View interface to the database, 
then I would be very interested in seeing the final 
product :).  I might even then be persuaded to regenerate 
the database including message-id: and in-reply-to: 
headers !

PS: if you see any personal messages that should not be 
there, or spam/viruses, please let me know so I can remove 
them.

Thanks,

--
Graham Chiu
http://www.compkarori.com/vanilla/
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] 1995 HTML (was Forum Name)

2004-01-05 Thread SunandaDH

Jason:

> > http://evaluation.express.rebol.net/projects/view1.3/
>  
>  ah thanks :-)
>  
>  It's a start, but yes that yikes 1995 HTML really needs to be modernized
>  asap with semantic tags throughout as all the blogging tools do. Plus
>  regular  tags and other aids.
>  
>  In fact with even a *minimal* tweak, an embedded  rebol code block version
>  the page could be made accessible so open, external services could build a
>  variety of Rebol and/or XML-friendly AltME archiving/search applications.

I don't want to defend the quality of Carl's HTML in this case -- I suspect 
that what you see is the result of about an hour's work to publish the world 
for the non-World users who want to follow the beta test as it develops. Not 
what he might have done if he had had the time.

And I reckon that many of us could, with a day or so to spare write a very 
useful Altme-to-html publisher that would provide all sorts of goodies.

But I will take a paragraph to explain Carl's approach to HTML.

I've emailed him about it in the past (I think I called his HTML "quaint"). 
He responded with his experience of keeping HTML basic so that it will work 
across an enormous wide range of platforms and browsers -- Amigas, BEOS, you name 
it. A much wider spread than the IE 5.0 vs Opera 7.xx spread that usually 
informs cross-platform compatibility discussions.

Me, I take an opposite approach (feel free to kick holes in my HTML by taking 
a peek at www.rebol.org) -- I aim at validation to HTML 4.01 Strict, and I 
want an (almost) clean sheet from accessibility checkers like Cynthia Says:
http://www.contentquality.com/


There are limitations in both of our approaches, but at least we both have 
some solid reasoning behind our strategies.

The REBOL world is a small but highly diverse community, so I guess other 
website owners have hit various cross-platform compatibility issues. I'd be 
interested in hearing others' approaches.

Sunanda
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Cybarite
h can't seem to leave this topic

Back in 2001, I added some sections to Carl's base work for VID - it was called 
%easyvid.r

Carl's original is in the REBOL library at:

http://www.reboltech.com/library/html/easy-vid.html


It has "runnable code" in it - i.e. see the code sample then click on it to open a 
view that shows result.

It was incomplete then and is now a bit more out of date.  But when I have to do some 
View screens, I refer back to it because it is easy to see the syntax and a click to 
try it out.



Is there any interest in resurrecting this stuff?

I think it is the best way to document the visual REBOL  that's why Carl made the 
first version of it.

 
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Cookbook submissions idea

2004-01-05 Thread Jason Cunliffe

"first gotchas" might be useful category..

You know the crucial little things which tripped you up till you went aha!

- Jason

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name [off topic]

2004-01-05 Thread Jason Cunliffe

>isn't rebol a drug for the majority of us... ask my wife, she'll tell you
!!
>
> its harder to break than her smoke habbit...

rebol-12step.com  ;-)


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Cookbook submissions idea

2004-01-05 Thread Gerard Cote

Hello everybody,

while I visited the cookbook (http://www.rebol.net/cookbook/)  I got a couple of ideas 
that could be useful to every newcomer in
their quest to become a consecrated REBOL knight  (probably too much Lord of the Rings 
time recently  ;-)

1- Since everyone of us also began on the first step while learning REBOL, I asked 
myself if everyone on this ML could also remember
his first moments as a newbie and the associated difficulties (or invent some new ones 
if he prefers to do so - we even had a list
of REBOL related questions to answer when I left the ML last year) and contribute to 
the cookbook by submitting the code and some
explanation to help decode the way he did the job.

In fact to be more useful the submitted piece could include some keyword to help 
associate the code with some search tool and the
kind of job illustrated - sort of all beginner's code library.

I know that we already have some mechanism put in place with our current library - and 
a dawn good one - but the idea is to generate
more input for the newbies.

In fact I will try by myself to document all the coding submitted in this ML from the 
beginning - by free time one piece at a time -
in this regards and if anybody has some work filed somewhere and that looks like if it 
fits in this teaching category, I would
appreciate receiving some input from any submitter. Just join the code with emails or 
point me your website/rebsite repository and
I'll contact you when I'll study/select your submission.

Note that every submission will be posted as is - and only if it is functioning. The 
credits will all be given to the original
author and it is possible that the posted code will also be posted to the script 
library.

Any comment or submission ?
I would appreciate both - especially from the scripts library member.

Thanks,
Gerard


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name [off topic]

2004-01-05 Thread Maxim Olivier-Adlhoch

> > All reasonable, although I personally would avoid "users" 
> (connotation with drugs)

but isn't rebol a drug for the majority of us... ask my wife, she'll tell you !!

its harder to break than her smoke habbit...

;-)

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Problem with the way information can be found on the REBOL Web site

2004-01-05 Thread Gerard Cote

Hello everybody,

I'm back from illness again and hope 2004 will be like a second rebirth for me in all 
spheres of activities, REBOL included. In fact
My best wishes to you all for this new year.

I already watched a lot of activities all around in the REBOL community since my last 
leaving and this is great news to come back
and see all this involvement. Congratulations to everybody committed in some way to 
this success and I hope it will continue until
REBOL's fame has attracted many many other players - like should be.

As I follow the recent ML threads I understand that many newcomers still need to find 
some documentation and many of us have pointed
very useful parts of the REBOL.COM web site or other REBOL related sources to help as 
much as possible.

I also know that in the past I found myself knocking my nose on the REBOL.COM main 
page looking for more REBOL related information
(beginner's, intermediate and advanced as well).
After a quick overview I must that notwithstanding the efforts of the REBOL TEAM, 
there is still much to do before any newcomer is
able to find by HIMSELF ALL about  REBOL that could help him to solve his problem. I 
understand that the 2 best sources of
information are the official REBOL.COM site (with its new Script library located at 
REBOL.ORG) and this ML but it has become
evidence to me that some other simple enhancements to the REBOL.COM web site structure 
are necessary to easily fulfill some part of
this annoyance.

In this way a few minutes ago I was sending a new msg via the feedback to Carl and the 
RT that looks like this the followong. Don't
be mislead : My goal is not to be pretentious here but simply to give some additional 
light from an outsider's point of view.

In fact any suggestion to help Carl to better structure the already massive 
information pool available at REBOL.COM is welcome and
will be appreciated by everybody in a foreseeable future - I hope.

Sincerely,
Gerard

- Copy from the feedback sent to Carl -
Hi Carl,

This is again Gerard Cote from Quebec City.

While looking for what was new on the WEB and related with REBOL, I looked at your 
DOCS main page (REBOL.COM/docs.html) and never
see a clear seperation and/or organization of the different many places listed 
elsewhere (on the http://www.rebol.net/links.html for
example).

For anybody new that comes from outside I suggest something like the following to 
group together the many differents aspects of what
is REALLY available for newcomers and experienced REBOLERs too. This could be located 
on the main page or in the DOCS section if you
want but - even in the Overview subsection of the Language if you prefer...

Gerard

EntryNature of the content
-
REBOL.COM OFFICIAL REBOL SITE
- /DOCS/   REBOL DOCUMENTATION
REBOL.NET   DEVELOPERS' related stuff
- /LIST/  Mailing list archive
REBOLTECH.COM   DEVELOPERS' related stuff
- /LIBRARY/ Old script library
REBOL.ORG  DEVELOPERS' related stuff
New script library

NOT OFFICIAL BUT USEFUL REBOL RELATED PLACES
-
REBOLFORCES.COM ZINE with many ARTICLES **
etc...

Other entries like the ones on your own page (http://www.rebol.net/links.html)

** In fact when I tried to find any info about the ZINE from the REBOL.COM
web site search tool or from the script library search tool I found nothing!

And after surfing a lot I found the almost lost links page above from the REBOL.NET 
site
Could have been referred another way but I'm sure this will help the case to be solved 
...

Succintness seems to be THE new problem for newcomers now  ;-)
What has come about the old "keep it simple" adage ?
I think time has come to redo some of our classwork, don't you ?

Hope these suggestions, while not the most URGENT will better drive the newcomers and 
let them find quickly ALL the information that
seems the best to them without having to dig too hard or deeply to find it...

Thanks for listening
Friendly, Gerard

P.S. While looking around again (on the http://www.rebol.com/index-lang.html page) I 
found another link to the old script library
(http://www.rebol.com/library.html) under the SCRIPT LIBRARY entry instead of the new 
one (REBOL.ORG). Don't forget the one on the
main DOCS page too!


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Interlacing blocks

2004-01-05 Thread A J Martin

Henrik Mikael Kristensen wrote:
> Interlacing blocks:
> 
> a: [a b c]
> b: [x y z]
> c: [1 2 3]
> 
> => d: [a x 1 b y 2 c z 3]
> 
> Is there a function to do this? I wrote my own, but was curious.

>> a: [a b c]
== [a b c]
>> b: [x y z]
== [x y z]
>> x: [1 2 3]
== [1 2 3]
>> d: interweave reduce [a b x]
== [a x 1 b y 2 c z 3]
>> source interweave
interweave: func [
{Combines several series into one series by interweaving their values.}
Block [block!]
/Initial Interweaved [series! datatype!] /local Length Item][
Length: 0
foreach Series Block [
Length: max Length length? Series
]
Interweaved: any [
all [
datatype? Interweaved
make Interweaved Length * length? Block
]
Interweaved
make block! Length * length? Block
]
repeat Index Length [
foreach Series Block [
all [
Item: pick Series Index
insert/only tail Interweaved Item
]
]
]
Interweaved
]
>>

I wrote my own too.

Andrew J Martin
Speaking in tongues and performing miracles.
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/
-><-

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Ammon Johnson

I'd have to agree here.

;-)
~~Ammon


- Original Message - 
From: "Ashley Trüter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 04, 2004 4:37 PM
Subject: [REBOL] Re: Forum Name


>
> > Now I would appreciate some feedback on a name for the forum...
>
> All reasonable, although I personally would avoid "users" (connotation
> with drugs) and rebolyell (which could get confused for "Rebel Yell!" -
> don't mention the war! ;) ).
>
> IMHO rebolchat conveys the right tone (not as formal as a talk or
> lecture), it just sounds "friendlier".
>
>
> Regards,
>
> Ashley
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
>


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [learning] "line", "rebol email"

2004-01-05 Thread Jason Cunliffe

> trouble seperating the subject line from the body of
> the email when sending email: they always end up the
> same.

Best to post actual code here for solving problems like that.

Meanwhile, other people's examples may help..
http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?filter=domain-email

- Jason
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [learning] "line", "rebol email"

2004-01-05 Thread Jason Cunliffe

Discovering The forgotten DRAW dialect

http://www.rebolforces.com/zine/rzine-1-05/#sect2.
http://www.rebolforces.com/zine/rzine-1-06/#sect3.
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: [learning] "line", "rebol email"

2004-01-05 Thread Jason Cunliffe

> im very much a gamer and i hope to make some sort of
> simple game (eventually becoming more complex)
> beginning with this line.

http://www.rebol.com/docs/draw.html

http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?find=draw

http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=easy-vid.r


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Carlos Lorenz


Well for me TALK sound more professional than CHAT ;)

Em Seg 05 Jan 2004 13:16, you wrote:
> Good Morning, so far we have 2 votes for reboltalk.com
> and 2 votes for rebolchat.com.
>
> The domain will be purchased late tonight, anyone care to tip the scale?
>
> If not we can flip a coin. ;)
>
> -Maryjane

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] [learning] "line", "rebol email"

2004-01-05 Thread Anthony Morford

thanks greg, i think ill take your advice, and
everyone elses if i can! 

i know how to send email from a particular email
acount from rebol but is there some way i can check my
Yahoo! email from rebol. i guess i have alot more to
learn about computers too. i know that rebol deals
with pop and ftp and maybe from those protocals i
could get email, but what is Yahoo!. also i have
trouble seperating the subject line from the body of
the email when sending email: they always end up the
same.

ok, i've a problem i've been thinking about for a
while. i realized i cant do it without reading the
rebol manual (on the rebol home page; www.rebol.com).
so, i started to read it again. its like 600 pages and
i missplaced the 2nd and 3rd chapters. 
anyway!, i want to know how to make a line running
across a box (or full screen) pixel by pixel. like
with a black backround and a red line going from pixel
250 on a 500x500 box to pixel 250 in an aloted amount
of time.

im very much a gamer and i hope to make some sort of
simple game (eventually becoming more complex)
beginning with this line.

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Interlacing blocks

2004-01-05 Thread Gabriele Santilli

Hi Gregg,

On Monday, January 5, 2004, 6:06:27 PM, you wrote:

GI> NFOREACH was from Gabriele (his original message is after my
GI> signature). Romano commented that 'bargs should be copied to handle
GI> recursion, and Gabriele mentioned that maybe [throw] should be added
GI> and other subtle issues considered for advanced usage.

Latest version is available here:

   http://www.rebol.it/giesse/utility.r

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  --  REBOL Programmer
Amiga Group Italia sez. L'Aquila  ---   SOON: http://www.rebol.it/

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] [REBOL.org] Recent changes

2004-01-05 Thread rebol
[REBOL] [REBOL.org] Recent changes

This is an automatic email from REBOL.org, the REBOL Script Library to notify you of 
recent changes to the Library.

===changes===
gzip.r
--change: new script
--title: gzip

iff-dialect.r
--change: new script
--title: IFF dialect

quickparser.r
--change: updated script
--title: XML to HTML node parser

tar.r
--change: new script
--title: Tar


===additional information===
new and updated scripts: 
http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?special-filter=recent

===end===
--The Library People
--5-Jan-2004

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Interlacing blocks

2004-01-05 Thread Gregg Irwin

Ashley & Henrik,

>> Interlacing blocks:
>>
AT> nforeach (posted a couple of months back) can do this.

NFOREACH was from Gabriele (his original message is after my
signature). Romano commented that 'bargs should be copied to handle
recursion, and Gabriele mentioned that maybe [throw] should be added
and other subtle issues considered for advanced usage.

-- Gregg 


Hello all,

   it  often happens to me to have to iterate in parallel over two
or more series. Today I thought it was the time to solve the issue
once and for all with a specific function. :)

Note:  this  is  rather  a  QAD  implementation.  It  surely needs
improvements.

It works this way:

>> nforeach [a [1 2 3] b [4 5 6]] [print [a b]]
1 4
2 5
3 6

It also handles more complicated cases:

>> w: 'c b: [d e] nforeach [file read %./  [a b] [1 2 3 4 5 6] :w [x y z] :b [9 8 7 6 
>> 5]]
>> [print [file a b c d e]]
desktop/ 1 2 x 9 8
edit-prefs.r 3 4 y 7 6
license.key 5 6 z 5 none
local/ none none none none none
prefs.r none none none none none
public/ none none none none none
rebol-1.2.1.exe none none none none none
rebol-link.exe none none none none none
rebol.exe none none none none none
rebol.r none none none none none
user.r none none none none none
view1210031.exe none none none none none
viewtop1200.zip none none none none none

Let me know what you think.

context [
invalid: func [arg] [throw make error! join [script invalid-arg] :arg]
ceil: func [num [number!]] [
either num > num: to integer! num [num + 1] [num]
]
set 'nforeach func [[catch] args [block!] body [block!] /local bargs words end 
word] [
bargs: head clear next [body]
words: clear [ ]
end: 0
while [not tail? args] [
word: pick args 1
if not any [word? :word block? :word all [get-word? :word any [word? word: 
get :word
block? :word]]] [
invalid :word
]
use [series] [
set [series args] do/next next args
if not series? :series [
invalid :series
]
insert tail words word
either block? word [
repeat j length? word [
insert insert insert insert tail bargs [pick :series i - 1 *] 
length?
word '+ j
]
end: max end ceil divide length? :series length? word
] [
insert tail bargs [pick :series i]
end: max end length? :series
]
]
]
if any [empty? words empty? bargs] [return none]
body: func words body
repeat i end bargs
]
]

Regards,
   Gabriele.

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: 'do vs 'reduce

2004-01-05 Thread Gregg Irwin

Hi Andreas,

AB> i was wondering if, letting refinements and non-block! parameters
AB> aside, 'do is really just a "last reduce", in other words, if (a
AB> simplified) do could be precisely expressed as:

AB>   do: func [ bl [block!] ] [ last reduce bl ]

Well, both cause evaluation. If LOAD were used (thinking about binding
issues), and having not done any tests, my feeling is that you're
probably right. Knowing how Carl likes to build things, I can't
imagine he'd want two separate evaluators in REBOL. :)

-- Gregg 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Gregg Irwin

Hi Anthony,

You've gotten some great advice, so I'll just add a couple comments.

Don't confuse the difficulty of learning to "program" with learning
REBOL; you're learning two things at once. Don't despair if it seems
like things aren't going as fast as you would like at first. You'll
get there.

If you study programming fundamentals, REBOL should be a great tool to
experiment with. The only downside is that example code will probably
be in another language. Something in your favor is this list (and
other REBOL resources). If you have a question, just ask. Maybe put
"[learning]" somewhere in your message header so we can find and collect
related messages later.

I think REBOL is a great language to learn with because it is a good
tool for thinking with. That is, it lets you think in terms of the
problem you're trying to solve and less about translating that problem
into code. You still have to do that, but some languages make it
almost painful to express solutions to some problems.

My son is learning REBOL, and while he's learning the fundamentals of
the language, he really enjoys playing with View to create simple
screens with different elements, layouts, and colors. It gives him a
good feeling of accomplishment and visual feedback.

view layout [button "Hide" [unview]]

The View Developer's Guide, and some other docs, can be helpful
(see http://www.rebol.com/docs-view.html).

Happy REBOLing and best of luck!

-- Gregg 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Defiant Mail

"I remember that rebolforces.com used to host  a forum, and it wasn't really
popular. The rate "posts / month" was
really low, indeed. Will it be different during 2004 ?"


I can't say that it will, in the least we can archive information that will
be useful to new users and like I mentioned
before aside for the $6 dom name there isn't any out of pocket expense.

-Mj.




- Original Message - 
From: "Bruno Bord" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 9:43 AM
Subject: [REBOL] Re: Forum Name


>
> Defiant Mail wrote:
>
> >Good Morning, so far we have 2 votes for reboltalk.com
> >and 2 votes for rebolchat.com.
> >
> >The domain will be purchased late tonight, anyone care to tip the scale?
> >
> >
> >
>
> reboltalk.com sounds good to me.
> If I can bring you my .02, I remember that rebolforces.com used to host
> a forum, and it wasn't really popular. The rate "posts / month" was
> really low, indeed.
> Will it be different during 2004 ?
>
>
> --
> Bruno Bord, aka No'
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>
>
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Jason Cunliffe


> Good Morning, so far we have 2 votes for reboltalk.com 
> and 2 votes for rebolchat.com.

imo:
reboltalk -- is better than rebolchat

but 
rebolforum  -- is better than reboltalk
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Gregg Irwin

Hi Maryjane,

DM> I have decided to set up a forum, if it takes off, great!
DM> if it does not Im only out $6.00 for the domain name.

DM> Now I would appreciate some feedback on a name for the forum...

Excellent! I vote for REBOLtalk (or REBOL-talk per Carl's suggestion).

Thanks for setting it up!

-- Gregg 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Arie van Wingerden

Hi,

rebol-talk would be a fine name :)

Arie

- Original Message - 
From: "Defiant Mail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 05, 2004 4:16 PM
Subject: [REBOL] Re: Forum Name


> 
> Good Morning, so far we have 2 votes for reboltalk.com 
> and 2 votes for rebolchat.com.
> 
> The domain will be purchased late tonight, anyone care to tip the scale?
> 
> If not we can flip a coin. ;)
> 
> -Maryjane
> 
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Bruno Bord

Defiant Mail wrote:

>Good Morning, so far we have 2 votes for reboltalk.com 
>and 2 votes for rebolchat.com.
>
>The domain will be purchased late tonight, anyone care to tip the scale?
>
>  
>

reboltalk.com sounds good to me.
If I can bring you my .02, I remember that rebolforces.com used to host 
a forum, and it wasn't really popular. The rate "posts / month" was 
really low, indeed.
Will it be different during 2004 ?


--
Bruno Bord, aka No'
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] 'do vs 'reduce

2004-01-05 Thread Andreas Bolka


i was wondering if, letting refinements and non-block! parameters
aside, 'do is really just a "last reduce", in other words, if (a
simplified) do could be precisely expressed as:

  do: func [ bl [block!] ] [ last reduce bl ]

-- 
Best regards,
 Andreas

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Defiant Mail

Good Morning, so far we have 2 votes for reboltalk.com 
and 2 votes for rebolchat.com.

The domain will be purchased late tonight, anyone care to tip the scale?

If not we can flip a coin. ;)

-Maryjane


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: sort/scramble

2004-01-05 Thread Joel Neely

Hi, Anton,

Anton Rolls wrote:
> 
> You might be able to do all this in the sort
> comparator function somehow, but it's not obvious
> to me.
> 

I don't believe that it's possible to handle all of this via
SORT/COMPARE .  The comparison function only tells whether
two values are in order or out of order (presumably the basis
for a decision whether to swap them, regardless of sorting
strategy: shellsort, quicksort, heapsort, bubblesort, etc.)
Exchanging two elements (or partitioning the set) based on
a two-element comparison is guaranteed to improve the net
"sortedness" of the entire collection, without regard for
the rest of the values.  (The elements don't even have to be
adjacent for this to be true!)

The property of a block that says "all pairs of adjacent
elements are different" for some definition of "different"
is a global property and can't necessarily be improved by
considering only two values.  If they are the same, then
clearly one of them must be swapped away from the other,
but without taking more of the collection into account, it
is not possible to guarantee that such a swap will improve
the desired condition.  For example:

 ... a b c d e f...

if the values represented by C and D are "same" for the case
at hand, we MIGHT be able to improve things by swapping B and
C, but only if A and C differ and B and D differ, etc.

I'm not saying that one couldn't create an tuned algorithm to
massage the collection into the desired state, only that I
don't believe there's a way to do it with a sorting function.

-jn-

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: sort/scramble

2004-01-05 Thread Anton Rolls

Hallvard, what a curious problem? Why?

I think the way to go is using the sort
comparator function as I showed before.
The two elements to be compared at each
step are put into the arguments, here, 'a and 'b.

sort/compare blk func [a b][either a/4/3 = #"c" [1][-1]]

This moves blocks with the third character of the string
equalling character #"c" nextward, and others backward.
So after that you are guaranteed all the "c" elements are
at the end.
Next, I think you should write a loop, that redistributes
these "c" blocks amongst the others as best it can. So the
final result might look like

[c n c n c n c n n n n ...]

(Where c = "c"-blocks, and n = non-"c" blocks)

You might be able to do all this in the sort
comparator function somehow, but it's not obvious
to me.
How much does speed matter?

Anton.

> Dixit Joel Neely (03.06 04.01.2004):
> >How about this:
> >
> > >> random [0 1 2 3 4 5 6 7 8 9]
> > == [8 9 3 4 2 1 7 6 0 5]
> 
> Ah, of course. I didn't think about the fact that 'random takes 
> anything as an argument...
> 
> >Can you provide a little more detail on your requirements?
> 
> Yes. Especially since I have nested blocks. I have a block with, 
> say 10 blocks inside it. Each block has many different data types 
> within it (but only one element matters). I want to unsort them 
> so that _part of_  the fourth element (a string) is not identical 
> in adjacent blocks. So this is what I want to avoid (not real example):
> 
> example: [[4 1 7 "nicsrg" 5 6 3 8 2 9] [3 1 2 "sicrtg" 9 8 4 7 6 
> 5] [9 3 7 "iscgtn" 6 2 8 5 4 1] [1 3 8 "inctrg" 5 2 9 4 6 7] [9 6 
> 5 "ngsirt" 8 2 1 3 7 4] [3 7 8 "igtnrs" 4 1 2 9 5 6] [6 4 8 
> "gnrsit" 2 3 9 1 5 7] [9 5 4 "sntgir" 6 7 8 2 1 3] [6 7 4 
> "gstinr" 1 5 2 3 9 8] [7 9 2 "sgcnit" 5 1 8 3 6 4]]
> 
> In the first four blocks, the third character in the fourth 
> element is #"c". I want these four blocks split apart. Getting at 
> the character in question is easy (foreach b example [print pick 
> fourth b 3]), but unsorting the blocks from there?
> 
> Any help appreciated
> HY

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: sort/scramble

2004-01-05 Thread Anton Rolls

Also check refinements of random to
make it more random.

By the way, this is what I actually meant:

sort/compare blk func [a b][(random 3) - 2]

Anton.

> Try this on:
>
>   sort/compare blk func [a b][(random 2) - 1]
>
> Anton.
>
> > Hi
> >
> > I need a function that will make sure a block is _not_ sorted.
> >
> > ex:
> > >> sort/scramble [ 1 2 7 7 7 4 9 f 3 h h h h 3e 54 5 4 k]
> > >> [ 1 h 2 7 h 4 9 f 3 h 7 3e 54 7 h 5 4 k]
> >
> > Is this feasible without a lot of work? Would anyone happen to
> > have such a function in a drawer somewhere?
> >
> > Thanks,
> > HY
> >
> > Prætera censeo  esse delendam

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Anton Rolls

It gets funnier..
-Anton.

> Sorry about the typo, didn't even see it until you pointed it out.
>
> rebolcommuntiy.com
>
> But at least you pointed out that the name is easily misspelled.
> Strike that one off the list. : )
>
> -Mj.
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, January 04, 2004 3:38 PM
> Subject: [REBOL] Re: Forum Name
>
>
> >
> > [EMAIL PROTECTED] writes:
> >
> > > rebolusers.com
> > >  reboltalk.com
> > >  rebolyell.com
> > >  rebolchat.com
> > >  rebolcomminity.com
> >
> > Any of those would be fine by me -- with the exception of the misspelled
> one,
> > Sunanda.

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Cybarite
Here are the bullets from Carl's designer tip sheet that may be useful:


1. forget the past
2. think simple
3. scripts start with a header
4. data drives it
5. names are critical
6. use words not strings
7. code in style
8. examples save time
9. learn series
10. embed your documentation
11. define the problem
12. use the shell
13. dialects are key
14. take advantage of return values.

Some of the items listed by the responses are here and they are all important but for 
starters:

11. Define the problem
12. use the shell  test in the console
9. learn series
4. data drives your program  (which is possible when you have #9)
6. use words not strings
5. names are critical 

And look at the sample code in the library.



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Coussement Christophe

reboltalk is great!

I appreciate the initiative, since I cannot connect to Altme from my work (SysAdmin 
proxy parano-settings) ;)

FYI the forum exists in French @ http://www.codeur.org/forum/forum.php?theme=17
The French Rebol community is very active!

==christophe

> 
> On 05-Jan-04, Defiant Mail wrote:
> 
> > I have decided to set up a forum, if it takes off, great!
> > if it does not Im only out $6.00 for the domain name.
> 
> > Now I would appreciate some feedback on a name for the forum...
> 
> > Here are a few ideas:
> 
> > rebolusers.com
> > reboltalk.com
> > rebolyell.com
> > rebolchat.com
> > rebolcomminity.com
> 
> > After the name is purchased It will take up to 72 hours for the
> > domain to resolve to our servers.
> 
> > I will let everyone know when its live.
> 

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Ged Byrne

I recently registered TheMaybetrix as my domain name,
and I'm planning to set up a forum there.

I couldn't resist the name TheMaybetrix/Rebolutions.

My host has just installed Rebol for CGI, so I'm
hoping to write up my own simple forum.


 --- Carlos Lorenz <[EMAIL PROTECTED]> wrote: >

> I like reboltalk.com very much
> Carlos
> Em Dom 04 Jan 2004 16:52, you wrote:
> > I have decided to set up a forum, if it takes off,
> great!
> > if it does not Im only out $6.00 for the domain
> name.
> >
> > Now I would appreciate some feedback on a name for
> the forum...
> >
> > Here are a few ideas:
> >
> > rebolusers.com
> > reboltalk.com
> > rebolyell.com
> > rebolchat.com
> > rebolcomminity.com
> >
> > After the name is purchased It will take up to 72
> hours for the domain to
> > resolve to our servers.
> >
> > I will let everyone know when its live.
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the
> subject.
>  


Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Carlos Lorenz

I like reboltalk.com very much
Carlos
Em Dom 04 Jan 2004 16:52, you wrote:
> I have decided to set up a forum, if it takes off, great!
> if it does not Im only out $6.00 for the domain name.
>
> Now I would appreciate some feedback on a name for the forum...
>
> Here are a few ideas:
>
> rebolusers.com
> reboltalk.com
> rebolyell.com
> rebolchat.com
> rebolcomminity.com
>
> After the name is purchased It will take up to 72 hours for the domain to
> resolve to our servers.
>
> I will let everyone know when its live.

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Anthony Morford

THANKS GUYS:) !


--- Carl Read <[EMAIL PROTECTED]> wrote:
> 
> On 05-Jan-04, Anthony Morford wrote:
> 
> > i am just beginning working with rebol. and i know
> > very little of programming. im sure that taking a
> > rebol workshop would make understanding it alot
> easier
> > but i decide to go the cheaper, more personal,
> route -
> > reading the manual. ive read it once through and
> still
> > lack the understanding to make a successful
> program
> > without reffering to the book every two minutes.
> is
> > reading the manual the best way to acquire a
> deeper
> > understand of rebol on one's own? or are there
> other
> > ways to understand the fundimentals of rebol while
> > learning all of its simple code variations?
> 
> Out of interest, which REBOL book have you read?  I
> find the
> REBOL/Core User's Guide is the one I turn to for
> help first.
> 
> As others have said, get used to using the REBOL
> Console to test your
> ideas before adding them to your script.  A simple
> example...
> 
> >> foreach [a b c][1 2 3 4 5 6][print a]
> 1
> 4
> >> foreach [a b c][1 2 3 4 5 6][print b]
> 2
> 5
> >> foreach [a b c][1 2 3 4 5 6][print [a b]]
> 1 2
> 4 5
> 
> And use its search ability for when you think there
> should be a word
> that does what you want but you haven't memorized it
> yet.  ie, while
> the following just gives you info on a word...
> 
>  ? clear   
> 
> placing the word in speachmarks gives you a list of
> words you might be
> after...
> 
> ? "clear"
> 
> In this case it found these words...
> 
>  clear  (action)
>  clear-fields   (function)
> 
> and perhaps clear-fields would be what you were
> after, but if not, try
> something else - "remove" perhaps, and so on.
> 
> > should i begin with a different programming
> language
> > if im just beginning or should i do more research
> on
> > the fundimentals of programming itself?
> 
> I would think REBOL's a good language to begin
> programming with, but
> like most people on this list I came to it after
> using a variety of
> other languages.  (Maybe someone for which REBOL was
> their first
> language would like to comment?)
> 
> I'd say do your research into programming alongside
> actually trying to
> write programs.  One will give insights into the
> other.  And there's
> no better encouragement than to actually write a
> program that's of
> use to you or others.
> 
> -- 
> Carl Read
> 
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the
> subject.
> 


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: Forum Name

2004-01-05 Thread Carl Read

On 05-Jan-04, Defiant Mail wrote:

> I have decided to set up a forum, if it takes off, great!
> if it does not Im only out $6.00 for the domain name.

> Now I would appreciate some feedback on a name for the forum...

> Here are a few ideas:

> rebolusers.com
> reboltalk.com
> rebolyell.com
> rebolchat.com
> rebolcomminity.com

> After the name is purchased It will take up to 72 hours for the
> domain to resolve to our servers.

> I will let everyone know when its live.

I like rebolchat for the friendliness reason someone else gave.

One thought though:  REBOL's style-guide suggests joining words with a
hyphen, so maybe rebol-whatever.com should be the format of the
domain-name?

-- 
Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.



[REBOL] Re: understanding rebol

2004-01-05 Thread Carl Read

On 05-Jan-04, Anthony Morford wrote:

> i am just beginning working with rebol. and i know
> very little of programming. im sure that taking a
> rebol workshop would make understanding it alot easier
> but i decide to go the cheaper, more personal, route -
> reading the manual. ive read it once through and still
> lack the understanding to make a successful program
> without reffering to the book every two minutes. is
> reading the manual the best way to acquire a deeper
> understand of rebol on one's own? or are there other
> ways to understand the fundimentals of rebol while
> learning all of its simple code variations?

Out of interest, which REBOL book have you read?  I find the
REBOL/Core User's Guide is the one I turn to for help first.

As others have said, get used to using the REBOL Console to test your
ideas before adding them to your script.  A simple example...

>> foreach [a b c][1 2 3 4 5 6][print a]
1
4
>> foreach [a b c][1 2 3 4 5 6][print b]
2
5
>> foreach [a b c][1 2 3 4 5 6][print [a b]]
1 2
4 5

And use its search ability for when you think there should be a word
that does what you want but you haven't memorized it yet.  ie, while
the following just gives you info on a word...

 ? clear   

placing the word in speachmarks gives you a list of words you might be
after...

? "clear"

In this case it found these words...

 clear  (action)
 clear-fields   (function)

and perhaps clear-fields would be what you were after, but if not, try
something else - "remove" perhaps, and so on.

> should i begin with a different programming language
> if im just beginning or should i do more research on
> the fundimentals of programming itself?

I would think REBOL's a good language to begin programming with, but
like most people on this list I came to it after using a variety of
other languages.  (Maybe someone for which REBOL was their first
language would like to comment?)

I'd say do your research into programming alongside actually trying to
write programs.  One will give insights into the other.  And there's
no better encouragement than to actually write a program that's of
use to you or others.

-- 
Carl Read

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.