[REBOL] Re: tbrownell@shaw.ca
On Mon, 18 Feb 2002, Scot wrote: Hi, Thought I'd respond off list for this. I've been lurking for a couple months becuase I'm doing some research on whether or not Rebol can be a viable option in a project I'm involved with. I've asked a few questions on the list as well, but from what I can see, Rebol programmers aren't interested (in general) in revenue generating projects but rather new ways to add 1 +2. shouldn't that be 1 + 2 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: tbrownell@shaw.ca
If anyone's read Neal Stephenson's hefty volume, Cryptonomicon, it contains a rather close semblence to what's going on here. Essentially, a small company which has some lofty goal, but before it can get to the really fun stuff, they have to come up with killer apps to give them the extra seed money. No venture capitalist puts money into a pure research group. Who knows what the ultimate goals for CarlS et al are. But the fact of the matter is, they need money. They need to eat, pay bills, etc. The hope for many of us should be that IOS takes off and becomes a grand success. Then, additional people can be hired to take on various other jobs, so the developers can stick just to developing, and not having to manage departmental budgets, for instance. And, once the main product has enough momentum, you can shrug off the patching and updating work to interns, while your big brains get to work on the good stuff. Then we can see leaps and bounds in the fundamentals of REBOL, and further support for us moochers (I'm a hobbyist, so it's not worth it, to me, to purchase the full-on product, not at current rates), so we can continue to spread the plague, so to speak. If more people use free versions of REBOL, and it's good, very very good, more people will be likely to want to procure the high-end stuff to support REBOL development LANs and servers in general, to take advantage of this. Hmm... I'm fantasizing again. I'm stopping now. --Charles Carl Read wrote: On 19-Feb-02, Scot wrote: Folks, sorry for this post. It was meant for someone off the list and I made a mistake with sending the message. It's what's known as a Freudian Post. (: And after all - why to hide behind the words? You have some pretty valid points, especially those of RTs image to Rebol community. They are so concentrated upon IOS, that they left community with nearly one year without technology update. But hopefully, - this will change soon ... -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)
and only occasionally needed that it misses on both of the criteria mentioned above. See, this is why we need distributed libraries, so people can submit to math.rlib math functions, so we don't have to keep snooping for snippets, or bugging RT with these issues. ;) --Charles I realize that this is not a perfect model (given the existence of such trivial shortcuts as CONTEXT, DOES, and HAS) but nobody's perfect! ;-) -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
Hi Joel, Joel ... (The concept of continuation occurs nowhere that I've found in REBOL documentation nor practice.) ... /Joel The continuations are like the tail recursion, they were present in 1.x version, but they aren't there now. As opposed to the tail recursion, nobody seems to be missing them... Cheers Ladislav -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ANN: Rebol/Flash dialect updated
Hi Oldes, I noticed your comment about Rebol/View 1.2.1 crashing and to use an older version. I'm guessing this is because of the DEBASE function. I've made a work around for debase - see below (watch line wrapping). Regards, Brett. if all [ equal? View first parse to-string system/product / find/match form system/version 1.2.1. ] [ debase: function [ {Converts a string from a different base representation to binary. Note: This is a patched version.} value [any-string!] The string to convert /base {Allow a selection of a different base for conversion} base-value [integer!] The base to convert from: 64, 16, or 2 ] [tmp] [ if not base [base-value: system/options/binary-base] if not found? find [64 16 2] base-value [return none] tmp: either string? value [copy value] [to-string value] RETURN first load/all append insert tmp compose [(base-value) #{] } ] ] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: tbrownell@shaw.ca
H Who was it that defined Freudian slip as being when you say one thing, but mean your mother ? ;-) Carl Read wrote: On 19-Feb-02, Scot wrote: Folks, sorry for this post. It was meant for someone off the list and I made a mistake with sending the message. It's what's known as a Freudian Post. (: -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
On 19-Feb-02, Gregg Irwin wrote: Hi Terry, But I can't help thinking that that there's something fundamentally wrong with all languages. Instinct would tell me that dialects are on the right track. Somewhere out there must be the killer dialect. I think there can't be just one killer dialect. There will be hundreds, or thousands, of dialects, and that is the key. But what intrigues me more is the lack of cooperation to accomplish ANYTHING. There is 1000 times more talk on which is the better language, then doing something truly constructive with any of em. Human nature maybe? I've made numerous attempts on this list to get organized and form some think tanks or whatever, with nay a single response?? What gives? My only guess is that the Rebol community, or at least the part that actually reads these posts, is really rather small. The law of big numbers would have kicked in had their been a big number of readers, and someone, anyone, would have responded... surely. I believe there are a number of projects under development by the ML members here but, alas, many just fade away because of attrition or cirucmstance (rebmail and Glass come to mind). Ammon Johnson is working on an IDE for REBOL, Carl Read and I are hoping to find time to work on a bot-wars game kinda' thingy, Rugby, Garbriele's DBMS, Make-doc-pro, a standard library, Andrew's eText, Ladislav's higher-fun stuff, and many others. Most projects are the labor-of-love of a single person who then contributes them to the community. I don't disagree with you, though, I just don't have any answers. :) Apart from the above thingy, I was also involved in the Reb World idea, which was intended to be a kind of distributed game world. (Roughly speaking.) Out of that came Ryan Cole's 3D engine written in View, a script I wrote for displaying a web-page glossary of the terms we were creating for Reb World and a game-server (I think it was) by someone else, though Reb World itself never happened. (Though it'd just require one or two to start working on it again to perhaps get it up and running - assuming its mailing list still works.) Why it didn't happen is hard to say, though here's a few of my thoughts on the matter: 1) The originator of the idea had quite a simple concept of text-adventure style games being linked across the Net web-site style, yet many who joined the list were thinking real-time 3D from the beginning. So it was decided to attempt to take a range of gaming styles into account, from text-adventure right up to real-time 3D, which of course required a much grander design than the original idea would've needed. To begin with, I think we just aimed too high. This may have been a case of leaning towards The Right Thing way of doing it than Worse is Better. 2) There wasn't a strong leader, meaning it may have been a bit too democratic to get off the ground. The three scripts mentioned above were really individuals doing their own thing. No one had said this and that needed to be done, though as the interest in the idea died out before even a first draft of a design for Reb World appeared, what needed to be done couldn't yet be decided on anyway. 3) And that lack of a design was also one of its problems I think. Ideally a first draft from someone should've existed before the mailing list was set up, then we could've fleshed it out and started working on it, instead of just talking about what the design should be and trying to throw everything and the kitchen sink into it. From all that, I'd say that if anyone's wanting to work on a colaborative project, it should start out focused on someone's already existing design - or, after a brain-storming session on the idea, those who want to should come up with their own individual designs and the group should choose one of them as the basis for the project. I've taken Rebol and created a 'bot' that can read, comprehend, and answer questions on whatever it's just read (In discussions with biography.com on that one) ... developed the world's most advanced chatterbot, the world's most HAL 9000ish system on the planet to date (check out a demo conversation at http://24.77.230.151/lfred/demos/lfred.mp3) and yet no one seems to care? Well, I listened to it when you posted the URL a week or so ago, and passed the URL onto someone else who's interested in the idea of talking to computers. His comment was... Well, they were right about it being the most natural-sounding computer generated speech I've heard. You can still tell it is a machine, but it is very close. For that matter, the guy asking the questions doesn't sound entirely human :) If I'd replied to the list, all I could really say was that sounded very good or some such, and too many of those kinds of posts tend to clutter up a list. Also, while I do have a few views on talking to computers, they're mostly negative and along the lines that I don't think it's a very
[REBOL] Holger, anyone? TCP performance (was) Re: [testing rugby-core]
Hi, I don't want to talk Rugby here now, but let's look at figures below once again please. I first thought the slow Rebol tcp communication concerns only Czech W95 + W98, but Pat is surely not using Czech Windows. pat665 wrote: Hi petr Following your request, I have tested rugby-core versus rugby-xpi. Here are the results : rugby-core (http) - duration 0:00:59.98 rugby-xpi (tcp) - duration 0:00:41.85 rugby-xpi (http) - duration 0:00:40.7 So, loop of 100 echos lasts some 40 sec on W9x, while on W2K it is some 100 - 150 request pers second! I would be really interested what is happening with W9x TCP stack, and why it lags. Does it use delayed ACK? Does it really matter what technique it uses in the background? Maybe more ppl here could try below mentioned Rugby tests? console1: do %rugby.r serve/with [echo] tcp://:8005 console2: do %rugby.r do get-rugby-service http://localhost:8005 start: now/time/precise loop 100 [echo test] print now/time/precise - start I can't believe the lag is caused by Rugby architecture, it has to be something under the hood of Windows API, and maybe some set-modes could be used for tcp ports to tweak the performance Thanks a lot, -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Demo of Rebol powered Knowledge Bot
Hi, Terry, I'd be interested to try it, but when I go to the site I get a broken image graphic on the top right section of the page. I'm using Netscape Communicator 4.73. Does the tag META content=MSHTML 6.00.2712.300 name=GENERATOR indicate that you're using some sort of Redmond product to create your pages? Terry Brownell wrote: Try it for yourself, just enter your question in the text box on the top of our homepage www.LFReD.com -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ANN: Rugby configurable (with compression)
Well, first I had to getthe basics right (including the threading engine). I am thinking along these lines as well. I think you will have a Rugby 'team' witha 'coach' or so --Maarten Paul Tretter wrote: H... why stop there... consider making rugby run in a cluster. Two rugby servers that can communication and exchange operational parameters on a per transaction (communication) basis. For example, send a request to the server and it goes to both servers. One will allow the other to process the request (the master rugby server) while the (slave rugby server) monitors the processing of the master server. If the master server communications fail then the slave rugby server processes the request. Maybe a new REBOL clustering transaction protocol and cluster server app. Damn to much brain storming in so little time. Well, another level I suggested to Maarten for Rugby was - Rebol 'cluster - transparent propagation of functionality. Rebol clustering servers would just exchange exposed functionality, so call to any of them would do the work, but well, it needs probably some deep thinking before implementation -pekr- till next beer... Paul Tretter -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: SOAP and its performance ...
There was some discussion ongoing on one Czech server, regarding Ms.NET. Ppl talked SOAP there, and many of them were negative about XML based communication at all. One person told us, that they tried to use SOAP for their solution and ended up in 1000% more complex solution ... http://aspn.activestate.com/ASPN/Mail/Message/DevelopMentor-SOAP/825909 Latency Performance of SOAP Implementations - http://www.caip.rutgers.edu/TASSL/Papers/p2p-p2pws02-soap.pdf Soap + Apache - http://lists.ebxml.org/archives/ebxml-tp/200104/msg00098.html Maarten, what do you think - how would Rugby compare? :-) Rugby is definitely in the CORBA / RMI range performance wise. Depending on your hardware of course ;-) I think that you get fully secure Rugby for a better performance than SOAP. So for those wondering if Rugby is useful in the enterprise. draw your own conclusions. --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Applying Focus
At 00.13 19/02/02, you wrote: I think that the 'field flag should be enouph to highlit, look at the source of focus: I think that that FAQ comes from earlier versions of FOCUS that did not highlight text (I don't remember if it was in xpers or in 1.1...). Regards, Gabriele. -- Gabriele Santilli [EMAIL PROTECTED] -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Email addresses
On 19-Feb-02, Terry Brownell wrote: What's more embarassing is when one's e-mail address becomes a thread subject. Yes, not too good, and on a related note, I'd twigged recently that while the escribe archives of this list don't display the email address of the poster, email addresses within the body of the email do appear. See... http://www.escribe.com/internet/rebol/index.html So out of respect it might be a good idea to ensure our mailers are not adding email addresses unnecessarily to the body of our messages when we hit Reply. Hope those spam filters are kicking in. TB -- Carl Read -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] NQLi...
Some time back the list mentions some of RT's potential competitors with NQLi being one of them. Came across this PR news... and it seems that NQL is going to be another example where the push for adoption is becoming increasingly difficult URL as follows: http://www.nqli.com/pr02.htm -- Attached file included as plaintext by Listar -- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Rugby performance starting to fade ...
Hi, as there is some problem with tcp performance on W9x machines (tests for 100x call to echo function is some 44 sec regardless of machine being P300 or P650), I gave Rugby a test on W2K, 1.4 Athlon XP machine Could some of you, help here with some profiling, please? console1: do %rugby.r serve/with [echo] tcp://:8005 console2: do %rugby.r do get-rugby-service http://localhost:8005 s: now/time/precise loop 100 [echo test] print now/time/precise - s I received the performance of some 8 - 9 sec, while older Rugby 4.3 gives 0.59 sec on the some machine! Now, - I am doing something wrong, or just new version of Rugby have to use some more complexity but the performance drop is, imo, too big to be acceptable, if changes are not significant ... So, actually, Maarten - have you performed any benchmarking yourself? I looked at some sources, and while you refused my proposed unified /secure refinement usage, to have simply secure and non-secure (default) behavior separated, you seem to mix those two levels in 'chain function (too much 'either function usage), and you also add complexity to compose/decompose message functions, because of your new dialect. Most ppl using Rugby surely do regard Rugby being a cool product, but we should be probably more carefull with sudden changes. So, - what is the reason of a slowdown? I also performed following simple tests, so, could too much function call granularity or conditions cause any performance hit in practice? (I performed each test twice, to avoid random result times) - huh: ble == ble - s: now/time/precise loop 1'000'000 [c: huh] now/time/precise - s == 0:00:00.77 - s: now/time/precise loop 1'000'000 [c: huh] now/time/precise - s == 0:00:00.77 - s: now/time/precise loop 1'000'000 [either huh [c: huh][c: huh]] now/time/precise - s == 0:00:02.96 - s: now/time/precise loop 1'000'000 [either huh [c: huh][c: huh]] now/time/precise - s == 0:00:02.96 - s: now/time/precise loop 1'000'000 [either huh [c: huh][c: huh]] now/time/precise - s == 0:00:02.97 - f: does [c: huh] - s: now/time/precise loop 1'000'000 [f] now/time/precise - s == 0:00:01.54 - s: now/time/precise loop 1'000'000 [f] now/time/precise - s == 0:00:01.59 btw: is there enought ppl intereste in/using Rugby, to create separate yahoo group for it? Maybe we could discuss it more deeply in there. But then our main Rugby guru would have to agree he has good intentions to keep Rugby going ;-) Anyone? -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Binary reading from stdin
At 18.42 18/02/02, you wrote: that's exactly what i do - but it does not seem to work. i'm quite sure that it's the fault of my program (not the callers fault). How is your program called? On what platform? Regards, Gabriele. -- Gabriele Santilli [EMAIL PROTECTED] -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
Hi Ladislav, IIRC it was said tail recursion will return to Rebol in the future? -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] ANN: rebxr standalone edition available
Hi All, Just uploaded rebxr (XML-RPC for REBOL) standalone edition. It is Andreas' fine XML-RPC stuff built into a standalone mini-webserver. [ the one from Rugby] Find it at: http://www.rebolforces.com/~erebol --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rugby performace starting to fade
On my PII 300Mhz, 64 Meg of memory: 100 reqs/ 1.9 sec with the latest release. On Linux 2.4.x DO you have any firewalls, alarms etc. Rugby uses http and if all your requests are 'analyzed' that explains a lot of the slowdown. It must be something like that, 'cause my WinMe 200Mhz K6 has something like 30 req/sec It clearly is a configuration problem on *your* side, so I wish you'd stop saying that Rugby has bad performance. It is simply not true. --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] read daytime://
Hi rebol-listers, Wanted to test the 'daytime:// protocol, but got always this error : ** Access Error: Cannot connect to 138.96.64.10 ** Where: open-proto ** Near: read daytime://138.96.64.10 Couldn't find any ntp that works. Is there a known bug or have I to modify something to give more time to the connection ?? Thanks to all of you, I read this list with great interrest. -- AmitiƩs, Ronald -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Holger, anyone? TCP performance (was) Re: [testing rugby-core]
Who did the test on W2K then? I do Linux, and I can't recall having seen W2K? IIRC W2K has a brand new TCP/IP stack indeed. OTOH, I didn't have those problems on WinME. Sigh. --Maarten Hi, I don't want to talk Rugby here now, but let's look at figures below once again please. I first thought the slow Rebol tcp communication concerns only Czech W95 + W98, but Pat is surely not using Czech Windows. pat665 wrote: Hi petr Following your request, I have tested rugby-core versus rugby-xpi. Here are the results : rugby-core (http) - duration 0:00:59.98 rugby-xpi (tcp) - duration 0:00:41.85 rugby-xpi (http) - duration 0:00:40.7 So, loop of 100 echos lasts some 40 sec on W9x, while on W2K it is some 100 - 150 request pers second! I would be really interested what is happening with W9x TCP stack, and why it lags. Does it use delayed ACK? Does it really matter what technique it uses in the background? Maybe more ppl here could try below mentioned Rugby tests? console1: do %rugby.r serve/with [echo] tcp://:8005 console2: do %rugby.r do get-rugby-service http://localhost:8005 start: now/time/precise loop 100 [echo test] print now/time/precise - start I can't believe the lag is caused by Rugby architecture, it has to be something under the hood of Windows API, and maybe some set-modes could be used for tcp ports to tweak the performance Thanks a lot, -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] You Asked For It. A Rebol/LFReD Interface
Ok, here's one... Rebol [Title: Rebol/LFReD Interface] M2: No response. view layout [ backdrop effect [gradient 1x1 50.50.50 200.200.100] Text Insert Query, Hit Enter White a: field 300 white across m: info 300x150 white wrap s4: slider 14x150 [scroll-para m s4] return button 0x0 #^m[c: to-url a/text m1: read join http://24.77.230.151/cgi/meet.lfred?LFReDName=+=LFReD=+said= c parse m1 [thru p copy m2 to br] m/text: m2 show m a/text: show a] ] As well, I'll create a little Rebol Question and Answer Journal project that will... a.. Allow declarations to be made on Rebol subjects by anyone. b.. Allow Natural Language Queries on those declarations. For example, one might make the declaration... A backdrop can be a color, an effect, an image, or a combination of the three. For example a backdrop color would be written as: backdrop navy ... which could then be queried like How do I change the background color or Can I add an effect to a backdrop? etc. I'll make a new post Rebol QA Journal soon as it's ready. TBrownell -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] More benchmarks...
Hi All, After Petr's complaints I did some more benchmarks on my 1 Ghz Linux machine, doing his tests. loop 1000 [echo la] in Rugby. No compression: 305 reqs/sec Compression: 190 reqs/sec No Compression, but with security (Pro or Command only) 76 req/sec Results are stable between localhost and distributed tests now. This is very good. On faster hardware you should be able to get better results, if you don't have all kinds of personal firewalls active (unless you configure them properly). --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: More benchmarks...
Well, look at my a little bit longer message. There are now two areas of interest: - bad W95, W98SE performance but, maybe (and I think so) it has something to do with Windoze, than with Rebol or Rugby themselves ... - the need to add actual IP address to bypass block, if you use proxy. Adding loopback address there doesn't help. Maybe only some small change in the code is needed to correct that? Or is that the way it is supposed to be? Maarten Koopmans wrote: Hi All, After Petr's complaints I did some more benchmarks on my 1 Ghz Linux machine, doing his tests. loop 1000 [echo la] in Rugby. No compression: 305 reqs/sec hmm, 1.4 athlon, W2K, some 200 req/sec ... Linux seems to be faster in that regard, unless there are other factors which influence the test. However, both results are VERY nice. -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ANN: rebxr standalone edition available
Maarten Koopmans wrote: Hi All, Just uploaded rebxr (XML-RPC for REBOL) standalone edition. It is Andreas' fine XML-RPC stuff built into a standalone mini-webserver. [ the one from Rugby] the one from Rugby means hipe server? Or just more complete Rugby - simply - Rugby accepting xml-rpc request, instead of http ones? As for rebol library version 1.0 - what about adding Gavin's XML stuff, if he would agree upon it? Few users reported here it is cool piece of code. What do you think? Maybe even Anamonitor would be usefull? Maybe even MySQL and LRWP protocols? Well, at least from what I understand about the library it is a collection of fine, handy stuff, but maybe I am wrong? -pekr- Find it at: http://www.rebolforces.com/~erebol --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rugby performace starting to fade
Oh well, having 6 hours of sleep in two days (watching Czech ice hockey team in Salt Lake City ;-) I am really not prepared to hear something like that. Your reply suggest that I try to say something bad about Rugby intentionally, while just opposite is true. You skipped rest of my request, in which I ask someone else to confirm my results. In fact - I do care, as if I wouldn't, I would never try to download Rugby. The problem lays somewhere in between - if I want to know something about Rugby, I have to study source code, or just ask. Source code is being changed, so it is not all that easy to keep track of all the details. So what did I actually do when testing? I simply started 4 rebol consoles, all from one and the same directory, using the same config file! I ran one example using old Rugby, one example using new one, with results I posted. I got results I got, so what? My testing procedure seemed to be logical to me. Of course, after reading your response I gave it another try. Thre results dropped to nearly one minute, so I actually looked into proxy stuff. My user.r now holds one line setting system/schemes/default/proxy/bypass block, containing two of our company servers, as well as 127.0.0.1. But it also contains my local IP address. So I just added new IP address of machine I was performing tests on to the above mentioned bypass list, and the performance was back to half a second. I don't know why 127.0.0.1 is not ok anymore But - old Rugby was OK, while new versions require me to add each machine I run test on to the bypass block. I think that there is difference in Rugby 4.3 httpr or tunnel code and the one from current or XPi version. So, actually, where is the truth? Is it my bad config? Or your change in the code? How should I know? So, if you prefer only positive reports on ml which is here for developers to have some feedback, more than actual, maybe even incorrect test results, I can stop testing at all ... I don't know what exactly sigh means in your other response, but one conclusion - W2K code is OK, W9x is not. It was confirmed by Cyphre and Pat. Holger replied that it is maybe due Rugby's architecture. I can understand him, as he has not probably studied Rugby nor does he have enough free time to do so. He suggested to look at tcpdump data, but I have not found any free time to do such deeper investigation yet. Now I am not even sure I should care. I know where the problem lies - simply don't use W9x with Rugby and communication intensive stuff. W2K is OK. That's acceptable knowledge to me. You can put it in your doc, or you can forget reported data. OK, now I feel better ;-) -pekr- Maarten Koopmans wrote: On my PII 300Mhz, 64 Meg of memory: 100 reqs/ 1.9 sec with the latest release. On Linux 2.4.x DO you have any firewalls, alarms etc. Rugby uses http and if all your requests are 'analyzed' that explains a lot of the slowdown. It must be something like that, 'cause my WinMe 200Mhz K6 has something like 30 req/sec It clearly is a configuration problem on *your* side, so I wish you'd stop saying that Rugby has bad performance. It is simply not true. --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: specific position in area
Hi Brett, thanks for your reply. Your example may work when there is a defined word like somwhere in the text to be able to search for with find. But, what i need is to insert text at the cursor position in the text. little example: this is text when the cursor stands between is and text i want to be able to insert my at this position so that the result is this is my text. Is there any way to achieve this with rebol? Thorsten Hi, view layout [ a: area 500x300 { if i have an layout with an area containing some text and i want to to insert some text somewhere in a line, not the beginning or end with a click on a button, how can this be done. } button Insert now [ p: find/tail a/text somewhere insert p (like here) show a t/text: reform [Inserted at: index? p] show t ] t: text 200x25 white ] I hope this helps. Brett. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Demo of Rebol powered Knowledge Bot
Uses a floating frame, don't know if Netscape supports that yet. Do they still make netscape? :) TB - Original Message - From: Joel Neely [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 18, 2002 7:03 PM Subject: [REBOL] Re: Demo of Rebol powered Knowledge Bot Hi, Terry, I'd be interested to try it, but when I go to the site I get a broken image graphic on the top right section of the page. I'm using Netscape Communicator 4.73. Does the tag META content=MSHTML 6.00.2712.300 name=GENERATOR indicate that you're using some sort of Redmond product to create your pages? Terry Brownell wrote: Try it for yourself, just enter your question in the text box on the top of our homepage www.LFReD.com -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Freudian Posters = was : {Re: Re: tbrownell@shaw.ca}
Freudian Posters http://www.posterplanet.net/mansmind.htm ./Jason -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: read daytime://
Hallo Ronald, Wanted to test the 'daytime:// protocol, but got always this error : ** Access Error: Cannot connect to 138.96.64.10 ** Where: open-proto ** Near: read daytime://138.96.64.10 you are probably behind a firewall or a proxy that cuts the NTP port communication. Mario -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: intrusion alarm ???
Hallo again, Ronald! After sending of my last post, I got an intrusion alarm ... Uhm... I think that your firewall is preventing REBOL to work correctly, the daytime problem should be explained by this. I was very surprised by the backtrace : Service : mloadd monitoring tool Intruder IP : 207.69.132.8 Intruder name : rebol.com Whats happening ??? You probably connected to rebol.com with rebol (view, core,...?) and you are receiving back something. You should tell what you did before the firewall warning appeared. Your FW configuration is probably too restrictive. Mario -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: tbrownell@shaw.ca
you say one thing, but mean your mother ? ;-) LOL++ ))) ./Jason -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: FTPGadget M208 0.9.5 comments
Thank you Jason and Brett for your feedback. I REALLY appreciate this feedback, and in the case of Jason, I do understand why you wanted to post this here for RT as well. Let's agree up front though that any FTPGadget specific issues will be dealt with directly to www.ProGadget.com. I will work on getting one of those HTML based message board systems ASAP. I will address your RT related items here, and your FTPGadget items privately. 1. Q: 2. [arggh!!!] The main file display sucks :-(((. This is basically RT fault, and a generic REBOL/View problem... A: This is an INTERESTING issue. We (Prolific) plan to build this over time into a KICK ASS file rquester. Fully graphical, and able to do just about everything. Is this RT's responcibility? Possibly. Interestingly the first paper I ever submitted to Rebol/View's Doc was a Rebolquester. This is one of the two things I want. The other is an ever present spell checker (even in single line reguesters, like SUBJECT lines). RT Needs one, but the people in this group should be the ones that make it. It would prove how viable Rebol is. There is a simple but useful one that Carl wrote, use it as a base. And of note, we plan to build ours so that it can used seperatly, and from any application. Pretty much all your other comments will be added to the Do list, and then done :) Reichart... [EMAIL PROTECTED] -Original Message- From: Jason Cunliffe [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 11:02 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [REBOL] FTPGadget M208 0.9.5 comments Hi Following your post this morning to rebol mail list, I just downloaded FTPGadget M208 0.9.5 [Win98se] I am delighted you are doing this work. We were needing this myself for some projects :-) I sincerely wish you good luck.. I am posting this to REBOL list ebcuae I think it deserves community feedback. If people disagree, please say so ;-) Constructive Feedback: 1. [first impressions/confusions] After one enters a new FTP site and clicks 'connect' user is switched to main screen, but still has to slect the newly added site name from the right hand popup list. Instead it shoudl directly do this, since user has already clicked on a 'connect' button. 2. [arggh!!!] The main file display sucks :-((( This is basically RT fault, and a generic REBOL/View problem, because they have not yet delivered a viable file requestor. Perhasp IOS has fixed this. I hope so becuase if not it is doomed. Right now in /View everyone is obliged to develop their own to bring REBOL/View file requestors up to modern standards. So what's missing? - NO RESIZE problem: cannot resize either the whole digget or panes within it.. - TRUNCATED FILE NAMES file names are *hoplessly* truncated. For anyone connecting to a *nix web server this is essential - pathas and file name are long and peopel need to see what is going on to do anyhting useful. Otherwise forget it! same is true for local file system. I hope the whole REBOL community bashes on RT about these issues - STATUS MESSAGE With truncated names and no resize, at least the message status text area at bottom of FTPGadtget screen should display full as user moves mouse around. 3. [nitpicking] LOADING is geekspeak = connect is what your button says in FTP site page. CONNECTING is better than LOADING 4. When you mouseover [PARENT] the status prompt says click on [Parent] to go up wrong = user needs to *double-click* 5. [connection feedback issues] Once an FTP connection is made, somewhere you should display the username. I suggest in red type, right next to the green 'connected' status above remote file list. For example: I entered a site name TREES connecting to my server domain turbulence.org. 'TREES' show in the popup list, but as soons as I am connected, TREES now becomes 'turbulence.org' in the top conencted bar. This is quite confusing. I deliberately set TREES as my site name because there are lots of projects on turbulence.org and I want to maintain a handy distinction between them. I suggest you keep the user's named site as selected [such as 'TREES'], but once connected also display the full url and path below on a dedicated text line. WISHLIST: ** SSH2 secure file transfer hth ./Jason __ Jason Cunliffe [NOMADICS: Director art+design] tel/fax: +1 718 422-1078 [EMAIL PROTECTED] N 43:00.000' W 074:31.875' ALT:1144 ft 84 Henry Street #3C Brooklyn NY 11201 USA -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rugby performace starting to fade
Hi Petr, I don't want just positive reports, but the thing is that I was pretty sure that it was not Rugby, and well, I am sort of proud of it, so I kind of well you read it. You are right, I was not nice at least, sorry Did you win with ice hockey ? ;-) I don't get why you have to change things now. Rugby/http uses (and always has) rebols standard read, so... I don't know what is going on. System administration in your company? [I know we suffer from that sometimes] httpr simply does open/copy/close, so... I don't understand Holger's reply regarding Rugby's architecture. Don't they advertise with the fact that all scripts run the same on all platforms? --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: RSL / ANN: rebxr standalone edition available
Hi Petr, Rebxr is without Rugby, but based on hipe.r I would love to include mysql.r, anamonitor, high-fun, xml-to-... pdfmaker, flashcompiler, you name it. But... I cannot go after everybody If you want to contribute to RSL the scheme is: - accompany your files with a README in make-spec format - a BSD style license, as RSL needs to be usable for everybody without any restrictions will RSL/Rebol succeed. I'll add it in a subdirectory to RSL and publish a new version. --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
http://ll1.mit.edu/marshall.html From: Joel Neely [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] Re: MIT article on rebol and other languages Date: Tue, 19 Feb 2002 06:28:02 -0600 Hi, Ladislav, Ladislav Mecir wrote: The continuations are like the tail recursion, they were present in 1.x version, but they aren't there now. Do you (or anyone else) have any information on how tail recursion was handled in 1.x? I'd be really interested in anything available... As opposed to the tail recursion, nobody seems to be missing them... With all due respect to present company, perhaps it's due to the fact that continuations are not that well known. TRY covers some of the common uses, but there are still interesting applications (I think of things like Rugby...) Again, just for my own edification, I'd really appreciate anything anyone has on how that was done/appeared in 1.x. -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] About CONTINUATIONS
from the REBOL 1.x user guide . Continuation The catch function allows you to return to a specified point in a script using a method called continuation. A continuation is a saved point in the flow of execution that can be called and returned to at a later time. Think of it as a bookmark that saves your location and current context. Continuations are first class. They can be stored in variables, passed as arguments, and returned from functions. As such, they provide a powerful mechanism for advanced scripting in REBOL #8212; especially for handling operations such as exceptions. To use catch you provide a symbol and a block: catch symbol body The symbol is used as the name for a new function which holds the continuation point. This function becomes available within the context of the body block, where it can be called to return to the point just after the catch. Think of it as a throw function if you are familiar with that concept from other languages. It takes one argument: a value which will be returned as the result of the catch. print catch 'throw [ loop 100 [ if (random 10) 5 [throw hit] ] miss ] The symbol throw is used here as the name of the continuation function. When it is applied, its argument is used as the return from its associated catch. In the above example, its behavior is identical to a return function. Non-local Return The function named by catch is local to the block passed to catch. However, there may be times when you want to return from functions called outside the block. To do so, define a word outside the context of the block to hold the continuation function. rand-it: func [num] [ loop num [ if (random num) (num / 2) [resume hit] ] miss ] print catch 'throw [ resume: :throw rand-it 100 ] Here the word resume is given the function value of throw and is used outside the block as a non-local return to the catch. True Continuation With the indefinite extent concept discussed later, continuations can be preserved even beyond the return point of the catch. If after the example above, you were to write the line: resume test you would return to the same point as before #8212; just after the catch #8212; and the test string would be passed to the print function. Note that the entire context of the catch is preserved. Here is another example: times: func [num] [num * catch 'here [resume-times: :here 1]] result: times 1 print result if result 100 [resume-times (result * 3)] In this example, the catch marks the return point within the function times. When the resume-times function is applied, it passes a new value back to the multiplication. Notice that even the return point from times is preserved! The assignment to result and print result are all done again, because they follow the initial call to times. end of snip .. I started using REBOL just on the cusp of the version 2.x changeover, Brian Hawley Daan Oosterveld did have old windows versions of REBOL 1.x but Iam not sure if they still do or if they're even still on this list. LADISLAV, I've studied Continuations A LOT recently, albeit the Scheme CALL-WITH-CURRENT-CONTINUATION ( abreviated Call/cc ) type and although it appears the REBOL 1.x type of conitinuations are not as powerful as Scheme I THINK IT'S A SHAME REBOL lost these capabilities along with proper tail recursion. If anybody wants to learn more about this then go to http://www.scheme.com where Kent Dybvig has LOADS of information and literature about continuations, proper tail recursion etc. as well as an excellent freely available Scheme implmentation to experiment these with called PetiteChez Scheme. MZScheme also has these capabilities and is GPL free software, MZScheme is the under the hood Scheme in the DR-Scheme programming environment. Stackless-Python also has continuations and proper tail recursion and is a patch to implement these capabilities into regular Python. If anybody needs anymore info or explanations or URL's etc. just let me know I've got tonnes of literature on this here. cheers, Mark Dickson -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] A bit OT: CGI question
Hi, I use a Rebol script that takes the input from a form and sends an email and returns a confirmation page to the client. The rebol script is located in cgi-bin/ directory the web pages are located in a html/ directory. The problem is that the references inside the confirmation page a now all relative to the cgi-bin/ directory and not to the html/ directory. Any idea how this can be fixed? Next thing is that the displayed URL in the address entry field, shows the link name of the Rebol cgi script and not the URL of the conformation page. Robert -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rugby performace starting to fade
Maarten Koopmans wrote: Hi Petr, I don't want just positive reports, but the thing is that I was pretty sure that it was not Rugby, and well, I am sort of proud of it, so I kind of well you read it. You are right, I was not nice at least, sorry Did you win with ice hockey ? ;-) No, we saved our win for the final match ;-) I don't get why you have to change things now. Rugby/http uses (and always has) rebols standard read, so... hmm, I will try once again tomorrow. I don't know why is bypass ommited if I have 127.0.0.1 specified in my user.r file. However - I got one error with Rugby today, and the port output showed host number of my local IP, but not 127.0.0.1. But I am not 100% sure now, so I will try to test tomorrow once again. I don't know what is going on. System administration in your company? [I know we suffer from that sometimes] Yes, I know. I was just suprised that I ran four interpreters from the same directory, using the same config user.r file. httpr simply does open/copy/close, so... I will try once again tomorrow morning I don't understand Holger's reply regarding Rugby's architecture. Don't they advertise with the fact that all scripts run the same on all platforms? Well, it was not like that. From what I remember Holger was saying something like there is no difference in TCP layer inside Rebol, so it has to be a) Rugby b) OS. And I think it is definitely OS. W9x has imo delayed ACK, and if Rebol is internally sending only one packet at a time, OS waits a) till the timeout period runs out b) till the second packet arrives and only then sends ACK ... But I can be wrong, so don't draw any conclusion yet ... It would be interesting though, if more folks could run proposed Rugby test using W9x systems Cheers, -pekr- --Maarten -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
Thanks!!! I had visited the conf. site a few weeks ago, but never found a link to Marshall's paper (I don't know whether I was looking too early or just simply missed it...) At any rate, I found it very interesting/helpful. I think his PROS and CONS (especially CONS 7) clarifies the reporter's labeling of this talk under the heading of The Right Thing... -jn- j m wrote: http://ll1.mit.edu/marshall.html From: Joel Neely [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [REBOL] Re: MIT article on rebol and other languages Date: Tue, 19 Feb 2002 06:28:02 -0600 Hi, Ladislav, Ladislav Mecir wrote: The continuations are like the tail recursion, they were present in 1.x version, but they aren't there now. Do you (or anyone else) have any information on how tail recursion was handled in 1.x? I'd be really interested in anything available... As opposed to the tail recursion, nobody seems to be missing them... With all due respect to present company, perhaps it's due to the fact that continuations are not that well known. TRY covers some of the common uses, but there are still interesting applications (I think of things like Rugby...) Again, just for my own edification, I'd really appreciate anything anyone has on how that was done/appeared in 1.x. -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e : . # @] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return \n$e} print head reverse despam moc:xedef#yleen:leoj ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: An object by another name
Hi I've got an answer for you. num: ask Car number please? Car number please?3 == 3 ChosenCar: get to-word join car num chosencar/model == Riviera Patrick PS: I learned this method from Ingo Hohmann from the rebol-list a few month ago. - Original Message - From: Martin Middleton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 19, 2002 8:52 PM Subject: [REBOL] An object by another name Let's say I have the following: car: make object! [ make: Ford model: Custom 500 color: white ] car1: make car [ model: Escort color: red ] car2: make car [ model: Taurus color: blue ] car3: make car [ make: Buick model: Riviera color: silver ] And assume that my REBOL program asks the user the to enter a number between 1 and 3 and that I save the response in something called car-choice. How can I combine (probably a bad choice of terminology) the value car and the user's response so that I end up with a value I can use to refer to the proper object. In other words, if the user enters 2, I want to be able to do something like: car-chosen: car2 [I know I can't just join the two values to create a pointer to car2] so that later in the script I can refer to the variables within car-chosen as print car-chosen/model which should display Taurus. - martin -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. __ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] REBOL/Demo 2002 Competition
Hello, just to let you know - First round of REBOL/Demo 2002 Competition has just started. Send your demos to [EMAIL PROTECTED] with subject subscribing one of three categories: 1kB, 16kB or wild compo. If there will be enough demos (5 at least in one category) dedicated reb will be opened on www.sweb.cz/reboldemo where you can see the demos and vote. But that depends on you. Write demos, send them to [EMAIL PROTECTED] , deadline is Friday15th March 2002. If there won't be enough demos to open at least one category than I'm afraid that REBOL's future is not very bright. Bye, REBOL/DEMOn -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] An object by another name
Let's say I have the following: car: make object! [ make: Ford model: Custom 500 color: white ] car1: make car [ model: Escort color: red ] car2: make car [ model: Taurus color: blue ] car3: make car [ make: Buick model: Riviera color: silver ] And assume that my REBOL program asks the user the to enter a number between 1 and 3 and that I save the response in something called car-choice. How can I combine (probably a bad choice of terminology) the value car and the user's response so that I end up with a value I can use to refer to the proper object. In other words, if the user enters 2, I want to be able to do something like: car-chosen: car2 [I know I can't just join the two values to create a pointer to car2] so that later in the script I can refer to the variables within car-chosen as print car-chosen/model which should display Taurus. - martin -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Sending mails...
Hi, I want to send an email from a rebol script and tested it first from the command line. There I get the following error: send [EMAIL PROTECTED] Test connecting to: mail.infolayer.com ** User Error: Server error: tcp 250 Bye. ** Where: close smtp-port The strange thing is, that it works. The mail is send correctly. Any idea what this message means? Do I need to handle the server answer in a special way inside the script? Robert -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: MIT article on rebol and other languages
This article discusses the lack of tail recursion in smalltalk, and gives a somewhat decent explanation of tail recursion: http://wiki.cs.uiuc.edu/VisualWorks/Tail+Recursion (I liked (the last (article the best))) but.this [ones: good.too] --Ryan -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: An object by another name
Hi, Martin, Here's my suggestion... Martin Middleton wrote: Let's say I have the following: car: make object! [ make: Ford model: Custom 500 color: white ] ... And assume that my REBOL program asks the user the to enter a number between 1 and 3 and that I save the response in something called car-choice. How can I combine (probably a bad choice of terminology) the value car and the user's response so that I end up with a value I can use to refer to the proper object... Keep the cars in a block, as follows: car: make object! [ [make: Ford [model: Custom 500 [color: white [] cars: reduce [ [make car [model: Escort color: red] [make car [model: Taurus color: blue] [make car [make: Buick model: Riviera color: silver] [] == [ make object! [ make: Ford color: 255.0.0 model: Escort ] m... The identifier can then be which car in the block: repeat which length? cars [ [print cars/:which/model [] Escort Taurus Riviera Alternately, you could add a name or label field to each object in the block and search the block for the object with the specified value of that field. -jn- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rebol printers
Olivier, Someone knows a TCP protocol for Rebol to print a document on a server NT/2000 ? I'm using Gabriele's pdf-maker to print things on a current project and you can specify the printer it should use when you launch Acrobat, if that will work for you. Other than that, I haven't made any attempt to tackle the printing APIs from REBOL. I thought about it, but then someone from RT alluded to the fact that they were looking at printing issues as well and I'm wiling to wait a bit for that. --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)
See, this is why we need distributed libraries, so people can submit to math.rlib math functions, so we don't have to keep snooping for snippets, or bugging RT with these issues. ;) I've started on one, as have others like Maarten. I just hate publishing things that aren't well thought out, but maybe I need to in order to get feedback on the idea(s). --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: REBOL/Demo 2002 Competition
just to let you know - First round of REBOL/Demo 2002 Competition has just started. Send your demos to [EMAIL PROTECTED] with subject subscribing one of three categories: 1kB, 16kB or wild compo. If there will be enough demos (5 at least in one category) dedicated reb will be opened on www.sweb.cz/reboldemo where you can see the demos and vote. But that depends on you. Write demos, send them to [EMAIL PROTECTED] , deadline is Friday15th March 2002. Great idea...but are there any further guidelines? --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Rugby performace starting to fade
Pekr wrote: Did you win with ice hockey ? ;-) No, we saved our win for the final match ;-) In the new REBOL, the score was Canada = 2 + 1 The Czech Republic = 1 + 2 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] /View on KDE
I just tested out REBOL View on Linux. On Gnome, if I create add a launcher to the panels with the command /home/user/rebol, /View will launch AND if I click on any scripts inside, it will work fine. However, on KDE, if I create new link to application on the KDE desktop, using the same command home/user/rebol, /View will launch BUT clicking on scripts do not launch the script programs. Also, after launching /View and I click on Console, REBOL /View will just close by itself. However, on KDE, if I launch /View from the terminal/command-line, /home/user/rebol, I can run the scripts within View and do not face any problem switching to Console. Anyone have a workaround for the issues on KDE? Thanks YekSoon -- Attached file included as plaintext by Listar -- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Running rebol scripts / web host
Here's how I did it Von. The structure on my host is that I've got my home dir, which is /home/chalz (or just ~chalz). Under that is ~chalz/www which contains cgi-bin, htdocs and logs. When someone tries my site ( http://www.chalz.net/ - I'm not actually advertising, there isn't much there at all), what they receive is ~chalz/www/htdocs/index.html .. however, when they access http://www.chalz.net/cgi-bin/roll what they access is ~chalz/www/cgi-bin/roll .. I have REBOL in ~chalz/rebol with the perms -rwxr--r-x on the rebol executable, while the dir itself is drwxr-xr-x. the roll script (which does not need a .r extension - any extension will do) has perms -rwxr-xr-x (I'd put these in numeric format, but I forget which is which). That's it. My script is basically plain old /Core REBOL code, with this exception at the very head of the file: [12] 21:30:01 chalz@speedy:~/www/cgi-bin more roll #!/home/chalz/rebol/rebol --cgi REBOL [ Title: Die Roller Date:11-Jan-2002 ... That's it. You have to print something like: print Content-Type: text/plain^/ before other output, or the browser may not interpret the output properly. I can actually execute ./roll and it will work fine. Other than this, I would recommend not leaving REBOL in your public_html folder (possible security issues), and would either upload it via binary, or download it while logged into the shell (using lynx, if you have it). My sysadmin needed to do absolutely *nothing*. As far as he knows, I'm using Perl for my CGI. Never touched Apache. Hope this helps. I'm far from an expert on this matter - I'm just relaying what I know, and what works for me. --Charles - Original Message - From: vonj [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 19, 2002 4:00 AM Subject: [REBOL] Re: Running rebol scripts / web host I'm interested in playing with some CGI scripts by utilizing my current web hosting company. I have cgi-bin access, and my host is running Red Hat Linux 7.1, i686. I created a rebol folder in the same directory as my public_html folder. I uncompressed the core042.tar.gz and uploaded the rebol file 280k via ftp ascii. I set the rebol file chmod for 755, I guess I should do the same for the rebol folder, right? Besides putting my rebol scripts in my cgi-bin folder and correct path header, is the last thing I need to be concerned about is having my host set the server to recognize the .r extension as an executable script or are there other major concerns??? Thank you in advance for your help. --Von -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: An object by another name
Joel's solution is the one which came to me first, too. But, I was thinking in C. Basically, an array which contains .. well, it's not the same as pointers in C, but basically close. You'd have to revert to some other methods of traversing and modifying the list, though, of course. The neat thing about REBOL, however, is you *can* do something like, say, you want to create 5 'car' instances. Instead of writing it all out manually, you can have code which runs 5 times and actually creates variables car1, car2, car3... Because of the way REBOL handles 'words and such, you can generate variable (and function) names on the fly. (You can also modify functions on the fly, too, if the code is so designed.) I'm afraid I lost my code snippets relating to such things, though. :/ Hi, Martin, Here's my suggestion... Martin Middleton wrote: Let's say I have the following: car: make object! [ make: Ford model: Custom 500 color: white ] ... And assume that my REBOL program asks the user the to enter a number between 1 and 3 and that I save the response in something called car-choice. How can I combine (probably a bad choice of terminology) the value car and the user's response so that I end up with a value I can use to refer to the proper object... Keep the cars in a block, as follows: car: make object! [ [make: Ford [model: Custom 500 [color: white [] cars: reduce [ [make car [model: Escort color: red] [make car [model: Taurus color: blue] [make car [make: Buick model: Riviera color: silver] [] == [ make object! [ make: Ford color: 255.0.0 model: Escort ] m... The identifier can then be which car in the block: repeat which length? cars [ [print cars/:which/model [] Escort Taurus Riviera Alternately, you could add a name or label field to each object in the block and search the block for the object with the specified value of that field. -jn- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)
I was going to say, At least you're doing it. Let others know about it, so they can give you feedback. I've heard very little Ohmygod, that SUCKS! on this list. I don't think you'd receive it for your all-benefitting efforts ;) - Original Message - From: Gregg Irwin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 19, 2002 5:38 PM Subject: [REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...) See, this is why we need distributed libraries, so people can submit to math.rlib math functions, so we don't have to keep snooping for snippets, or bugging RT with these issues. ;) I've started on one, as have others like Maarten. I just hate publishing things that aren't well thought out, but maybe I need to in order to get feedback on the idea(s). --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Confirmed - Rugby proxy problem ...
Hi, first - I put 'problem into quotes, right? ;-) Well, so I today removed local ip address from bypass block, and tested once again in a following manner: - started four rebol/view sessions from the same directory, using the same config file - we use proxy here, generic type, I have it set in set-net in user.r file - old 4.3 Rugby version, loop 100 [echo test], http mode - 0.6 sec average - 4 tries ... - Rugby-chain version, the same code (mostly cut and paste) - average 9 sec. It is clear Rugby-chain version contacts our proxy. To avoid it, I have to add local IP address to bypass block, while old version of Rugby does not require it. So, my conclusion is, that the problem lies somewhere in custom httpr or tunnel code, but maybe you have now enough indices to find out where's the change Cheers, -pekr- -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: ROUND function (like TRUNC, FLOOR, etc...)
Hi Charles, CONTEXT is a shortcut for MAKE OBJECT! o: context [a: 1 b: 2] o/a == 1 type? o == object! DOES is a shortcut for a function that takes no parameters and has no locals. my-add: does [1 + 2] my-add == 3 type? :my-add == function! HAS is a shortcur for a function that takes no parametersm, but does have locals. my-has-fn: has [local-var][local-var: now/time] my-has-fn == 22:52:24 local-var ** Script Error: local-var has no value ** Near: local-var --Gregg -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.