IRC log of #zope for Monday, 2011-05-09

*** menesis has joined #zope00:10
*** digitalmortician has joined #zope00:30
*** slackrunner has quit IRC00:32
*** youyou_ has joined #zope00:33
*** youyou_ has quit IRC00:33
*** youyou has quit IRC00:35
*** Spanktar has joined #zope00:46
*** davisagli has quit IRC00:46
*** davisagli has joined #zope00:48
*** srichter has joined #zope01:02
*** MrTango has quit IRC01:16
*** Arfrever has quit IRC01:35
*** davisagli has quit IRC02:30
*** davisagli has joined #zope02:31
*** alga has quit IRC03:27
*** Spanktar has quit IRC03:40
*** davisagli has quit IRC03:50
*** davisagli has joined #zope03:51
*** davisagli has quit IRC04:26
*** davisagli has joined #zope04:27
*** [Arfrever] has quit IRC05:18
*** jham has quit IRC05:19
*** [Arfrever] has joined #zope05:19
*** jham has joined #zope05:19
*** davisagli has quit IRC05:28
*** davisagli has joined #zope05:28
*** digitalmortician has quit IRC06:54
*** tisto has joined #zope07:13
*** tiwula has joined #zope07:13
*** slackrunner has joined #zope08:12
*** tiwula has quit IRC08:17
*** zagy has joined #zope08:28
*** kleist has joined #zope08:37
*** __mac__ has joined #zope09:01
*** wosc has joined #zope09:02
*** fredvd has joined #zope09:03
*** hever has joined #zope09:08
*** davisagli has quit IRC09:08
*** davisagli has joined #zope09:10
*** hever has quit IRC09:10
*** hever has joined #zope09:12
*** yvl has quit IRC09:15
*** yvl has joined #zope09:23
*** agroszer has joined #zope09:39
*** MrTango has joined #zope09:54
*** alexpilz has joined #zope09:58
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:09
*** fredvd has quit IRC10:19
*** humanfromearth has joined #zope10:26
*** alexpilz has quit IRC10:34
*** humanfromearth has quit IRC10:36
*** alexpilz has joined #zope10:36
*** humanfromearth has joined #zope10:37
*** humanfromearth has left #zope10:37
*** alexpilz has quit IRC10:38
*** goschtl has joined #zope10:40
*** alexpilz has joined #zope10:40
*** alga has joined #zope10:53
*** vortec has joined #zope10:59
*** altipard has joined #zope11:08
*** altipard has quit IRC11:08
*** avoinea has joined #zope11:09
*** __mac__ has quit IRC11:09
*** __mac__ has joined #zope11:09
*** sylvain has joined #zope11:11
*** f10w has quit IRC11:14
*** f10w has joined #zope11:17
*** mitchell`off is now known as mitchell`11:18
*** thetet has joined #zope11:21
*** digitalmortician has joined #zope11:26
*** slackrunner_ has joined #zope11:33
*** slackrunner has quit IRC11:35
*** slackrunner has joined #zope11:37
*** stoffus has joined #zope11:37
*** slackrunner__ has joined #zope11:40
*** slackrunner_ has quit IRC11:40
*** slackrunner has quit IRC11:42
*** slackrunner has joined #zope11:44
*** slackrunner__ has quit IRC11:46
*** slackrunner has quit IRC11:46
*** slackrunner has joined #zope11:47
*** slackrunner_ has joined #zope11:50
*** slackrunner has quit IRC11:53
*** slackrunner_ is now known as slackrunner11:53
*** evilbungle has joined #zope11:59
*** hever has quit IRC12:01
*** hever has joined #zope12:06
*** TomBlockley has joined #zope12:06
*** Wu has joined #zope12:21
*** wosc has quit IRC12:22
*** __mac__ has quit IRC12:25
*** teix has joined #zope12:34
*** giampaolo has joined #zope12:35
*** fredvd has joined #zope12:58
*** eperez has joined #zope13:24
*** srichter has quit IRC13:28
*** srichter has joined #zope13:28
*** mr_jolly has joined #zope13:37
*** mr_jolly has left #zope13:41
*** TomBlockley has quit IRC13:48
*** gwik has joined #zope13:52
CIA-83jim * r121630 /ZODB/branches/jim-python-btrees:13:53
CIA-83jim jim-python-btrees * r121631 ZODB/src/BTrees/ (___BTree.py OOBTree.py): checkpoint13:53
*** gwik has quit IRC14:08
*** vipod has joined #zope14:21
*** bhagat has joined #zope14:33
*** TomBlockley has joined #zope14:34
*** slackrunner has quit IRC14:58
*** benji has joined #zope15:03
*** Wu has quit IRC15:08
*** menesis has quit IRC15:10
*** bhagat has quit IRC15:11
*** thetet has quit IRC15:30
CIA-83andreasjung * r121632 zopeorg.buildout/bootstrap.py: fixed bootstrap script15:43
CIA-83andreasjung * r121633 zopeorg.buildout/buildout.cfg: new port-base15:43
CIA-83andreasjung * r121634 zopeorg.buildout/buildout.cfg: new port-base15:43
CIA-83andreasjung * r121635 /zopeorg.buildout/branches/beta.zope.org: added15:43
CIA-83andreasjung beta.zope.org * r121636 zopeorg.buildout/ (973 files in 241 dirs): ADDED15:43
CIA-83andreasjung beta.zope.org * r121637 zopeorg.buildout/lib: opps15:43
*** thetet has joined #zope16:04
*** menesis has joined #zope16:06
*** TomBlockley is now known as tom_lunch16:11
CIA-83andreasjung beta.zope.org * r121638 zopeorg.buildout/bin: removed16:28
CIA-83andreasjung beta.zope.org * r121639 zopeorg.buildout/buildout.cfg: updated16:28
*** dayne has quit IRC16:45
*** cwarner has joined #zope16:48
*** tom_lunch is now known as Tom_has_noms16:58
*** supton has joined #zope17:00
*** Wu has joined #zope17:06
*** shastry_ has joined #zope17:09
*** hever has quit IRC17:09
*** shastry has quit IRC17:11
*** alga has quit IRC17:20
*** hever has joined #zope17:31
*** slackrunner has joined #zope17:33
*** slackrunner has quit IRC17:35
*** hever has quit IRC17:35
*** slackrunner has joined #zope17:36
*** hever has joined #zope17:37
*** Tom_has_noms is now known as Tom_no_noms_now17:39
*** shufla has joined #zope17:43
shuflahello17:43
*** shufla has quit IRC17:44
*** Tom_no_noms_now has quit IRC17:52
*** ccomb has joined #zope17:59
*** daMaestro has joined #zope18:00
*** daMaestro has joined #zope18:00
*** supton has quit IRC18:02
*** J1m has joined #zope18:02
*** J1m has quit IRC18:02
*** J1m has joined #zope18:03
*** J1m has quit IRC18:08
*** TomBlockley has joined #zope18:17
*** alexpilz has quit IRC18:28
*** J1m has joined #zope18:30
*** J1m has quit IRC18:32
*** agroszer has quit IRC18:35
*** TomBlockley has quit IRC18:43
*** J1m has joined #zope18:43
*** goschtl has quit IRC18:47
*** Arfrever has joined #zope18:51
*** pjfd4 has joined #zope18:52
*** sp0cksbeard has joined #zope19:10
sp0cksbeardmcdonc: I'm looking at wsgi servers to use with one of our applications. do you have any recommendations regarding ones to use?19:14
sp0cksbeardJ1m mentioned (offline) that you may have looked at some in the past. I read some of the repoze.bfg docs that talk of ZServer19:15
*** alvaro_o has joined #zope19:18
*** alvaro_o has quit IRC19:19
*** supton has joined #zope19:22
*** Spanktar has joined #zope19:29
*** runyaga has joined #zope19:32
*** tiwula has joined #zope19:34
*** sylvain has quit IRC19:34
*** fredvd has quit IRC19:46
*** thetet has quit IRC19:46
*** evilbungle has quit IRC20:02
*** evilbungle has joined #zope20:02
*** agroszer has joined #zope20:06
CIA-83andreasjung beta.zope.org * r121640 zopeorg.buildout/buildout.cfg: Products.PloneHotfix2011072020:25
CIA-83jens beta.zope.org * r121641 zopeorg.buildout/buildout.cfg: - restrict to localhost20:25
*** vortec has left #zope20:27
*** menesis has quit IRC20:29
*** ccomb has quit IRC20:32
*** ccomb has joined #zope20:33
*** redir has quit IRC20:34
*** eperez has quit IRC20:37
*** TresEquis has joined #zope20:39
*** tisto has quit IRC20:39
*** vipod has quit IRC20:43
*** m8 has joined #zope20:48
*** robohak has joined #zope20:49
*** Wu has quit IRC20:51
*** giampaolo has quit IRC20:56
*** sp0cksbeard has quit IRC20:59
*** kleist has quit IRC20:59
*** sp0cksbeard has joined #zope20:59
*** sp0cksbeard has joined #zope21:03
*** agroszer has quit IRC21:15
*** evilbungle has quit IRC21:21
*** menesis has joined #zope21:25
*** evilbungle has joined #zope21:34
*** redir has joined #zope21:42
*** evilbungle has quit IRC21:45
*** webmaven has joined #zope21:49
*** avoinea has left #zope21:50
*** teix has left #zope22:03
*** thetet has joined #zope22:23
*** menesis has quit IRC22:26
runyagaTresEquis, ?22:29
TresEquisrunyaga, hmm?22:30
runyagaanyone see zope branch sans acquisition?22:30
runyagaany thoughts on zope/cmf w/o acquisition?22:30
TresEquisnot interesting22:31
TresEquisI've seen checkin messages for the branch22:31
TresEquisI *like* acquisition22:31
TresEquisfor what I use it for22:31
runyaga__parent__ could not replace it?22:32
TresEquisno22:32
TresEquisnot for what I use it for22:32
runyagawhat are you using it for?22:32
TresEquisto acquire attributes (settings) from parent containers22:32
TresEquisI don't see a point in trying to factor it out of Zope222:32
TresEquisjust start over22:33
runyagawhat about making it explicit?22:34
davisagliI was just going to say that. I'd like to see implicit acquisition die in a fire22:34
TresEquiswhat do you think it is costing you?  And why do you thing Z2 has any value at all w/o it?22:35
TresEquisStable, backward-compatibility for existing apps *is* the value proposition22:35
TresEquisdoing anything radically new on top of Z2 is clinically insane22:35
runyagatrye22:35
runyagatrue22:35
TresEquisjust use pyramid ;)22:36
davisagliI guess I should be more specific. I'd like for Plone to have a way to opt out of implicit acquisition.  and I'd like to be able to experiment with running Plone on Python interpreters that don't support C extensions.22:38
runyagaand that cant happen w/o massive changes22:39
TresEquisdavisagli, just don't derived from it22:42
davisagliTresEquis: if we get Zope2 setting up __parent__ pointers correctly, that's probably sufficient22:43
TresEquisyou'll have to fix the thousands of places which expect to acquire stuff, but there is no majyk bullet for that22:43
TresEquisz2 already does22:43
davisaglioh, really? I missed that22:43
TresEquisor at least, z2 understands them22:43
davisaglithat's different22:44
TresEquisthe container is responsible for setting them22:44
davisagliright. and OFS doesn't22:44
TresEquisagain, you control horizontal and vertical22:44
TresEquisWhy would you be using OFS?22:44
TresEquisJust Say No22:44
davisagliTresEquis: well, we do *shrug*22:44
koshI like acquisition a lot22:44
TresEquisyou already have your own folder implementation:  just change it to set __parent__ on items22:45
koshhowever __parent__ pointers apparently massively slows down copying and exports22:45
koshsomething to do with how the pickles work22:46
davisagliTresEquis: yeah, that might work now that plone.folder is in core. last time I thought about this much was in Plone 3 days.22:46
koshI was reading a thread on that in plone and they undid the changes and now are just setting __parent__ for temp type objects22:46
davisaglikosh: the problem was that Zope2 follows parent pointers when exporting ZEXP dumps....so you would end up exporting the entire db when you just wanted one folder. that can probably be resolved though22:47
koshso settings __parent__ by default has some pretty bad consequences22:47
koshdavisagli: also does it when copying since copy and pasteing to a different part of a zope site uses the same mechanism22:47
koshhowever until it is resolved setting __parent__ for all items can be crippling22:47
*** mitchell` is now known as mitchell`off23:02
J1mTresEquis, do you have any recent opinions on which wsgi servers are best for production?23:04
TresEquismod_wsgi is that we use23:04
J1mThanks.23:05
*** slackrunner_ has joined #zope23:05
J1msp0cksbeard, ^^^ :)23:06
TresEquisfixing export / import likely requires wrapping __setstate__ to ignore __parent__ attributes23:06
koshI ended up dumping apache a while ago and moved to nginx, no idea how well it does wsgi though23:06
sp0cksbeardJ1m: , TresEquis: thanks :-)23:06
koshbut under load with the proxy balancer in apache I found that it would screw up requests23:06
koshsometimes it would serve the data to the wrong person23:07
koshthe bug report for that keeps being opened and closed again23:07
J1mouch23:07
koshit was the weirdest thing but sometimes instead of the html for the page you would get an image back that was supposed to be served to someone else and vice versa23:07
koshso now I run 4 zopes behind nginx and 1 zeo on a rackspace cloud server and that works extremely well23:08
koshwhat would wsgi change about that? slower, faster etc23:08
J1mI don't understand the last comment. We use wsgi for everything now.  Either ZTK or bobo.23:09
*** slackrunner has quit IRC23:09
*** slackrunner_ is now known as slackrunner23:09
koshjust wondered what advantage wsgi has over regular zserver and proxy to it23:10
TresEquiskosh, zserver does too much for many apps23:12
TresEquiswsgi lets you add in just the bits you need via middleware23:12
TresEquisand tweak23:12
koshbut for a zope 2 app what advantage do I have to switch to wsgi?23:12
TresEquisre-use of cool WSGI middleware23:12
TresEquise.g., for debugging23:12
TresEquisyou can evaluate expressions against stack variables, for instance23:13
koshhmm debugging has not tended to be a problem for me, the error_log seems to cover what I have needed23:13
TresEquisz2 becomes "just another app", instead of a "does everything its own, different way" ghetto23:14
TresEquiserror_log doesn't let you see the values of variables in the stack23:15
koshI don't think I have run into a situation where that would have been useful23:16
koshdoes sound interesting though23:17
koshI mostly wondered if it was faster or used less memory23:18
TresEquisFor instance, if your app is read-only, you can remove the transcation layer23:18
TresEquisso nothing ever gets commited, perios23:18
TresEquisor tweak the number of retries, or the kind of exceptions which cause them23:19
TresEquis(e.g., to deal w/ PostGres optimistic concurrency exceptions like ConflictErrors)23:19
TresEquisall of that policy is in middleware layers, instead of welded into the server23:19
koshah23:19
*** bigkevmcd has quit IRC23:20
koshI used postgres for a little bit for testing but for my app I wound that zeo + zope was faster, lower memory usage and more reliable then relstorage + zope23:20
TresEquisMain advantage of WSGI is sharing tooling w/ non-Zope apps23:20
koshsometimes postgres would even stop working right for some reason23:21
TresEquisI wasn't thinking about relstorage:  it does the mapping onto ConflictError in its guts23:21
TresEquisrather, "native" use of a PG adapter might raise a retry-able exception23:22
TresEquissee http://pypi.python.org/pypi/repoze.retry for an example23:24
*** hever has quit IRC23:27
J1mTresEquis,23:27
*** hever has joined #zope23:27
J1mTresEquis, do you like any pure-python wsgi servers?23:27
*** thetet has quit IRC23:28
*** avoinea has joined #zope23:34
*** avoinea has left #zope23:34
koshTresEquis: when do you want to auto retry an exception?23:38
TresEquisJ1m, I use the paster defauilt until I move to mod_wsgi23:45
TresEquiskosh, same as retrying a ZODB ConflictError23:45
TresEquisPG (in some configurations, at least) has an isomorphic error23:46
TresEquis"you lost the optimistic concurrency race"23:46
koshah I don't seem to get many conflict errors, I worked pretty hard on my apps for that23:54
koshonly when I do a single large transaction like db migration stuff on a live server23:54
koshwhat I want to do is figure out a way with jquery to have it hit the same url over and over again with a progress meter that will do batches and stop when it gets a certain value back23:55
koshso that way if you had 10K items to update you could do it in batches of 10023:55
koshthe problem is you would have a lot of little transaction that way but at least conflicts would be much harder to happen with that23:56

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