[REBOL] full names in sender Re:(2)

2000-09-25 Thread mailinglists

IIRC, that was a version of SELMA, but then RT did some maintenance work
on the script en dumped full names?

Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 23, 2000 01:03
Subject: [REBOL] Re: full names in sender



   You'll recall that before SELMA took over the list, there *were*
full
   names in the header.  Ingo and I discussed the "problem" and even
had
   some solutions; none of mine ever got worked through enough to
submit
   to RT for inclusion in Selma (or REBOL itself).
  ...
 
  Hi Kev,
 
  my version works for me and got sent to feedback (final version was
  #1467 22/Nov/1999, I think), after that I never heard about it.
 
  Same for help working on path values (#2729 12/Apr/2000).
 
  So I now just enjoy my working system,

 Hey Ingo!

 Could you send me your version?  I've been thinking about working it
 into SELMA and sending the patch into RT -- since they asked if
 anybody had SELMA patches to contribute.  I'd sure like to get real
 names back into the mix, and *somebody* needs to do it!  ;-)

 Thanks!

 Cheers,
 Kev

 --
--
 Kevin McKinnon, System/Network Administrator
[EMAIL PROTECTED]
 Sunshine Communications
http://www.sunshinecable.com

 PGP Public Key: http://www.dockmaster.net/pgp.html   PGP 6.0
www.pgp.com






[REBOL] REALLY DISCOVER THE POWER OF REBOL Re:(4)

2000-09-24 Thread mailinglists

Hello,

I'm not much of a programmer, but I've been following Rebol since it was
Lava, and I like the direction it (or RT, or Carl) is taking us.
Currently I'm enjoying Elan's book very much (great writing style,
Elan!), and even though I haven't yet found my a good project for Rebol,
I did manage to whip up a CGI-driven Instant Messenger (sorry folks,
it's dead now =).

I agree with Elan, that Rebol and RT will take us to new directions,
silly as it may sound, I had the chance to play around with a Casio
e-105 running WinCE. It holds great promise for the future, even though
it's very limited right now, these "intelligent" machines will become
very important (excuse the naive tone), and I certainly think embedded
is the future. Even though Rebol is not small enough for embedded now
(it needs an OS), remember what embedded meant ten years ago? Wrist
watches have more RAM nowadays! ;o)

So where is Rebol taking us today? Probably glue highway, for now at
least. But what about tomorrow? Peer-to-peer, wireless, embedded? Who
knows? (If you do, send me an email! ;o)

I guess what I'm trying to say is: Carl won't f*ck something up in four
years that took him 20 years to develop. Don't forget the enthousiasm
you have for Rebol, couldn't possibly compare for Carl's... =)

Good luck to all,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 21, 2000 23:03
Subject: [REBOL] REALLY DISCOVER THE POWER OF REBOL Re:(3)


 It is a strange beast, indeed.

 RT depends on developers to create applications to show that
 REBOL is a viable alternative.

 Meanwhile, developers of the open source persuasion see tractor
 application development as RT's responsibility, feeling REBOL itself
 could be maintained by the open source community.

 This argument seems to crop up in relation to all sorts of products
 nowadays. It seems "open source" as a marketing element is here to
 stay. Somehow products that are "open source" have become
 attractive to customers in the same way shampoos are attractive
 when they have not been tested on laboratory animals.

 Only time will tell whether or not open source software like operating
 systems and programming languages will become the standard vs.
 commercial, closed source options.

 I tend to think open source operating systems and programming
 languages WILL become the standard because of how we use them.
 Like electricity, gasoline, etc., they are becoming resources which
 need to be standardized. I see an inherent mistrust of closed source
 products amongst many developers because a closed source
 product can be taken away as quickly as it is given. It's kind of like
 not wanting to commit to a relationship with someone who hides
 things from you. This is how I perceive this behavior, at least.

 -Ryan

 Things like Javascript have splintered badly, but that's
  because they were not Open Source, and vendors implemented their own
  closed source in different ways. All that happens is that people
like
  Elan, Gabrial, Lemir, and Joel don't waste time ruminating about how
REBOL
  is implemented. Rather, they can contribute working code to the
project.
  Carl would still control what goes into the kernal. But Carl doesn't
want
  that to happen, and so it won't. Pity, because it might free up some
of
  his developers to create real-life reference applications, and then
maybe
  more people would put REBOL to work.
 
  -Ted.
 







[REBOL] Off-topic: regular expressions Re:(2)

2000-09-23 Thread mailinglists

A BIG THANK YOU!

Really,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 23, 2000 18:11
Subject: [REBOL] Off-topic: regular expressions Re:



 if it is a perl based regular expression to extract a URL
 that you want, I have a line from Kehei.com wiki.pl (the non rebol
one)
 that will find a URL either at beginning of a line, after a space or
 after a * or - . It also stops the parse at a space or a tag ()
start.

 # Handle embedded URLs

s@(^|[\-\*\s])((news|http|ftp|gopher|https)\://([^\s]+))@$1\A
 href\=\"$2" target=\"_top\"\$2\/A\@go;

 note that @ was used as a delimiter since nearly every other
 punctuation char was used already in the innards.
 s/match/repl/go; is
 s@match@repl@go;


 a discussion about doing regular expressions can be found
 in the rebol email archives at
 ThreadHead: http://rebol.org/userlist/archive/83/585.html
 ThreadTail: http://rebol.org/userlist/archive/86/224.html

 ;# mailto: [EMAIL PROTECTED]

 At 02:31 PM 9/23/00 +0200, [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm frustrating myself terribly, trying to extract an URL using
regular
 expressions from the following string:
 
 "bla

http://www.yahoo.com/blabla.html?this=insanehttp://www.yahoo.com/blab
la.html?this=insane
 - bla bla"
 
 Now how do I do that? I've tried and failed miserably, this is where
I
 got: (http://|wwwhttp://|www).*
 
 Which prints out

"http://www.yahoo.com/blabla.html?this=insanehttp://www.yahoo.com/bla
bla.html?this=insane
 - bla bla" - damn these regular expressions! Rebol's 'parse is way
better
 for this kind of thing, at least I can get 'parse to stop at the
first space!
 
 Thanks in advance!
 
 Regards,
 Rachid






[REBOL] Strange chars in password Re:

2000-09-02 Thread mailinglists

Hi,

Allen Kamp replied to this earlier this week, I'll repost (hope you
don't mind, Allen? =)...

Regards,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 23, 2000 12:00 AM
Subject: [REBOL] Strange chars in the password


 HI all,

 I need to connect to a FTP server but the password contains strange
chars
like #"@" #"\" #"#"

 I tried to url-encode the password, but it does not work.
 I'm sure it was already discussed but I cannot find it.

 thanx for advice
 oldes



Hi Oldes,

This allows you to avoid that..

read [
scheme: 'ftp
 user: "user-name"
 pass: "password"
 host: "ftp.securesite.com"
 path: "private/"
 target: "file.dat"
]



So that you don't have to construct that all the time, you could do use
the
following code..


;---
config: make object! [pass: "password" user: "username"]

authenticate: func [
{Returns a filled scheme block complete with password}
url [url!] {The url to parse}
/local url-value url-obj
][
url-obj: make net-utils/url-parser []
set url-obj/vars none
url-value: url

parse/all url url-obj/url-rules
;---Return Url data set
compose [
scheme: (to-lit-word url-obj/scheme)
user: (config/user)
pass: (config/pass)
host: (url-obj/host)
path: (url-obj/path)
target: (url-obj/target)
]
]

;e.g usage
; read authenticate ftp://ftp.securesite.com/private/file.dat
; read authenticate http://www.securesite.com/private/file.dat

;--

Cheers,

Allen K





[REBOL] CGI: debug mode Re:

2000-09-01 Thread mailinglists

Hello,

I've seen it in a lot of CGI Rebol scripts: place the 'print
"Content-type: text/html"' first.

I don't like it myself, but I use it sometimes when I run into trouble,
until the script is fully tested, then I put it in place again.

Regards,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 31, 2000 15:22
Subject: [REBOL] CGI: debug mode


 - Open Your Mind -



 [[[ MY-MESSAGES-TO-FEEDBACK-KEEP-BOUNCING-BACK MODE ON ]]]

 I've been going mad due to a malfunctioning CGI script. It wouldn't
even tell me what the error was, I just got a generic error page.

 I've spent many hours trying to understand what the problem was, then
I used a dirty trick (I simulated its execution *by hand*) and found out
that the Content-Type wasn't being issued because there was a
loading-time error, so even the very first instruction ( print
"Content-Type: text/plain^/" ) wasn't executed. This happened online
only, the offline execution was OK. Argh.

 Now the problem's solved, but it would be nice'n'useful to have a
command line option to make sure that, in case *anything* gets written
to standard output, the very first thing printed is "Content-Type:
text/plain^/" or some other Content-Type.
 Now, if the script issues "Content-Type: text/plain^/" itself, that's
OK, if the script issues "Content-Type: text/html^/" that's OK, if the
script issues "Content-Type: movie/sci-fi^/", that's OK... but if the
script issues anything else or if there's an early error, the REBOL
interpreter issues "Content-Type: text/plain^/" *first*. So we can see
what the hell's going on. :-)
 I realize this would bring performance down a bit, so it should be a
separate, non-default choice. I was thinking something like --cgidebug
or -d, like this:
 REBOL --cgidebug --secure none cgi-script.r
 REBOL -ds cgi-script.r

 Or at least have "Content-Type: text/plain^/" printed before any early
error message when using the standard --cgi ((-:

 [[[ MY-MESSAGES-TO-FEEDBACK-KEEP-BOUNCING-BACK MODE OFF ]]]




 Alessandro Pini ([EMAIL PROTECTED])

 "Dave, about that monolith..." "Yes, HAL?" "Have you tried the
switch?" (-O HAL 9000  Bowman :-)






[REBOL] CGI: debug mode Re:(3)

2000-09-01 Thread mailinglists

From: [EMAIL PROTECTED]

 I do, too (during the debug phase, then I comment it away), but you
may have missed the point:

Yes, that went one went over my head completely! Sorry! ;o)

Regards,
Rachid




[REBOL] Amiga Smooth scrolling. (was) What's requiered? Jim? (was) Multimedia quality (was) One disk OS + REBOL Re:(14)

2000-08-27 Thread mailinglists

Sorry to drag this on, but this thread brought back some memories!

 Which means it works similar to turning the monitor buttons instead of
 moving bytes :)

Pulling down a screen on the Amiga to reveal another one behind it (like
DPaint or something) was one of the most intuitive things I ever did on
a computer, and the smoothness of scrolling is a lie, there was no
scrolling at all! It was all real! If I didn't know any better, it just
felt like I was really pulling that screen down with my hands...
Unbelievable. It took me years to get "comfortable" with Windows'
window-style.

Two things I really missed from day one on Windows: (1) seperate screens
for programs, and (2) menu at the top of the screen always!

Damn, it's the niceties like that, that I miss... ;o)

Regards,
Rachid

PS. Come to think of it, another thing I missed: inserting a floppy and
having an icon appear for it on the desktop... Ah well...

 --- [EMAIL PROTECTED] wrote on 27-Aug-2000/1:50:58+3:00
  Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
 
   I am an amigan and so I came to PC area from the world of very
   smooth scrolling.  Every PC man should go and look at original
   screen dragging on Amiga. Smooth even on 14Mhz Amiga 500 (or was
it
   even 7 Mhz? :-) IIRC it was hardware supported feature, but not
   sure.
 
  A500 was using 68000 running at 7MHz. Screendragging was done on
  hardware using copper to change som gfx-registers on the fly. Holger
  sure can explain better :)
 
 
  --
  Jussi HagmanCS in Åbo Akademi
University
  Studentbyn 4 D 33   [EMAIL PROTECTED]
  20540 Åbo   [EMAIL PROTECTED]
  Finland
 
 

 Volker






[REBOL] Rebol on the Cassiopeia E-115

2000-08-27 Thread mailinglists



Hello,

Anyone tried this one yet? (when's view coming out 
for the PocketPC? ;o)

Regards,
Rachid


[REBOL] Office Spec. Was Who Writes The Big Rebol Apps ? Re:

2000-08-25 Thread mailinglists

Hehehe...

 REBOL arm patches and tattoos. Gang style initiations.

That's a good one, Ryan!

Regards,
Rachid





[REBOL] Selma hits 250'000, let's party! Q's Re:

2000-08-22 Thread mailinglists

Way behind as always, I came across this:

- Original Message -
 Anyone happen to notice that little Selma REBOL (the script that runs
this  mailing list) has passed the
 25 incoming messages mark?  I think she deserves a party...

 Good job, Selma!  You're The Babe.

 -Carl

How many times did the rebol list come down in these 250,000 messages? I
can remember 2 distinct occassions. How long has it been running without
crashing? And what kind of Rebol version is it, on what OS/Machine spec?

This sounds real impressive...

Regards,
Rachid




[REBOL] Old View Beta 4 connection probs...

2000-08-15 Thread mailinglists

Hi everyone,

At the launch of View Beta 4, a few people (including me) reported not
being able to connect to the REBsite... In my case this was under Win98.
As of today, I can finally surf the net under Win2000, and what do you
know? My View Beta 4 connects to the REBsite (with the DEMO) perfectly!
So perhaps it's a Win98(se) problem only?

Regards,
Rachid





[REBOL] Easier way to view scripts Re:

2000-08-10 Thread mailinglists

Hello Carl,

Remember when View Beta 4 came out, a lot of people were having network
problems, i.e. not being able to connect to the REBsite with the DEMO,
etc.?

Well, I did too, after I tried to do it today! =)

Regards,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 10, 2000 09:26
Subject: [REBOL] Easier way to view scripts


It's now easier to post scripts to share off the reb site.  If you have
them on a server, you can just point to their URL, and a link will be
immediately posted.

When the list gets larger, we can break it up by script category.  I
just don't have the time to program that right now.

   do http://www.rebol.com/view/demo41.r

or, just type DEMO and click on the Check REB Site button.

Do cool stuff,

-Carl




[REBOL] Did anyone notice yet?

2000-06-19 Thread mailinglists

Hey everyone,

I'm behind on my mails again (1200 or so to go), and came accross this
one...

Indeed, there are no more 'unsubsribe' messages anymore! ;o)

Thanks!

Rachid

- Original Message -
From: [EMAIL PROTECTED]

To All List Users,

The user lists will be taken offline for maintenance today.
Please excuse this interruption, we will have them operational
again shortly.  We are adding some features to the lists that
will prevent some of the issues we have experienced in the past,
including filtering out those pesky "unsubscibe" emails.





[REBOL] Bug in Rebol/Core font selection under Win2000

2000-06-19 Thread mailinglists

Hello,

I've finally uncovered a bug in Rebol/Core.

When I start Rebol from the initial state (standard font, not fullscreen), I
see the standard Win2000 system font (the bold one). If I set the font to
Courier New 9, and close Rebol, it does not remember this next time I start
Rebol. If I select the font, then maximise the Rebol console, and then quit,
it does register my changes and starts with Courier New 9, the next time
(maximised of course). If I then 'de-maximise' the console to its original
dimensions and quit, Courier New 9 is retained.

I guess it has something to do with the new Opentype standard?

Regards,
Rachid




[REBOL] CGI Re:(4)

2000-06-13 Thread mailinglists

Hello,

You mentioned that the scripts runs another script with 'do/args - where
does that other script reside? Is it in the same/lower directory, or a
higher?

Regards,
Rachid




[REBOL] What kind of memory? Re:

2000-06-13 Thread mailinglists

BIG OOPS!

My mistake, ignore this... (trying to decompress an ASCII text file...
;o)

Regards,
Rachid


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 14, 2000 00:24
Subject: [REBOL] What kind of memory?


 sd %/d/data/text/evil.txt
** Script Error: Not enough memory.
** Where: data: decompress source
write src


What kind of memory does this refer to? System Resources? I'm running
Win98se on an Intel with 96mb of RAM...

Thanks,
Rachid




[REBOL] Is it possible to run a webserver in CGI-mode?

2000-06-11 Thread mailinglists

Hey guys,

Just a quick question, because I'm too tired to try it right now:

Is it possible to run a rebol script in cgi-mode(--cgi) to act as a
webserver/proxy type of thing? I want to use it as a hub for realtime
chat or something...

Thanks!

Rachid

PS. By the way, I like the "new" direction RT has taken, keep up the
good work Carl  Team!




[REBOL] Off-topic: Improving career chances

2000-06-03 Thread mailinglists

Hello,

Sorry to post off-topic, but I highly regard all you seasoned
Rebol-allies, so if you don't feel compelled to reply, just ignore this
post... =)

My careerpath was looking fine until about a week ago, when I received
the opportunity to move to India. Of course, I would have to get a job
there, so I started to look around on those jobsites, and I was startled
by the amount of experience that is required for most jobs in Indian IT.
4-8 years seems to be the rule...

Unfortunately, I don't have that much experience, and I can't change
that. But I can change my skills, better them, in fact. So I was looking
to extend my current programming abilities (which include Rebol ;o),
Javascript, PHP), which do not include any "real" languages, to some
more languages. My question is: which ones do you recommend? I was
thinking C and Perl (I'm already doing SQL). I believe C++ is a can of
worms? What is the difference between C and C++?

Thanks for your time.

Regards,
Rachid




[REBOL] Windows NT 4.0 / Apache / Rebol Configuration Re:(2)

2000-05-20 Thread mailinglists

Hello,

 On NT 4.0 in my CMD.EXE window, why does

 e:\rebol\rebol.exe --cgi sample.r

 product no output, but

 e:\rebol\rebol.exe --cgi sample.r | more

 produce the correct output? (My configurations etc are
 listed in the message below.)

When you run Rebol in --cgi mode, it is only supposed to produce output
to a webserver, never to the console! Otherwise if your CGI would be
working, it would open a rebol window everytime you ran a cgi script
(apache doesn't have its own console).

But is CGI running yet? Have you tried a script like this:

#!path/to/rebol.exe -cs

REBOL []

print "Content-Type: text/plain^/^/"
print "Just testing!"

Name this script test.cgi and place it in your /cgi-bin/ as defined in
your config. The association you made for Rebol only matters to your NT
system, NOT to Apache, if you would like to set Apache up for .r
execution (and I could never be bothered) you must add an AddHandler
command to your config. Put one below "AddHandler cgi-script .cgi" that
reads: "AddHandler cgi-script .r" and that should work (never tried it,
though)...

Good luck,
Rachid




[REBOL] REBOL and w@p Re:

2000-04-26 Thread mailinglists

That's so cool, Pekr!

Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 26, 2000 13:24
Subject: [REBOL] REBOL and w@p


For those interested, there is now Czech Amiga News in w@ap format
available. You can go to http://www.gelon.net and type in following url:
http://www.rebol.cz/can/news.wml

Enjoy!

-pekr-




[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(9)

2000-04-21 Thread mailinglists

Hello!

 You cannot, because "Internet IP address" is not a clearly defined
term.
 Some users have multiple Internet connections, some none at all. Also,
not all
 platforms provide APIs that allow REBOL to get IP addresses on
individual
 interfaces, not to mention the difficulty of even figuring out which
interface
 connects you to "the Internet". Plus there are complications with
IP-NAT,
 proxies...

Yeah, you're right about all of that, but I was focused on just my home
situation (and those of my friends), without the NATs and proxies,
because...

 Why do you need to know at all ? :-)

I'm building a buddy-list program (very stripped down ICQ) in /View. I
wanted to do direct IP messaging, instead of routing it via a server
(HTTP, or otherwise), that's why... =)

I guess it's not as easy as I'd thought, that's okay, I have plenty of
other projects to do in the meantime... Wait! I just thought up a
solution! It's a bit elaborate, but not too elaborate:

1. Have a page at a (free) webserver that prints out your current IP
address...
2. Have your script read that page...
3. Have Rebol parse the page!

Hurrah! Solved it!

Thanks, Holger, keep up the good work!

Regards,
Rachid

PS. How does it feel working with an all-time Amiga-hero? ;o)




[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(5)

2000-04-20 Thread mailinglists

Hello Michal,

Oops, sorry, noticed your message a bit late!

- Original Message -
 maybe I didn't understand you correctly. Can you connect to the
 internet with other programs on the same computer and at the same time
 REBOL prints 192.168.0.1?

Yep, exactly! I'm on the internet (dial-up networking, Win98), and Rebol
prints my network IP address instead of the internet IP number...
winipcfg does give me the correct number, but Rebol doesn't.

But it's probably a windows thing, because when I synchronise my
computer over the network, and then attempt to go online, IE5 just keeps
telling me I have to connect (when I have 'connect when there is no
network present' checked), so I figure it's a windows thing.

BUT, since winipcfg CAN read the correct address, perhaps Rebol should
be more perceptive in this case? Perhaps a refinement that reads out the
PPP-adapter's IP address, instead of the primary IP address?

How about it RT?

Regards,
Rachid




[REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip questions Re:(7)

2000-04-20 Thread mailinglists


Thanks for the thorough explanation, Holger!

But, how can I solve my problem? I want to know my internet IP address,
how do I get it from Rebol?

TIA,

Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 20, 2000 15:14
Subject: [REBOL] IP reading enhancement, WAS: Searchable archive/ tcp/ip
questions Re:(6)


On Thu, 20 Apr 2000, you wrote:

 Yep, exactly! I'm on the internet (dial-up networking, Win98), and
Rebol
 prints my network IP address instead of the internet IP number...
 winipcfg does give me the correct number, but Rebol doesn't.

 But it's probably a windows thing, because when I synchronise my
 computer over the network, and then attempt to go online, IE5 just
keeps
 telling me I have to connect (when I have 'connect when there is no
 network present' checked), so I figure it's a windows thing.

 BUT, since winipcfg CAN read the correct address, perhaps Rebol should
 be more perceptive in this case? Perhaps a refinement that reads out
the
 PPP-adapter's IP address, instead of the primary IP address?

REBOL gets the IP address from the host name, using DNS lookup, and this
is arguably the correct thing to do.

The problem is that some programs use IP addresses for all kinds of
things,
and this easily causes problems on multi-homed hosts because a program
has no way of knowing which IP address is correct. As a rule, a program
ideally should never use local IP addresses for anything other than
printing
debugging/diagnostic information. Local IP addresses should definitely
never be
used in a protocol in any way.

Because of that, adding refinements to extend the current IP address API
in
REBOL would only make things worse, because it would require scripts to
be
changed by every user so the refinements match the configuration of the
machine
they are running on -- a bad idea.

Unfortunately in REBOL/Core 2.2 the FTP implementation uses local IP
addresses
in such an incorrect way, which is causing problems for some users. The
correct
thing is not to change the way REBOL determines the local IP address,
but rather
to fix the protocols so they do not need to know local IP addresses at
all :-).
FTP in REBOL/View does it correctly, and the fix will also be in the
next /Core
release.

--
Holger Kruse
[EMAIL PROTECTED]




[REBOL] The new little REBOL. Re:

2000-04-19 Thread mailinglists

Hello,

Congratulations! Best of luck and lots of lecithine for your new baby!

Regards,
Rachid

 Hi Pekr and REBOLs,

 Bo's new baby girl, our new little REBOL,  has been named Tatiana,
Tatiana
 Lechnowsky. Wouldn't that be a beautiful name for the heroine in a
Tolstoy
 novel.

 Brenda





[REBOL] Searchable archive/ tcp/ip questions Re:(4)

2000-04-11 Thread mailinglists

Hello,

It does print 192.168.0.1 again, so, uhm, is there any other way to get
around this? I can't access the network settings on a remote computer... ;o)

Thanks,
Rachid

 it's easy, try this:

  print system/network/host-address
 194.213.219.17

 If it prints your other IP address (in your example 192.168.0.1), try to
 change the order of network adapters in Windows network settings.





[REBOL] Searchable archive/ tcp/ip questions Re:(2)

2000-04-10 Thread mailinglists

Hello Kevin,

 This can be determined by reading from dns://

 print read dns://; reads the hostname
 sparky-home

If I do this:

 print read dns://
india

"India" is my computer's name on the network, not from the ISP.

 print read rejoin [dns:// read dns://] ; same as read dns://sparky-home
 209.52.202.215

 print read rejoin [dns:// read dns://]
192.168.0.1

This is my network's address, not the ISP one.

 print read rejoin [dns:// read rejoin [dns:// read dns://]] ; FQDN,
 ;same as read dns://209.52.202.215
 sparky-home.staff.sunshinecable.com

Gves me:

 print read rejoin [dns:// read rejoin [dns:// read dns://]]
INDIA

Again, not IP number I (and [EMAIL PROTECTED]) was looking for. ;o(

Can you help me?

Thanks,
Rachid




[REBOL] CGI secure WAS: CGI problem

2000-04-07 Thread mailinglists

Hello Ingo,

   #!rebol -cs
   REBOL[]
   secure [net quit]
  
   This would give all access to files, but none to the web.

 Well, I just tried to answer the question, in te way I understood
 it. I think GET should still be possible, I am not sure about PUT.
 (I have written one test cgi up to now, so am not exactly a profi
 in this field).

 Thinking about it, the better solution would be to add 'secure
 to %user.r, know you could be sure, that none of your cgi's ever
 sends a mail with your files attached, or something like that ...

Uhm, but that would only count if you used your general Rebol for CGI, and
on a web server, you usuallyu don't (I wouldn't!), my web server has Rebol
in the /cgi-bin/ without a user.r, so it can't mail anyway...

I will test the 'PUT' this weekend... (don't you mean POST?)

Regards,
Rachid




[REBOL] bug ? parse / space Re:(3)

2000-04-07 Thread mailinglists

Hello,

 When I use the '| operator (for OR), 'parse will search the entire string
 for the first pattern then, if this isn't found, it will begin searching
for
 the second pattern. Although a person may want to do this, I do not. What
I
 want is to match the first or second pattern, WHICHEVER COMES FIRST in the
 search string. Bummer, huh?

I couldn't verify this (I only got 'true' returned, but that's obvious ;o),
but I believe 'any is what does that precisely:

a: "ads1dgfuihdf2iofj6pfg5idgfi6idfsgp7gfhi8"
parse a [any ["5" "6"] to end]

My mastery of parse doesn't extend to actually proving this, but I believe
this means 'parse stops at the first of the two it encounters, just like you
wanted, right? =)

Regards,
Rachid




[REBOL] CGI problem Re:(5)

2000-04-05 Thread mailinglists

Hello,

 What you _could_ do, is something like

 #!rebol -cs
 REBOL[]
 secure [net quit]

 This would give all access to files, but none to the web.

Why would one do that? Can it still process a form? How does this exactly
limit Rebol?

Regards,
Rachid




[REBOL] Redirecting CGI Content Re:(5)

2000-04-02 Thread mailinglists

 I tested it before a while and it works: 
 (I've subdirectory REBOL with index.html)
 
 print "Location: REBOL/index.html^/"
 
 Regards,
 Jan 

Thank you very much, exactly what I needed!

Regards,
Rachid




[REBOL] finding the correct binary Re:

2000-03-31 Thread mailinglists

Hello,

If the server runs bog-standard Perl, just download a version of Perldiver
at:

http://www.scriptsolutions.com/programs/free/perldiver/

This script does require you to have the file::find module installed on that
server, if it doesn't work, I modified it to work without that module, so
contact me for a copy.

Install that script to your cgi-bin, change the permissions, and when you
run it, it will show all CGI-environment variables plus some extra
OS-specific stuff, then you can use this new info to download the
appropriate Rebol.

Good luck!

Regards,
Rachid

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 29, 2000 10:44
Subject: [REBOL] finding the correct binary


 How can I find out which rebol binary to upload to my cgi-bin
 directory?  I am using Dellhost, which has several possible server
 configurations.  I do not have telnet access to my site, but I do have
 ftp.  When I use the 'system' command in ftp it tells me

 ftp system

 215 UNIX Type: L8

 Isn't there a web page somewhere where I can submit my URL to find out
 my server configuration?

 Thanks.

 -Ryan






[REBOL] Redirecting CGI Content Re:

2000-03-31 Thread mailinglists

Hello,

This is a slightly different interpretation of the question, but is it
possible to redirect to another page from a Rebol CGI script?

Right now, when I generate an error from a script, the url of the script
still shows in the url-bar of my browser. For errors it's okay, but for a
login, I'd prefer something else. I've solved the problem with Javascript,
but I was wondering if someone had come up with something.

TIA

Regards,
Rachid




[REBOL] B2 Status Re:(6)

2000-03-31 Thread mailinglists

Getting off-topic, but...

- Original Message -
 Unfortunately, such as it is, most of my work is done on the Win2000
 system - because it runs HomeSite, and modern browsers...

 - Porter

Yep, the browser thing had me switch in '96 as well... And rendering
speed... Too bad, huh?

Regards,
Rachid




[REBOL] Newbie question #2 - Pattern making and using? Re:(7)

2000-03-27 Thread mailinglists

  and I need an expression that will come back as TRUE
  for foo: "Old yeller done gone and ate my fluffy
  kitty." or.. if found dog: "old yeller" AND if found
  "ate" AND if found cat: "fluffy kitty" then
  dog-ate-cat: true

It seems to me you're taking them all for a walk! =)

I've just followed a course on natural language processing, where the
professor showed us a system he had helped develop that interpreted
sentences and converted them to propositional logic. It took about two years
to make and was very impressive. Your questions make it seem as if you want
the Rebol Mailing list guru's to solve all your problems for you.

Do you have a system you would like to implement in Rebol, or are you
starting from scratch?

In short: what is your purpose?

Regards,
Rachid




[REBOL] Put rebol script em html pages Re:(4)

2000-03-27 Thread mailinglists

Re: Put rebol script em html pages Re:(2)- Original Message -
 First one is a real one. You can find it working on
http://costume.cyberurbs.com

Wow! It's FAST, how did you get it this fast? You're using just Rebol/Core,
not the Apache-module, right?

Rachid




[REBOL] Shakespeare sonnets

2000-03-15 Thread mailinglists

Hello,

A while ago, someone, I believe it was Allen Kamp, or Ralph Roberts, posted
a message about a script that could create Shakespearian sonnets. And I
wanted to demonstrate that to one of my professors, because I believe that
the script "learned" from existing e-text Shakespeare sonnets. Is that
correct? And where can I find it? I believe it was based on Allen's RNILL as
well, so if it's you, Allen, could you please point me in the right
direction?

Thank you,
Rachid



[REBOL] Detagging..

2000-01-14 Thread mailinglists

Hi!

Belated happy new year to you all!

I'm working on a news script, and needed a way to strip input from
HTML-tags, so I conjured up this little function:

detag: func [
"Removes HTML-tags from a string, file or url, leaves special characters
intact, except nbsp;."
 source [string!] "String, file or url to detag."
 'target [word!] "Copies the result to this target."
 /custom block [block!] "Define a block of special characters to be
replaced, i.e. [^"Aacute;^" ^"Â^"]."
 /local tag string list a b
][
list: ["br" " " "/p" "^/" "nbsp;" " "]
if custom [append list block]
string: copy source
set to-word get 'target string
for i 1 (length? list) 2 [
a: i
b: i + 1
replace/all get target list/:a list/:b
]
while [
parse get target [to "" thru "" to end]
][
parse get target [to "" copy tag thru "" (remove/part find get
target tag length? tag) to end]
]
get target
]

Feel free to optimise all this, I bloated it a little bit, because of br,
/p and nbsp; - so I've added a /custom refinement. Use it to strip any
special characters. I wanted to add a refinement that did that
automatically, but I was too lazy to figure out a really efficient way to
handle the special characters (like:  - any letter - acute/circ/etc. - ;)

Have fun, keep coding!

Regards,
Rachid



[REBOL] What's next for REBOL... Re:(5)

2000-01-09 Thread mailinglists

Hehe, now this is such a coincidence, the first time in years I can't check
my email for a week, and a thread like this comes along. Carl, your plan
sounds revolutionary, I would be glad to be a (small) part of it, thank you
for sharing it with us. Please count me in on the beta-list.

Third time, second time publicly:

Carl, YOU THE MAN!

You're half a world away from me, but your work has always been close...
Thank you, and keep up the outstanding work. You're really doing something
no one else has done before!

Regards,
Rachid


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 07, 2000 07:22
 To: [EMAIL PROTECTED]
 Subject: [REBOL] What's next for REBOL... Re:(4)


 Yes! As long as they have the same subject, I'll find them all,
 and we will send you REBOL/View.  Just as soon as we've got it.

 -Carl


 At 1/6/00 05:58 PM -0600, you wrote:
 Hello, is Rebol keeping count of all these "me too" messages, or
 will there
 be a "go here for the Rebol/view beta" message later?  If the former...
 ME TOO.
 
 Elliott
 
 On 04-Jan-00, [EMAIL PROTECTED] wrote:
 
  Hi:
 
  I also want to be part of the team
 
 
  My
  plan is to release a beta by mid-January to those
  of you who
  want to test drive it.
 





[REBOL] Merry Christmas Script Re:

1999-12-21 Thread mailinglists

Hahahaha! That's great!

I can see it now, Rebol intro's and demo's appearing soon!

Best of wishes,
Rachid

- Original Message -
 Here is my entry to throw fuel into the (unofficial) Ultimate Holiday
Greetings
 Script Contest. :-)

 Feel free to use portions of this script in your holiday script entries.

 Have fun!
 --
Bohdan "Bo" Lechnowsky
REBOL  Adventure Guide
REBOL Technologies 707-467-8000 (http://www.rebol.com)
   Download the REBOL Messaging Language for all Platforms




[REBOL] OT: P300 slower than P133

1999-12-12 Thread mailinglists


Elliott wrote:
 Oh yeah?  Well my brother's (single) P-300 (16MB) can't keep up with Dad's
 P-133 (32MB).  Any Windows95 helpers out there?  Please reply directly.

 We know bro' needs more memory (and both need more HD), but it
 shouldn't be
 that bad, should it?  Dad also has Norton Antivirus in background and bro'
 doesn't.

Of course it's that bad! It's Windows. Bro needs at least 64mb, your dad
should have that as well, speeds things up incredibly. Just remember,
Windows does not have a rom with all system functions integrated. It has to
load it's entire OS into RAM, that's why your brother's P300 is swapping
like crazy, therefore slowing it down.

Also, try running in DOS, that should speed it up as well...

Regards,
Rachid



[REBOL] RFF: empty? for blocks Re:(3)

1999-12-10 Thread mailinglists

Hello Ted,

 Here's something else that I find confusing:

  list: [ 1 2 3 4 ]
 == [ 1 2 3 4 ]
  list2: next list
 == [ 2 3 4 ]
  clear list
 == []
  list2:
 == [ 2 3 4 ]
  next list2:
 ** Script Error: Out of Range or Past End

 About every other operation I try with list2 errors. Exceptions
 are that I can assign it to another variable and print it.

Suddenly I remembered, list2 is nothing more than the location of 'next
list, so the printing thing I can't explain, but take a look at this:

 pnt1: [1 2 3 4 5]
== [1 2 3 4 5]
 pnt2: next pnt1
== [2 3 4 5]
 replace pnt1 4 6
== [1 2 3 6 5]
 print pnt2
2 3 6 5

See? I guess you have to use 'copy to be sure.

Regards,
Rachid



[REBOL] RFF: empty? for blocks Re:(2)

1999-12-10 Thread mailinglists

Hi Eric,

Empty? isn't a synonym for tail?, as far as I know. Your example is a weird
construction, because if I try to test empty? with tail I do this:

 test: [1 2 3]
== [1 2 3]
 tail test
== []
 empty? test
== false

Why do you do:

  test-block: tail [1 2 3 4 5]

It strikes me strange to define 'test-block with the index at the tail. It
influences 'test-block from the get-go:

 test-block: tail [1 2 3 4 5]
== []
 index? test-block
== 6
 head test-block
== [1 2 3 4 5]
 index? test-block
== 6

While:

 test: [1 2 3]
== [1 2 3]
 index? test
== 1
 tail test
== []
 index? test
== 1

The index is set to 6 no matter what, and I don't think that's "healthy" for
a block. =)

Regards,
Rachid



[REBOL] Running unauthorised CGI Re:(2)

1999-12-08 Thread mailinglists

Hi Russell,

I hope I get this reply out to you in time.

Perldiver is a perl script that just outputs all the CGI environment
variables, with some other host server info thrown in as well. It took me
two hours to find a script like this, it's insane but true, and if you want
to find it, just search for "perldiver" in Altavista, that should do the
trick (eventually did it for me ;o).

Just upload this script to your provider's cgi-bin directory, chngmod it to
755, and access it with your browser. This shows you the host's operating
system. I tried two different providers, and one ran Linux on ix86, and the
other ran FreeBSD. I had to guess that the Linux server had Libc5 installed,
but it worked, so I hope yours has FreeBSD (just one Rebol exe =).

Setting up rebol is easy afterwards. Copy the executable to that same
cgi-bin directory, chngmod it to 755, write a simple Rebol script like this:

#! rebol -cs
REBOL []

print "Content-type: text/plain^/^/"

print "Gee, this Rebol CGI thing is really simple!"

quit

..save it as test.cgi and upload it to your server, chngmod it to 755. To
test it, browse to your new script.

I camouflaged Rebol a bit by changing its name to "info" and then referring
to: #! info -cs in my scripts, probably won't help much when they bust me!
=)

Ayway, that should do the trick.

Regards,
Rachid

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 02, 1999 18:40
 To: [EMAIL PROTECTED]
 Subject: [REBOL] Running unauthorised CGI Re:


 As a non-Perler, what does Perldiver look like and how do I use it with my
 commercial server?



[REBOL] Encouraging functional programming Re:(8)

1999-12-01 Thread mailinglists

Hi,

I've been following this thread (though it goes over my head a bit) with
interest, but with this one you guys have lost me! =)

First of all what are Fibonnacci numbers?

Second, perhaps someone could explain to me what Ladislav's code does?

 -Original Message-
 I calculate the Fibonnacci numbers without recursion using REBOL. For
 example

  fib 100
 == 3.54224848179262E+20
 

 How would you calculate it with recursion?

 Jerry

 fib: func [first second n] [

 either n = 1 [first] [

 either n = 2 [second] [

 fib second first + second n - 1

 ]

 ]

 ]

  fib 1.0 1.0 100
 == 3.54224848179262E+20

 Ladislav




[REBOL] virtual pop server Re:(5)

1999-11-26 Thread mailinglists

Hi everyone!

I'm probablyway to late with this post, since I don't have daily internet
access anymore, nor daily Rebol exposure, it's great to see the list so
alive! All those new users, even from India, hurrah!

But anyway, on to the problem:

William wrote:

 My username is 'user1:mail.myname.co.uk'  _not_ user1

 Using some ones previous suggestion of a popspec.r file seems to work
 though.

 Although perhaps this is something that should be addressed in the
 future.

Your username isn't user1:mail.myname.co.uk either. It's a "trick" Demon
Internet use this method as well. All your mail gets dumped in one big
mailbox, so I can send you mail at: [EMAIL PROTECTED] and you receive
just as easily as [EMAIL PROTECTED], at least, it ends up in the same
mailbox.

When you check mail for bigcahuna:mail.yourname.co.uk, the server filters
all bigcahuna addressed mail for you, so it *seems* as if you've got
unlimited pop mailboxes, while you just have *one* big one. With Demon,
entering "yourname" as your username/id instead of user1:mail.yourname.co.uk
(or [EMAIL PROTECTED]) will get you *all* the mail. Try using that in
Rebol.

I hope I have informed you somewhat.

Regards,
Rachid