Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-08-01 Thread Mark Dalrymple

rob Unfortunately, that's not the documentation for my module. AOLserver 2.3
rob had an ns_cache Tcl command, but it was removed in AOLserver 3. I don't
rob know why it was removed.

It was orignally developed for an internal AOL customer with some
requirements that really contorted the implementation (which I must
admit wasn't my best work either)

++Mark Dalrymple, http://badgertronics.com
   i have many thoughts. some of them involve dragons and midgets, but
mostly they're about spiderman and how he stole my act
 -- Talli



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread Dave Siktberg

This appears to be collateral damage from the arsDigita collapse.  I too
could not find the download anywhere just now (AOLServer, OpenACS, OpenNSD,
Rob Mayoff search on google, ns_cache search on google, Scott Goodwin's site
(www.scottg.net), the AOLServer Wiki
(http://www.panoptic.com/wiki/aolserver/), ...).  Luckily I downloaded
ns_cache long ago from arsdigita, and recently compiled and installed it.
It works very well, and IMHO is a very useful API.  (Rob Mayoff wrote it I
believe, and incorporated a very powerful automated test engine as well -
worth looking at in its own right.  But sounds like Rob is now doing other
things, so maybe ns_cache has inadvertently become an orphan.)
Documentation is included in the tarball.  I don't have a
permanently-on-line server yet so I can't make it available myself, but it
would be better if it were on an official site anyway.  Using google I did
find this location serving the documentation page, which will whet your
appetite until you get the code:

http://java.cms.livjm.ac.uk/local/as23docs/html/tapi-c22.htm

Does anyone know where the latest version now resides?  My copy declares it
is version 1.1, and it appears to date from October 2000.  I'll send it to
anyone interested.

Can someone put it onto the OpenACS server?  Any reason not to?

Dave Siktberg


Call me dumb, but I just went to the AOL documentation page and still
can't find anything on ns_cache.  There are 4 ns_cache_ routines
to do miscellaneous things, but nothing to explain ns_cache itself.

So I grepped the source I have (3.4), and found the C routines to do
anything you could possibly want with a cache, plus a new undocumented
TCL routine ns_cache_keys, but no ns_cache.  So I went to
www.aolserver.com and looked around, figuring maybe it was a module
add-on.  Eventually found the module page after 5-6 clicks, but still
no ns_cache.

I'm not complaining, because this isn't particularly important to me,
but I can't imagine a relatively new AOLServer developer figuring any
of this out.  I'm lost, and I've been developing on it for 8 years.

Oh well... back to my 5 lines of code I guess.

Jim


 Yeah, vaguely.  I went looking for documentation etc. one time, got kinda
 lost, and gave up.  For an interface/feature to compete with 5 lines of
 TCL code, it has to be pretty damn easy to use and in my face.  It was
 taking me longer to track down information on ns_cache than it would take
 to enter the 5 lines of code, so I gave up.

 
  Jim, are you aware that AOLserver 3 has C API for caches that
  automatically flush outdated entries and automatically evict LRU entries
  to limit memory use, and that there's an ns_cache module that provides a
  Tcl layer for the C API?
 
  +-- On Jul 30, Jim Wilcoxson said:
   Just roll your own cache, whereever you need it, or put it in a
routine:
 




Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread Daniel P. Stasinski

  My copy declares it is version 1.1, and it appears
  to date from October 2000.  I'll send it to
  anyone interested.

It took some hunting last week but I did find 1.0.  I would love
a copy of 1.1

Thanks,

Daniel P. Stasinski
Software Engineer
Mayor Pharmaceutical Laboratories
[EMAIL PROTECTED]



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread Roberto Mello

On Wed, Jul 31, 2002 at 11:58:11AM -0400, Dave Siktberg wrote:
 This appears to be collateral damage from the arsDigita collapse.  I too
 could not find the download anywhere just now (AOLServer, OpenACS, OpenNSD,
 Rob Mayoff search on google, ns_cache search on google, Scott Goodwin's site
 (www.scottg.net), the AOLServer Wiki
 (http://www.panoptic.com/wiki/aolserver/), ...).  Luckily I downloaded
 ns_cache long ago from arsdigita, and recently compiled and installed it.
 It works very well, and IMHO is a very useful API.  (Rob Mayoff wrote it I
 believe, and incorporated a very powerful automated test engine as well -
 worth looking at in its own right.  But sounds like Rob is now doing other
 things, so maybe ns_cache has inadvertently become an orphan.)

It appears that ns_cache has indeed become an orphan. Maybe there are
other modules from the ArsDigita release that never made it into the
sourceforge CVS.

The OpenACS project has the AOLserver 3.3ad13 tarball on
http://openacs.org/software.adp. Perhaps someone with sourceforge CVS
access would care to commit it to sourceforge in the add-ons area?

-Roberto

--
+| http://fslc.usu.edu/ USU Free Software  GNU/Linux Club |--+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net/
   http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer
 Virus-checker message: MS-Windows found...delete?(Y/Y)



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread kapil thangavelu

On Wednesday 31 July 2002 09:08 am, you wrote:
   My copy declares it is version 1.1, and it appears
   to date from October 2000.  I'll send it to
   anyone interested.

 It took some hunting last week but I did find 1.0.  I would love
 a copy of 1.1

a copy of nscache1.1 is included in the openacs's aolserver distribution,
which is includes other aD patches/modules.

-kapil



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread Scott Goodwin

I've passed Rob's nscache module to Kris and asked him to import it
into the AOLserver CVS tree at SourceForge.


/s.



On Wed, 31 Jul 2002 11:21:58 -0500, Rob Mayoff [EMAIL PROTECTED] said:
 +-- On Jul 31, Dave Siktberg said:
  Using google I did find this location serving the documentation page,
  which will whet your appetite until you get the code:
 
  http://java.cms.livjm.ac.uk/local/as23docs/html/tapi-c22.htm

 Unfortunately, that's not the documentation for my module. AOLserver
 2.3
 had an ns_cache Tcl command, but it was removed in AOLserver 3. I don't
 know why it was removed. I did not know about 2.3's ns_cache command
 when I wrote the nscache module, so the ns_cache command in the nscache
 module does not have the same syntax as the ns_cache command in 2.3.

 I have put the last version of nscache on my web page:

 http://dqd.com/~mayoff/aolserver/#nscache

 The documentation is here:

 http://dqd.com/~mayoff/aolserver/src/nscache/index.html

 This is version 1.1, though it isn't marked as such. I encourage
 any interested party to put the code in sourceforge or some other
 repository.


--
  Scott Goodwin
  [EMAIL PROTECTED]
  http://scottg.net



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-31 Thread Dave Siktberg

I looked in that tarball but not closely enough - though there are no files
named nscache* or ns_cache*, there is a directory named nscache, and the key
program file is named tclcache.c.

 a copy of nscache1.1 is included in the openacs's aolserver distribution,
 which is includes other aD patches/modules.

 -kapil



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-30 Thread Rob Mayoff

Jim, are you aware that AOLserver 3 has C API for caches that
automatically flush outdated entries and automatically evict LRU entries
to limit memory use, and that there's an ns_cache module that provides a
Tcl layer for the C API?

+-- On Jul 30, Jim Wilcoxson said:
 Just roll your own cache, whereever you need it, or put it in a routine:



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-30 Thread Jim Wilcoxson

Call me dumb, but I just went to the AOL documentation page and still
can't find anything on ns_cache.  There are 4 ns_cache_ routines
to do miscellaneous things, but nothing to explain ns_cache itself.

So I grepped the source I have (3.4), and found the C routines to do
anything you could possibly want with a cache, plus a new undocumented
TCL routine ns_cache_keys, but no ns_cache.  So I went to
www.aolserver.com and looked around, figuring maybe it was a module
add-on.  Eventually found the module page after 5-6 clicks, but still
no ns_cache.

I'm not complaining, because this isn't particularly important to me,
but I can't imagine a relatively new AOLServer developer figuring any
of this out.  I'm lost, and I've been developing on it for 8 years.

Oh well... back to my 5 lines of code I guess.

Jim


 Yeah, vaguely.  I went looking for documentation etc. one time, got kinda
 lost, and gave up.  For an interface/feature to compete with 5 lines of
 TCL code, it has to be pretty damn easy to use and in my face.  It was
 taking me longer to track down information on ns_cache than it would take
 to enter the 5 lines of code, so I gave up.

 
  Jim, are you aware that AOLserver 3 has C API for caches that
  automatically flush outdated entries and automatically evict LRU entries
  to limit memory use, and that there's an ns_cache module that provides a
  Tcl layer for the C API?
 
  +-- On Jul 30, Jim Wilcoxson said:
   Just roll your own cache, whereever you need it, or put it in a routine:
 




Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-30 Thread Rob Mayoff

+-- On Jul 30, Jim Wilcoxson said:
 I'm not complaining, because this isn't particularly important to me,
 but I can't imagine a relatively new AOLServer developer figuring any
 of this out.  I'm lost, and I've been developing on it for 8 years.

The ns_cache module was part of the ArsDigita release. I think it
was also downloadable separately. I don't know if it ever made it to
sourceforge.



Re: [AOLSERVER] Seeking ns_cache configuration advice

2002-07-30 Thread Jim Wilcoxson

Thanks Rob.  -J


 +-- On Jul 30, Jim Wilcoxson said:
  I'm not complaining, because this isn't particularly important to me,
  but I can't imagine a relatively new AOLServer developer figuring any
  of this out.  I'm lost, and I've been developing on it for 8 years.

 The ns_cache module was part of the ArsDigita release. I think it
 was also downloadable separately. I don't know if it ever made it to
 sourceforge.