| *** menesis has quit IRC | 00:03 | |
| *** TresEquis has quit IRC | 00:09 | |
| *** avoinea has joined #zope | 00:22 | |
| *** do3cc has joined #zope | 00:26 | |
| *** purserj has joined #zope | 00:29 | |
| *** __mac__ has quit IRC | 00:35 | |
| *** avoinea has quit IRC | 00:37 | |
| *** davisagli has quit IRC | 00:46 | |
| *** davisagli has joined #zope | 00:47 | |
| *** ccomb has quit IRC | 01:07 | |
| *** ccomb has joined #zope | 01:07 | |
| *** J1m_ has quit IRC | 01:28 | |
| *** do3cc has quit IRC | 01:34 | |
| *** alga has quit IRC | 01:44 | |
| *** alexpilz1 has joined #zope | 01:47 | |
| *** alexpilz has quit IRC | 01:48 | |
| *** ajsmith has quit IRC | 01:50 | |
| *** TomBlockley has joined #zope | 01:56 | |
| *** do3cc has joined #zope | 01:57 | |
| *** Arfrever has joined #zope | 01:58 | |
| *** do3cc has quit IRC | 02:00 | |
| *** rogererens has quit IRC | 02:00 | |
| *** do3cc has joined #zope | 02:00 | |
| *** hever has quit IRC | 02:06 | |
| *** supton has quit IRC | 02:09 | |
| *** dayne has joined #zope | 02:19 | |
| *** [Arfrever] has joined #zope | 02:22 | |
| *** RichardBarrell has quit IRC | 02:26 | |
| *** do3cc has quit IRC | 02:27 | |
| *** do3cc has joined #zope | 02:27 | |
| *** do3cc has quit IRC | 02:34 | |
| *** mr_jolly has joined #zope | 02:41 | |
| *** do3cc has joined #zope | 02:50 | |
| *** do3cc has quit IRC | 02:52 | |
| *** do3cc has joined #zope | 02:52 | |
| *** _mup_ has quit IRC | 03:00 | |
| *** _mup_ has joined #zope | 03:00 | |
| *** do3cc has quit IRC | 03:00 | |
| *** do3cc has joined #zope | 03:00 | |
| *** mr_jolly_ has joined #zope | 03:28 | |
| *** mr_jolly has quit IRC | 03:32 | |
| *** mr_jolly_ is now known as mr_jolly | 03:32 | |
| *** mr_jolly has quit IRC | 03:34 | |
| *** ccomb has quit IRC | 03:37 | |
| *** TomBlockley has quit IRC | 03:41 | |
| *** tiwula has quit IRC | 03:57 | |
| *** Raine has joined #zope | 04:23 | |
| *** Raine has left #zope | 04:24 | |
| *** do3cc has quit IRC | 05:41 | |
| *** tiwula has joined #zope | 06:01 | |
| *** zenwryly has quit IRC | 06:54 | |
| *** zenwryly has joined #zope | 06:56 | |
| *** tiwula has quit IRC | 07:20 | |
| *** Arfrever has quit IRC | 07:22 | |
| *** ajmitch has quit IRC | 07:29 | |
| *** ajmitch has joined #zope | 07:29 | |
| *** ajmitch has joined #zope | 07:29 | |
| *** do3cc has joined #zope | 07:38 | |
| *** febb has joined #zope | 07:56 | |
| *** __mac__ has joined #zope | 07:59 | |
| *** dayne has quit IRC | 08:36 | |
| *** do3cc has quit IRC | 08:38 | |
| *** do3cc has joined #zope | 08:39 | |
| *** febb has quit IRC | 08:40 | |
| *** do3cc has quit IRC | 08:52 | |
| *** __mac__ has quit IRC | 09:00 | |
| *** agroszer has joined #zope | 09:20 | |
| *** __mac__ has joined #zope | 09:40 | |
| *** alexpilz1 has quit IRC | 09:51 | |
| *** rogererens has joined #zope | 10:02 | |
| *** planetzopebot has quit IRC | 10:08 | |
| *** planetzopebot has joined #zope | 10:08 | |
| *** ldlework has joined #zope | 10:10 | |
| ldlework | I was wondering if anyone knew of any relational layers that go ontop of ZODB | 10:10 |
|---|---|---|
| ldlework | Or an ORM | 10:10 |
| ldlework | or schema migration layers | 10:10 |
| ldlework | If there's any of those | 10:11 |
| betabug | ldlework: I think you have some misunderstanding there about ZODB | 10:11 |
| betabug | you don't need that stuff | 10:11 |
| *** MrWu has joined #zope | 10:11 | |
| ldlework | betabug, nah I know that it is a key,val store | 10:11 |
| betabug | nope, it isn't | 10:11 |
| ldlework | betabug, but ZODB certainly needs schema migration stuff | 10:11 |
| betabug | it's a python object store | 10:11 |
| ldlework | betabug, that's what I meant, object store | 10:12 |
| betabug | not the same at all as key,val | 10:12 |
| ldlework | betabug, yeah I got it, misspoke sorry | 10:12 |
| ldlework | betabug, certainly a schema migration solution is useful even with ZODB | 10:12 |
| betabug | there is no schema | 10:12 |
| betabug | so there is no schema migration | 10:12 |
| ldlework | betabug, sure there is, the attribute list of the class | 10:12 |
| betabug | that can change at any moment and the DB doesn't care | 10:13 |
| betabug | it will happily store your object (class instance) almost no matter what you do to it | 10:13 |
| ldlework | betabug, if I want to add a new attribute to an object in my store how do you go about doing that? | 10:15 |
| betabug | you add it | 10:15 |
| betabug | (done) | 10:15 |
| betabug | if you do not work with Zope, there is a good introduction to the ZODB from Carlos de la Guardia | 10:17 |
| betabug | if you use Zope, you don't really need even that (but then you'll need to learn a whole lot of other stuff) | 10:17 |
| ldlework | betabug, right how do you add it? | 10:19 |
| betabug | standard python syntax | 10:19 |
| betabug | myobject.myattribute = 7 | 10:19 |
| ldlework | betabug, right but where do you put that? | 10:19 |
| betabug | in your application code | 10:19 |
| ldlework | betabug, dude, jesus | 10:19 |
| betabug | there are lots of examples here: http://www.zodb.org/zodbbook/ | 10:20 |
| ldlework | betabug, what I do is have classes that represent the objects in my store. When I load up the OOBTree I loop through and create new instances of them, loading the value of each old attribute into the new instance | 10:20 |
| ldlework | betabug, for new attributes on the class that don't exist in the old instance, I have a special method that provides a default | 10:21 |
| ldlework | then I override the object in the store with the new instance, including newly initialized attributes | 10:21 |
| ldlework | betabug, this is kind of a schema migration to me | 10:21 |
| betabug | well, you probably don't have to "override the object in the store", just setting that attribute will be enough | 10:22 |
| betabug | anyway, the answer is: ZODB doesn't do that for you, and I don't know of any software package that does that for you on ZODB | 10:22 |
| *** menesis has joined #zope | 10:23 | |
| betabug | it's generally assumed that your application will know best how to do this kind of migration | 10:23 |
| *** zagy has joined #zope | 10:24 | |
| bigkevmcd | maybe http://pypi.python.org/pypi/zope.generations | 10:24 |
| *** __mac__ has quit IRC | 10:25 | |
| bigkevmcd | The idea of a ZODB ORM is quite fun tho' :-) | 10:26 |
| betabug | he | 10:26 |
| betabug | you'd need an OROM | 10:26 |
| betabug | something to translate your objects to relational data and then to ZODB objects | 10:27 |
| *** do3cc has joined #zope | 10:27 | |
| *** MrWu has quit IRC | 10:28 | |
| *** MrWu has joined #zope | 10:30 | |
| *** mr_jolly has joined #zope | 10:32 | |
| *** do3cc has quit IRC | 10:37 | |
| *** do3cc has joined #zope | 10:38 | |
| *** menesis has quit IRC | 10:41 | |
| *** menesis has joined #zope | 10:42 | |
| *** do3cc has quit IRC | 10:45 | |
| *** alexpilz has joined #zope | 10:45 | |
| *** do3cc has joined #zope | 10:48 | |
| *** do3cc has quit IRC | 11:02 | |
| *** MrWu has quit IRC | 11:05 | |
| *** MrWu has joined #zope | 11:06 | |
| *** avoinea has joined #zope | 11:10 | |
| *** sunew has joined #zope | 11:10 | |
| *** zagy has quit IRC | 11:12 | |
| *** goschtl has joined #zope | 11:16 | |
| *** goschtl has quit IRC | 11:16 | |
| *** goschtl has joined #zope | 11:16 | |
| *** goschtl has joined #zope | 11:17 | |
| *** eperez has joined #zope | 11:19 | |
| *** eperez has quit IRC | 11:23 | |
| *** eperez has joined #zope | 11:23 | |
| *** __mac__ has joined #zope | 11:29 | |
| *** __mac__ has quit IRC | 11:34 | |
| *** ccomb has joined #zope | 11:36 | |
| *** menesis has quit IRC | 11:46 | |
| *** zagy has joined #zope | 11:49 | |
| *** TomBlockley has joined #zope | 12:01 | |
| *** TomBlockley has quit IRC | 12:02 | |
| *** mitchell`off is now known as mitchell` | 12:02 | |
| *** TomBlockley has joined #zope | 12:03 | |
| *** evilbungle has joined #zope | 12:05 | |
| *** do3cc has joined #zope | 12:14 | |
| *** do3cc has quit IRC | 12:22 | |
| *** eperez has quit IRC | 12:25 | |
| *** regebro has quit IRC | 12:30 | |
| *** mr_jolly_ has joined #zope | 12:34 | |
| *** mr_jolly has quit IRC | 12:36 | |
| *** mr_jolly_ is now known as mr_jolly | 12:36 | |
| *** zagy has quit IRC | 12:50 | |
| *** __mac__ has joined #zope | 12:52 | |
| *** eperez has joined #zope | 12:53 | |
| *** d2m has joined #zope | 12:53 | |
| *** teix has joined #zope | 12:56 | |
| *** menesis has joined #zope | 13:19 | |
| *** __mac__ has quit IRC | 13:25 | |
| *** alga has joined #zope | 13:31 | |
| *** sunew has quit IRC | 13:32 | |
| *** zagy has joined #zope | 13:34 | |
| *** avoinea has quit IRC | 13:35 | |
| *** avoinea has joined #zope | 13:39 | |
| *** zagy has quit IRC | 13:47 | |
| *** __mac__ has joined #zope | 13:48 | |
| *** hever has joined #zope | 13:51 | |
| *** hever has quit IRC | 13:54 | |
| *** hever has joined #zope | 13:57 | |
| *** runyaga_ has joined #zope | 14:07 | |
| *** thetet has joined #zope | 14:08 | |
| *** runyaga has quit IRC | 14:10 | |
| *** J1m_ has joined #zope | 14:17 | |
| *** zagy has joined #zope | 14:18 | |
| *** thetet has quit IRC | 14:29 | |
| *** thetet has joined #zope | 14:29 | |
| *** ldlework has quit IRC | 14:30 | |
| *** RaceCondition has joined #zope | 14:34 | |
| *** J1m_ has quit IRC | 14:35 | |
| *** regebro has joined #zope | 14:38 | |
| *** dayne has joined #zope | 14:41 | |
| *** MrWu has quit IRC | 14:55 | |
| *** zagy has quit IRC | 14:55 | |
| *** __mac__ has quit IRC | 14:57 | |
| *** zagy has joined #zope | 15:02 | |
| *** goschtl_ has joined #zope | 15:16 | |
| *** goschtl has quit IRC | 15:17 | |
| *** goschtl_ is now known as goschtl | 15:17 | |
| kosh | hail insane people | 15:24 |
| betabug | hey kosh | 15:25 |
| kosh | betabug: my objects have version numbers and have upgrades | 15:26 |
| kosh | betabug: but I don't replace old objects with new ones, I just make the minimal changes necessary to convert | 15:26 |
| kosh | so I don't have as many writes | 15:26 |
| kosh | and where possible I just add a new attribute as a class attribute that way all things get some new default but anything can override it | 15:27 |
| kosh | also class defaults save a LOT of space | 15:27 |
| kosh | I found over 90% of objects are mostly using various default by usually have 1 or 2 things different | 15:27 |
| kosh | so with this method only 1 or 2 things are stored instead of 10 or more | 15:28 |
| betabug | yeah, I agree | 15:28 |
| kosh | cool my new hard drive gets delivered today | 15:28 |
| kosh | had a drive fail in one of my servers | 15:29 |
| betabug | I think the main point was that ldlework was confused about what zodb is or isn't | 15:29 |
| kosh | yeah it is a different kind of database | 15:29 |
| kosh | if you understand it though it can be extremely powerful and fast | 15:30 |
| kosh | the thing about not all objects stored having to store the same information or store all attributes is massively powerful | 15:30 |
| kosh | betabug: so how is your country doing? has it thrown out capitalism yet? | 15:34 |
| betabug | nope, still in the throngs of the big speculators | 15:35 |
| kosh | hurry up and throw those aholes out | 15:35 |
| kosh | japan is still in a recession after over 20 years of austerity measures | 15:35 |
| kosh | they won't work | 15:35 |
| kosh | austerity measures do not fix an economy | 15:36 |
| betabug | there isn't much economy left here | 15:39 |
| *** zagy has quit IRC | 15:46 | |
| kosh | betabug: so just bite the bullet and throw out what is left and make a new one | 15:47 |
| betabug | right | 15:48 |
| kosh | go for a resource based economy | 15:48 |
| kosh | something nice and modern | 15:48 |
| *** dAnjou has joined #zope | 15:51 | |
| *** dAnjou has left #zope | 15:55 | |
| kosh | betabug: if that system does not appeal to you just appoint me overlord of your country and I will fix it :) | 15:57 |
| betabug | haha | 15:57 |
| betabug | it does indeed appeal to me and a lot of people, but currently we live in something like a police dictature | 15:58 |
| betabug | the constitution is overruled daily, etc. | 15:58 |
| kosh | constitutions seem to be thrown out whenever inconvenient | 16:02 |
| *** J1m_ has joined #zope | 16:07 | |
| betabug | indeed | 16:07 |
| betabug | even APIs are more stable these days | 16:07 |
| *** yvl has joined #zope | 16:10 | |
| kosh | this is why you shoudl just put me in charge | 16:13 |
| kosh | I will run greece up the tech curve | 16:13 |
| kosh | the entire focus will be on technology and using it to create better lives | 16:13 |
| kosh | no corporations at all | 16:13 |
| kosh | it is not like I could do a worse job then your current government | 16:15 |
| *** __mac__ has joined #zope | 16:23 | |
| *** dayne has quit IRC | 16:24 | |
| *** dayne has joined #zope | 16:25 | |
| *** ajkaanbal has joined #zope | 16:25 | |
| betabug | haha | 16:29 |
| *** sp0cksbeard has joined #zope | 16:30 | |
| *** do3cc has joined #zope | 16:30 | |
| *** ajsmith has joined #zope | 16:31 | |
| *** __mac__ has quit IRC | 16:42 | |
| *** d2m has left #zope | 16:52 | |
| *** hever has quit IRC | 17:02 | |
| *** dayne has quit IRC | 17:03 | |
| *** do3cc has quit IRC | 17:20 | |
| *** alexpilz has quit IRC | 17:35 | |
| *** __mac__ has joined #zope | 17:45 | |
| *** bny has joined #zope | 17:45 | |
| *** bny has quit IRC | 17:52 | |
| *** bny has joined #zope | 17:52 | |
| *** do3cc has joined #zope | 17:53 | |
| *** tiwula has joined #zope | 17:54 | |
| *** yvl has quit IRC | 17:54 | |
| *** hever has joined #zope | 18:07 | |
| *** bny has quit IRC | 18:11 | |
| *** alexpilz has joined #zope | 18:32 | |
| *** goschtl has quit IRC | 18:39 | |
| *** eperez has quit IRC | 18:44 | |
| *** __mac__ has quit IRC | 18:49 | |
| *** do3cc has quit IRC | 18:51 | |
| *** do3cc has joined #zope | 18:51 | |
| *** supton has joined #zope | 18:54 | |
| *** do3cc has quit IRC | 18:56 | |
| *** eperez has joined #zope | 18:56 | |
| *** agroszer has quit IRC | 19:03 | |
| *** mcdonc has quit IRC | 19:07 | |
| *** mcdonc has joined #zope | 19:08 | |
| planetzopebot | Zope 2 as WSGI application (icemac) http://icemac.posterous.com/zope-2-as-wsgi-application | 19:08 |
| *** avoinea has quit IRC | 19:11 | |
| *** RaceCondition has quit IRC | 19:21 | |
| *** __mac__ has joined #zope | 19:23 | |
| *** mr_jolly has quit IRC | 19:23 | |
| *** thetet has quit IRC | 19:28 | |
| *** RaceCondition has joined #zope | 19:28 | |
| *** Spanktar has joined #zope | 19:34 | |
| *** hever has quit IRC | 19:35 | |
| *** m8 has joined #zope | 19:46 | |
| *** agroszer has joined #zope | 20:06 | |
| *** menesis has quit IRC | 20:15 | |
| *** Spanktar is now known as spanky|away | 20:18 | |
| *** agroszer has quit IRC | 20:22 | |
| *** evilbungle has quit IRC | 20:26 | |
| *** evilbungle has joined #zope | 20:26 | |
| *** __mac__ has quit IRC | 20:28 | |
| *** eperez has quit IRC | 20:29 | |
| *** evilbungle has quit IRC | 20:30 | |
| *** TomBlockley has quit IRC | 20:32 | |
| *** J1m_ has left #zope | 20:36 | |
| *** J1m_ has joined #zope | 20:36 | |
| *** regebro has quit IRC | 20:48 | |
| *** mejo has joined #zope | 20:48 | |
| mejo | hi | 20:48 |
| mejo | how does zope handle namespace collisions with eggs? | 20:49 |
| mejo | while trying to build zope packages for debian, I discovered that two eggs with the same namespace (i.e. zope.app.appsetup and zope.app.component) create a namespace collision. | 20:52 |
| mejo | the zope application doesn't find any but the first egg, as it occupies the namespace zope.app. | 20:52 |
| *** evilbungle has joined #zope | 20:57 | |
| kosh | no idea on that one I have not run into it | 20:59 |
| *** runyaga_ has quit IRC | 21:00 | |
| *** menesis has joined #zope | 21:04 | |
| *** RaceCondition has quit IRC | 21:13 | |
| *** RaceCondition has joined #zope | 21:15 | |
| mcdonc | mejo: http://packages.python.org/distribute/setuptools.html#namespace-packages | 21:21 |
| mejo | mcdonc: thanks. does zope2 install procedure install/create those namespace packages? | 21:22 |
| mcdonc | mejo: it's a "python thing" rather than a "zope thing" | 21:23 |
| mcdonc | the packages exist as namespace packages by virtue of having the hair in __init__.py described in that link | 21:23 |
| mejo | sure, but zope is the application that installs all the eggs into a virtualenv. | 21:23 |
| mcdonc | no | 21:24 |
| mcdonc | that'd instead be one of easy_install, pip, or buildout | 21:24 |
| mcdonc | zope is the thing being installed | 21:24 |
| mcdonc | but it doesnt do the installing | 21:24 |
| mejo | yes, but it declares the dependencies | 21:25 |
| mcdonc | that it does | 21:25 |
| mejo | so the installation app (easy_install, pip, buildout) takes care of creating namespace packages where required? | 21:25 |
| mcdonc | no.. those things dont "create" namespace packages.. they just install them.. a package either is or isn't a namespace package | 21:26 |
| mcdonc | zope.app.foo and zope.app.bar are namespace packages | 21:26 |
| mcdonc | terminology is pretty loose here which can be confusing | 21:27 |
| mcdonc | in reality, the thing you download from e.g. pypi called zope.app.foo-X.X.tar.gz is a *distribution* | 21:28 |
| mcdonc | but commonly people call them packages, which is technically not correct | 21:28 |
| mcdonc | because python already has a concept of a package separate from that | 21:28 |
| mcdonc | a distribution can contain N packages | 21:29 |
| mcdonc | zero or more of those packages may be a namespace package | 21:29 |
| mcdonc | in zope's case, it's usually a 1-for-1 package-to-distribition mapping | 21:29 |
| mcdonc | so that a distribution named zope.app.foo contains one package also named zope.app.foo | 21:30 |
| mcdonc | and both zope and zope.app are namespace packages | 21:30 |
| mejo | ok, thanks a lot for the explanations | 21:30 |
| mejo | so if both zope.app.appsetup and zope.app.basicskin contain namespace packages zope.app, there's going to be a conflict, or not? | 21:31 |
| *** runyaga has joined #zope | 21:32 | |
| *** runyaga has quit IRC | 21:32 | |
| *** runyaga has joined #zope | 21:32 | |
| mejo | ah it seems that all my problems are related to a bug in distribute: https://bitbucket.org/tarek/distribute/issue/204/pkg_resources-fails-in-buildout-with-two | 21:36 |
| mejo | mcdonc: thanks again for your help, it's much appreciated to meet people on IRC who explain things to others, instead of pissing them off ;-) | 21:50 |
| mcdonc | mejo: np ;-) | 21:56 |
| *** teix has quit IRC | 22:04 | |
| *** thetet has joined #zope | 22:49 | |
| *** mejo has left #zope | 22:51 | |
| kosh | anyone know why the default for most webservers seems to be that compression is turned off? | 22:54 |
| betabug | probably because in old times there were browsers who wouldn't get it right | 23:07 |
| *** sunew has joined #zope | 23:09 | |
| kosh | just seems so strange since modern systems still default to it off | 23:18 |
| *** ldlework has joined #zope | 23:22 | |
| kosh | I am trying to help a professor speed up her wordpress site for a project and god wordpress is bed | 23:22 |
| kosh | it versions urls but does not set caching headers on them so they revalidate every time | 23:22 |
| kosh | no compress is setup | 23:22 |
| kosh | some of the plugins massively slow down the site but no idea which ones because there seems to be no working profiler for it | 23:23 |
| kosh | stuff that would take minutes to do in zope, nginx, apache etc turns into a long drawn out process | 23:23 |
| kosh | it also has documentation on caching which is completely wrong and useless | 23:25 |
| kosh | plone honestly looks better written and easier to maintain .... | 23:25 |
| kosh | so betabug you should work hard at making me overlord of greece | 23:26 |
| *** sunew has quit IRC | 23:29 | |
| *** hever has joined #zope | 23:29 | |
| kosh | back later | 23:38 |
| *** avoinea has joined #zope | 23:43 | |
| *** __mac__ has joined #zope | 23:46 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!