IRC log of #zope for Thursday, 2013-08-01

*** mcdonc has joined #zope00:05
*** m8 has quit IRC00:52
*** zenwryly has joined #zope01:05
*** prg3 has quit IRC01:36
*** supton has quit IRC01:40
*** fdrake has quit IRC01:45
*** daMaestro has quit IRC02:14
*** menesis has quit IRC02:18
*** menesis has joined #zope02:18
*** menesis has quit IRC02:29
*** prg3 has joined #zope02:42
*** MatthewWilkes is now known as mwilkes|away03:30
*** kosh has joined #zope03:50
*** tiwula has quit IRC04:29
*** Spanktar has quit IRC04:35
*** Spanktar has joined #zope04:48
*** zagy1 has joined #zope05:05
*** esteele is now known as esteele|away05:05
*** zagy has quit IRC05:07
*** kosh has quit IRC07:20
*** avoinea has joined #zope07:46
*** zagy1 has quit IRC07:55
*** benji has quit IRC08:06
*** zagy has joined #zope08:18
*** benji has joined #zope08:45
*** yvl has joined #zope09:43
*** giacomos has joined #zope10:24
*** emidal has joined #zope10:37
*** agroszer has joined #zope10:42
*** mwilkes|away is now known as MatthewWilkes11:08
*** MatthewWilkes is now known as mwilkes|away11:54
*** menesis has joined #zope12:02
*** avoinea has quit IRC12:02
*** mwilkes|away is now known as MatthewWilkes12:07
*** mitchell`off is now known as mitchell`12:16
*** avoinea has joined #zope12:19
*** avoinea has quit IRC12:29
*** fredvd has joined #zope12:38
*** fredvd has quit IRC12:58
*** fredvd has joined #zope13:14
*** fredvd has quit IRC13:16
*** evilbungle has joined #zope13:27
*** MatthewWilkes is now known as mwilkes|away14:13
*** mwilkes|away is now known as MatthewWilkes14:14
*** agroszer has quit IRC14:27
*** nfre has joined #zope14:45
nfreanybody familiar with zodb?14:45
*** giacomos has quit IRC15:05
*** giacomos has joined #zope15:06
*** crazydiamond has quit IRC15:23
*** fredvd has joined #zope15:26
*** nfre has quit IRC15:34
*** esteele|away is now known as esteele15:40
*** goschtl has joined #zope15:52
*** kosh has joined #zope15:52
*** fdrake has joined #zope16:00
*** menesis has quit IRC16:13
*** sp0cksbeard has joined #zope16:31
*** yvl has quit IRC16:44
*** menesis has joined #zope17:12
*** giacomos has quit IRC17:20
*** kosh has quit IRC17:24
*** avoinea has joined #zope17:25
*** giacomos has joined #zope17:37
*** daMaestro has joined #zope17:58
*** supton has joined #zope18:04
*** tiwula has joined #zope18:09
*** crazydiamond has joined #zope18:13
*** kindkid7 has joined #zope18:19
*** zagy has quit IRC18:22
kindkid7Is there a way to iterate through the elements in a ZCatalog index, starting from a certain offset? (ie - for "paging" results)18:23
smkindkid7: there surely is, if we could remember it. Have you found some api docs ?18:28
smnot seeing it at http://143.106.9.7/Control_Panel/Products/ZCatalog/Help/ZCatalog.py , oh well18:30
kindkid7looks like I can do what I want with a query like:  (index_name_goes_here={'query':'some_value', 'range':'min'}), and then just stop iterating early once I have enough for one page18:32
kindkid7and remember which value I left off at for the next page18:33
*** goschtl has quit IRC18:33
kindkid7oh, but I guess I'll need to make sure it's yielding the elements in the same order as the index18:35
*** zagy has joined #zope18:50
*** alecm has quit IRC19:01
*** giacomos has quit IRC19:13
*** zagy has quit IRC19:26
*** zagy has joined #zope19:43
*** zagy has quit IRC19:44
*** fredvd has quit IRC19:55
*** emidal has quit IRC20:05
*** m8 has joined #zope20:11
*** evilbungle has quit IRC20:15
*** MatthewWilkes is now known as mwilkes|away20:19
suptonkindkid7: so catalog results are lazy sequences.  you can just slice them, and they only fetch up to what you need.20:33
suptonkindkid7: just use or write a batching implementation based on sequence slicing, and you will have something that works -- only fetching and constructing catalog brains for metadata objects for your slice/batch.  The LazyMap sequence otherwise just stores a '_seq' attribute with a list of integer record ids, only getting brains using __getitem__() on demand.20:35
suptonsort of like an iterator, but not quite the same20:36
kindkid7cool, thanks20:43
*** benji has quit IRC20:49
*** benji has joined #zope21:03
*** avoinea has quit IRC22:02
*** zagy has joined #zope22:12
*** KageSenshi has quit IRC22:19
*** KageSenshi has joined #zope22:19
*** zagy has quit IRC22:27
*** TresEquis has joined #zope22:27
*** menesis has quit IRC22:34
*** zagy has joined #zope22:54
*** zagy has quit IRC23:03
*** motto has joined #zope23:14
*** m8 has quit IRC23:16
*** motto has quit IRC23:31
*** motto has joined #zope23:31
*** motto is now known as m823:31
*** menesis has joined #zope23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!