[REBOL] Re: [TYPE] weird return value

2004-04-21 Thread Joel Neely
Hello, all... Consider this: reduce [type? /home/http/run/cohen/birds] == [refinement! /http /run /cohen /birds] So each element of the path-looking thingie is treated as a distinct value, and what gets printed is the last one, just as in type? 1 2 3 4 == 4 Hope this helps! -jn-

[REBOL] Re: Simple XML

2004-03-09 Thread Joel Neely
none [down]] HTH! -jn- -- Single bit errors are corrected. Joel Neely Double bit errors are detected. joel dot neely Undetected errors are ignored. at fedex dot com -- To unsubscribe from this list, just send

[REBOL] Re: Help with HTTP protocol

2004-03-04 Thread Joel Neely
stupidity or hostility on the part of weather.com ;-) you may have a much harder time getting the content you want without a browser that implements JS (assuming that you don't want to write your own JS interpreter... ;-) -jn- -- Joel Neelycom dot fedex at neely dot joel I had

[REBOL] Re: MySQL protocol bug

2004-02-19 Thread Joel Neely
your program after whining at you.) For example, take a largish REBOL script and delete a single occurrence of '+ somewhere in the middle. -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron

[REBOL] Re: Shooting yourself in the foot...

2004-02-18 Thread Joel Neely
The expression shoot foot evaluates to NONE because you forgot to use one of the /BULLET /ARROW or /CANNON refinements; however shoot/off x returns a STRING! longer than available memory if X is of type EMAIL! or MOUTH! ;-? -jn- Izkata wrote: ooh, hehehe, I'm saving

[REBOL] Re: oss revisited (briefly!)

2004-02-16 Thread Joel Neely
definition of didn't work! Just two examples should suffice: Eclipse (desktop) and WebLogic (server) work quite nicely. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell

[REBOL] Re: oss revisited (briefly!)

2004-02-13 Thread Joel Neely
it possible to distinguish implementation defects (bugs) from cases of I-didn't-understand-that-feature. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c

[REBOL] Re: oss revisited (briefly!)

2004-02-13 Thread Joel Neely
general benefits, we need to stick to the facts and look at what has actually happened in the arena of open-sourced languages. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg

[REBOL] Re: oss revisited (briefly!)

2004-02-13 Thread Joel Neely
and cons of different distribution/development models. ;-) -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1

[REBOL] Re: oss revisited (briefly!)

2004-02-10 Thread Joel Neely
, rational discussion of the pros and cons of alternatives is also legitimate. -jn- -- Joel Neelycom dot fedex at neely dot joel I had proved the hypothesis with a lovely Gedankenexperiment, but my brain was too small to contain it. -- Language Hat -- To unsubscribe from

[REBOL] Re: Threading continued

2004-01-29 Thread Joel Neely
- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Directory

2004-01-14 Thread Joel Neely
testVariable should work for you (assuming you have write permissions in the current directory). -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10

[REBOL] Re: How to remove words from objects?

2004-01-13 Thread Joel Neely
to get back to obj being: There's not. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from

[REBOL] Re: How to remove words from objects?

2004-01-13 Thread Joel Neely
the indirection from any client code.) -jn- -- Joel Neelycom dot fedex at neely dot joel I had proved the hypothesis with a lovely Gedankenexperiment, but my brain was too small to contain it. -- Language Hat -- To unsubscribe from this list, just send an email to [EMAIL

[REBOL] Re: Is Rebol OO?

2004-01-12 Thread Joel Neely
Hi, Behrang, Behrang Saeedzadeh wrote: ... is REBOL Object Oriented? As you can tell from the variety of responses, the question is a bit tricky to handle. Unfortunately, the phrase object oriented has been siezed on by marketers, reporters, comp sci researchers, methodologists,

[REBOL] Re: sort/scramble

2004-01-05 Thread Joel Neely
Hi, Anton, Anton Rolls wrote: You might be able to do all this in the sort comparator function somehow, but it's not obvious to me. I don't believe that it's possible to handle all of this via SORT/COMPARE . The comparison function only tells whether two values are in order or out of

[REBOL] Re: sort/scramble

2004-01-04 Thread Joel Neely
Hi, Hallvard, To ensure unsorted, first sort, then interleave second and first halves. (Assuming you have enough distinct values that moving halfway through the sorted order gives you a different value.) Hallvard Ystad wrote: I have a block with, say 10 blocks inside it. Each block has many

[REBOL] Re: sort/scramble

2004-01-03 Thread Joel Neely
Hi, Hallvard, Hallvard Ystad wrote: Hi I need a function that will make sure a block is _not_ sorted. How about this: random [0 1 2 3 4 5 6 7 8 9] == [8 9 3 4 2 1 7 6 0 5] Of course, there's a 1 in 3628800 chance that a random arrangement of ten values will actually be in

[REBOL] This time of year...

2003-12-22 Thread Joel Neely
...gets quite busy in my world, so let me take this opportunity to wish all of you a joyous holiday season and a happy new year! -jn- -- -- Joel NeelymocTODxedefTAyleenTODleoj 6444-362-109

[REBOL] Re: a new switch-like flow-control function

2003-12-19 Thread Joel Neely
] ] nicely expresses that if X and Y are equal, then either one can be used as the minimum of the two! Thanks! -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c

[REBOL] Re: Newbie Mailing List Questions

2003-12-18 Thread Joel Neely
Hi, Stan, Welcome to the list! Stan Silver wrote: Greetings, 1. Are mail list threads determined only by the subject? In other words, can I add my two cents to an existing topic just by typing in the correct subject? Or do I have to reply to an existing email? Does Re: matter in the

[REBOL] Re: a new switch-like flow-control function

2003-12-17 Thread Joel Neely
and Y are too big! -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email

[REBOL] Re: Rebol API to DyBASE

2003-12-17 Thread Joel Neely
0.191 4 0.171 Preallocation of space (whenever possible ;-) is our friend! -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2

[REBOL] Re: What does REBOL fix?

2003-12-17 Thread Joel Neely
tolerance for pain ;-) the full paper is available at http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html It's a hilarious tour-de-force! -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom

[REBOL] Re: What does REBOL fix?

2003-12-16 Thread Joel Neely
- REBOL: The message is the medium. - REBOL: Programming for block heads - REBOL: Life's too short to write long programs - REBOL: Fight carpal tunnel syndrome! - REBOL: Good things come in small packages - REBOL: Because Von Neumann was right! - Real Expressiveness Based On diaLects -

[REBOL] Re: What does REBOL fix?

2003-12-16 Thread Joel Neely
to look at the language. And, of course, submitting types (b), (c), or (d), and having them perceived as if of type (a) is the basis is the basis of many language holy wars! ;-) -jn- -- -- Joel Neely

[REBOL] Re: What does REBOL fix?

2003-12-16 Thread Joel Neely
as it moves over the wire doesn't protect one from bugs (or malicious intent) in the code itself once executed. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01

[REBOL] Re: What does REBOL fix?

2003-12-16 Thread Joel Neely
think we all are! ;-) -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email

[REBOL] Re: What does REBOL fix?

2003-12-15 Thread Joel Neely
Hi, Ged, Ged Byrne wrote: Because every other language is trapped on just one computer. Let's be fair. There are MANY languages that are highly portable in today's world: Perl, Python, Ruby, Java, and a whole slew of open-source efforts. And we're still waiting for the MacOS/X version of

[REBOL] rot13

2003-12-14 Thread Joel Neely
First, thank you for the effort you've put into the ROT13 page at: http://www.miranda.org/~jkominek/rot13/ With respect to your page on REBOL: http://www.miranda.org/~jkominek/rot13/rebol/rot13.r and especially with respect to the Note to others... I suggest that it is unfair to

[REBOL] Re: Guru's please help improve ROT13 algorithm !

2003-12-14 Thread Joel Neely
I submitted a cleaner one (than what's on the ROT13 page) along with some remarks, and copied the list here, and then saw Sunanda's reply: [EMAIL PROTECTED] wrote: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=rot-13.r WRT that version, I'll add my $0.02... rot-13: func

[REBOL] Re: [tek@wiw.org: Re: rot13]

2003-12-14 Thread Joel Neely
Hi, Julian, Julian Squires wrote: Hi. I sent this reply off promptly, but I was unable to send to the rebol list without a subscription. I'll be glad to forward it. I evaluated rebol again later, having learned more about similar languages, but I find ruby more suiting to my personal

[REBOL] REBOL in another multi-language site...

2003-12-08 Thread Joel Neely
...by some guy with WAYYY too much computer access! ;-) http://www.kernelthread.com/hanoi/html/r.html -- Joel Neelycom dot fedex at neely dot joel I had proved the hypothesis with a lovely Gedankenexperiment, but my brain was too small to contain it. -- Language Hat

[REBOL] Re: Some other questions

2003-11-23 Thread Joel Neely
Hi, Mike, Here we jump off the deep end... ;-) Mike Loolard wrote: 5) On the webpage about objects one passage mentioned that sub-objects don't get cloned- what does that mean ? Reading that I would expect that all objects within an object aren't available when I create an object on the

[REBOL] Re: what a subject ;-) Re: Re: [enum][constructor][memory][cloning][vid] Some other questions

2003-11-22 Thread Joel Neely
Hi, Petr, Petr Krenzelok wrote: I am sorry, maybe I missed significant discussion to the topic, but don't you guys find subject key-words a bit contraproductive? I think the problem is not with key words, but with trying to cram too many topics into a single email/thread. Use decent

[REBOL] [email] Re: Some other questions

2003-11-22 Thread Joel Neely
Hi, Mike, Mike Loolard wrote: I hope you guys don't mind me asking some other questions I have come up with meanwhile. Welcome to the list! I'm sure you'll find it as helpful and friendly as I have. However, let me suggest that it will make discussions easier to follow if you will put

[REBOL] Re: [array] Some other questions

2003-11-22 Thread Joel Neely
Hi, Andrew, A J Martin wrote: Anton wrote: Watch out though, each item in chickenfarm is the same chicken object: Yes! You've found a bug in 'array! It's not a bug, since AFAIK there's no published specification that says ARRAY should behave any differently than it does. We've seen this

[REBOL] [array] [syntax] Re: Some other questions

2003-11-22 Thread Joel Neely
Hi, Mike, Anton has already given a direct answer, but let me dig deeper. Mike Loolard wrote: 1) If I have an object - how do I create an array of objects with it ? for example chicken: make object! [ tasty: wings ] now I would want to have an array of objects of that type. I

[REBOL] [enum] Re: Some other questions

2003-11-22 Thread Joel Neely
Hi, again, Mike, Mike Loolard wrote: 2) How do you create custom types ? I am talking of a way to emulate the typedef behavour in C ? How would you go to create an enum type in REBOL ? Strictly speaking, there are two answers to your first question: 1) You can't. But REBOL has a very

[REBOL] Re: [array] Some other questions

2003-11-22 Thread Joel Neely
Hi, Andrew, A J Martin wrote: Hi, Joel! /initial -- Specify an initial value for all elements it is consistent that the (single!) initial value is uses for all elements. Hmmm, at the moment, I can't see a good use for an array that has multiple references to the one series or

[REBOL] [datatypes] action! vs. native! vs function!

2003-11-22 Thread Joel Neely
Hi, all, OK, so a FUNCTION! is a function written in REBOL itself (what FORTH used to call high-level in contrast with primitive). I've always thought of NATIVE! as primitive in the above contrast -- a function written inside the interpreter in C (or whatever), but then ACTION! enters the

[REBOL] [constructors] Re: Some other questions

2003-11-22 Thread Joel Neely
Hi, Mike, Mike Loolard wrote: 3) Back on objects: objects seem to be pretty neat in REBOL - but I didn't find anything about implementing and using constructor/destructors ? I know I could manually add a function that serves as constructor each time I create an object, but is that the

[REBOL] Re: Some other questions

2003-11-22 Thread Joel Neely
Hi, Mike, Mike Loolard wrote: 4) In the same context: how do I actually 'free' memory/variables ? You don't need to do so, as memory management in REBOL is automatic (including collection of circular garbage). However, if you are doing some processing of large structures, you can limit

[REBOL] Re: [data structures] (was Re: [append][series]Appending to a series of strings)

2003-11-21 Thread Joel Neely
Hi, Ladislav, et al, Ladislav Mecir wrote: Joel Neely napsal(a): REBOL seems to occupy a middle-ground position on this issue; it does not require you to declare the existence of a data structure (as e.g. Java does) but it *does* require that you allocate and initialize it explicitly

[REBOL] Re: FW: Re: [append][series]Appending to a series of strings

2003-11-20 Thread Joel Neely
insert tail result offset? p q ) ] parse sort copy scores [any group] result ] -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg

[REBOL] [data structures] (was Re: [append][series]Appending to a series of strings)

2003-11-20 Thread Joel Neely
Hi again, Ladislav and all Joel Neely wrote: Hi, Ladislav, I did a bit of benchmarking with functions that use each of the three strategies ... There's one final point, but I'll post it separately. This has been very interesting, and your parse-based solution is an *excellent

[REBOL] Re: [data structures]

2003-11-20 Thread Joel Neely
Hi, Gregg, Gregg Irwin wrote: ... For example, how would we build constructs in REBOL to emulate what Perl does with auto-sizing arrays, Exactly what I was hoping for. As an example, I've been using the nested-block trick to simulate mutable arrays in REBOL for some time, and have no

[REBOL] Re: [append][series]Appending to a series of strings

2003-11-18 Thread Joel Neely
Hi Seth, See below... Seth wrote: a: [1 2 3 4 5] == [1 2 3 4 5] b: [] == [] x: index? a == 1 append b/:x hi == hi At this point, take a look at the value of B to see why: b == [hi] fourth b ** Script Error: Out of range or past end ** Near: fourth b b/:x == none

[REBOL] Re: [append][series]Appending to a series of strings

2003-11-18 Thread Joel Neely
Hi, Seth, Seth wrote: Joel Neely wrote: ...you can't treat that (non-existent) element as a series. Unlike Perl, which automatically allocates and meaningfully initializes previously non-existent data, REBOL requires that a value exist and be of the correct type for whatever operation you

[REBOL] REBOLforces site down?

2003-11-17 Thread Joel Neely
I'm experiencing breakage with some links on www.rebolforces.com, including the email link at the bottom of the front page. Is that site out of service, or are there just some glitches? -jn- -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the

[REBOL] Re: RSA Encryption

2003-11-13 Thread Joel Neely
Hi, Matt, I'll give it a shot... Matt MacDonald wrote: Can someone please explain to me, in as few mathematical equations as possible, why RSA public/private encryption works? ... How is this any different from using a syncronous encryption method and then just sending the encryption key

[REBOL] Re: Another coffee break problem?

2003-11-11 Thread Joel Neely
Hi, Gregg, Gregg Irwin wrote: JN The following 3-by-3 display is a simple magic square: JN 0 8 4 JN 5 1 6 JN 7 3 2 JN because each row and each column sums to 12... No diagonals? I thought magic squares had to work on the diagonal as well? (not to

[REBOL] Re: Another coffee break problem?

2003-11-11 Thread Joel Neely
Hi, Anton... Anton Rolls wrote: I can see you are going to ask us to generalize it later so it can do integers higher than 8. Since Gregg has already partially debagged the cat, I'll admit that I have some generalizations in mind, but not that particular one ;-) I think for this set

[REBOL] Re: Curiosity

2003-11-11 Thread Joel Neely
Hi, Carlos, For educational purposes (and just for fun... ;-) I'm currently using REBOL on all of the following platforms: Mac OS/X, Linux, W2000, WXP, W98, Solaris I might add that I am only using /Core features. One of the main reasons I began using REBOL (the same is true of Perl, Python,

[REBOL] Re: Opening Specific Ports

2003-11-11 Thread Joel Neely
networking gurus out there? -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-10 Thread Joel Neely
Hi, Andrew, Thanks for starting what I hope will be a productive thread! Now, speaking strictly for myself, little of my REBOL wish list is about adding features to the language. Andrew Martin wrote: * Lots more datatypes! For example, a Telephone! data type, temperature, audio/sound

[REBOL] Another coffee break problem?

2003-11-10 Thread Joel Neely
possible 3-by-3 simple magic squares. Make it run as quickly as possible. -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1

[REBOL] Re: REBOL hosting

2003-11-07 Thread Joel Neely
Hi, Gabriele, That doesn't always work... Gabriele Santilli wrote: Unless the server is braindead (i.e. Windows ;-), you just put the REBOL binary somewhere in your space (possibly out of the web accessible area) and use the CGI extension for your scripts. However, having support

[REBOL] Re: REBOL hosting

2003-11-07 Thread Joel Neely
, the bits aren't set IME. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send

[REBOL] Re: Coffee break problem anyone?

2003-11-07 Thread Joel Neely
and comprimises made when shoehorning a 10-pound algorithm into a 5-pound interpreter are at least as much art as science! ;-) -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg

[REBOL] Re: syntax across languages

2003-11-06 Thread Joel Neely
Hi, Maarten, and all, There's a serious question at the end of all the yammering below! ;-) Maarten Koopmans wrote: came accross an interesting site on syntax across languages which is soliciting help with constructs in various languages including rebol. They are currently missing 120 syntax

[REBOL] Re: syntax across languages

2003-11-06 Thread Joel Neely
Hi, Maarten... Maarten Koopmans wrote: Wow! You can do a bind 'word [ multiple values ] in your real life? multitask-into-stress: func [word [word!] selves [block!]] [ forever [ foreach role selves [ do get in role word ] ] ] ; -)

[REBOL] Re: Coffee break problem anyone?

2003-11-05 Thread Joel Neely
Hi, Sunanda, First, let me offer an improvement and then address some more of the good discussion points you raise. (There's a little challenge at the end for the interested who wade through to that point! ;-) Minor issue first: instead of initializing run length to zero and incrementing for

[REBOL] Re: Hitting the learning curve

2003-11-05 Thread Joel Neely
is always there (without the need to run some utility to get a static view of the code that's outdated with the next editor keystroke). -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron

[REBOL] Re: function to object?

2003-11-05 Thread Joel Neely
- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Coffee break problem anyone?

2003-11-04 Thread Joel Neely
many runs of that length existed. Where would that code go in the Jackson version? Where would it have to appear in the other one? -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron

[REBOL] Re: Formatting a display line

2003-11-04 Thread Joel Neely
] -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Joel Neely
distinct forward/reverse mappings (with a helper to construct the inverted one). It'll be easier to read anyway! -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c

[REBOL] Re: check me? deleting files based on a pattern

2003-10-28 Thread Joel Neely
directory foreach file read base: %~/attempt-it/ [...[ and avoid all the REJOIN evaluations. -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01

[REBOL] Re: Storing a logical condition

2003-10-21 Thread Joel Neely
- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED

[REBOL] Re: reduce/deep

2003-10-21 Thread Joel Neely
- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Enron Accountingg in a Nutshell: 1c=$0.01=($0.10)**2=(10c)**2=100c=$1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Storing a logical condition

2003-10-20 Thread Joel Neely
of an expression is simply to make that expression the body of a function with no parameters! I guess sometimes we outsmart ourselves! ;-) -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446

[REBOL] Re: Multithreading with Rebol

2003-10-17 Thread Joel Neely
won't solve performance problems just because it's multi threaded... Agreed, but... Remember: single-threading won't solve design problems just because only one thing is happening at a given instant! ;-) -jn- -- -- Joel Neely

[REBOL] Re: Compose on tag! values

2003-10-15 Thread Joel Neely
=Color:} (paragraph_color) {}] == p style=Color:green -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Counting lines of code is to software development as counting bricks is to urban

[REBOL] Re: pleac

2003-10-13 Thread Joel Neely
Thanks, Andreas! Andreas Bolka wrote: rot13: func [s [string!]] [ foreach char s [ prin any [ select/case anabobcpcdqderefsfgtghuhivijwjkxklylmzm char select/case AZABOBCPCDQDEREFSFGTGHUHIVIJWJKXKLYLMZM char char ] ] prin

[REBOL] Re: pleac

2003-10-12 Thread Joel Neely
Hi, Carl, How about a slightly more REBOL-intensive variation? Carl Read wrote: Going by most of the examples I've checked on the site it seems they'd like characters to be printed one at a time, so here's a modified version of the script I just posted... rebol [] foreach char input

[REBOL] Re: pleac/rot13

2003-10-12 Thread Joel Neely
Hi, Norman, Here's one way, but I don't know about smallness... Rebolinth wrote: A honarable listing on the one that builds the smallest ROT13 using bitsets and parsing ;-) r13: func [s [string!] /local left right neither r13char c] [ left: charset [#a - #m #A - #M] right:

[REBOL] Re: Newbie expression question

2003-10-11 Thread Joel Neely
Hi, Sunanda, Minor quibble below... [EMAIL PROTECTED] wrote: Kai: if length? tlist/data 1000 Can someone give me a pointer as to what i need to do? Try these: if (length? tlist/data) 1000 or if 1000 = length? tlist/data I think you meant if 1000 length?

[REBOL] Re: Newbie expression question

2003-10-11 Thread Joel Neely
Ooops! I hit the send button before finishing... [EMAIL PROTECTED] wrote: if length? tlist/data 1000 Try these: if (length? tlist/data) 1000 or if 1000 = length? tlist/data (I always go for the (...) solution as I can't be bothered with reversing boolean operations.

[REBOL] Re: IDIOMS: setting multiple words

2003-10-10 Thread Joel Neely
Hi, Elan and all, Elan wrote: Hi Sunanda: set [foo bar baz] copy [] You will find that only foo is set set to a block, whereas bar and baz are initialized to the value none. This is unlike using set [foo bar baz[] 3 ;- (i.e. some non-series value where all words will be

[REBOL] Re: Accessing a variable's method

2003-10-10 Thread Joel Neely
! [ count: 2 ... foreach obj obj-block [obj/bump] == 5 foreach obj obj-block [print obj/count] 2 3 4 5 -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Counting lines of code

[REBOL] Re: Tail end recursion

2003-10-09 Thread Joel Neely
and iteration both have their places! ;-) -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Counting lines of code is to software development as counting bricks is to urban development. -- To unsubscribe

[REBOL] Re: IDIOMS: setting multiple words

2003-10-09 Thread Joel Neely
you take into consideration when you do this kind of thing? For both of these, see above comments re scaling and number of distinct copies. Thanks for playing! Thanks for asking! ;-) -- -- Joel Neely

[REBOL] Re: help with function utilising extended life-time words ..

2003-10-02 Thread Joel Neely
Hi, Petr, Petr Krenzelok wrote: Thanks all for answers! I was just thinking in a bit different way - I did not want to enclose measured task into special block to prevent myself from forgetting to include ending bracket :-) However, the presence of explicit brackets makes it clear

[REBOL] Re: help with function utilising extended life-time words ..

2003-10-01 Thread Joel Neely
values) that are very mysterious to REBOL newbies. There's no point in being obscure, just for the sake of obscurity! ;-) -jn- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 Counting lines of code

[REBOL] to/make datatype!

2002-10-16 Thread Joel Neely
[ [ s either #! = last s []] [!]] ] ] type? to-datatype string == datatype! make to-datatype integer 12== 12 There's *got* to be a better way! Any suggestions? -jn- -- -- Joel Neely

[REBOL] Re: to/make datatype!

2002-10-16 Thread Joel Neely
Thanks, Scott! G. Scott Jones wrote: From: Joel Neely ... to-datatype: func [s [string!]] [ first reduce load rejoin [ [ s either #! = last s []] [!]] ] ] type? to-datatype string == datatype! make to-datatype integer 12

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02,1997]

2002-10-13 Thread Joel Neely
Hi, Dick, Two thoughts, one a direct reply and one more deferred... [EMAIL PROTECTED] wrote: I originally chirped in on the XML comments ... Seems that there should be an XML_Display... XML_Display (25 87 20) (date) (2 2 ReshapeOf 4 Random 1000) (UCase Hello World)

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02,1997]

2002-10-12 Thread Joel Neely
Hi, Dick, [EMAIL PROTECTED] wrote: You must forgive me Joel, None needed! I had typed my comments very late at night, and wanted to be sure I hadn't rambled on so much that I'd obscured my point. -jn- -- To me, boxing is like ballet, except that there's no music, no choreography, and

[REBOL] Re: idioms to reduce logic clutter ?

2002-10-12 Thread Joel Neely
Jason Cunliffe wrote: Time to factor out and simplify the mess... Here are some simplification strategies: - use default values, which can trigger default behaviors - use FUNC/RETURN to manage premature exits - use long strings - avoid large in-line literals - avoid use-once variables

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02,1997]

2002-10-12 Thread Joel Neely
Hi, Dick, I guess you're using a later version of REBOL than I have... ? average No information on average (word has no value) ;-) My point was that we use FOR or FOREACH to process array/block structure precisely because both directly express iteration; for a chosen conceptual

[REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02,1997]

2002-10-11 Thread Joel Neely
Hi, Dick, Kemp, and all, I'll be the first to agree that Ted Nelson is a very bright guy, and a real visionary, but sometimes visionaries overstate their case to make a point, or miss something that doesn't quite match their vision. [EMAIL PROTECTED] wrote: I vote for Kemp's thoughts. HTML

[REBOL] Off-the-wall request

2002-10-09 Thread Joel Neely
- -- -- Joel NeelyjoelDOTneelyATfedexDOTcom 901-263-4446 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.

[REBOL] Re: if and parens

2002-10-05 Thread Joel Neely
? to-file elt 'type) = 'file [print elt]] ... -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: foreach [a b] s [repend t [b a]] t ] { | e s m

[REBOL] Re: radical pov ... Re: Re: rebol/base

2002-09-30 Thread Joel Neely
Hi, Petr, Petr Krenzelok wrote: Yes, it is - but enough is enough imo. Just ask someone from external world, what do they know about Rebol? If they even recognise it, they are already confused by all the following: Rebol/Core [snip snip snip snip ...] Rebol/Encap not to mention

[REBOL] Re: Introducing REBOL/Base - FAQ

2002-09-29 Thread Joel Neely
?). REBOL/Squint -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes. -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do

[REBOL] Re: cyclic values

2002-09-29 Thread Joel Neely
of the above said, for small blocks with distinct values, your approach is quite elegant. Thanks for posting it! -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: foreach [a b] s [repend t

[REBOL] Re: Delete an Instance of an Object

2002-09-29 Thread Joel Neely
[...] ] myword: first gorp creates a situation in which evaluating either (one) of myword: none or gorp: none still leaves another reference to the first object created from FOO. Does that address your question, or am I missing something? -jn- -- ; Joel Neely

[REBOL] Re: cyclic values

2002-09-29 Thread Joel Neely
The raggedness likely indicates intermittent gc operations; the trend is definitely upward as the block length grows. -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: foreach [a b] s

[REBOL] Re: Byte on Mac OS X (and Rebol too)

2002-09-28 Thread Joel Neely
a look at http://slashdot.org/articles/02/09/27/148235.shtml?tid=120 for another Unix-on-desktop alternative: a $199 box sold by WalMart which runs Lindows (Debian deriviative with glue to run uSoft apps) now supported by AOL. Any foot in the door will do... ;-) -jn- -- ; Joel Neely

  1   2   3   4   5   6   >