Hi,
Has anyone noticed any inconsistancies with the path! datatypes? I noticed two
things that I really wish that I had. I need a suedo type any-path! which should
also include the function 'any-path? The other thing that I am missing is a get-path!
It would be so usefull to be able
There's always the matter that the list can take up a large part of the
thought and discussion on this matter, formulate a nice proposal, submit the
proposal to the list with RFC, and once people are generally satisfied, submit
the final draft to RT. Save Carl some headache ;)
> The email I r
I'm coming in to this discussion a little late, but here's the way I,
personally, would see it.
> 100 - 50% == 50 ; as first stated
This, to me, would equate to:
100 - (100 * .50) == 50
Similarly:
200 - 50% == 200 - (200 * .5) == 100
> I suppose
> 50% - 100 == -50% ; ? or should be ille
> ...to make a simple browser, because I don't know how to parse. here's
the basic idea:
>
> 1. Parse all HTML tags out of the page
> 2. Change IMG tags to the REBOL/View version, image.
> 3. List all links in a menu at the top, with the ability to click on it
to go to the link.
> 4. Possibly
Robert wrote:
> ...this is OK if you want to include the link directly but how do you
specify a text that should appear instead of the link than?
Something like this:
My "web site" http://valley.150m.com/.
which converts to:
My [a href="http://valley.150m.com/"]web site[/a].
The email I received from Carl.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-
- Original Message -
From: "Carl Sassenrath" <[EMAIL PROTECTED]>
To: "Andrew Martin" <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 9:13 AM
Subject: Re: percent! - new datatype request
> Hi Andrew,
Yeah, look - we're arguing already. :)
But, I remember, to be consistent, shouldn't
the second datatype be converted to the first
before the operation takes place ?
So,
100 - 50% == 50 ; as first stated
I suppose
50% - 100 == -50% ; ? or should be illegal?
And
50% * 100 == 5000%
100 * 50% == 50
That is a good explanation, Romano.
Rebol's parse holds strong against my doubt.
Anton.
> The problem is given by the interaction of remove with parse, but
> it is not a
> bug.
>
> At every match, parse remember the position at which the parsing process
> arrived, in your example this position i
Hi Anton,
> Well done, you have discovered a bug in 'parse,
> I think. (It could also be 'remove ?).
>
> html: {I should be
> removed}
> html2: {I should be
> removed}
>
> html rule: [
> any [
> (print "~~~ any block ~~~")
> to " thru "/script>" mark2: (
> ?? mark2
> remove/part mark1 mark2
> ??
Hello rebol-list,
nobody has utf8-encoder?
probably will have to write one by myself
--
>>do [send to-email join 'oliva [EMAIL PROTECTED] "BESsssT REgArrrD, RebOldes"]
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, with
Hi Ammon,
I think, that to-datatype functions are relics from old times, when the TO
function didn't exist. I see no compelling reason for using them.
Cheers
-L
- Original Message -
From: "Ammon Johnson"
Hi,
Why are there specific functions for converting datatypes? Isn't 'to good
en
> Why are there specific functions for converting datatypes? Isn't 'to
good enough?
Same deal as "make function!" I suspect. Common usage patterns (eg. does,
has, func, function) have shortcuts. I also think:
to-string 1
is inherently less complex than
to string! 1
if only because
> And with it you could do something like:
>
> >> 100 - 50%
> == 50
> >> 100 + 50%
> == 150
> >> 100 * 50%
> == 5000
Shouldn't that be
>> 100 - 50%
== 50%
>> 100 + 50%
== 150%
>> 100 * 50%
== 5000%
and thus
>> rate: 8.25%
== 8.25%
>> price: $100.00
== $100.00
>> tax: price * rate
== $8.25
>
R> nobody has utf8-encoder?
R> probably will have to write one by myself
ok... why there is NO native right/left shift function in Rebol?!
here is how utf8 works:
putwchar(c)
{
if (c < 0x80) {
putchar (c);
}
else if (c < 0x800) {
putchar (0xC0 | c>>6);
putchar (0x80 | c & 0
See my previous link mentioning httperf
I'm looking for a script that can help me measure
server performance by changing the client load and
measuring the response times.
The script has to be written in a way that can cleanly
measure the server bottleneck without inteference from
the client or t
I thought the bug was in parse, not remove because I
tested this without the remove, just checking how
'parse iterates over the text string
After looking at your example I'm quite confused, I
think more people have to see this before it's a bug.
We need to be missing something otherwise this woul
Hiya...
Im not quite sure what your searching for? Server performance on
HTML commands? of protocol speed? or even rebol read speed?
(R)egards,
Norman.
>I tried it myself, but my results didn`t quite jive. They were much slower
>than expected. I believe it was because i was reading the pa
...to make a simple browser, because I
don't know how to parse. here's the basic
idea:
1. Parse all HTML tags out of the page
2. Change IMG tags to the REBOL/View version,
image.
3. List all links in a menu at the top, with the
ability to click on it to go to the link.
4. Possibly
--- Volker Nitsch <[EMAIL PROTECTED]> wrote:
> so why should rebol implement a more and more
> deprecated feature? ;)
I wasn't saying it should, just that it might be a
difference that someone whose expectations were
formed by C++.
__
Do You
Hello Jose,
>>>http://www.escribe.com/internet/rebol/m20605.html
Well I just tested it on my OpenBsd machine ..no problems..
Could be either the Redhat Lib that does a strange thing
or your linux box has a ethernet issue...
(R)egards,
Norman.
-- dinner/conversation: "How do you eat your R
Hi Norman,
<< * Why is the OS/2 core not available yet? >>
I'm guessing the OS/2 market just isn't there to support the effort.
<< * Where did the PALM OS core go ? >>
RT has mentioned that getting things to run on PALM OS was really tough
because of severe memory constraints. Maybe with the
<< Is there or has there been some pre-release information on the 2.6 /core
version already? I have seen the beta document (forgot the html link :-( >>
Here's the link: http://www.rebol.com/beta-versions.html
2.6 hasn't been officially released yet.
--Gregg
--
To unsubscribe from this list, p
The question always comes to mind - do we really need one? After all, why
add more code to the binary when we already can handle percents with a few
bits of code. I think only very complex useful functions should be added to
the binary.
Paul Tretter
- Original Message -
From: "Andrew M
> nice idea :)
> next i want units :)
>
> -volker
Units! please do not take this as an insult, but you think like me...;-)
Boyles law:
3 bar * 4 liters = 4 bar * 3 liters ;I'll drink to that!!
; need a balanced-equation style, hmmmn?
Steve Shireman
PS. Cole's law = thinly sliced cabbage
Hiya all..
Im wondering..
* Why is the OS/2 core not available yet?
* Where did the PALM OS core go ?
Both of the above where "pending" but i've not see any releases?
Are they available on request? (even unsuported) ???
(R)egards,
Norman.
-- dinner/conversation: "How do you eat your Rebol i
Hiya All,
Is there or has there been some pre-release information on the 2.6 /core
version already? I have seen the beta document (forgot the html link :-(
(R)egards,
Norman
-- dinner/conversation: "How do you eat your Rebol in the morning?"
--
To unsubscribe from this list, please send an em
Hi Ammon,
I've wondered the same thing. I haven't dug in to see if maybe there are
some pathological evaluation situations where they would make life easier,
but I doubt it. If you look at the source for all of them, they just call
'to internally.
--Gregg
--
To unsubscribe from this list, ple
HIya All..
Had to take cover for some weeks and now im back on the rebol scripting again..
I hope someone had the answer because until now i was unable to set the
source-port when doing a broadcast on UDP..
* Does rebol allow to set a source port for tcp/udp ?
* If yes.. Does rebol check the
hi,
Thanks for the stimulating thoughts...
I would personally expect to see the output data type be the same as the
*first* argument. I find that to be more consistent within REBOL (i.e. try
appending a path to a block, now a block to a path) so if you have an integer
and yo
Am Donnerstag, 6. Juni 2002 20:35 schrieb Anton:
> To be consistent,
>
> 100 * 50% should give 5000%.
should give 50.
to-percent 100 * 50% should give 5000%
>
> Addition and subtraction between integer and percent
> types is ambiguous. What would you expect from
>
> 200 - 50% ?
>
with-heavy-
Hi Andrew,
<< percent! - new datatype request
It would be nice to see a percent datatype. It could be based on a
combination of the money! and decimal! datatype. percent! datatypes would
look like:
100%
1.23%
0.456%
>>
I've thought about that as well, but the best way I
To be consistent,
100 * 50% should give 5000%.
Addition and subtraction between integer and percent
types is ambiguous. What would you expect from
200 - 50% ?
There are four different, but all, depending on your
point of view, correct, possibilities.
Just remember that % means "per cent", o
Am Donnerstag, 6. Juni 2002 17:16 schrieb Robert M. Muench:
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Volker Nitsch
> > Sent: Wednesday, June 05, 2002 11:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: [REBOL] Re: make-doc-pro: Version 1.0.3
Jose,
Well done, you have discovered a bug in 'parse,
I think. (It could also be 'remove ?).
The following script shows the problem.
Note that html and html2 are different by one character,
the 'x' (although it doesn't seem to matter which character
it is, just the length of the string.)
html:
hi,
And with it you could do something like:
>> 100 - 50%
== 50
>> 100 + 50%
== 150
>> 100 * 50%
== 5000
Enjoy!!
Ammon
A short time ago, Andrew Martin, sent an email stating:
> percent! - new datatype request
>
> It would be nice to see a percent datatype. It could be based on a
> comb
percent! - new datatype request
It would be nice to see a percent datatype. It could be based on a
combination of the money! and decimal! datatype. percent! datatypes would
look like:
100%
1.23%
0.456%
I've send a copy to [EMAIL PROTECTED]
Andrew Martin
ICQ: 26227169 htt
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Volker Nitsch
> Sent: Wednesday, June 05, 2002 11:40 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] Re: make-doc-pro: Version 1.0.3 beta update
> instead of =url
> iam thinking about
> here you get al
Hi all,
I was very interested to the function "launch" (I didn't know it).
But I didn't find enought documentation about it.
Can someone tell me more about launch refiniments? (this function could
be used to simulate a multiprocessing system!).
thank you!
--Alessandro--
--
To unsubscribe fr
From: "Andrew Martin"
> > But like every second language learning, the best start is true
immersion
> and for REBOL I am in the bath up to the neck for the moment ...
>
> I'm just waiting for the shout of Eureka! :)
Or, Ukiah!!!
;-)
--Scott Jones
--
To unsubscribe from this list, please send an
Hi,
Yes, I've moved to
http://www.lexicon.net/anton/rebol/index.r
I have updated the Rebol Desktop link to this as well.
Desktop/Rebol.com/Sites/Anton
There are some new scripts, some updated scripts
and some broken stuff too that I need to clean up.
Regards,
Anton.
--
To unsubscribe from th
40 matches
Mail list logo