I loved reading the two post from Jake and Garold. They express things I've
been musing over for years.
My own, coupla bits:
With any description there is an irreducible amount of information that has
to be encoded. Whether this has been done as an interface or as a monolithic
program or
[EMAIL PROTECTED] wrote:
You mean like this?:
a: head insert/dup copy [] "series" 5
== ["series" "series" "series" "series" "series"]
Type 'help insert' to get more info.
Cheers,
Gisle
Ahh... the dup refinement! *smacks head*
Thanks for your assistance - and you too, pekr :)
I can read this file:
read http://www.melbourne.net/antonr/resume.html
but not this one:
read http://www.melbourne.net/antonr/résumé.html
** User Error: URL error: http://www.melbourne.net/antonr/résumé.html.
** Where: read http://www.melbourne.net/antonr/résumé.html
snip
An unescaped
Hi Gisle
Nice solution. I would like to add a small clarification. When you use
insert/dup it places 5 references to the one instance of the series into the
new block.
a: head insert/dup copy [] "series" 5
== ["series" "series" "series" "series" "series"]
a/2/1: #"a";change first
Thanks to everyone who replied to my post on this topic, especially Gary
and Brett! I hope to find time to think about this a little more and
maybe type up a few more thoughts, but in the meantime, I got an
interesting message from Marcel Weiher on the MacOS X mailing list today
with some quotes
Does anyone know if REBOL/Core support FXP capabilities such as like the
flashfxp ftp client at www.flashfxp.com. I have not seen any information on
how to do this.
On 07/17/2000 04:11 PM Jake wrote:
Take Zope (www.zope.org), for
instance, a Web application server written in Python (with a few native
modules). I just downloaded the latest version and ran a quick line
count on all the .py files: 83165 lines, plus another 10391 lines for
the ZServer HTTP
[EMAIL PROTECTED] wrote:
Grep works similarly as REBOL currently does, considering
arguments preceded by - to be switches regardless of where
they are placed. For example:
Before and after args:
grep -A 3 foo * -vi
In between and after args:
grep foo -B
A few ideas
d: insert/only/dup [] [this] 5
head d
== [[this] [this] [this] [this] [this]]
or
array/initial 5 [this]
== [this this this this this]
or
array/initial 5 [[this]]
== [[this] [this] [this] [this] [this]]
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi Ladislav, 15-Jul-2000 you wrote:
Hi,
don't know, what is the problem, but here is a merge-sort working
for me looong time:
[...]
Thanks! In the meantime, I got it working by simply having the temporary
variables as parameters to the function. Mean, but it works.
As a curiosity, I also got
Hello [EMAIL PROTECTED],
Comments below...
On 18-Jul-00, [EMAIL PROTECTED] wrote:
Would it be possible to use the REBOL console via CGI? As follows:
1. Enter commands in to a text area within a Web form. The text area is
given the name "rebol_input"
TEXTAREA NAME="rebol_input"
Hi,
Wow, that makes my REBOL program look puny. A mere 7242 lines (including
comments). And I was feeling so proud of it. Wh!
My web directory now has 7383 lines of code (without comments - I don't use
them with CGI scripts) and it still isn't finished, note that I like to
pack as many
Jeff,
you seem to be missing the point by comparing REBOL to grep.
Suppose I wanted to write grep (or anything else) in REBOL, I'd like it
to behave just like that. I'd need a shell wrapper to hide the fact I was
running
the rebol interpreter with a script and I'd expect any and all args to the
Howdy, Sean:
Jeff,
you seem to be missing the point by comparing REBOL to grep.
Point taken. Not arguing or debating, was just offering up
another program that works like REBOL does now. There are
many aspects of REBOL that we're working on improving.
Appreciate all the
Elan Goldman explains REBOL Series in Chapter 5 of REBOL: THE OFFICIAL
GUIDE. Free peek at http://www.rebolpress.com/rog/chapter5.pdf.
--
Danny Ramsey, Publisher, REBOL Press
The Official Source for REBOL Books
http://www.REBOLpress.com
The same thing happens to me
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk! For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
"Java and C++ make you think that the new ideas are like the old
ones. Java is the most distressing thing to hit computing since
MS-DOS."
That hilarious! But mostly true!
A name to my discontent, "distressing".
I knew there was a reason I've been playing (=fun) with Rebol instead of
howdy guys,
I'm on a roll, just trying to "get" simple things. for instance, in
the exapmle,
pages: [ http://www.cnet.com
http://www.rebol.com/index.html
http://www.news-wire.com/news/today.html ]
loop 24 [ foreach page pages [send [EMAIL PROTECTED] read page]
Greetings!
I'm pretty new to REBOL, but sofar its been very useful for me. I am having
one problem though. I've got a script created that asks the user for a number
of variables which it joins together to create a filename (get_file),
example:
either find/match ask ["What OS? "] "1"
There is a bug in skip functions for open/direct files. They should seek to their
required positions but do not. Look for a fix in the next release.
-Carl
I needed a simple two decimal place round off function for a script this
evening.
This is what I came up with:
roundoff: func ["Rounds off to 2 decimal places" a][
a: a * 100
b: a - to-integer a
a: to-integer a
if b .5 [a: a + 1]
a: divide a 100
[EMAIL PROTECTED] wrote:
An unescaped é is not valid in URLs, it should be encoded as %E9
http://www.melbourne.net/antonr/résumé.html fails for me in IE5.5, but works
in NT4.7
http://www.melbourne.net/antonr/r%E9sum%E9.html works in both.
More details can be found in RFCs 1738 and 2396.
Try this...
either find/match ask ["What OS? "] "1"
[get_file: join patch_number ["-" patch_revision ".tar.gz"]]
[get_file: join patch_number ["-" patch_revision ".zip"]]
get_file: rejoin [patch_number {-} patch_revision {.zip}]
write %get_file read site/:get_file
"site" is a
Hi Ralph
To really do correct rounding for all possible decimal values requires a bit
of work in REBOL. Problems with overflow, round nearest even, etc. For all
the gory details see the script decimal.r archived at rebol.org. But just
for fun here is a way to use to-money. May fail to give
hey guys,
I don't suppose any one has written any docbook tools in REBOL, have
they?
--
Insert witty saying here.
-tom
this particular example is an implementation of dave winers
outliners idea,
Did you tell Dave about this thing? I'm sure he'd be really interested to
see it :)
(user and pass substituted).
This works:
read ftp://user:[EMAIL PROTECTED]/resume.html
This doesn't:
read ftp://user:[EMAIL PROTECTED]/résumé.html
** User Error: URL error: ftp://user:[EMAIL PROTECTED]/résumé.html.
** Where: read ftp://user:[EMAIL PROTECTED]/résumé.html
Finally, this does:
27 matches
Mail list logo