Re: [AOLSERVER] Tabs, Spacers, 20-30 years ago, ACID, rec.drugs.?

2002-11-13 Thread Dossy
On 2002.11.12, Jerry Asher [EMAIL PROTECTED] wrote: AOLserver is great about this. ArsDigita Tcl was absolutely terrible about this. Jeez I hated looking at aD Tcl pages. Pages developed on 21 monitors at their highest resolution without a care for maintenance. Tcl is sensitive to

Re: [AOLSERVER] Parrot for multi-lang support?

2002-11-13 Thread Dossy
On 2002.11.12, Talli Somekh [EMAIL PROTECTED] wrote: Parrot is in the early phases of its implementation. The primary way to use Parrot is to write Parrot assembly code, described in PDD6. I could easily see implementing a Tcl interpreter written in Parrot assembly ... Tcl's language spec. is

Re: [AOLSERVER] OpenNSD Re: [AOLSERVER] Responding to SourceForge-generated mail

2002-11-13 Thread Janine Sisk
A bit late, but I've had this sitting in my inbox waiting for a reply: On Tuesday, October 22, 2002, at 09:51 PM, Andrew Piskorski wrote: And FurFly has registered http://www.open-nsd.org/;, but there's nothing actually there yet. We registered those because there were rumblings in the

Re: [AOLSERVER] Parrot for multi-lang support?

2002-11-13 Thread Peter M. Jansson
On Wednesday, November 13, 2002, at 09:36 AM, Dossy wrote: I'm glad the open source community's getting to reinvent the Sun/Java wheel, but ... Which is a reinvention of the Smalltalk wheel.

Re: [AOLSERVER] Parrot for multi-lang support?

2002-11-13 Thread Dossy
On 2002.11.13, Peter M. Jansson [EMAIL PROTECTED] wrote: On Wednesday, November 13, 2002, at 09:36 AM, Dossy wrote: I'm glad the open source community's getting to reinvent the Sun/Java wheel, but ... Which is a reinvention of the Smalltalk wheel. I might agree with you if a whole JVM's

[AOLSERVER] problems

2002-11-13 Thread Seth Fitzsimmons
Hi. I've been experiencing a couple of problems with AOLServer. Running apachebench with a concurrency of 2 or more would eventually cause AOLServer to crash on this script: % cd /usr/local/aol32/servers/server1/pages/newspapers/cache/169/ puts [glob -nocomplain 1_*.js] % Strangely, when I

Re: [AOLSERVER] problems

2002-11-13 Thread Scott S. Goodwin
Try changing 'puts' to 'ns_puts'. You're in a threaded environment, and ns_puts knows which conn it should output to, whereas puts does not. If you want to debug, then use ns_log notice my text string and go look at the server.log file. /s. -Original Message- From: AOLserver Discussion

Re: [AOLSERVER] problems

2002-11-13 Thread Seth Fitzsimmons
I've been looking in the server.log. Where it outputs is not the problem (I threw that in there; it could have just as well been set t [glob -nocomplain 1_*.js]; in fact, this is not in an output context on production). seth Scott S. Goodwin wrote: Try changing 'puts' to 'ns_puts'. You're in a

Re: [AOLSERVER] problems

2002-11-13 Thread Jim Wilcoxson
The cd TCL command does not work in AOLServer, because all threads share the same working directory. When executed in multiple threads simulataneously, you have a race condition. We do this in _init.tcl, the first modules we load with AS: rename cd {} That disables the cd command altogether,

Re: [AOLSERVER] problems

2002-11-13 Thread Peter Harper
You can use the -directory switch on the glob command to achieve the same thing. Pete. From: Jim Wilcoxson [EMAIL PROTECTED] Reply-To: AOLserver Discussion [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [AOLSERVER] problems Date: Wed, 13 Nov 2002 09:20:49 -0800 The cd TCL command does

Re: [AOLSERVER] problems

2002-11-13 Thread Dossy
On 2002.11.13, Jim Wilcoxson [EMAIL PROTECTED] wrote: The cd TCL command does not work in AOLServer, because all threads share the same working directory. When executed in multiple threads simulataneously, you have a race condition. We do this in _init.tcl, the first modules we load with AS:

Re: [AOLSERVER] Emacs indents for tcl and C

2002-11-13 Thread Peter Holt Hoffman
Simon Millward wrote: Well I'm older, and still frightened of putting any characters I can't 'see' in source code. Mind you what really surprises me is that I've *never* met anyone who prefers tabs before...? Quite an eye opener thi ;o) I am also in favor of tabs for all the reasons Dossy has

Re: [AOLSERVER] Parrot for multi-lang support?

2002-11-13 Thread Peter M. Jansson
On Wednesday, November 13, 2002, at 01:08 PM, Titus Brown wrote: Now that would be nice... ;) Smalltalk and Objective C both seem to be interesting languages that are much neglected these days. The Squeak project (http://www.squeak.org/) seems fairly active, and ObjC got new focus because

Re: [AOLSERVER] problems

2002-11-13 Thread Jeff Hobbs
Is there a list of Tcl commands that aren't threadsafe and thus shouldn't be used in AS? All Tcl commands are threadsafe in the traditional sense, in that they are reentrant from multiple threads. However, commands like 'cd' aren't threadsafe because of the effects they have across all

Re: [AOLSERVER] problems

2002-11-13 Thread Peter M. Jansson
On Wednesday, November 13, 2002, at 02:20 PM, Seth Fitzsimmons wrote: Is there a list of Tcl commands that aren't threadsafe and thus shouldn't be used in AS? I don't think this is an issue of thread safety, so much as bugs in the implementation or use of commands that can cause problems. The

Re: [AOLSERVER] problems

2002-11-13 Thread Jeff Hobbs
implementation or use of commands that can cause problems. The cd command appears to share behavior with the clock format ... -gmt 1 bug that Zoran reported recently (fixed now or soon, right?) in That is no longer true with -gmt 1. I corrected this in 8.4 and 8.3.5. Jeff

Re: [AOLSERVER] problems

2002-11-13 Thread Zoran Vasiljevic
On Wednesday 13 November 2002 20:53, you wrote: implementation or use of commands that can cause problems. The cd command appears to share behavior with the clock format ... -gmt 1 bug that Zoran reported recently (fixed now or soon, right?) in That is no longer true with -gmt 1. I

[AOLSERVER] ANNOUNCE: nsjava 1.0.5 released

2002-11-13 Thread Dan Wickstrom
nsjava is a loadable c-module for aolserver that embeds a java virtual machine in-process and provides for scripting of java objects from within aolserver tcl and adp pages. The following features are supported: * Full access to aolserver database api from within java classes. * Create instances