*** wreutz has joined #zope3-dev | 00:00 | |
*** jinty has joined #zope3-dev | 00:09 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:10 | |
*** Aiste has joined #zope3-dev | 00:10 | |
*** marcin_ant has joined #zope3-dev | 00:11 | |
*** jinty has quit IRC | 00:13 | |
*** rmarianski has joined #zope3-dev | 00:14 | |
*** nathany has joined #zope3-dev | 00:20 | |
*** zenwryly has joined #zope3-dev | 00:22 | |
zenwryly | Been 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-dev | 00:24 | |
philiKON | zenwryly: optimization | 00:25 |
philiKON | indexes prefer integers | 00:25 |
philiKON | purely for optimiation | 00:25 |
zenwryly | ah! | 00:25 |
zenwryly | it's for indexes! | 00:25 |
philiKON | they use the integer variants of BTrees | 00:25 |
philiKON | which can be insanely fast | 00:25 |
philiKON | for, say, intersections etc. | 00:25 |
philiKON | (set operations) | 00:25 |
philiKON | s/intersections/crosssections :)/ | 00:25 |
zenwryly | ok, 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 directly | 00:26 |
zenwryly | ? | 00:26 |
benji | it's also a nice pattern to pass int IDs in JSON data structures to the browser | 00:26 |
philiKON | yup | 00:26 |
philiKON | intids are great for rounttripping ot the browser | 00:26 |
benji | zenwryly: if all you want to do is store a reference from one object to another, store an actual object reference | 00:26 |
zenwryly | benji: ok, I'm really an imposter, I'm using five.intid | 00:27 |
zenwryly | benji: for aq wrapped references | 00:27 |
zenwryly | :) | 00:27 |
* zenwryly is sheepish | 00:27 | |
zenwryly | benji: also, this is Ross | 00:27 |
benji | heh, yeah I was aware :) | 00:31 |
zenwryly | ok, good :) | 00:31 |
*** alecm has joined #zope3-dev | 00:31 | |
*** timte has quit IRC | 00:38 | |
*** lucie has quit IRC | 00:46 | |
Theuni | also, notice that there are weak references available which might be more what you want, depending on your application. | 00:49 |
zenwryly | Theuni: yeah, thanks | 00:50 |
Theuni | np | 00:50 |
* Theuni also notes that blobs are landing in zope 2 and zope 3 right in this moment | 00:51 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:02 | |
*** pelle_ has quit IRC | 01:02 | |
*** benji has quit IRC | 01:04 | |
*** wreutz_ has joined #zope3-dev | 01:23 | |
*** J1m has quit IRC | 01:29 | |
*** wreutz has quit IRC | 01:30 | |
*** niemeyer_ is now known as niemeyer | 01:35 | |
*** wreutz_ has quit IRC | 01:38 | |
*** wreutz_ has joined #zope3-dev | 01:39 | |
*** jodok has quit IRC | 01:59 | |
*** rmarianski has quit IRC | 02:09 | |
*** projekt01 has quit IRC | 02:16 | |
*** _projekt01 has joined #zope3-dev | 02:16 | |
*** marcin_ant has quit IRC | 02:33 | |
_projekt01 | alga, ayt? | 02:38 |
*** _projekt01 is now known as projekt01 | 02:38 | |
*** radix has quit IRC | 02:40 | |
*** natea|away has quit IRC | 03:05 | |
*** natea|away has joined #zope3-dev | 03:05 | |
*** natea|away has quit IRC | 03:06 | |
*** natea|away has joined #zope3-dev | 03:07 | |
*** natea|away_ has joined #zope3-dev | 03:12 | |
*** natea|away has quit IRC | 03:12 | |
*** wrobel has quit IRC | 03:23 | |
*** natea|away has joined #zope3-dev | 03:31 | |
*** natea|away_ has quit IRC | 03:31 | |
*** wreutz_ has quit IRC | 03:32 | |
*** natea|away_ has joined #zope3-dev | 03:39 | |
*** nathany has quit IRC | 03:39 | |
*** natea|away_ has quit IRC | 03:42 | |
*** natea|away_ has joined #zope3-dev | 03:42 | |
*** natea|away_ has quit IRC | 03:44 | |
*** natea|away_ has joined #zope3-dev | 03:45 | |
*** natea|away has quit IRC | 03:46 | |
*** natea|away has joined #zope3-dev | 03:53 | |
*** natea|away_ has quit IRC | 03:55 | |
*** natea|away has quit IRC | 04:00 | |
*** natea|away has joined #zope3-dev | 04:00 | |
*** ccomb has left #zope3-dev | 04:02 | |
*** natea|away_ has joined #zope3-dev | 04:06 | |
*** natea|away_ has joined #zope3-dev | 04:08 | |
projekt01 | zagy, ayt? | 04:10 |
*** natea|away has quit IRC | 04:11 | |
*** RaFromBRC has quit IRC | 04:11 | |
*** natea|away has joined #zope3-dev | 04:11 | |
*** natea|away_ has quit IRC | 04:12 | |
*** natea|away has quit IRC | 04:15 | |
*** natea|away has joined #zope3-dev | 04:16 | |
*** baijum has joined #zope3-dev | 04:17 | |
*** natea|away has quit IRC | 04:31 | |
*** natea|away has joined #zope3-dev | 04:32 | |
*** natea|away has quit IRC | 04:39 | |
*** natea|away has joined #zope3-dev | 04:39 | |
*** natea|away_ has joined #zope3-dev | 04:45 | |
*** natea|away has quit IRC | 04:45 | |
*** BjornT has quit IRC | 04:47 | |
*** BjornT has joined #zope3-dev | 04:48 | |
*** natea|away_ has quit IRC | 04:51 | |
*** natea|away has joined #zope3-dev | 04:51 | |
*** stub has joined #zope3-dev | 04:55 | |
*** natea|away_ has joined #zope3-dev | 04:57 | |
*** natea|away_ has quit IRC | 05:03 | |
*** niemeyer has quit IRC | 05:04 | |
*** natea|away has quit IRC | 05:06 | |
*** febb__ has joined #zope3-dev | 05:07 | |
*** febb has joined #zope3-dev | 05:07 | |
*** febb has quit IRC | 05:09 | |
*** febb has joined #zope3-dev | 05:09 | |
*** natea|away has joined #zope3-dev | 05:13 | |
*** natea|away_ has joined #zope3-dev | 05:16 | |
*** natea|away has quit IRC | 05:18 | |
*** natea|away has joined #zope3-dev | 05:19 | |
*** natea|away_ has quit IRC | 05:19 | |
*** natea|away has quit IRC | 05:21 | |
*** natea|away has joined #zope3-dev | 05:22 | |
*** alga has quit IRC | 05:23 | |
*** stub has quit IRC | 05:33 | |
*** stub has joined #zope3-dev | 05:33 | |
*** natea|away has quit IRC | 05:38 | |
*** natea|away_ has joined #zope3-dev | 05:38 | |
*** natea|away_ has quit IRC | 05:47 | |
*** natea|away has joined #zope3-dev | 05:47 | |
*** natea|away has quit IRC | 05:51 | |
*** natea|away has joined #zope3-dev | 05:51 | |
*** natea|away has quit IRC | 05:56 | |
*** natea|away has joined #zope3-dev | 05:57 | |
*** Bhaskar has joined #zope3-dev | 06:02 | |
*** Bhaskar has quit IRC | 06:03 | |
*** natea|away_ has joined #zope3-dev | 06:03 | |
*** Bhaskar has joined #zope3-dev | 06:06 | |
*** natea|away has quit IRC | 06:10 | |
*** febb has quit IRC | 06:20 | |
*** natea|away has joined #zope3-dev | 06:55 | |
*** natea|away_ has quit IRC | 06:55 | |
*** projekt01 has quit IRC | 07:07 | |
*** natea|away has quit IRC | 07:20 | |
*** alecm has quit IRC | 08:38 | |
*** jodok has joined #zope3-dev | 08:38 | |
*** naro has joined #zope3-dev | 08:38 | |
*** d2m has joined #zope3-dev | 08:43 | |
*** jodok has quit IRC | 08:47 | |
*** jodok has joined #zope3-dev | 08:57 | |
*** jodok has quit IRC | 09:00 | |
*** pghoratiu has joined #zope3-dev | 09:09 | |
romanofski | moin | 09:24 |
*** Aiste has quit IRC | 09:24 | |
*** wrobel has joined #zope3-dev | 09:37 | |
*** tarek has joined #zope3-dev | 09:43 | |
*** Aiste has joined #zope3-dev | 09:48 | |
*** timte has joined #zope3-dev | 09:50 | |
*** yvl has joined #zope3-dev | 09:52 | |
*** alecm has joined #zope3-dev | 09:56 | |
*** naro has quit IRC | 09:57 | |
*** sorindregan has joined #zope3-dev | 09:58 | |
*** alecm has quit IRC | 10:04 | |
*** jinty has joined #zope3-dev | 10:24 | |
*** dobee has joined #zope3-dev | 10:26 | |
*** dobee has joined #zope3-dev | 10:28 | |
*** schwendinger has joined #zope3-dev | 10:49 | |
*** henri_ has joined #zope3-dev | 10:56 | |
*** yvl_ has joined #zope3-dev | 11:20 | |
*** yvl has quit IRC | 11:21 | |
*** opetznick has joined #zope3-dev | 11:23 | |
*** dlk has joined #zope3-dev | 11:36 | |
*** jinty has quit IRC | 11:37 | |
*** dunny has quit IRC | 11:38 | |
*** regebro has joined #zope3-dev | 11:43 | |
*** jinty has joined #zope3-dev | 11:49 | |
regebro | Quick question: Does the testbrowser recorder work under Zope2? | 11:56 |
*** dlk has quit IRC | 11:56 | |
*** regebro has left #zope3-dev | 12:01 | |
*** tonico has joined #zope3-dev | 12:08 | |
*** henri_ has left #zope3-dev | 12:13 | |
*** mkerrin has joined #zope3-dev | 12:34 | |
*** tarek has quit IRC | 12:36 | |
*** jfroche has joined #zope3-dev | 12:37 | |
*** tarek has joined #zope3-dev | 12:47 | |
*** Bhaskar has quit IRC | 12:53 | |
*** yvl_ has quit IRC | 13:02 | |
*** yvl has joined #zope3-dev | 13:03 | |
*** ignas has joined #zope3-dev | 13:03 | |
*** stu1 has joined #zope3-dev | 13:18 | |
*** philiKON has quit IRC | 13:30 | |
*** stu1 has quit IRC | 13:35 | |
*** stu1 has joined #zope3-dev | 13:35 | |
*** schwendinger has quit IRC | 13:36 | |
*** zagy has quit IRC | 13:36 | |
*** stub has quit IRC | 13:36 | |
*** whit has quit IRC | 13:36 | |
*** whit has joined #zope3-dev | 13:42 | |
*** zagy has joined #zope3-dev | 13:43 | |
*** ccomb has joined #zope3-dev | 14:03 | |
*** stu1 is now known as stub | 14:06 | |
*** rocky|away is now known as rocky | 14:22 | |
*** faassen has joined #zope3-dev | 14:26 | |
*** schwendinger has joined #zope3-dev | 14: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 | |
faassen | baijum: yeah, I saw lots of eggification activity, you mean it's finished now? | 14:42 |
*** tonico has quit IRC | 14:43 | |
baijum | faassen, that proposal's scope was only the packages in `zope` namespece | 14:44 |
*** yvl has left #zope3-dev | 14:44 | |
baijum | there are many in 'zc','z3c' etc. | 14:45 |
faassen | right, sure. | 14:45 |
faassen | I eggified some of those long ago. :) | 14:45 |
faassen | that is, zc.catalog and zc.resourcelibrary and zc.table | 14:45 |
faassen | that's way cool. | 14:45 |
faassen | does that mean you can now set up a buildout of zope 3 using eggs? | 14:45 |
baijum | faassen, it must be possible I didn't tried see http://svn.zope.org/Zope3.buildout/trunk/ | 14:46 |
faassen | I'll take a look at that. | 14:47 |
baijum | btw, there is another wiki page created to track eggifications of other packages http://wiki.zope.org/zope3/BuildoutAndEggUsage | 14:49 |
baijum | now only 'zc' packages are added there, we can add other packages there itself | 14:50 |
faassen | okay. | 14:50 |
faassen | it's really great that you're taking this initiative, baijum | 14:50 |
baijum | faassen, thanks ! | 14:51 |
*** alga has joined #zope3-dev | 14:56 | |
*** niemeyer has joined #zope3-dev | 15:02 | |
*** ignas has quit IRC | 15:16 | |
*** benji has joined #zope3-dev | 15:21 | |
*** tarek has quit IRC | 15:24 | |
*** tarek has joined #zope3-dev | 15:34 | |
*** baijum has quit IRC | 15:40 | |
*** nathany has joined #zope3-dev | 15:48 | |
*** stub has quit IRC | 15:52 | |
*** schwendinger_ has joined #zope3-dev | 15:54 | |
*** schwendinger has quit IRC | 15:55 | |
*** J1m has joined #zope3-dev | 16:08 | |
*** tonico has joined #zope3-dev | 16:08 | |
*** ignas has joined #zope3-dev | 16:10 | |
*** projekt01 has joined #zope3-dev | 16:15 | |
*** faassen has quit IRC | 16:21 | |
*** lucie has joined #zope3-dev | 16:21 | |
*** henri_ has joined #zope3-dev | 16:23 | |
*** ignas has quit IRC | 16:28 | |
*** natea|away has joined #zope3-dev | 16:28 | |
*** schwendinger_ has quit IRC | 16:35 | |
*** BjornT has quit IRC | 16:35 | |
*** jodok has joined #zope3-dev | 16:36 | |
*** BjornT has joined #zope3-dev | 16:36 | |
*** schwendinger has joined #zope3-dev | 16:38 | |
*** harobed has joined #zope3-dev | 16:47 | |
nathany | J1m: in the zope.testrunner script, does it look for an extra named "test" for testing dependencies? | 16:50 |
nathany | it 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 IRC | 16:56 | |
*** zagy has quit IRC | 17:04 | |
*** tonico has quit IRC | 17:05 | |
*** sorindregan has quit IRC | 17:13 | |
*** rmarianski has joined #zope3-dev | 17:19 | |
*** romanofski has quit IRC | 17:22 | |
*** pghoratiu has left #zope3-dev | 17:28 | |
*** rmarianski has quit IRC | 17:36 | |
*** rmarianski has joined #zope3-dev | 17:36 | |
*** alecm has joined #zope3-dev | 17:40 | |
*** natea|away has quit IRC | 17:57 | |
*** dobee has quit IRC | 17:57 | |
*** schwendinger has quit IRC | 17:57 | |
*** natea|away has joined #zope3-dev | 17:58 | |
*** baijum has joined #zope3-dev | 17:59 | |
*** BjornT has quit IRC | 18:04 | |
*** BjornT has joined #zope3-dev | 18:05 | |
*** schwendinger_ has joined #zope3-dev | 18:07 | |
*** softdevr has joined #zope3-dev | 18:12 | |
softdevr | hi, is there a part of the api i can use to query content objects? | 18:13 |
*** timte has quit IRC | 18:35 | |
*** romanofski has joined #zope3-dev | 18:36 | |
*** b_52Centos has joined #zope3-dev | 18:38 | |
*** alecm has quit IRC | 18:40 | |
*** tarek has quit IRC | 18:43 | |
*** alecm has joined #zope3-dev | 18:43 | |
*** wreutz has joined #zope3-dev | 18:47 | |
*** schwendinger_ has quit IRC | 18:48 | |
*** schwendinger has joined #zope3-dev | 18:48 | |
*** projekt01 has quit IRC | 18:52 | |
*** opetznick has quit IRC | 19:08 | |
*** tarek has joined #zope3-dev | 19:13 | |
*** wreutz has quit IRC | 19:14 | |
*** alecm has quit IRC | 19:18 | |
*** schwendinger has quit IRC | 19:23 | |
*** jinty has quit IRC | 19:26 | |
baijum | J1m, ayt? | 19:26 |
*** nathany has quit IRC | 19:27 | |
* baijum will ask his question in list later | 19:27 | |
* baijum leaving | 19:27 | |
*** baijum has quit IRC | 19:27 | |
*** softdevr has quit IRC | 19:33 | |
*** natea|away_ has joined #zope3-dev | 19:39 | |
*** whit has quit IRC | 19:42 | |
*** jodok has quit IRC | 19:45 | |
*** opetznick has joined #zope3-dev | 19:49 | |
*** ofer has joined #zope3-dev | 19:51 | |
*** natea|away has quit IRC | 19:53 | |
*** natea|away has joined #zope3-dev | 19:54 | |
*** nathany has joined #zope3-dev | 19:54 | |
*** nathany has quit IRC | 19:59 | |
*** natea|away_ has quit IRC | 20:00 | |
*** opetznick has quit IRC | 20:01 | |
*** nathany has joined #zope3-dev | 20:02 | |
*** harobed has quit IRC | 20:05 | |
*** BjornT has quit IRC | 20:08 | |
*** alecm has joined #zope3-dev | 20:09 | |
*** BjornT has joined #zope3-dev | 20:09 | |
*** jodok has joined #zope3-dev | 20:11 | |
*** nathany has quit IRC | 20:24 | |
*** hazmat has joined #zope3-dev | 20:38 | |
*** ChanServ sets mode: +o hazmat | 20:38 | |
*** jodok has quit IRC | 20:52 | |
*** dunny has joined #zope3-dev | 20:57 | |
*** rmarianski has quit IRC | 20:58 | |
*** jfroche_ has joined #zope3-dev | 21:00 | |
*** sm has joined #zope3-dev | 21:01 | |
*** sm has left #zope3-dev | 21:01 | |
*** jfroche has quit IRC | 21:04 | |
*** schwendinger has joined #zope3-dev | 21:06 | |
*** meatballhat has joined #zope3-dev | 21:07 | |
*** jbb666 has joined #zope3-dev | 21:10 | |
meatballhat | if root is not defined in the debug shell, how does one correct this? | 21:11 |
*** natea|away_ has joined #zope3-dev | 21:19 | |
*** natea|away has quit IRC | 21:20 | |
*** natea|away_ has quit IRC | 21:21 | |
*** natea|away has joined #zope3-dev | 21:24 | |
*** radix has joined #zope3-dev | 21:25 | |
*** natea|away has quit IRC | 21:28 | |
*** mkerrin has quit IRC | 21:36 | |
*** rocky is now known as rocky|away | 21:38 | |
*** lucie has quit IRC | 22:04 | |
*** marcin_ant has joined #zope3-dev | 22:05 | |
*** schwendinger_ has joined #zope3-dev | 22:11 | |
*** vlado has joined #zope3-dev | 22:12 | |
*** softdevr has joined #zope3-dev | 22:15 | |
*** romanofs1i has joined #zope3-dev | 22:16 | |
*** schwendinger has quit IRC | 22:20 | |
*** vlado has quit IRC | 22:22 | |
softdevr | Is it possible to query for a content object? | 22:22 |
ccomb | what kind of content object? | 22:23 |
softdevr | a BTreeContainer | 22:24 |
ccomb | it behaves like a standard python mapping object | 22:26 |
ccomb | what kind of query do you want to do? | 22:27 |
softdevr | well like a getUtility(name) | 22:27 |
ccomb | your_container['your_object'] | 22:27 |
benji | softdevr: you can register it as a utility and then use getUtility to retrieve it | 22:28 |
*** romanofski has quit IRC | 22:28 | |
ccomb | seems I hadn't understood the question | 22:29 |
softdevr | but it is a content object, not a software component | 22:29 |
ccomb | you can register anything as long as it provides an interface | 22:30 |
softdevr | i've read previously that in zope 3 the software and data are separated. This sounds like they are not. | 22:31 |
ccomb | it is physically separated | 22:32 |
ccomb | software is in the filesystem, content is in the ZODB | 22:32 |
benji | note, 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 |
benji | IOW, 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 app | 22:35 |
*** schwendinger_ has quit IRC | 22:37 | |
softdevr | ok thanks, I'm still unsure of how a container's location is specified. it doesn't exist in the site manager, for example | 22:37 |
ccomb | an object location is specified with the ILocation or IContained interface | 22:39 |
ccomb | through the __parent__ attribute | 22:39 |
*** jodok has joined #zope3-dev | 22:51 | |
*** BjornT has quit IRC | 22:55 | |
*** ofer has quit IRC | 22:56 | |
*** BjornT has joined #zope3-dev | 22:56 | |
*** jodok_ has joined #zope3-dev | 22:57 | |
*** ktwilight has quit IRC | 23:09 | |
softdevr | ok, 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-dev | 23:10 | |
*** jbb666 has quit IRC | 23:11 | |
*** jodok has quit IRC | 23:14 | |
*** marcin_ant has quit IRC | 23:16 | |
*** b_52Centos has quit IRC | 23:31 | |
*** meatballhat has left #zope3-dev | 23:33 | |
*** meatballhat has joined #zope3-dev | 23:33 | |
meatballhat | I'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? :D | 23:36 |
ccomb | softdevr: what do you mean by "referenced"? | 23:37 |
*** stub has joined #zope3-dev | 23:37 | |
*** J1m has quit IRC | 23:41 | |
softdevr | the path to it in python | 23:42 |
*** alecm has quit IRC | 23:44 | |
ccomb | if you create a view on it, it will appear as self.context is the view | 23:44 |
ccomb | otherwise you can first get the root folder with root=getRoot() | 23:45 |
ccomb | then your_folder is root['x'] | 23:45 |
softdevr | yeah, that's what I wanted, thanks | 23:45 |
ccomb | getRoot is in zope.traversing.api | 23:45 |
*** alecm has joined #zope3-dev | 23:46 | |
ccomb | (but sometimes you prefer to get the nearest site instead of the root) | 23:46 |
*** alga has quit IRC | 23:48 | |
*** b_52Centos has joined #zope3-dev | 23:50 | |
*** natea|away has joined #zope3-dev | 23:52 | |
*** MrTopf has joined #zope3-dev | 23:56 | |
*** redir has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!