Hi, Andrew,
Andrew Martin wrote:
>
> The ":ended" has to be in the parse rule and outside the action part. Also
> you have to move the 'ended point as well. Like:
>
> began: "[" copy token to "]" "]" ended: (
> if found? other: select/skip pairs token 2 [
>
>> here: copy ""
>> rule: [to "[" mark: "[" [{"red"}|{"green"}|{"blue"}] "]" :kram to end]
>> parse erkjhwerjh rjgsradjh e ["green"] riweajf pqwejkfp'okwef} rule
== true
>> print copy/part mark kram
["green"]
seems found
On Thu, 14 Feb 2002, Alex Liebowitz wrote:
> I don't know, I'm trying
REBOL occassionally takes a bash at writing poetry when it can. But it does
not quite have your skills
http://www.rebolforces.com/cgi-bin/shakespeare.cgi
Cheers,
Allen K
- Original Message -
From: "Gregg Irwin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 16, 20
Hi, Hallvard,
Hallvard Ystad wrote:
>
> ... Thanks again for all help on the list, and maybe we'll meet
> again if I should be destined to return to programming.
>
It's been a real pleasure having your company! If it suits your
wishes, I certainly *HOPE* you return to REBOL and this list!
Go
Joel wrote:
> Suggestions anyone? What am I overlooking?
> began: "[" copy token to "]" "]" ended: (
> if found? other: select/skip pairs token 2 [
> change/part began first other ended
> :ended
> ]
>
sha1 is considered more secure than MD5
checksum/method "your-string" 'sha1
The number of possible sha1 digests is quite large, (can't remember exactly at this
moment) so you should have very little chance of convergence to the same digest from
two different strings.
Do you think you will hav
Is there a predefined way to call the network "Busy" indicator in View? Can't find
anything in the View Docs.
Or, does anyone have an object or function to share that would work as a "working..."
indicator?
I would just add something like "busy-function/start" to the beginning of a function,
Wonderful link Mario. Thanks!
--Gregg
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.
<< I'm developing a program in my company, and an engineer asked how I
round the numbers... but... I discovered (I'm still a newbie...) Rebol
has only TO-INTEGER function to round a number! No FLOOR, no CEIL, no
TRUNC!
And... how about Banker's algorithm to round numbers? >>
Here's what I came u
Hi Alex,
<< I need some way of encoding text in a way such that for any text , it
encodes into a value which no other text (or a very negligible amount) does,
and from which it is impossible (or nearly so) to extract the original text
except by brute force. >>
How about checksum/secure?
--Gregg
Thanks Hallvard & Carl.
{ I missed the thread in January }
>From: Hallvard Ystad <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Re: read/custom and HTTP HEAD behaviour
>Date: Fri, 15 Feb 2002 12:03:04 +0100
>
>Here's the solution:
>http://www.escribe.c
Hi Petr,
> No :-) Do we have threading? Can you see your View scripts to block you? As
with
> tcp, when you open your listen port, you can open it in no-wait mode. In
this
> case wait [portX] checks for data on your portX, but returns imediatelly,
either
> telling you there is no data, or returni
This is a fast dump-face patch to put in user.r, hope can be useful to someone
(else forget it). It can also dump stylize blocks.
rebol []
dump-face: func [
"Print face info for entire pane. (for debugging)"
face [object! block!]
/local depth style
][
depth: "^-"
either block? face [
fore
You could try adding 0.5 first:
to-integer (0.5 + n)
Anton.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 15 February 2002 11:56 PM
> To: REBOL
> Subject: [REBOL] ROUND function (like TRUNC, FLOOR, etc...)
>
> I'm developing a program in my
Hi, Andrew, Alex, and all,
I made the assumption that the list of tokens might be largish and
unsuitable for explicit inclusion in the parse rule itself...
Andrew Martin wrote:
>
> Alex wrote:
> > the original goal was to replace [red] with an escape character
> > followed by "[31m" for example
I'm developing a program in my company, and an engineer asked how I
round the numbers... but... I discovered (I'm still a newbie...) Rebol
has only TO-INTEGER function to round a number! No FLOOR, no CEIL, no
TRUNC!
And... how about Banker's algorithm to round numbers?
I made some tests: TO-INTE
On 15-Feb-02, [EMAIL PROTECTED] wrote:
> [ between us, ideas become reality ™ ]
> Absolutely Excellent!
> It's just Pity Armstrong's thought of it first.
Possibly, though almost the exact same term's being used here...
http://www.realitystation.co.uk/
(:
--
Carl Read
--
To unsubscribe f
On 15-Feb-02, j m wrote:
> I am trying to query a URL with HTTP HEAD but I get the full HTTP
> GET instead
> print read/custom http://www.yahoo.com reduce ['HEAD ]
> or
> response: copy ""
> port: open tcp://www.yahoo.com:80 insert port rejoin [ "GET" newline
> "host:www.yahoo.com" newline "co
Robert, I am sure you are worrying too much!
There is probably init code that initializes
both those values before either of those bits
of code executes.
Sorry I didn't look into it further... :)
probe lst/init
Anton.
> Hi, thanks. Yes it does but I have some questions
>
> > view layout [
> >
Charles wrote:
>Here's a quick (and probably ignorant) question:
>If threading isn't really possible with REBOL,
noone said it isn't :-) In fact, Holger posted one long and very nice
description of what are the possibilities and consequences of threading in
regard to scripting language
Here's the solution:
http://www.escribe.com/internet/rebol/index.html?by=OneThread&t=%5BREBOL%5D%20Reading%20HTTP%20headers
~H
Dixit j m (09.42 15.02.2002):
>I am trying to query a URL with HTTP HEAD but I get the full HTTP GET instead
>
>print read/custom http://www.yahoo.com reduce ['HEAD ]
>
At 03.04 15/02/02, Alex wrote:
>Okay, that's nice, but I want to parse real text, not a block. I'm just
>going to use repeated replace statements here (since the original goal was
>to replace [red] with an escape character followed by "[31m" for example),
>but I was hoping to go through the vari
http://www.rebolforces.com/~erebol beware - very complicated site! ;-)
-pekr-
Charles wrote:
>I'm late getting to this, and for that I apologize, particularly if this
> has already been answered. But:
>Where's the link? You announce new releases, but no links.
>
> --Charles
--
Whilst perusing through an office interiors trade magazine
whilst waiting for a meeting to start at work, my company
specialises in commercial interior fit out work, I stumbled
across this excellent advertising slogan with tremendous
REBOL connotations.
[ between us, ideas become reality ™ ]
Th
Romano Paolo Tenca wrote:
> Hi, Petr
>
> > And face based mechanism actually can't be used in Core and Command - they
> > both don't have face compositing engine. I don't remember correctly, if
> > someone from RT already commented this here or not in the past it
> > would be probably good
Hi all, poets.
> Best wishes Hallvard,
>
> We are like-minded it seems. I started an object browser with the same
> format as yours some time ago, which Ammon hopes to include
> with his RIDE
> IDE for REBOL. One difference between us is that my (poor)
> poetry is all in
> English. :-\
FYI
I am trying to query a URL with HTTP HEAD but I get the full HTTP GET
instead
print read/custom http://www.yahoo.com reduce ['HEAD ]
or
response: copy ""
port: open tcp://www.yahoo.com:80
insert port rejoin [ "GET" newline "host:www.yahoo.com" newline "connection:
close" newline newline ]
whi
I need some way of encoding text in a way such that for any text , it
encodes into a value which no other text (or a very negligible amount) does,
and from which it is impossible (or nearly so) to extract the original text
except by brute force. It looks like this might do the trick:
checksum/me
28 matches
Mail list logo