[REBOL] epoch? Re:(9)

1999-10-29 Thread petr . krenzelok
[EMAIL PROTECTED] wrote: > Hi Petr, > > Well, it can, just that right now it isn't. ;-) Put in a request for it if > you think it's important. ;-) Why should I? Isn't it a little bit inconsistent and so shouldn't it be put into request queue automatically? You know, I'm just lazy :-) -pekr-

[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(10)

1999-10-29 Thread giesse
[EMAIL PROTECTED] wrote: > I am not sure you fully understand Russ. DOS was just one example, but he sees > possibility of Rebol becoming also language sutied well for various microCPU, > microcontroller usagaes, which are often programmed in Basic or Assembler. It > would not require OS! It woul

[REBOL] epoch? Re:(2)

1999-10-29 Thread giesse
[EMAIL PROTECTED] wrote: > ahora: now > hms: parse to-string ahora/time ":" > seconds-from: (ahora - make date! [1 1 1970]) * 86400 + ((to-integer hms/1) > * 3600) + ((to-integer hms/2) * 60) + (to-integer hms/3) date: now seconds: ((date - 1-1-1970) * 86400) + (date/time/hour * 3600) + (date/ti

[REBOL] "Everything is relative"... hmmm... Re:(3)

1999-10-29 Thread giesse
[EMAIL PROTECTED] wrote: > Before this discussion gets out of control (but thanks for enlightening me, > anyway ;-) ), I'd like to point out that the meaning of my original mail was > that I really cannot see any equivalence between Einstein's relativity theory > and REBOL, other than the word "r

[REBOL] http server... Re:(2)

1999-10-29 Thread KSMiTH
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 24, 1999 5:08 PM Subject: [REBOL] http server... Re: > Hi Kat, > > you wrote: > >I wrote a server that accepts http requests, > > I expect the server is written in REBOL? Umm, no,, sorry. Would

[REBOL] epoch? Re:(3)

1999-10-29 Thread ralph
> date: now > seconds: ((date - 1-1-1970) * 86400) + (date/time/hour * 3600) + > (date/time/minute * 60) + date/time/second > Gabriele has the closest solution yet, but it's still 4 hours short. I'm thinking, I'm thinking. --Ralph

[REBOL] epoch? Re:(5)

1999-10-29 Thread ralph
Ah... now we're making progress. now - 31-12-1969 * 86400 works, except that gives the right day but not the current time. All I gotta do now is figure how how to do the correct time. (using the above, we get 941241600 which translates, using from the Unix command date -r 941241600) to Fri Oct

[REBOL] epoch? Re:(3)

1999-10-29 Thread ralph
I'm off four hours using Gabriele's solution... could this be the difference between my time zone and GMT? If so, just adding 4 hours gives me the correct answer? --Ralph > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 29, 1999 6:33 AM >

[REBOL] epoch? Re:(4)

1999-10-29 Thread Russ
Sure sounds like it... since the algorithm has to presume SOME time zone, so GMT would be used. Use now/zone to create the offset you desire. R. At 09:12 AM 10/29/99 -0400, you wrote: >I'm off four hours using Gabriele's solution... could this be the difference >between my time zone and GMT?

[REBOL] Multiple Expressions in Parsing Rules

1999-10-29 Thread xmldiva
Hello, I've just about solved my HTML parsing question from yesterday. (The code segment I provided yesterday provided a simplistic example.) For some reason I don't quite understand, the information I needed on parsing is found in the "Addendum" to the Users Guide. I now want to specify multip

[REBOL] DOS port. Re:(2)

1999-10-29 Thread zaphod_beeblebrox
Dear Pekr Can't say for sure about the linker. All I know of Causeway is their dos extender and then only as is embedded in other programs, Euphoria being one. ZB ___ Subject: [REBOL] DOS port. Re: From:<[EMAIL PROTE

[REBOL] Colors

1999-10-29 Thread johnkenyon
Can anyone come up with a more readable way of doing this? As a function it will return an html string text with a color based on the intensity value from 0 green to 100 red (ish) ; intensity is an integer between 0-100 color-text: func [ intensity text ] [ temp: join to-string pick to-he

[REBOL] epoch? Re:(4)

1999-10-29 Thread ralph
> > > date: now > > seconds: ((date - 1-1-1970) * 86400) + (date/time/hour * 3600) + > > (date/time/minute * 60) + date/time/second > > > > Gabriele has the closest solution yet, but it's still 4 hours short. I'm > thinking, I'm thinking. > > --Ralph > OKAY! I gots it! A quick addon to Gabriele'

[REBOL] Multiple Expressions in Parsing Rules Re:

1999-10-29 Thread strejcek
> Hello, > > I've just about solved my HTML parsing question from yesterday. (The code > segment I provided yesterday provided a simplistic example.) For some reason > I don't quite understand, the information I needed on parsing is found in > the "Addendum" to the Users Guide. > > I now want t

[REBOL] New REBOL Dictionary, Beta 2.2 Re:(2)

1999-10-29 Thread bo
You can send them to [EMAIL PROTECTED] I'll get them to the right person(s). :-) On 28-Oct-1999/22:44:02-4:00, [EMAIL PROTECTED] wrote: >Hello, > >I tried sending some recommendations for improvements to the online >documentation. But the message was returned to me saying: > >The error message

[REBOL] Multiple Expressions in Parsing Rules Re:(2)

1999-10-29 Thread xmldiva
Jan, Thanks for your suggestion. You left off a closing parentheses but now it works as shown below. To generalize for multiple expressions, I'll just write the code in a block statement. Thanks, Cheryl > > I now want to specify multiple expressions in a rule. As a an example from > > the Adde

[REBOL] epoch? Re:(5)

1999-10-29 Thread mdingler
Well, getting seconds is possible, but is there a portable way to get a micro-seconds timer? With the new console commands, you could finally make a game of tetris this way ;) ...Michael... (alas, no colours...)

[REBOL] Colors Re:

1999-10-29 Thread bo
How 'bout this: color-text: func [intensity text][ rejoin [ {} text ] ] On 29-Oct-1999/16:18:51+1:00, [EMAIL PROTECTED] wrote: > > >Can anyone come up with a more readable way of doing this? > >As a function it will return an html string text with a color based on the >intensity val

[REBOL] Colors Re:(2)

1999-10-29 Thread whip
Howdy johnkenyon: Bo said: > How 'bout this: > > color-text: func [intensity text][ >rejoin [ > {} text ] >] Here's another approach, a little less string-concatenatey: ;- You get back a block with two tag!s surrounding whatever 'text is color-text: func [intensity text][ c

[REBOL] "Everything is relative"... hmmm... Re:

1999-10-29 Thread carl
Ole, Thought we might be pushing beyond the speed-of-hype here. Hey, the lighter the hype mass, the less energy it takes to accelerate it, right? The fastest hype is the lightest weight. I agree with you. So, axed it will be. A brainstorm item, and we don't need it to push our ideas. Of c

[REBOL] New REBOL Dictionary, Beta 2.2 Re:(2)

1999-10-29 Thread carl
At 10/28/99 10:44 PM -0400, you wrote: >Hello, > >I tried sending some recommendations for improvements to the online >documentation. But the message was returned to me saying: > >The error message was: >no such address: [EMAIL PROTECTED] > >Are you sure this is the correct address? > >Thanks,

[REBOL] Docs and docs@rebol.com problem

1999-10-29 Thread carl
Cheryl, (Whoops, slipped no reply on previous message.) Tyler will check into the [EMAIL PROTECTED] problem. Ty checked it prior to posting, so I'm a bit puzzled about why it was not working. Bo is correct that the BEST address for everything is [EMAIL PROTECTED], and that includes docs.

[REBOL] "Everything is relative"... hmmm... Re:(4)

1999-10-29 Thread mjmalpha
Or how about : "Carl does not play dice with the universe." (hey, it worked for Clapton ...) 8) Mike Mastroianni [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, October 28, 1999 5:03 PM Subje

[REBOL] [REBOL] Need a Script Re:(5)

1999-10-29 Thread whip
>>-original Message- >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >>Subject: [REBOL] Need a Script Re:(2) >> >> >>Russ thanks for the help. I am trying to make a script to check a site >>every xx:xx minutes and see if a specific word on a page exists. if >>not send me email... and

[REBOL] Colors Re:

1999-10-29 Thread carl
At 10/29/99 04:18 PM +0100, you wrote: > > >Can anyone come up with a more readable way of doing this? > >As a function it will return an html string text with a color based on the >intensity value from 0 green to 100 red (ish) > >; intensity is an integer between 0-100 >color-text: func [ intensi

[REBOL] Use of - in prefix notation. Re:(7)

1999-10-29 Thread whip
Howdy Martin: > also with parenthesis >> + 3 ( 4 + 5 ) > == 13 >> + 2 ( 3 + 4 ) > == 10 > This is no wierd Pentium bug, isn't it? ;-) That's a pre 2.2 beta bug. BTW: Not in the upcoming 2.2 release, but soon afterwards we're eliminating the prefix behavior of + and -. There'll still

[REBOL] Parsing thru?

1999-10-29 Thread gmckenzi
Hi, There seems to be alot about parse I don't understand... Almost all non-trivial uses of parse involve words like 'thru' and 'to' in the parse rule. Yet I have never seen docs on this. Even the new 2.2 dictionary docs only have the word thru in the doc once, and that is in a parse example.

[REBOL] Parsing thru? Re:

1999-10-29 Thread xmldiva
Gavin, I understand what you are going through. I just want "thru" the same thing with understanding parsing in REBOL. The explanation you want on parsing is in the "Addendum" to the User's Guide at http://www.rebol.com/user-guide/users.html. I would like to see in the future REBOL do a more thor

[REBOL] Error reporting: "Where" sometimes does not help much...

1999-10-29 Thread Martin-Steigerwald
Hi! When developing on REBOL scripts a error happens from time to time. REBOL then displays what happened and where it happened. The what is often quite okay, but the where sucks. Look at this example: --- REBOL [] do %include.r include %html.r return-stuff: func [] [ "Stuff" ] return-e

[REBOL] Colors Re:(3)

1999-10-29 Thread bo
I knew Jeff would jump all over my example ;-) I didn't know build-tag was built-in to REBOL yet. I originally started with a COMPOSE but didn't want to dig out the build-tag code. Guess I should have tried: help build-tag before starting :-) I also toyed with enbase, but it wasn't as stra

[REBOL] Questions

1999-10-29 Thread ScottK
V2 T941237091 K0 N0 P138991 I3/1/8239 Fb $rESMTP $sbrando.rebol.net $_rebol.net [199.4.95.216] S<[EMAIL PROTECTED]> RPFD: H?P?Return-Path: <[EMAIL PROTECTED]> HReceived: from brando.rebol.net (rebol.net [199.4.95.216]) by jab.org (8.8.7/8.8.7) with ESMTP id SAA15433 for ; Fri, 29 O

[REBOL] Colors Re:(4)

1999-10-29 Thread whip
> I knew Jeff would jump all over my example ;-) Hey-- You told me I'm the script cop. Just doing my job. Ha ha just kidding. But no reason to grumble there, Bo. It wasn't my intention to "jump all over" your example. Just trying to point out a different way to do it and to rant about e

[REBOL] Colors Re:(5)

1999-10-29 Thread bo
Jeff, My response was only intended with the pinnacle of lightheartedness. No grievous feelings, ol' chap! On 29-Oct-1999/17:33:34-6:00, [EMAIL PROTECTED] wrote: > >> I knew Jeff would jump all over my example ;-) > > Hey-- You told me I'm the script cop. Just doing my job. Ha ha >just kidd

[REBOL] Colors Re:(2)

1999-10-29 Thread bo
On 29-Oct-1999/14:17:15-7:00, [EMAIL PROTECTED] wrote: >What you want is: > >skip to-hex 255 6 > >== #FF The master hath spoken! (Why didn't I think of that???) -- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 7

[REBOL] Parsing thru? Re:

1999-10-29 Thread d95-mjo
On Fri, 29 Oct 1999 [EMAIL PROTECTED] wrote: > Hi, > > There seems to be alot about parse I don't understand... > Hi I just wanted to say that reading about something called BNF (Backus-Naur Form) helped me a lot when I tried to figure out how parse works. If you know how BNF rules work, p

[REBOL] Questions Re:

1999-10-29 Thread sterling
Well, ^(escape) and ^(page) are used within strings to put those characters into the string. Page will make a new page, i.e. clear the screen. You can also use ^L for page. As far as scripts go, there are some high quality examples on the REBOL.com website as well a selection of scripts from

[REBOL] epoch? Re:(7)

1999-10-29 Thread rryost
That appears to be a Julian day referenced to the start of the year. My understanding of a Julian day number is that it is the number of days since the start of the current Julian period, which started noon Jan 1 4713 BC. Noon of Dec 31 1998 was the beginning of JD 2,451,179. There is an algori