r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

shadwolf
16-Feb-2005
[440]
because they update MSN messenger so as the browser is par of the 
package they update it too
Vincent
16-Feb-2005
[441]
yes, and if you don't want MSN messenger - you have to uninstall 
it at each IE security update
Tim
18-Feb-2005
[442]
Any CGI gurus here? I've just started setting for CGI on windows 
after years on Linux. I can't figure out how to get the proper registry 
entries so that I can work with apache as the server on windows XP. 
Anyone have any experience with that? Or point me to correct forum 
is this is the wrong one... thanks.
Chris
18-Feb-2005
[443]
Hmm, I don't fully recall setting up Apache, but I also don't think 
that I needed to change the registry to get it running...
Carl
18-Feb-2005
[444]
Yes... that's what I was going to say too. I just "worked".  But 
that was on Win2000.
Chris
18-Feb-2005
[445]
I installed it on WinME and it survived the XP upgrade.
Tim
19-Feb-2005
[446]
The trick for me is to reconcile the she-bang line, not only for 
different servers and OSs *but* also with different scripting languages. 
 Using one she-bang line on the test machine and a different one 
on a live server is full of potential errors, regardless of the language. 
On apache/windows the following line being enabled: "ScriptInterpreterSource 
registry" tells apache/windows to find an association in the registry. 
Well, there is no rebol/core installation procedure to do it, and 
the registry entry appears to be different from windows 98/IIS, and 
I haven't been able to figure it out. I need to be able to run scripts 
from rebol, python and perl on this machine *and* to be able to upload 
any of them to a unix/linux server. so ..... I installed rebol and 
user.r in c:\usr\bin, installed python at   d:\python23 *and* copied 
python.exe to c:\usr\bin. So far rebol and python are both working 
using #!/usr/bin/rebol and #!/usr/bin/python respectively as the 
she-bang lines (with ScriptInterperterSource turned off). I will 
later try that with perl and see what happens. If that works, then 
I have a solution. However,  it seems to me that the rebol installation 
should provide proper registry entries to by-pass the she-bang line 
as perl and python do.
Sunanda
19-Feb-2005
[447]
Using one she-bang line on the test machine and a different one on 
a live server is full of potential errors,
That's true.

But using the *same* shebang in a collaberative development forces 
all developers to have the same setup. 


We sorted that in REBOL.org by having the custom uploader change 
the shebang to be correct for the upload destination.
Volker
19-Feb-2005
[448]
you can upload a test-script with that shebang and call it from rebol 
as part of the upload.
shadwolf
19-Feb-2005
[449x5]
no need to go to registry base to setup it
as in linux you have a http.conf file to edit
you need to set some little  options and that's all folks
you have a tool named apache monitor to start apache serv and to 
stop it or restart it :)
httpd.conf
Tim
19-Feb-2005
[454x2]
There would be no collaboration on this machine between rebol programmers. 
Two programmers, one using rebol and python (me), the other using 
perl. And of course we are using the same setup, because all scripts 
are being uploaded to any of a number of linux or sun system servers, 
all of which use the same convention: #!/usr/bin/[interpreter]. I 
fully understand Sunanda's approach, but in the case of rebol.org, 
there are many programmers working from multiple machines in multiple 
OSs. I think the the c:\usr\bin approach will work fine for our humble 
endeavor.
Having said that, I want to eventually study Sunanda's approach more, 
because I want to eventually set up a rebol-based system for uploading 
that will handle she-bangs *and* dependencies.

BTW: Rebol.org seems to be progressing very well. If progress continues, 
I envision something as sophisticated (and hopefully easier to use) 
as CPAN. Keep up the good work.
Sunanda
20-Feb-2005
[456]
Tim: A general purpose uploader would be very useful.

I'll drop you some notes privately on some ideas for what it should/could 
do.
Tim
21-Feb-2005
[457]
Sunanda: I quote you from another forum: Tim: A general purpose uploader 
would be very useful. I'll drop you some notes privately on some 
ideas for what it should/could do.....Looking forward to it! My idea 
is of a cgi upload script that for any cgi script, first checks a 
web site and compares timedate stamps, checking to make sure that 
dependencies are current and if not, makes them also available for 
upload. BTW: Some time ago on the rebol ML,

there was reference to an enhanced FTP module. Does that ring a bell? 
<grin> or was that you?
Sunanda
22-Feb-2005
[458]
I think that was probbaly Romano and his FTP patches:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlDKCQ


I'm convinved that an FTP program alone isn't enough.  You need an 
intelligent program at at each of the pipe......Sounds like you are 
thinking the same way.
Volker
22-Feb-2005
[459]
i use two mirror-directories. one is a full mirror of the website. 
in the second fresh uplods are stored. i put them there by comparing 
the upload-files with the ones in the full mirror. then i scp to 
the website.
Tim
22-Feb-2005
[460]
Sunanda - Thanks. I think that is what  I was looking for allright.
Anton
25-Feb-2005
[461]
Does anyone have an idea how one can get the timezone a particular 
server is on (in an automated way) ? eg. What timezone is www.lexicon.net 
in ?
Graham
25-Feb-2005
[462x2]
I suspect you will have to look up the ip address in an ip map and 
guess from there
that web site reports the time in GMT
Anton
25-Feb-2005
[464]
by what method ?
Graham
25-Feb-2005
[465]
opening it
Anton
25-Feb-2005
[466x4]
Ah, you are right:
>> port/locals/headers/date
== "Fri, 25 Feb 2005 05:45:11 GMT"
thanks. I wonder how standard this behaviour is... let's see...
looking good so far, must do more tests..
The reason I wanted to know was because I'd like exists-thru? to 
be able to calculate the age of a remote document, so it can compare 
with the locally cached version.
Graham
25-Feb-2005
[470x2]
isn't there an http statement for that?
head ?
Tomc
25-Feb-2005
[472]
http://www.rebol.org/library/scripts-download/http-head.r
Graham
25-Feb-2005
[473]
ahh.. the author jumps in :)
Anton
25-Feb-2005
[474]
Very good. It's short too.
Graham
25-Feb-2005
[475x2]
how does 'info? work .. a similar way?
'http-head should probably parse out the port for the web server 
and if  it is not there, only then default to 80
Tomc
25-Feb-2005
[477x2]
yes it should
I'll update it
Graham
25-Feb-2005
[479]
oh well, an exercise for the gentle reader
Tomc
25-Feb-2005
[480]
precious few of those around
Graham
25-Feb-2005
[481]
readers??
Tomc
25-Feb-2005
[482]
gentle readers anyway
Graham
25-Feb-2005
[483]
we're a pretty tame lot here ... good job Terry is around to wake 
us up now and then
Tomc
25-Feb-2005
[484]
updated
Terry
25-Feb-2005
[485x2]
OUTLINE OF SCAPEGOATING PSYCHO-DYNAMICS

In scapegoating, feelings of guilt, aggression, blame and suffering 
are transferred away from a person or group so as to fulfill an unconscious 
drive to resolve or avoid such bad feelings. This is done by the 
displacement of responsibility and blame to another who serves as 
a target for blame both for the scapegoater and his supporters. The 
scapegoating process can be understood as an example of the Drama 
Triangle concept [Karpman, 1968].
http://www.scapegoat.demon.co.uk/
Wake up ;)
BrianW
25-Feb-2005
[487]
I really like the bit in the middle where they discuss the merits 
and flaws of JavaScript versus CSS for site interactivity.
Graham
25-Feb-2005
[488]
Yeah, Terry is responsible to the delays at RT
Terry
25-Feb-2005
[489]
The Story of Andrés Escobar
http://en.wikipedia.org/wiki/Andr%E9s_Escobar