IRC log of #zope3-dev for Friday, 2007-03-09

*** wreutz has joined #zope3-dev00:00
*** jinty has joined #zope3-dev00:09
*** RaFromBRC is now known as RaFromBRC|lunch00:10
*** Aiste has joined #zope3-dev00:10
*** marcin_ant has joined #zope3-dev00:11
*** jinty has quit IRC00:13
*** rmarianski has joined #zope3-dev00:14
*** nathany has joined #zope3-dev00:20
*** zenwryly has joined #zope3-dev00:22
zenwrylyBeen looking at intid, very exciting.  I'm confused though, if a key reference is persistent, why would I use the intid utility instead of just storing the key reference itself where I would have stored the intid?00:23
*** d2m has left #zope3-dev00:24
philiKONzenwryly: optimization00:25
philiKONindexes prefer integers00:25
philiKONpurely for optimiation00:25
zenwrylyah!00:25
zenwrylyit's for indexes!00:25
philiKONthey use the integer variants of BTrees00:25
philiKONwhich can be insanely fast00:25
philiKONfor, say, intersections etc.00:25
philiKON(set operations)00:25
philiKONs/intersections/crosssections :)/00:25
zenwrylyok, so if all I want to do is store a reference from one object to another, there's no reason not to store the key reference directly00:26
zenwryly?00:26
benjiit's also a nice pattern to pass int IDs in JSON data structures to the browser00:26
philiKONyup00:26
philiKONintids are great for rounttripping ot the browser00:26
benjizenwryly: if all you want to do is store a reference from one object to another, store an actual object reference00:26
zenwrylybenji: ok, I'm really an imposter, I'm using five.intid00:27
zenwrylybenji: for aq wrapped references00:27
zenwryly:)00:27
* zenwryly is sheepish00:27
zenwrylybenji: also, this is Ross00:27
benjiheh, yeah I was aware :)00:31
zenwrylyok, good :)00:31
*** alecm has joined #zope3-dev00:31
*** timte has quit IRC00:38
*** lucie has quit IRC00:46
Theunialso, notice that there are weak references available which might be more what you want, depending on your application.00:49
zenwrylyTheuni: yeah, thanks00:50
Theuninp00:50
* Theuni also notes that blobs are landing in zope 2 and zope 3 right in this moment00:51
*** RaFromBRC|lunch is now known as RaFromBRC01:02
*** pelle_ has quit IRC01:02
*** benji has quit IRC01:04
*** wreutz_ has joined #zope3-dev01:23
*** J1m has quit IRC01:29
*** wreutz has quit IRC01:30
*** niemeyer_ is now known as niemeyer01:35
*** wreutz_ has quit IRC01:38
*** wreutz_ has joined #zope3-dev01:39
*** jodok has quit IRC01:59
*** rmarianski has quit IRC02:09
*** projekt01 has quit IRC02:16
*** _projekt01 has joined #zope3-dev02:16
*** marcin_ant has quit IRC02:33
_projekt01alga, ayt?02:38
*** _projekt01 is now known as projekt0102:38
*** radix has quit IRC02:40
*** natea|away has quit IRC03:05
*** natea|away has joined #zope3-dev03:05
*** natea|away has quit IRC03:06
*** natea|away has joined #zope3-dev03:07
*** natea|away_ has joined #zope3-dev03:12
*** natea|away has quit IRC03:12
*** wrobel has quit IRC03:23
*** natea|away has joined #zope3-dev03:31
*** natea|away_ has quit IRC03:31
*** wreutz_ has quit IRC03:32
*** natea|away_ has joined #zope3-dev03:39
*** nathany has quit IRC03:39
*** natea|away_ has quit IRC03:42
*** natea|away_ has joined #zope3-dev03:42
*** natea|away_ has quit IRC03:44
*** natea|away_ has joined #zope3-dev03:45
*** natea|away has quit IRC03:46
*** natea|away has joined #zope3-dev03:53
*** natea|away_ has quit IRC03:55
*** natea|away has quit IRC04:00
*** natea|away has joined #zope3-dev04:00
*** ccomb has left #zope3-dev04:02
*** natea|away_ has joined #zope3-dev04:06
*** natea|away_ has joined #zope3-dev04:08
projekt01zagy, ayt?04:10
*** natea|away has quit IRC04:11
*** RaFromBRC has quit IRC04:11
*** natea|away has joined #zope3-dev04:11
*** natea|away_ has quit IRC04:12
*** natea|away has quit IRC04:15
*** natea|away has joined #zope3-dev04:16
*** baijum has joined #zope3-dev04:17
*** natea|away has quit IRC04:31
*** natea|away has joined #zope3-dev04:32
*** natea|away has quit IRC04:39
*** natea|away has joined #zope3-dev04:39
*** natea|away_ has joined #zope3-dev04:45
*** natea|away has quit IRC04:45
*** BjornT has quit IRC04:47
*** BjornT has joined #zope3-dev04:48
*** natea|away_ has quit IRC04:51
*** natea|away has joined #zope3-dev04:51
*** stub has joined #zope3-dev04:55
*** natea|away_ has joined #zope3-dev04:57
*** natea|away_ has quit IRC05:03
*** niemeyer has quit IRC05:04
*** natea|away has quit IRC05:06
*** febb__ has joined #zope3-dev05:07
*** febb has joined #zope3-dev05:07
*** febb has quit IRC05:09
*** febb has joined #zope3-dev05:09
*** natea|away has joined #zope3-dev05:13
*** natea|away_ has joined #zope3-dev05:16
*** natea|away has quit IRC05:18
*** natea|away has joined #zope3-dev05:19
*** natea|away_ has quit IRC05:19
*** natea|away has quit IRC05:21
*** natea|away has joined #zope3-dev05:22
*** alga has quit IRC05:23
*** stub has quit IRC05:33
*** stub has joined #zope3-dev05:33
*** natea|away has quit IRC05:38
*** natea|away_ has joined #zope3-dev05:38
*** natea|away_ has quit IRC05:47
*** natea|away has joined #zope3-dev05:47
*** natea|away has quit IRC05:51
*** natea|away has joined #zope3-dev05:51
*** natea|away has quit IRC05:56
*** natea|away has joined #zope3-dev05:57
*** Bhaskar has joined #zope3-dev06:02
*** Bhaskar has quit IRC06:03
*** natea|away_ has joined #zope3-dev06:03
*** Bhaskar has joined #zope3-dev06:06
*** natea|away has quit IRC06:10
*** febb has quit IRC06:20
*** natea|away has joined #zope3-dev06:55
*** natea|away_ has quit IRC06:55
*** projekt01 has quit IRC07:07
*** natea|away has quit IRC07:20
*** alecm has quit IRC08:38
*** jodok has joined #zope3-dev08:38
*** naro has joined #zope3-dev08:38
*** d2m has joined #zope3-dev08:43
*** jodok has quit IRC08:47
*** jodok has joined #zope3-dev08:57
*** jodok has quit IRC09:00
*** pghoratiu has joined #zope3-dev09:09
romanofskimoin09:24
*** Aiste has quit IRC09:24
*** wrobel has joined #zope3-dev09:37
*** tarek has joined #zope3-dev09:43
*** Aiste has joined #zope3-dev09:48
*** timte has joined #zope3-dev09:50
*** yvl has joined #zope3-dev09:52
*** alecm has joined #zope3-dev09:56
*** naro has quit IRC09:57
*** sorindregan has joined #zope3-dev09:58
*** alecm has quit IRC10:04
*** jinty has joined #zope3-dev10:24
*** dobee has joined #zope3-dev10:26
*** dobee has joined #zope3-dev10:28
*** schwendinger has joined #zope3-dev10:49
*** henri_ has joined #zope3-dev10:56
*** yvl_ has joined #zope3-dev11:20
*** yvl has quit IRC11:21
*** opetznick has joined #zope3-dev11:23
*** dlk has joined #zope3-dev11:36
*** jinty has quit IRC11:37
*** dunny has quit IRC11:38
*** regebro has joined #zope3-dev11:43
*** jinty has joined #zope3-dev11:49
regebroQuick question: Does the testbrowser recorder work under Zope2?11:56
*** dlk has quit IRC11:56
*** regebro has left #zope3-dev12:01
*** tonico has joined #zope3-dev12:08
*** henri_ has left #zope3-dev12:13
*** mkerrin has joined #zope3-dev12:34
*** tarek has quit IRC12:36
*** jfroche has joined #zope3-dev12:37
*** tarek has joined #zope3-dev12:47
*** Bhaskar has quit IRC12:53
*** yvl_ has quit IRC13:02
*** yvl has joined #zope3-dev13:03
*** ignas has joined #zope3-dev13:03
*** stu1 has joined #zope3-dev13:18
*** philiKON has quit IRC13:30
*** stu1 has quit IRC13:35
*** stu1 has joined #zope3-dev13:35
*** schwendinger has quit IRC13:36
*** zagy has quit IRC13:36
*** stub has quit IRC13:36
*** whit has quit IRC13:36
*** whit has joined #zope3-dev13:42
*** zagy has joined #zope3-dev13:43
*** ccomb has joined #zope3-dev14:03
*** stu1 is now known as stub14:06
*** rocky|away is now known as rocky14:22
*** faassen has joined #zope3-dev14:26
*** schwendinger has joined #zope3-dev14:31
* baijum just visited http://grok.zope.org/ Congratulations to all Grok team !14:32
* baijum finished http://wiki.zope.org/zope3/EggificationOfZopePackages 14:35
faassenbaijum: yeah, I saw lots of eggification activity, you mean it's finished now?14:42
*** tonico has quit IRC14:43
baijumfaassen, that proposal's scope was only the packages in `zope` namespece14:44
*** yvl has left #zope3-dev14:44
baijumthere are many in 'zc','z3c' etc.14:45
faassenright, sure.14:45
faassenI eggified some of those long ago. :)14:45
faassenthat is, zc.catalog and zc.resourcelibrary and zc.table14:45
faassenthat's way cool.14:45
faassendoes that mean you can now set up a buildout of zope 3 using eggs?14:45
baijumfaassen, it must be possible I didn't tried see http://svn.zope.org/Zope3.buildout/trunk/14:46
faassenI'll take a look at that.14:47
baijumbtw, there is another wiki page created to track eggifications of other packages http://wiki.zope.org/zope3/BuildoutAndEggUsage14:49
baijumnow only 'zc' packages are added there, we can add other packages there itself14:50
faassenokay.14:50
faassenit's really great that you're taking this initiative, baijum14:50
baijumfaassen, thanks !14:51
*** alga has joined #zope3-dev14:56
*** niemeyer has joined #zope3-dev15:02
*** ignas has quit IRC15:16
*** benji has joined #zope3-dev15:21
*** tarek has quit IRC15:24
*** tarek has joined #zope3-dev15:34
*** baijum has quit IRC15:40
*** nathany has joined #zope3-dev15:48
*** stub has quit IRC15:52
*** schwendinger_ has joined #zope3-dev15:54
*** schwendinger has quit IRC15:55
*** J1m has joined #zope3-dev16:08
*** tonico has joined #zope3-dev16:08
*** ignas has joined #zope3-dev16:10
*** projekt01 has joined #zope3-dev16:15
*** faassen has quit IRC16:21
*** lucie has joined #zope3-dev16:21
*** henri_ has joined #zope3-dev16:23
*** ignas has quit IRC16:28
*** natea|away has joined #zope3-dev16:28
*** schwendinger_ has quit IRC16:35
*** BjornT has quit IRC16:35
*** jodok has joined #zope3-dev16:36
*** BjornT has joined #zope3-dev16:36
*** schwendinger has joined #zope3-dev16:38
*** harobed has joined #zope3-dev16:47
nathanyJ1m: in the zope.testrunner script, does it look for an extra named "test" for testing dependencies?16:50
nathanyit doesn't seem like tests_require is used (and i recall a yagni on your part on distutils-sig a while back)16:50
nathany(err, zope.testrunner recipe, not script)16:50
*** henri_ has quit IRC16:56
*** zagy has quit IRC17:04
*** tonico has quit IRC17:05
*** sorindregan has quit IRC17:13
*** rmarianski has joined #zope3-dev17:19
*** romanofski has quit IRC17:22
*** pghoratiu has left #zope3-dev17:28
*** rmarianski has quit IRC17:36
*** rmarianski has joined #zope3-dev17:36
*** alecm has joined #zope3-dev17:40
*** natea|away has quit IRC17:57
*** dobee has quit IRC17:57
*** schwendinger has quit IRC17:57
*** natea|away has joined #zope3-dev17:58
*** baijum has joined #zope3-dev17:59
*** BjornT has quit IRC18:04
*** BjornT has joined #zope3-dev18:05
*** schwendinger_ has joined #zope3-dev18:07
*** softdevr has joined #zope3-dev18:12
softdevrhi, is there a part of the api i can use to query content objects?18:13
*** timte has quit IRC18:35
*** romanofski has joined #zope3-dev18:36
*** b_52Centos has joined #zope3-dev18:38
*** alecm has quit IRC18:40
*** tarek has quit IRC18:43
*** alecm has joined #zope3-dev18:43
*** wreutz has joined #zope3-dev18:47
*** schwendinger_ has quit IRC18:48
*** schwendinger has joined #zope3-dev18:48
*** projekt01 has quit IRC18:52
*** opetznick has quit IRC19:08
*** tarek has joined #zope3-dev19:13
*** wreutz has quit IRC19:14
*** alecm has quit IRC19:18
*** schwendinger has quit IRC19:23
*** jinty has quit IRC19:26
baijumJ1m, ayt?19:26
*** nathany has quit IRC19:27
* baijum will ask his question in list later19:27
* baijum leaving19:27
*** baijum has quit IRC19:27
*** softdevr has quit IRC19:33
*** natea|away_ has joined #zope3-dev19:39
*** whit has quit IRC19:42
*** jodok has quit IRC19:45
*** opetznick has joined #zope3-dev19:49
*** ofer has joined #zope3-dev19:51
*** natea|away has quit IRC19:53
*** natea|away has joined #zope3-dev19:54
*** nathany has joined #zope3-dev19:54
*** nathany has quit IRC19:59
*** natea|away_ has quit IRC20:00
*** opetznick has quit IRC20:01
*** nathany has joined #zope3-dev20:02
*** harobed has quit IRC20:05
*** BjornT has quit IRC20:08
*** alecm has joined #zope3-dev20:09
*** BjornT has joined #zope3-dev20:09
*** jodok has joined #zope3-dev20:11
*** nathany has quit IRC20:24
*** hazmat has joined #zope3-dev20:38
*** ChanServ sets mode: +o hazmat20:38
*** jodok has quit IRC20:52
*** dunny has joined #zope3-dev20:57
*** rmarianski has quit IRC20:58
*** jfroche_ has joined #zope3-dev21:00
*** sm has joined #zope3-dev21:01
*** sm has left #zope3-dev21:01
*** jfroche has quit IRC21:04
*** schwendinger has joined #zope3-dev21:06
*** meatballhat has joined #zope3-dev21:07
*** jbb666 has joined #zope3-dev21:10
meatballhatif root is not defined in the debug shell, how does one correct this?21:11
*** natea|away_ has joined #zope3-dev21:19
*** natea|away has quit IRC21:20
*** natea|away_ has quit IRC21:21
*** natea|away has joined #zope3-dev21:24
*** radix has joined #zope3-dev21:25
*** natea|away has quit IRC21:28
*** mkerrin has quit IRC21:36
*** rocky is now known as rocky|away21:38
*** lucie has quit IRC22:04
*** marcin_ant has joined #zope3-dev22:05
*** schwendinger_ has joined #zope3-dev22:11
*** vlado has joined #zope3-dev22:12
*** softdevr has joined #zope3-dev22:15
*** romanofs1i has joined #zope3-dev22:16
*** schwendinger has quit IRC22:20
*** vlado has quit IRC22:22
softdevrIs it possible to query for a content object?22:22
ccombwhat kind of content object?22:23
softdevra BTreeContainer22:24
ccombit behaves like a standard python mapping object22:26
ccombwhat kind of query do you want to do?22:27
softdevrwell like a getUtility(name)22:27
ccombyour_container['your_object']22:27
benjisoftdevr: you can register it as a utility and then use getUtility to retrieve it22:28
*** romanofski has quit IRC22:28
ccombseems I hadn't understood the question22:29
softdevrbut it is a content object, not a software component22:29
ccombyou can register anything as long as it provides an interface22:30
softdevri've read previously that in zope 3 the software and data are separated.  This sounds like they are not.22:31
ccombit is physically separated22:32
ccombsoftware is in the filesystem,  content is in the ZODB22:32
benjinote, softdevr, that you probably don't want to register a huge number of content-space objects as utilities; it's not meant as a general query system (and woudn't be a good one)22:34
benjiIOW, utilities remain a "software construct", but some you may want to decouple a persistent object from where it "lives" in the database.  So you can say something like "give me the foo container" and not have to hard code the foo container's location in your app22:35
*** schwendinger_ has quit IRC22:37
softdevrok thanks, I'm still unsure of how a container's location is specified.  it doesn't exist in the site manager, for example22:37
ccomban object location is specified with the ILocation or IContained interface22:39
ccombthrough the __parent__ attribute22:39
*** jodok has joined #zope3-dev22:51
*** BjornT has quit IRC22:55
*** ofer has quit IRC22:56
*** BjornT has joined #zope3-dev22:56
*** jodok_ has joined #zope3-dev22:57
*** ktwilight has quit IRC23:09
softdevrok, so if I have an object called 'x' in the root folder of content-space, how is that referenced?23:10
*** ktwilight has joined #zope3-dev23:10
*** jbb666 has quit IRC23:11
*** jodok has quit IRC23:14
*** marcin_ant has quit IRC23:16
*** b_52Centos has quit IRC23:31
*** meatballhat has left #zope3-dev23:33
*** meatballhat has joined #zope3-dev23:33
meatballhatI'm having trouble with TestRequest, where getMultiAdapter raises a ComponentLookupError ....   /usr/lib/python2.4/site-packages/zope/component/__init__.py seems to indicate that getSiteManager has failed (???)  any help?  :D23:36
ccombsoftdevr: what do you mean by "referenced"?23:37
*** stub has joined #zope3-dev23:37
*** J1m has quit IRC23:41
softdevrthe path to it in python23:42
*** alecm has quit IRC23:44
ccombif you create a view on it, it will appear as self.context is the view23:44
ccombotherwise you can first get the root folder with root=getRoot()23:45
ccombthen your_folder is root['x']23:45
softdevryeah, that's what I wanted, thanks23:45
ccombgetRoot is in zope.traversing.api23:45
*** alecm has joined #zope3-dev23:46
ccomb(but sometimes you prefer to get the nearest site instead of the root)23:46
*** alga has quit IRC23:48
*** b_52Centos has joined #zope3-dev23:50
*** natea|away has joined #zope3-dev23:52
*** MrTopf has joined #zope3-dev23:56
*** redir has joined #zope3-dev23:59

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