[REBOL] Use of - in prefix notation. Re:(3)
+ + 3 4 5 == 12 + + + 3 4 5 6 == 18 + + + + 3 4 5 6 7 == 25 I think its works! Mikel - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 5:01 AM Subject: [REBOL] Use of - in prefix notation. Re:(2)
[REBOL] Use of - in prefix notation. Re:(4)
The error occurs when you mix the two as in: + 2 3 + 4 == 10 2.2 gives you: == 9 - jim At 09:30 AM 10/28/99 +0200, you wrote: + + 3 4 5 == 12 + + + 3 4 5 6 == 18 + + + + 3 4 5 6 7 == 25 I think its works! Mikel - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 5:01 AM Subject: [REBOL] Use of - in prefix notation. Re:(2)
[REBOL] Rebol website update :-) Re:(6)
[EMAIL PROTECTED] wrote: You (and Bo) seem to totally miss the point. I'm not talking about personal comptuer uses, but embedded systems. Designing, implementing, manufacturing them as products... not something for my own personal use. Then YOU are missing the point. MSDOS is NOT and embedded OS. QNX and others are embedded OSes. Ciao, /Gabriele./ o) .-^-. (--o | Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila | | GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ | o) `-v-' (--o
[REBOL] Everything is relative... hmmm... Re:
[EMAIL PROTECTED] wrote: Sorry about having that opinion - I'm not a fanatic physicist, but do know that the point of Einstein's relativity theory is that the speed of light is constant (i.e., /not/ relative), and I'm generally tired of cases of science You are right, but that implies (in general relativity) that even space and time are relative to the observer. There is no absolute space or time, and even if any observer would explain the universe with the same law, each observer would see a "different" universe. Ciao, /Gabriele./ o) .-^-. (--o | Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila | | GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ | o) `-v-' (--o
[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(9)
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: It was certainly not my intention to begin or participate in a flame contest over this. I simply asked what I thought was a very straightforward, logical, and meaningful question... and I'm still looking for a direct answer. Perhaps this is the wrong forum. From private replies I've Well, Russ, I don't know the embedded market as you do, but I don't think MSDOS is a good choice for this market. I'm sure there are a lot of embedded OSes out there that are better than MSDOS; however, there's also the problem that REBOL implementation probably assumes a 32 bit system, so it would not easily be ported to 16 or 8 bit systems. 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 would not require TCP/IP. I think I know what he does mean, as our astronomy group started development of own CCD camera, where microchip programming is the issue. It would be nice to use REBOL-like syntax language for it too. REBOL is about unification of aproaches. There is many chips, many programming aproaches to them -and - it's another real bussiness oportunity. We are talking about companies like Atmel, Tohsiba, Analog Devices, etc. I would suggest REBOL Technologies to investigate such market. Think about it - REBOL everywhere. I saw software implementation of I2C protocol, would be nice to have in REBOL, and - IT IS DEFINITELY ABOUT COMMUNICATION (MESSAGING) .. My two cents :-) -pekr- Ciao, /Gabriele./ o) .-^-. (--o | Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila | | GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ | o) `-v-' (--o
[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(10)
Hi Petr, Thanks for carrying my simple question further... (I can only imagine the responses NOW!) heheh. Yes, that's a related, or extended, area of interest for me... I simply thought the question of DOS was a large enough leap to see what the "low end" intentions of REBOL were (and now we know at least current plans). While I concur that an O/S-less REBOL has merit, and also would agree that REBOL w/o TCP/IP could find many homes, personally I DO WANT TCP/IP in my version, for the types of devices I am considering. But this seems to gets back to the related thread of "modular REBOL" where one picks/chooses what is needed for a given application. Still an intriguing (though probably far fetched?) idea. Russ -- At 12:30 PM 10/28/99 +0100, you wrote: [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: It was certainly not my intention to begin or participate in a flame contest over this. I simply asked what I thought was a very straightforward, logical, and meaningful question... and I'm still looking for a direct answer. Perhaps this is the wrong forum. From private replies I've Well, Russ, I don't know the embedded market as you do, but I don't think MSDOS is a good choice for this market. I'm sure there are a lot of embedded OSes out there that are better than MSDOS; however, there's also the problem that REBOL implementation probably assumes a 32 bit system, so it would not easily be ported to 16 or 8 bit systems. 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 would not require TCP/IP. I think I know what he does mean, as our astronomy group started development of own CCD camera, where microchip programming is the issue. It would be nice to use REBOL-like syntax language for it too. REBOL is about unification of aproaches. There is many chips, many programming aproaches to them -and - it's another real bussiness oportunity. We are talking about companies like Atmel, Tohsiba, Analog Devices, etc. I would suggest REBOL Technologies to investigate such market. Think about it - REBOL everywhere. I saw software implementation of I2C protocol, would be nice to have in REBOL, and - IT IS DEFINITELY ABOUT COMMUNICATION (MESSAGING) .. My two cents :-) -pekr- Ciao, /Gabriele./ o) .-^-. (--o | Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila | | GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ | o) `-v-' (--o
[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(11)
[EMAIL PROTECTED] wrote: Hi Petr, Thanks for carrying my simple question further... (I can only imagine the responses NOW!) heheh. Yes, that's a related, or extended, area of interest for me... I simply thought the question of DOS was a large enough leap to see what the "low end" intentions of REBOL were (and now we know at least current plans). While I concur that an O/S-less REBOL has merit, and also would agree that REBOL w/o TCP/IP could find many homes, personally I DO WANT TCP/IP in my version, for the types of devices I am considering. But this seems to gets back to the related thread of "modular REBOL" where one picks/chooses what is needed for a given application. Still an intriguing (though probably far fetched?) idea. Russ Russ, do you mind me asking which 8-bit controller you have the TCP/IP stack for? The smallest I have worked with (which included client _and_ server socket API) is 42K of ROM for TCP/IP/SLIP. (PPP easily eats 50-100k) Just last month I was looking for a TCP/IP stack for the HC12 from Motorola, the chip I would love to slip a stack into. My quick-under-pressure search came up dry except for a non-TCP/IP stack approach called emWare. Their approach has merit, but having the stack in a small 8-bit/16-bit MCU would flip my dipper. Your points in this thread I totally agree with in principle. I am travelling there as fast as my available man-hours can take me... Steve Shireman Wouldn't a 'Stamp' Rebol board be cool?
[REBOL] Everything is relative... hmmm... Re:
[EMAIL PROTECTED] wrote: Hi! ... - I'm not a fanatic physicist, but do know that the point of Einstein's relativity theory is that the speed of light is constant (i.e., /not/ relative), and I'm generally tired of cases of science reduced to some nice-sounding crap. ... Do anybody else agree with me? :-) Actually, I do. The concept of relativity goes back to Gallileo (the mathematical device for converting from one frame of reference to another is called a "Gallilean transform"). The key insight of Einstein's theories is the identification of WHAT IT IS that every- thing else is relative to. I have read that Einstein considered calling his theory "The Theory of Absolutes" precisely because the central issue is that the speed of light (and NOT some priveleged spacetime coordinate system) is the absolute for the issues he was investigating. Enough rant. The real point is that the phrase "everything is relative" has been so abused by our short-attention-span popular culture that many thoughtful people of my acquaintance find it annoying or distasteful. By analogy, the concept of separation of authority between federal and local government is fundamental to the U.S. Constitution. However, the phrase "states' rights" became so thoroughly associated with a particular position -- opposition to the civil rights movement -- that its connotations outweigh its literal meaning and it has almost disappeared from common use. Just my $0.02; now back to hacking REBOL... -jn-
[REBOL] Line limit? Re:
On 27-Oct-1999/21:13:20-4:00, [EMAIL PROTECTED] wrote: Is there a (practical/theoretical) limit to the length of a file in a flat file database under REBOL? (Linux OS, if that makes a difference.) - fleet - No limit as long as you have enough memory to support it... :-) We use a flat file here to store all our bug reports and enhancement requests with all associated data. -- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) Download the REBOL Messaging Language for all Platforms
[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(12)
Hi Steve, What I've done is certainly NOT something one could slip into an application and have the full functionality of TCP/IP/SLIP (or PPP) for client and server that you seek. Sorry if I seemed to imply that. What I have done, mostly to see what could be done and to learn the raw elements of PPP/IP/UDP/TCP, was to program PARTS of these variously in VB, C and Assembly language and test them on a Win/PC, Linux and a PIC16C84. I began with PPP and cut many corners (my versions certainly would NOT connect to every ISP going, nor handle all authentication/compression conditions/options). But I did get a PIC to dial the (external) MODEM and connect to a few ISPs (some more reliably than others). I then verified that ICMP worked (handling system events and doing things like PING). It was quite exciting to see the first PING reply come back from a distant node on the net! :) I added some IP capabilities so that I could test UDP and TFTP. Basically, I put in only enough to get to the next step, not to meet any particular or rigid specifications or to create general API functionality. I began elements of the TCP stack (enough to say there was one present) but ran out of memory, time, interest, and motivation :) I'd learned what I wanted to: that a small PIC chip was probably inadequate for the purpose. But also that one did NOT need a Pentium and Windows (or even a 386 and Linux) to do networking. I hope the story is a bit interesting to you, but sorry I cannot offer anything concrete for you to drop into a real micro/networking application. I think we're both at about the same point and looking for the same things :) Might I ask what SLIP/IP/TCP stack you've used that's 42k? Is it generally available? Re emWare, as I see it, it simply pushes the problem from one place to another... admittedly to a larger computer where it's more easily solved. But that seems like "cheating" to me ;) Although you may already be aware, I pass on these reference for you or anyone who's interested in these topics (these are not meant to be exhaustive, inclusive or anything other than interesting): http://www.circuitcellar.com/eiw_proc/98ewi/proceedings.htm http://www.circuitcellar.com/pastissues/articles/Tom106/text.htm http://www.chipcenter.com/circuitcellar/july99/c79bl1.htm http://www.picoweb.net/ http://www.circuitcellar.com/pastissues/articles/Loewen108/Loewen-108.pdf I was in correspondence with the author of this last article, and we were both pursuing something very similar at the same time. His published article might spur others interested in networking tiny processors. You'll get an idea of the corners that must be cut to accomplish such feats with limited resources. And also why I've decided that for many/most applications of interest to me, I'd prefer greater capabilities... like using a high-level language, more advanced processor... but NOT to the extent of today's full-blown PCs and O/Ss. I think the small footprint, integrated networking, and powerful/flexible syntax of REBOL has attracted a number of us "low end" application people, in the hope that it might offer the best of many worlds for our applications. Russ PS -- Perhaps further discussion of this should be done off this list, as I'm not sure that many here are interested in these topics, and I think REBOL's position is now clear. Anyone interested may feel free to Email me directly. --- At 08:22 AM 10/28/99 -0500, you wrote: [EMAIL PROTECTED] wrote: Russ, do you mind me asking which 8-bit controller you have the TCP/IP stack for? The smallest I have worked with (which included client _and_ server socket API) is 42K of ROM for TCP/IP/SLIP. (PPP easily eats 50-100k) Just last month I was looking for a TCP/IP stack for the HC12 from Motorola, the chip I would love to slip a stack into. My quick-under-pressure search came up dry except for a non-TCP/IP stack approach called emWare. Their approach has merit, but having the stack in a small 8-bit/16-bit MCU would flip my dipper. Your points in this thread I totally agree with in principle. I am travelling there as fast as my available man-hours can take me... Steve Shireman Wouldn't a 'Stamp' Rebol board be cool?
[REBOL] Use of - in prefix notation. Re:(4)
Try it with the minus operator, -, per the subject of this thread. REBOL HQ has defined this prefix usage to be equivalent to the 'negate word. Russell [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 12:30 AM Subject: [REBOL] Use of - in prefix notation. Re:(3) + + 3 4 5 == 12 + + + 3 4 5 6 == 18 + + + + 3 4 5 6 7 == 25 I think its works! Mikel - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 5:01 AM Subject: [REBOL] Use of - in prefix notation. Re:(2)
[REBOL] Rebol website update :-) Re:(7)
I'm quite serious about the Rebol on DOS question The question is pointless unless a PC DOS has a TCP/IP stack. IMHO one could still use some small flavor of Linux on that 386 or 486 machine then. Has TCP/IP and it should be possible to get a REBOL for it. -- Martin 'Helios' Steigerwald - http://helios.home.pages.de PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
[REBOL] Rebol website update :-) Re:(8)
You miss the point, as well. "BACK?" to 16-bit systems??? Both 16-bit AND 8-bit micros are alive and well in the embedded world.. surprise! Just take a look at the very active development of new chips at Microchip (www.microchip.com) or Hitachi for current examples. Perhaps the upcoming PIC 2000 contest co-sponsored by Circuit Cellar INK and Microchip (http://www.circuitcellar.com/pic2000/) serves to illustrate just some of the _current_ interest in this area. No offence meant... but somehow I think some Motorola or IBM PowerPC processors are also working very well on embedded market. And older PowerPC generations shouldn't be expensive anymore, but still full blown 32 bits. Just my personal opinion. You may know better. -- Martin 'Helios' Steigerwald - http://helios.home.pages.de PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
[REBOL] Rebol website update :-) Re:(6)
You (and Bo) seem to totally miss the point. I'm not talking about personal comptuer uses, but embedded systems. Designing, implementing, manufacturing them as products... not something for my own personal use. Sorry... I was serious about my post. It was not meant in sarcasm or ironigcally. But then A1200 boards may well be not cheap enough, but are real cool also today when you want to do video stuff. I probably would go cheap 32 bit CPU + Linux (maybe rtLinux or something like this)... = cheap = free OS = 32 bit = REBOL = All want you wanted, or not? -- Martin 'Helios' Steigerwald - http://helios.home.pages.de PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
[REBOL] Use of - in prefix notation. Re:(6)
also with parenthesis: + 3 ( 4 + 5 ) == 13 + 2 ( 3 + 4 ) == 10 This is no wierd Pentium bug, isn't it? ;-) -- Martin 'Helios' Steigerwald - http://helios.home.pages.de PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
[REBOL] Rebol website update :-) Re:(9)
Martin, You're quite right that many 32-bit CPU's have dropped considerably in price. Of course, to them we must add suitable memory, interface chips, etc. Oh, and, of course, software! :) I think the issue is that there is no such thing as a "typical" embedded application. So, what's completely appropriate for one use (PPC, Linux, etc) is gross overkill and impractical for another (many Internet Appliances, for example). Hopefully, some of the reference articles I provided in this thread can illuminate some of these lower-end app's... and the design goals/challenges they present. Thanks for your opinions. Russ - At 11:27 AM 10/28/99 +, you wrote: You miss the point, as well. "BACK?" to 16-bit systems??? Both 16-bit AND 8-bit micros are alive and well in the embedded world.. surprise! Just take a look at the very active development of new chips at Microchip (www.microchip.com) or Hitachi for current examples. Perhaps the upcoming PIC 2000 contest co-sponsored by Circuit Cellar INK and Microchip (http://www.circuitcellar.com/pic2000/) serves to illustrate just some of the _current_ interest in this area. No offence meant... but somehow I think some Motorola or IBM PowerPC processors are also working very well on embedded market. And older PowerPC generations shouldn't be expensive anymore, but still full blown 32 bits. Just my personal opinion. You may know better. -- Martin 'Helios' Steigerwald - http://helios.home.pages.de PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
[REBOL] Need a Script
Hello All, I need a script to check a web page and if it is there then do nothing if it is not there then send me email, I know this can be done in rebol, can anyone help?? Regards, Philip M. McDonnell
[REBOL] Need a Script Re:
Perhaps you can adapt the following. For a single site this will work IF your web-hosting provider doesn't step in and supply a "default page" when the real page is not found. mail: [EMAIL PROTECTED] site: http://yoursite.com/yourpage.html if not exists? site [send mail "Can't find page!"] If you have more than one page to check, you'll have to add a 'foreach loop around this and, perhaps, report the URL you were checking. But if your provider supplies a default "not found" page, things get more complex... as some page (the wrong one) will be found. You'll then either have to check somehow that it's the default page that got read or that your page did NOT get read (perhaps simpler, cuz you have control over what's on your page, such as the TITLE block /TITLE). Hope that helps... Russ --- At 01:37 PM 10/28/99 -0400, you wrote: Hello All, I need a script to check a web page and if it is there then do nothing if it is not there then send me email, I know this can be done in rebol, can anyone help?? Regards, Philip M. McDonnell
[REBOL] Selma
Hello All, Where can one get a copy of SELMA??? This email list server? Regards, Philip M. McDonnell
[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 do this forever... Regards, Philip M. McDonnell __ www.net-neighborhood.com --- Web Hosting Design, Filemaker/Lasso Hosting www.wirelesssource.net --- Beepers, Cellular, Accessories www.philmcdonnell.com --- My little corner of the Web - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 1:50 PM Subject: [REBOL] Need a Script Re: Perhaps you can adapt the following. For a single site this will work IF your web-hosting provider doesn't step in and supply a "default page" when the real page is not found. mail: [EMAIL PROTECTED] site: http://yoursite.com/yourpage.html if not exists? site [send mail "Can't find page!"] If you have more than one page to check, you'll have to add a 'foreach loop around this and, perhaps, report the URL you were checking. But if your provider supplies a default "not found" page, things get more complex... as some page (the wrong one) will be found. You'll then either have to check somehow that it's the default page that got read or that your page did NOT get read (perhaps simpler, cuz you have control over what's on your page, such as the TITLE block /TITLE). Hope that helps... Russ --- At 01:37 PM 10/28/99 -0400, you wrote: Hello All, I need a script to check a web page and if it is there then do nothing if it is not there then send me email, I know this can be done in rebol, can anyone help?? Regards, Philip M. McDonnell
[REBOL] Use of - in prefix notation. Re:(7)
[EMAIL PROTECTED] wrote: This is no wierd Pentium bug, isn't it? ;-) No! The Pentium bug would have produced + 3 ( 4 + 5 ) == 12.0048296 + 2 ( 3 + 4 ) == 8.45267 ;-) -jn-
[REBOL] Rethink - new real markets (was) Rebol website update :-) Re:(13)
[EMAIL PROTECTED] wrote: Hi Steve, What I've done is certainly NOT something one could slip into an application and have the full functionality of TCP/IP/SLIP (or PPP) for client and server that you seek. Sorry if I seemed to imply that. What I have done, Russ, Thanks for all the information. I appreciate your epiphany. The US Software USNet can be trimmed down to 42k and still do serving. But they have trouble supporting their code style, and it is a very difficult read. You have to experience it in an emulator to get the Zen of it. That is even on an intel (gag-a-maggot (really, officer, they held a gun to my head, I had no choice...)) compile, so a build for a real MCU could be smaller... There are others that are close to that, depending on RTOS, etc. I have just implemented a system which I feel is better than emWare. I want to see how far I can push the Rebol console over a serial port if-you-know-what-I-mean, so I am only in the prototype phase with it. Hey, I want to see Rebol FemptoChips. (who needs PicoJava Chips, anyway, or Jini...) Steve Shireman (hey pekr, thanks for those eMagic eMushrooms... ;-)
[REBOL] Need a Script Re:(3)
Ok, add a little to what I sent before: keyword: "whatever" ; word to find on page delay: 00:10:00 ; amount of time to wait mail: [EMAIL PROTECTED] ; your email address site: http://yoursite.com/yourpage.html ; site/page to check while[1] [ wait delay page: read site if not find page word [send mail "Can't find page!"] ] Good luck! Of course, there is no error checking, etc in this simple version. But it should give you an idea of what's needed. R. --- At 02:21 PM 10/28/99 -0400, you wrote: 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 do this forever... Regards, Philip M. McDonnell
[REBOL] [REBOL] Need a Script Re:(4)
-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 do this forever... Regards, Philip M. McDonnell --- Fellow Rebols! I've been lurkin' on this list forever, learning all the time. Finally a question I can answer: Philip, your request comes just as I've managed by trial + error to do just what you requested: Please check it out and lemme know if it works for you ... I've had it running for just over a week and it works like a charm - although there are certainly many improvements some of the real expert rebols can suggest... ---snip REBOL [ Title: "WebSiteCheck" File: %webchk.r Date: 22-Oct-1999 Purpose: "Check a set of sites every 5 minutes mail an error response only once" Author: "Andre Venter" ] secure none sites: [ "Site 1" http//www.site1.com "1" "Site 2" http//www.site2.com "1" "Page2" http//www.site1.com/page2.htm "1" ] while [ true ][ foreach [name url status] sites [ start: fourth now either error? try [read url][ if status = "1" [ message: reform ["Rebol Alert:" name "is down!"] send [EMAIL PROTECTED] message ; ---//insert your mail adr. here change status "0"] ] [change status "1"] stop: fourth now if stop - start = 0:00:45 [ ; ---// change timeout to suite your needs if status = "1" [ message: reform ["Rebol Alert:" name "timed out!"] send [EMAIL PROTECTED] message ; ---//insert your mail adr. here ] ] ] print reform [fourth now "Pausing for 5 min"] wait 0:05:00 ; //change to suite your needs ] ---snip-- PS. many, many thanks to all for all the tips, insights and inspiration! Rebol On! Andre Venter [EMAIL PROTECTED]
[REBOL] Everything is relative... hmmm... Re:(2)
Hi , 28-Oct-1999 you wrote: Sorry about having that opinion - I'm not a fanatic physicist, but do know that the point of Einstein's relativity theory is that the speed of light is constant (i.e., /not/ relative), and I'm generally tired of cases of science You are right, but that implies (in general relativity) that even space and time are relative to the observer. There is no absolute space or time, and even if any observer would explain the universe with the same law, each observer would see a "different" universe. 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 "relative". (Besides, as far as I remember, "Relative Expression-Based Object Language" was made up _after_ the name "REBOL" was decided upon...) Sure, we all have our visions, but trying to sell a product from this kind of claim is not fair (nor honourable), IMHO. Anyway, I did mean the sentence "sorry about having that opinion", as I know it's probably of the deepest irrelevance to the great people at REBOL Tech. Anyway, now I've had room for my frustration ;-) BTW, if REBOL Tech. _do_ want to cite Einstein, better make it "Everything should be as simple as possible, but not simpler". That fits REBOL a lot more, I guess. Kind regards, -- Ole Friis [EMAIL PROTECTED] "Ignorance is bliss" (Cypher, The Matrix)
[REBOL] OpenBSD port Re:
On Tue, 26 Oct 1999 [EMAIL PROTECTED] wrote: Hello, I managed to get the OpenBSD port to work by symlinking a few things that were linked in the binary. The termcap file had changed, as I did the same when the openbsd/m68k port showed up to get it to run on netbsd/m68k, I never understood the point of having two versions when you have to link up anyways. Are netbsd and openbsd really that different that they require different builds? Kolbjørn Barmen |a3k/o6o/6o4e/AmigaOS/MacOS/LinuxPPC |// T e a m [EMAIL PROTECTED] | a12ooCT/o3o/Linux-m68k a6oo/o3o/AmigaOS | \XX/ A M I G A Nettverksgruppa |"I met the Amiga and fell in love..." | amiga.nvg.org »» Norwegian University of Technology and Science ««
[REBOL] Declaring Arrays
Is it possible to use a variable to declare the size of an array ? my-array: array [3] When using j: 3 my-array array[j] or j: 3 my-array: array[:j] I get the error ** User Error: Integer size required. ** Where: make error! "Integer size required" Cheers Phil
[REBOL] OpenBSD port Re:(2)
On Thu, 28 Oct 1999 [EMAIL PROTECTED] wrote: Are netbsd and openbsd really that different that they require different builds? i doubt it. but symlinking libraries will still be necessary. Would be nice if someone build a new rebol binary on OpenBSD 2.6. .truman.
[REBOL] epoch? Re:
On Thu, 28 Oct 1999 [EMAIL PROTECTED] wrote: In Perl *shudder* and Unix, you can use the number of seconds from the Epoch (January 1, 1970) in programs. How can I do this in Rebol; i.e. get the number of seconds from the Epoch? --Ralph Well, here's a rather ugly piece of code that should take care of it. I think. I'm using it in my IRC client. Maybe the date datatype has a /path that does this, I don't know. date-to-integer: func [ date /local the-date the-time ][ the-time: date/time the-date: make date! reduce [ date/year date/month date/day ] (the-date - 1970-1-1) * 86400 + (the-time/hour * 3600) + (the-time/minute * 60) + the-time/second ] /Martin Johannesson, [EMAIL PROTECTED]
[REBOL] Selma Re:
Welcome to the REBOL email list. Thanks for joining in the discussion. This email list is run by a REBOL script named SELMA: Simple Email List-Managing Applet. Here is some helpful information: Commands to REBOL SELMA are given on the subject line of your message. These commands are currently supported: help - get this information suggest - make a suggestion about the list selma-source - get the current source code to SELMA get msg N - send yourself message #N subscribe - add yourself to the list unsubscribe - remove yourself from the list No other commands are provided at this time. -SELMA At 02:06 p.m. 28/10/99 -0400, you wrote: Hello All, Where can one get a copy of SELMA??? This email list server? Regards, Philip M. McDonnell -- Luis Marzulli e-mail: [EMAIL PROTECTED] Caracas, VENEZUELA -- Earn money when you or your friends are on the Web click -- http://www.alladvantage.com/go.asp?refid=BXX890
[REBOL] Declaring Arrays Re:
Hi Phil! [EMAIL PROTECTED] wrote: Is it possible to use a variable to declare the size of an array ? my-array: array [3] I see your problem right here. You don't declare arrays, you create arrays, like this: my-array: array 3 == [none none none] Note that array is a function, which can take any integer or block value as a parameter. To use a variable you do something like this: j: 3 ; Assigning 3 to j (no declaration needed) == 3 my-array: array j ; A function call, not a declaration == [none none none] my-array: array reduce [j] ; reduce needed to evaluate j here == [none none none] my-array: array [3 3] ; multidimensional == [[none none none] [none none none] [none none none]] See? Brian
[REBOL] epoch? Re:
Hi Maybe can be optimized ; 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) ; regards At 04:57 p.m. 28/10/99 -0400, you wrote: In Perl *shudder* and Unix, you can use the number of seconds from the Epoch (January 1, 1970) in programs. How can I do this in Rebol; i.e. get the number of seconds from the Epoch? --Ralph -- Lourdes Yero e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] web site: http://www.geocities.com/RainForest/4672/ Caracas, VENEZUELA
[REBOL] Declaring Arrays Re:
Hi Phil, you wrote: [snipped around] j: 3 my-array array[j] my-array: array[:j] I get the error Try j: 3 == 3 my-array array reduce [j] == [none none none] Elan
[REBOL] Selma Re:
Philip M. McDonnell wrote: Where can one get a copy of SELMA??? This email list server? Send an email to this list with a subject line having only: help in it and all shall be revealed, including the answer to your question. Andrew Martin REBOL mystic... [EMAIL PROTECTED] http://members.xoom.com/AndrewMartin/ Online @ 33,600 Baud! --
[REBOL] none
help
[REBOL] Extraction Re:
Hi Chuck, I'm just going to point you in the right direction, without giving you a precise answer, as I believe everyone who wants to get the most out of REBOL needs to take the time to learn the power of Parse. So your answer lies in here http://www.rebol.com/user-guide/parse.html And here's a hint data: copy "" page: read bigpage.html#section1 parse page [skip thru "!-- content block A --" copy data to "!--end content block A --"] write/append destination1.html data Cheers, Allen K -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 29 October 1999 5:11 AM To: [EMAIL PROTECTED] Subject: [REBOL] Extraction Howdy, I'm trying to figure out how to extract blocks from one file into their own respective pages. Here's what I'm trying with no success: write/append destination1.html read bigpage.html#section1 write/append destination1.html read bigpage.html#section2 write/append destination1.html read bigpage.html#section3 write/append destination2.html read bigpage.html#section1 write/append destination2.html read bigpage.html#section2 etc... Essentially, I'm trying to extract all content blocks (including the comments) from bigpage.html to destination(number).html: !-- content block A -- some content some more and last !-- end content block A -- !-- content block B -- some more content, but different some more !-- end content block B -- etc... My bigpage.html file has about 180 content blocks, and those ~180 content blocks need to be extracted to 12 different destination pages. As always, I've consulted the trinity and tried to hack this before asking for your help. Thank you for any help in advance. Peace, Chuck [EMAIL PROTECTED] - This message has been posted from Mail2Web (http://www.mail2web.com/) Web Hosting for $9.95 per month! Visit: (http://www.yourhosting.com/) -
[REBOL] epoch? Re:(2)
While we're on the subject of optimization, how about this? now - 1-1-1970 * 86400 Have fun! On 28-Oct-1999/19:08:32+4:00, [EMAIL PROTECTED] wrote: Hi Maybe can be optimized ; 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) ; regards At 04:57 p.m. 28/10/99 -0400, you wrote: In Perl *shudder* and Unix, you can use the number of seconds from the Epoch (January 1, 1970) in programs. How can I do this in Rebol; i.e. get the number of seconds from the Epoch? --Ralph -- Lourdes Yero e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] e-mail: [EMAIL PROTECTED] web site: http://www.geocities.com/RainForest/4672/ Caracas, VENEZUELA -- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) Download the REBOL Messaging Language for all Platforms
[REBOL] epoch? Re:(2)
Another good solution! Thanks for the help from Sweden; it makes me proud to drive a Volvo (I really do). Best, --Ralph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 28, 1999 5:54 PM To: [EMAIL PROTECTED] Subject: [REBOL] epoch? Re: On Thu, 28 Oct 1999 [EMAIL PROTECTED] wrote: In Perl *shudder* and Unix, you can use the number of seconds from the Epoch (January 1, 1970) in programs. How can I do this in Rebol; i.e. get the number of seconds from the Epoch? --Ralph Well, here's a rather ugly piece of code that should take care of it. I think. I'm using it in my IRC client. Maybe the date datatype has a /path that does this, I don't know. date-to-integer: func [ date /local the-date the-time ][ the-time: date/time the-date: make date! reduce [ date/year date/month date/day ] (the-date - 1970-1-1) * 86400 + (the-time/hour * 3600) + (the-time/minute * 60) + the-time/second ] /Martin Johannesson, [EMAIL PROTECTED]
[REBOL] Re: Rethink - new real markets (was) Rebol website update :-) Re:(12)
Hello Russ, On 29-Oct-99, [EMAIL PROTECTED] wrote: PS -- Perhaps further discussion of this should be done off this list, as I'm not sure that many here are interested in these topics, and I think REBOL's position is now clear. Anyone interested may feel free to Email me directly. I think it's interesting even if I'm not really into that field and don't have much to comment on it myself. I delete the mails after I've read them, because they contain no code :-), but they are worth reading. Regards -- Anton
[REBOL] New REBOL Dictionary, Beta 2.2
A new REBOL Dictionary has just been posted to our site. Thousands of changes have been made. New words, new descriptions, new examples, new links, and much more. http://www.rebol.com/dictionary.html (374K) Or, you can download the REBOL compressed version: http://www.rebol.com/dictcomp.r (82K) If you find errors, let us know at [EMAIL PROTECTED] We still have additional improvements that we want to make, but we didn't want to delay publishing what we've got. We will also be adding new index tables that will include only words for particular categories (like the old Alpha version of the dictionary). -Carl
[REBOL] Everything is relative... hmmm... Re:(4)
Always been one of my favorites. But, also overused. -Carl At 10/28/99 04:42 PM -0400, you wrote: BTW, if REBOL Tech. _do_ want to cite Einstein, better make it "Everything should be as simple as possible, but not simpler". That fits REBOL a lot more, I guess. Nice quote. That's one of the ones they use on one of the Waba pages: http://www.wabasoft.com/spec.html. (Waba is a programming platform for small devices such as the Palm and Windows CE P/PCs and H/PCs.) I haven't downloaded the 2.2 beta yet but I'm looking forward to using the console features on a Windows CE handheld PC. /jonathan
[REBOL] Declaring Arrays Re:
Phil, Try my-array: array j Jerry
[REBOL] (no subject)
unsubscribe
[REBOL] New REBOL Dictionary, Beta 2.2 Re:
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, Cheryl - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 9:03 PM Subject: [REBOL] New REBOL Dictionary, Beta 2.2 A new REBOL Dictionary has just been posted to our site. Thousands of changes have been made. New words, new descriptions, new examples, new links, and much more. http://www.rebol.com/dictionary.html (374K) Or, you can download the REBOL compressed version: http://www.rebol.com/dictcomp.r (82K) If you find errors, let us know at [EMAIL PROTECTED] We still have additional improvements that we want to make, but we didn't want to delay publishing what we've got. We will also be adding new index tables that will include only words for particular categories (like the old Alpha version of the dictionary). -Carl
[REBOL] epoch? Re:(4)
You mean to use 31-12-1969 At 10:40 PM 10/28/99 -0400, you wrote: Elegant, except it's one day off ... should be now - 12-31-1969 * 86400, except that gives an invalid date.
[REBOL] epoch? Re:(5)
REBOL *must* be basing dates on a stored Julian day number. They should give us a word 'julian that returns the julian day no for a given date, and some other word to convert it to a date. The Julian day number accounts for leapyears, number of days in each month, etc. There are a number of "epoch" dates corresponding to Julian day number zero. EG 1 jan 1978, another in the 15 or 14 century, etc. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 8:53 PM Subject: [REBOL] epoch? Re:(4) You mean to use 31-12-1969 At 10:40 PM 10/28/99 -0400, you wrote: Elegant, except it's one day off ... should be now - 12-31-1969 * 86400, except that gives an invalid date.
[REBOL] Multiple REBOL
Hello, Does anyone know if you can run multiple copies of REBOL??? Like two different listservers? Regards, Philip M. McDonnell
[REBOL] epoch? Re:(6)
Hi, Try this: t: now/date == 28-Oct-1999 t/julian == 301 1-jan-1999 + 300 == 28-Oct-1999 - jim At 09:56 PM 10/28/99 -0700, you wrote: REBOL *must* be basing dates on a stored Julian day number. They should give us a word 'julian that returns the julian day no for a given date, and some other word to convert it to a date. The Julian day number accounts for leapyears, number of days in each month, etc. There are a number of "epoch" dates corresponding to Julian day number zero. EG 1 jan 1978, another in the 15 or 14 century, etc. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 8:53 PM Subject: [REBOL] epoch? Re:(4) You mean to use 31-12-1969 At 10:40 PM 10/28/99 -0400, you wrote: Elegant, except it's one day off ... should be now - 12-31-1969 * 86400, except that gives an invalid date.
[REBOL] Multiple REBOL Re:
Hi Philip, There shouldn't be any problem. - jim At 01:50 AM 10/29/99 -0400, you wrote: Hello, Does anyone know if you can run multiple copies of REBOL??? Like two different listservers? Regards, Philip M. McDonnell
[REBOL] Multiple REBOL Re:(2)
Thanks, Another question how do I get the other files I need to set up a list server like this one, I d/l'ed the source for SELMA (this list server) but it needs other files to run like users.r theword.r, etc.. Regards, Philip M. McDonnell - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 28, 1999 10:57 PM Subject: [REBOL] Multiple REBOL Re: Hi Philip, There shouldn't be any problem. - jim At 01:50 AM 10/29/99 -0400, you wrote: Hello, Does anyone know if you can run multiple copies of REBOL??? Like two different listservers? Regards, Philip M. McDonnell