[ZODB-Dev] Storing ordered elements

2010-11-02 Thread Pedro Ferreira
Hello all, I need to store a sequence of records inside a BTree (or any other structure that supports ranges), ordered by time of execution. My first approach was to simply use an IOBTree where values are sets (as most probably there will be some entries with the same timestamp, as the

Re: [ZODB-Dev] Storing ordered elements

2010-11-02 Thread Jim Fulton
On Tue, Nov 2, 2010 at 12:45 PM, Pedro Ferreira jose.pedro.ferre...@cern.ch wrote: Hello all, I need to store a sequence of records inside a BTree (or any other structure that supports ranges), ordered by time of execution. My first approach was to simply use an IOBTree where values are sets

Re: [ZODB-Dev] Storing ordered elements

2010-11-02 Thread Pedro Ferreira
OOSets are ordered. Yes, I know. My problem was that I wanted to order the elements by timestamp, and I didn't want to wrap anything around them just to have them ordered. But I think that in the end that's what I will do... or just make them comparable by timestamp. Thanks! Pedro --

[ZODB-Dev] ZODB Book Update

2010-11-02 Thread Alan Runyan
Thanks to Carlos and Jens we have the ZODB book being updated daily on zodb.org, http://www.zodb.org/zodbbook/ -- also have disqus integrated into sphinx html output. People can read the first three chapters and provide feedback at the bottom of each page. We are looking for feedback. If anyone

Re: [ZODB-Dev] Storing ordered elements

2010-11-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 01:14 PM, Pedro Ferreira wrote: OOSets are ordered. Yes, I know. My problem was that I wanted to order the elements by timestamp, and I didn't want to wrap anything around them just to have them ordered. But I think that

Re: [ZODB-Dev] ZODB Book Update

2010-11-02 Thread Jim Fulton
On Tue, Nov 2, 2010 at 1:31 PM, Alan Runyan runy...@gmail.com wrote: Thanks to Carlos and Jens we have the ZODB book being updated daily on zodb.org, http://www.zodb.org/zodbbook/ -- also have disqus integrated into sphinx html output.  People can read the first three chapters and provide

Re: [ZODB-Dev] ZODB Book Update

2010-11-02 Thread Alan Runyan
Thanks to Carlos and Jens we have the ZODB book being updated daily on zodb.org, http://www.zodb.org/zodbbook/ -- also have disqus integrated into sphinx html output.  People can read the first three chapters and provide feedback at the bottom of each page. Posting comments is a pain. I have

Re: [ZODB-Dev] ZODB Book Update

2010-11-02 Thread Jim Fulton
On Tue, Nov 2, 2010 at 3:46 PM, Alan Runyan runy...@gmail.com wrote: Thanks to Carlos and Jens we have the ZODB book being updated daily on zodb.org, http://www.zodb.org/zodbbook/ -- also have disqus integrated into sphinx html output.  People can read the first three chapters and provide

Re: [ZODB-Dev] ZODB Book Update

2010-11-02 Thread Carlos de la Guardia
I just found an option to put login links above the comment box, since they are not easy to find otherwise. Hope that helps. Carlos de la Guardia On Tue, Nov 2, 2010 at 3:04 PM, Jim Fulton j...@zope.com wrote: On Tue, Nov 2, 2010 at 3:46 PM, Alan Runyan runy...@gmail.com wrote: Thanks to