Re: [Zope3-dev] Re: Re-revisiting IResult (for in-Zope pipelining)

2007-07-13 Thread Jim Washington
as the published object typically (being a view class). Doesn't the published object, being a view class, have context and request as instance variables? object.context and object.request should work to access these things. Or am I missing something? -Jim Washington

Re: [Zope3-dev] Re: revisiting IResult (for in-Zope pipelining)

2007-04-16 Thread Jim Washington
I'm more concretely +1 on (a) now that I've spelled out these options. Since no one has given a true -1 on it, I will proceed with that, unless we get further discussion. Thanks, Gary I am looking forward to using some of this! -Jim Washington

Re: [ZODB-Dev] Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-30 Thread Jim Washington
Dieter Maurer wrote: Jim Washington wrote at 2007-3-27 16:28 -0400: ... Yes, I think so, at least in the implementation/algorithm I am using. There may be other implementations that do not need this. Note, however, that the canonical list does not have to be complex objects

Re: [ZODB-Dev] Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-27 Thread Jim Washington
tests to see whether unpacking a factoradic is significantly less expensive than re-sorting. Intuitively, it should be. In practice, I am not so sure. Anyway, this is FWIW. :) -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [ZODB-Dev] Re: [Zope3-dev] Re: Community opinion about search+filter

2007-03-27 Thread Jim Washington
Dieter Maurer wrote: Jim Washington wrote at 2007-3-27 08:24 -0400: ... If you see a sort order as one permutation of a list, the factoradic technique provides a key to that permutation. So, in theory, one would sort the list, and store the factoradic index for that permutation

Re: [Zope3-dev] Re: [SpringCleaning07]

2006-12-20 Thread Jim Washington
with better lxml knowledge are encouraged to point out issues with the implementation. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Re: [SpringCleaning07]

2006-12-20 Thread Jim Washington
a matter of throwing a switch on SF, so it is certainly doable. For the moment, the Zif Collective is all alpha and experimental on SourceForge. Nothing released. Nothing to be alarmed about. Nothing decided about other repositories. -Jim Washington

Re: [Zope3-dev] Content-types in ResourceDirectory

2006-06-20 Thread Jim Washington
Jim Washington wrote: Still playing with Dojo. Very Nice! :) I'm having a problem with content-type for items served from a resourceDirectory. In particular, one piece of dojo, a file with a .html extension begins with ?xml version=1.0 encoding=UTF-8?. The DOCTYPE says XHTML 1.0 Strict

[Zope3-dev] Content-types in ResourceDirectory

2006-06-17 Thread Jim Washington
this for now. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Zope 3 lacks Ajax capability?

2006-05-15 Thread Jim Washington
is an iterator that is specifically not a list or tuple. hth, -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Preview - gzipping (improved) as wsgi middleware

2006-05-04 Thread Jim Washington
this is a small example of. I recall Gary saying something about zc.resourcelibrary possibly being wsgi-middleware-able, and that would be really cool! And with wsgi-friendly zope2, (does zope.paste work in Five?), well, I could go on and on and on... :) -Jim Washington

Re: [Zope3-dev] zc.datetimewidget and ITZInfo request adapter

2006-04-02 Thread Jim Washington
. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] httpgz in zope.conf?

2006-03-21 Thread Jim Washington
Gary Poster wrote: On Mar 20, 2006, at 9:39 AM, Stephan Richter wrote: On Monday 20 March 2006 09:35, Jim Washington wrote: [...] BTW, I would be glad to see a proposal to add this to the core. I think httpgz is general very interesting to a lot of people. +1 If it goes into the core

[Zope3-dev] httpgz in zope.conf?

2006-03-20 Thread Jim Washington
hooks in zope.conf? Or would that be a bad idea? -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Re: httpgz in zope.conf?

2006-03-20 Thread Jim Washington
to be updated first. I'll maybe look into that when I have time. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Twisted? We lost the username in the access.log

2006-01-12 Thread Jim Washington
x-forwarded-for in the log (my machines are all behind pound, and 127.0.0.1 as ip address is pretty useless), but I found the XXX about user while I was spelunking there. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http

Re: [Zope3-dev] Re: rdb: Disappearing Connection

2005-12-14 Thread Jim Washington
jürgen Kartnaller wrote: Without going much deeper into the way zope uses database connections. Wouldn't MySQL:Ping solve the reconnect Problem. That's what I used in my old C++ projects. Some kind of ensureConnected at the right place. Jürgen Thanks! I'll look into it. -Jim Washington

[Zope3-dev] rdb: Disappearing Connection

2005-12-13 Thread Jim Washington
see consensus that zope.app.rdb is the place to remedy this. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] rdb: Disappearing Connection

2005-12-13 Thread Jim Washington
idleness, so I would think it unlikely that one would be resuming an 8-hour-old transaction. Could that happen? -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Re: [Zope3-dev] Re: rdb: Disappearing Connection

2005-12-13 Thread Jim Washington
Jim Washington wrote: Florent Guillaume wrote: Jim Washington wrote: Spelunking a bit in the code, zope.app.rdb.ZopeDatabaseAdapter.isConnected() looks at whether _v_connection is present, not whether the connection is actually alive. If we fix this here, isConnected() perhaps should

Re: [Zope3-dev] rdb: Disappearing Connection

2005-12-13 Thread Jim Washington
Christian Theune wrote: Am Dienstag, den 13.12.2005, 16:32 -0500 schrieb Jim Washington: Christian Theune wrote: Well. First, the error would be something like an OperationalError (or similar). Hmm. Not too distinguishable. Ideally we could: - differentiate this kind