Re: [Zope-dev] Externalize or Adapt? (ZPatterns)

2000-06-08 Thread Tres Seaver
"Phillip J. Eby" <[EMAIL PROTECTED]> wrote: Wow, Phillip! That was the best 'grounding' I have seen yet for ZPatterns; in fact, I think it was exactly what I needed to let me wrap my head around them. Thanks very much for posting this! Tres. -- =

[Zope-dev] assigning proxy roles from python product, take 2

2000-06-08 Thread R. David Murray
Hmm. No takers the first time. Quick review: python product, product instantiates a DTML method and tries to assign it a proxy role. Proxy role gets assigned, but a 'manager' account can no longer access the method, though superuser can. Zope 2.1.6. I played with the product some more, moving

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Stuart 'Zen' Bishop
On Wed, 7 Jun 2000, Petru Paler wrote: > Comments ? Suggestions ? > > PS: a new DirectoryStorage release will be done today, with bugfixes and > new features. I'd love some sort of benchmarking tool for this (and posibly other Storages). I guess the best way would a python script that uses url

[Zope-dev] [TRACE] Unable to mount mountable storage

2000-06-08 Thread Bill Anderson
OK, thought I would start playing with this... Figured I would load a separate site to start with . It fails, claiming it cant load oid. The site is orignally on 2.1.6, if it matters. Then I copied the current Data,fs to foo.fs, and figured I'd give it a try, being a new .fs and all. It complain

[Zope-dev] My Aquisition Zen fell short...

2000-06-08 Thread Bill Anderson
OK, been debugging the PTK problem with DTML Documents, as noted in the PTK list. I thought I would jump over here to get some more eyes/suggestions/etc. (Bug 81 in the PTK Tracker IIRC) I have narrowed the problem down tothe following situation: When in a Portal, a DTML Document calling a DTML

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Michel Pelletier
Jimmie Houchin wrote: > > From my naive understanding, would this help with the problem ZODB has > with regard to folders with many objects? Would a person who is using > DirectoryStorage not necessarily be required to partition their objects > into an artificially derived hierarchical directory

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Jason Spisak
Petru Paler writes: > > >Glad you find it interesting :) > > > > Very. I think the line between FileSYstem and Database gets more blurred > > every day. > > That's what Hans Reiser says all the time :) > > > Thanks for the heads up. I have to patch my kernel up to 2.2.11 first, > > then

Re: [Zope-dev] Externalize or Adapt? (ZPatterns)

2000-06-08 Thread Phillip J. Eby
At 09:18 PM 6/8/00 +0800, Mike wrote: >Hi, > >suppose I have two Specialists (A and B) written independently each >other. I need to use certain set of services provided by one Specialist >(A) in other (B). I see two way: Let's take a specific example. Suppose I run a drop zone (a place where peo

RE: [Zope-dev] Can't add propertysheets to ZClasses in 2.2

2000-06-08 Thread Brian Lloyd
FYI - this is fixed in the Very Latest CVS :^) Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com > -Original Message- > From: Kevin Dangoor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 08, 2000 10:59 AM

[Zope-dev] Can't add propertysheets to ZClasses in 2.2

2000-06-08 Thread Kevin Dangoor
I've already submitted this to the collector, but I wanted to make sure that I'm not the only one with this problem. Using the CVS Zope, if I create a ZClass, I am unable to add a Property Sheet because of an error (missing "__len__"). I find it hard to believe that I'm the first person to try to

[Zope-dev] Externalize or Adapt? (ZPatterns)

2000-06-08 Thread Mike
Hi, suppose I have two Specialists (A and B) written independently each other. I need to use certain set of services provided by one Specialist (A) in other (B). I see two way: 1) Create common proxy for A, implementing public subset of A's interface and make B (and other possible clients) depen

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
> I don't have the two on comparable machines :-( > > Do you have a standard benchmark for comparing the relative performance > FileStorage/DirectoryStorage on reiser fs? Not yet. I have been using a script which just creates/retrieves objects from the ODB but I guess something more serious

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Toby Dickenson
I don't have the two on comparable machines :-( Do you have a standard benchmark for comparing the relative performance FileStorage/DirectoryStorage on reiser fs? > > M. I suspect NTs heavier file security checks will prove to be a > > significant disadvantage - benchmarks to follow. > >

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
> M. I suspect NTs heavier file security checks will prove to be a > significant disadvantage - benchmarks to follow. If you do benchmarks, you should do them comparing DirectoryStorage/NTFS to DirectoryStorage/reiserfs, because (at least at mass object creation) DirectoryStorage is slower

RE: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Toby Dickenson
> The version I sent to the list assumes a '/' directory > separator. I'm > releasing a fixed version (a snapshot of my working code) in > a couple of > seconds. Thats fine on windows too (a backslash is only required on the standard command line, but everywhere else a / is ok too) > I

[Zope-dev] DirectoryStorage 0.03

2000-06-08 Thread Petru Paler
Note that this version (experimentally) uses a dbm database for storing serials. If you don't have/don't want to use gdbm, replace all occurences of gdbm with dbhash or dumbdbm. I didn't used anydbm because it has some strange problems with my python installation :) (but it will be fixed soon)

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
> > Hello all, > > > > You probably saw my yesterday post with the first alpha of > >ReiserStorage. > > Woohoo! > > Id like to try this on NT with NTFS too (which has similar performance > characteristics with big directories and small files). Do you think > this is worth a try, or do

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Petru Paler
> From my naive understanding, would this help with the problem ZODB has > with regard to folders with many objects? Would a person who is using > DirectoryStorage not necessarily be required to partition their objects > into an artificially derived hierarchical directory structure? No, these

Re: [Zope-dev] Request for comments: Directory storage

2000-06-08 Thread Toby Dickenson
On Wed, 7 Jun 2000 18:00:31 +0300 (EEST), Petru Paler <[EMAIL PROTECTED]> wrote: > Hello all, > > You probably saw my yesterday post with the first alpha of >ReiserStorage. Woohoo! Id like to try this on NT with NTFS too (which has similar performance characteristics with big directo