IRC log of #zope for Friday, 2011-01-14

martin_how can i use the content of a page template in script(python)?00:02
*** martin_ has quit IRC00:11
*** m8 has quit IRC00:14
*** menesis has quit IRC00:20
*** d2m has left #zope00:23
*** allisterb has quit IRC00:39
*** jim_SFU has quit IRC00:39
*** bigkevmcd has quit IRC00:51
*** binbrain has quit IRC00:52
*** mcdonc has joined #zope00:53
*** allisterb has joined #zope00:55
*** vipod has quit IRC01:15
*** J1m has quit IRC01:16
*** srichter has joined #zope01:27
*** redir has quit IRC01:28
*** srichter has quit IRC01:32
*** mr_jolly has quit IRC01:42
*** mr_jolly has joined #zope01:43
*** supton has quit IRC01:56
*** dvschramm is now known as dvschramm|away02:00
*** dayne has quit IRC02:10
*** srichter has joined #zope02:18
*** srichter has quit IRC02:48
*** srichter has joined #zope02:49
*** claird has joined #zope03:02
*** FSCV has quit IRC03:03
clairdIs there an alternative to MailHost that is more robust with modest mailing lists?03:03
clairdI'll explain what I mean:03:03
clairdNaive use of MailHost has a lot of problems when given a "To:" longer than, say, twenty addresses.03:04
clairdI've written my own altenative to MailHost to handle mailing lists in a way convenient to me.03:05
clairdI'm curious, though, what others do.  I've poked around looking for appropriate Products, without success.03:05
clairdI suspect that I just don't have the right mentality for Product searches ...03:06
clairdTherefore, I ask live humans:  'know any better than write-my-own?03:06
clairdJens' MaildropHost.03:18
*** claird has quit IRC03:18
*** spanktar has quit IRC03:26
*** tiwula has quit IRC03:56
*** ccomb has quit IRC04:06
*** jan_s has joined #zope04:10
*** tiwula has joined #zope04:21
*** mr_jolly has left #zope04:23
nitrogenycswhat's the fastest way to test if one ZODB.BTree is a subset of another? (subset of the keys)04:30
mcdoncthe answer is in this mess somewhere: http://svn.zope.org/ZODB/trunk/src/BTrees/Interfaces.py?rev=113734&view=markup04:32
mcdonclikely btree.intersection(otherbtree) or so04:34
*** alga has quit IRC04:44
nitrogenycsmcdonc: thanks, that's what I was also looking at the past hour or so. For the subset part I actually used the difference() function. I guess it would be faster if the C code could do comparisions as it could early-out instead of having to compute entire sets, but that doesn't seem to be possible04:49
mcdoncyes it would be nice if there was an issubset04:52
nitrogenycsmcdonc: same for the other comparisions like equality. I've implemented it like bool( symmetric_difference(a, b) ) == False now04:55
nitrogenycsI guess it's still faster to compute the entire set in C than to iterate over the sorted trees manually in python, especially in the worst cases04:56
*** srichter has quit IRC05:35
*** Arfrever has quit IRC05:37
*** giampaolo has quit IRC05:45
*** alexpilz1 has joined #zope06:18
*** alexpilz has quit IRC06:21
*** tiwula has quit IRC06:24
*** srichter has joined #zope06:42
*** MrTango has quit IRC07:07
*** nitrogenycs has left #zope07:38
*** jan_s has quit IRC08:09
*** zagy has joined #zope08:19
*** wosc has joined #zope08:38
*** __mac__ has joined #zope09:04
*** d2m has joined #zope09:13
*** agroszer has joined #zope09:32
*** Theuni1 has joined #zope09:37
*** Theuni1 has quit IRC09:45
*** RiverRat has quit IRC09:49
*** hever has joined #zope09:50
*** alexpilz1 has quit IRC09:50
*** RiverRat has joined #zope09:51
*** hever has quit IRC09:52
*** hever has joined #zope09:53
*** Theuni1 has joined #zope10:03
*** Theuni1 has quit IRC10:08
*** Theuni1 has joined #zope10:09
*** rockfruit has joined #zope10:09
*** agroszer has quit IRC10:10
*** __mac__ has quit IRC10:11
*** __mac__ has joined #zope10:13
*** vipod has joined #zope10:22
*** ccomb has joined #zope10:24
*** rockfruit has quit IRC10:27
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** alexpilz has joined #zope10:35
*** goschtl has joined #zope10:38
*** yvl has quit IRC10:39
*** alexpilz1 has joined #zope10:39
*** alexpilz1 has joined #zope10:40
*** agroszer has joined #zope10:40
*** alexpilz has quit IRC10:41
*** martijn|4D has joined #zope10:41
*** yvl has joined #zope10:42
*** rockfruit has joined #zope10:54
*** sylvain has joined #zope11:00
*** hever has quit IRC11:08
*** hever has joined #zope11:12
*** tisto has joined #zope11:21
*** cpf_ has joined #zope11:29
*** sunew has joined #zope11:30
*** menesis has joined #zope11:32
*** srichter has quit IRC11:39
*** d2m has quit IRC11:39
CIA-78janjaapdriessen janjaapdriessen-fanstatic * r119573 grokproject/CHANGES.txt: Upgrade notes.11:48
*** cwarner has quit IRC11:50
*** d2m has joined #zope11:54
CIA-78yuppie * r119574 CMF/buildout.cfg: - added docs part (for building CMFCore or GenericSetup docs)12:03
*** lucmult has joined #zope12:12
*** waldi has quit IRC12:16
*** waldi has joined #zope12:16
CIA-78yuppie * r119575 Products.CMFDefault/Products/CMFDefault/browser/admin/ (5 files in 2 dirs):12:21
CIA-78- normalized some i18n messages12:21
CIA-78- wrapped some long lines12:21
CIA-78- cleaned up headers, imports and whitespace12:21
*** Theuni1 has quit IRC12:25
CIA-78yuppie * r119575 Products.CMFDefault/Products/CMFDefault/browser/admin/ (5 files in 2 dirs):12:33
CIA-78- normalized some i18n messages12:33
CIA-78- wrapped some long lines12:33
CIA-78- cleaned up headers, imports and whitespace12:33
CIA-78yuppie * r119576 Products.CMFDefault/Products/CMFDefault/ (upgrade/to23.py profiles/default/actions.xml): - whitespace cleanup12:33
*** Theuni1 has joined #zope12:42
*** teix has joined #zope12:44
*** alga has joined #zope12:45
*** jrydberg has left #zope12:57
*** agroszer has quit IRC13:05
CIA-78yuppie * r119577 Products.CMFDefault/Products/CMFDefault/browser/search/interfaces.py:13:12
CIA-78- normalized some i18n messages13:12
CIA-78- cleaned up imports13:12
CIA-78yuppie * r119578 Products.CMFDefault/Products/CMFDefault/browser/workflow/workflow.py:13:12
CIA-78- normalized some i18n messages13:12
CIA-78- cleaned up imports13:12
*** MrTango has joined #zope13:18
*** agroszer has joined #zope13:21
*** astoon has joined #zope13:33
*** cwarner has joined #zope13:37
*** evilbungle has joined #zope13:53
*** kiorky has quit IRC14:00
CIA-78janjaapdriessen janjaapdriessen-fanstatic * r119579 grokproject/grokproject/template/src/+package+/ (9 files in 2 dirs):14:03
CIA-78Moved tests into subdirectory in order to separate them from application code.14:03
CIA-78Also, tests are now picked up by zope.testrunner without messing with14:03
CIA-78test-patterns. Dropped z3c.testsetup, replaced by unittest and functional14:03
CIA-78unittest + description how to register tests.14:03
CIA-78janjaapdriessen janjaapdriessen-fanstatic * r119580 grokproject/CHANGES.txt: Update changes14:03
*** kiorky has joined #zope14:05
*** thetet has joined #zope14:19
*** vipod has quit IRC14:22
CIA-78yuppie * r119581 Products.CMFDefault/Products/CMFDefault/browser/membership/ (9 files in 2 dirs):14:26
CIA-78- normalized some i18n messages14:26
CIA-78- wrapped some long lines14:26
CIA-78- cleaned up imports and whitespace14:26
CIA-78yuppie * r119582 Products.CMFDefault/Products/CMFDefault/locales/cmf_default.pot: - updated .pot file14:26
*** regebro has quit IRC14:38
*** rockfruit is now known as rocksprout14:39
*** menesis has quit IRC14:40
*** goschtl has quit IRC14:47
*** m8 has joined #zope14:52
*** fredvd has joined #zope14:53
*** vipod has joined #zope14:55
*** astoon has quit IRC15:00
heverHello, what are the best practises for replicating a ZODB / ZEO Server ?15:11
*** astoon has joined #zope15:14
*** Theuni1 has quit IRC15:17
*** d2m has quit IRC15:19
*** d2m has joined #zope15:21
*** m8 has quit IRC15:22
*** agroszer_ has joined #zope15:24
*** giampaolo has joined #zope15:25
*** agroszer has quit IRC15:27
*** agroszer_ is now known as agroszer15:30
*** srichter has joined #zope15:31
CIA-78janjaapdriessen * r119583 zope.testbrowser/ (src/zope/testbrowser/README.txt CHANGES.txt setup.py): Fix test compatibility with zope.app.testing 3.8.115:40
CIA-78janjaapdriessen * r119584 zope.testbrowser/ (CHANGES.txt setup.py): Preparing release 3.10.415:40
CIA-78janjaapdriessen * r119585 /zope.testbrowser/tags/3.10.4: Tagging 3.10.415:40
CIA-78janjaapdriessen * r119586 zope.testbrowser/ (CHANGES.txt setup.py): Post-release15:40
martijn|4Dhever: A convenient setup us RelStorage, so you can use the replication tools of mysql or postgres15:40
*** d2m has quit IRC15:41
*** d2m has joined #zope15:42
*** cpf_ has quit IRC15:44
*** fredvd has quit IRC15:48
hevermartijn|4D, Are there no Zope related replication tools, beside ZRS (http://www.zope.com/products/zope_replication_services.html)?15:50
martijn|4Dhever: not that I'm aware of15:51
heverHow do you do replication ?15:52
martijn|4Dwe use a drbd solution to replicate the data in case of failure of the backend. In a project we worked on people used relstorage for replication15:53
*** fredvd has joined #zope15:57
hevermartijn|4D, well I thougt about such a filesystem based solution but didn't know drbd, thats a very good hint, I'm very thankful !15:58
CIA-78janjaapdriessen * r119587 zopetoolkit/zopeapp-versions.cfg: Pick up test fix in zope.testbrowser 3.10.4.15:59
martijn|4Dhever: You need some time to experiment with it and to get to know how it works. But the system is rock solid : we use it in production for several years now.15:59
*** tisto has quit IRC16:01
hevermartijn|4D, it seems it's blocking until the data is written to the clients. Did you experienced this as a bottleneck?16:02
martijn|4Dhever: No not really. You have to be sure that the network connection is fast enough. otherwise you can experience a low througpout indeed.16:03
*** kiorky has quit IRC16:05
hevermartijn|4D, ok great. I think I can ensure a high speed connection between the machines. But I think the secondary system must run readonly... Or use the primary ZEO Client and just in case of a failure its local one...16:10
*** menesis has joined #zope16:11
CIA-78janjaapdriessen 1.1 * r119588 zopetoolkit/zopeapp-versions.cfg: Pick up test bugfix in zope.testbrowser.16:18
*** cpf_ has joined #zope16:18
martijn|4Dhever: what you can do with two machines is : machine 1 : zeoclient + zeoserver (with floating internal ip). on machine 2 a zeoclient (which connects to the floating ip zeoserver), with drbd failsafe for the zeoserver. With heartbeat you can detect that machine 1 is down : Machine 2 will take over the floating ip and start the failsafe zeoserver. The advantage of this setup as well is that both machines are used in a normal situation.16:23
*** binbrain has joined #zope16:28
*** mlechner has joined #zope16:35
*** allisterb has quit IRC16:37
*** goschtl has joined #zope16:40
*** goschtl has quit IRC16:41
*** Theuni1 has joined #zope16:41
*** thetet has quit IRC16:42
*** cwarner has quit IRC16:43
*** jim_SFU has joined #zope16:47
binbrainare there any packages to integrate zope.interface/schema with mongokit?16:47
mgedminhever, there's also zeoraid, but I don't know how mature it is16:52
*** martijn|4D is now known as ninja|4D16:52
*** Theuni1 has quit IRC16:52
*** dvschramm|away is now known as dvschramm16:57
*** FSCV has joined #zope16:57
*** __mac__ has quit IRC16:58
*** MrWu has joined #zope16:59
*** goschtl has joined #zope16:59
*** bigkevmcd has joined #zope17:00
*** ninja|4D has quit IRC17:06
*** nitrogenycs has joined #zope17:06
*** martijn|4D has joined #zope17:06
*** nitrogenycs has left #zope17:08
*** dayne has joined #zope17:11
*** J1m_ has joined #zope17:11
*** goschtl has quit IRC17:15
*** jbg has joined #zope17:17
*** goschtl has joined #zope17:19
*** goschtl has left #zope17:19
*** jim_SFU has quit IRC17:20
*** jbg is now known as jim_SFU17:20
*** kiorky has joined #zope17:20
*** cwarner has joined #zope17:25
*** tiwula has joined #zope17:26
*** FSCV has quit IRC17:27
*** FSCV has joined #zope17:27
*** redir has joined #zope17:31
*** goschtl has joined #zope17:32
*** redir has quit IRC17:34
hevermartijn|4D, hej yes! That's exactly what I thougt. (And how it must work because both zeo servers can't run at once...) But if the server comes back on it must be ensured, not two zeo servers are running...17:35
*** goschtl has quit IRC17:35
martijn|4Dhever: that's where heartbeat comes in. It will only start when the primary server is down.17:37
*** kiorky has quit IRC17:37
*** kiorky has joined #zope17:37
hevermartijn|4D, yes actually I'm looking at heartbeat. But it must also solve the case when the primary server comes back on.17:38
*** astoon has quit IRC17:38
martijn|4Dhever: you can configure heartbeat to what to do : or the primary server takes over again (and the secondary zeoserver will be shutdown), or it will notify you that the primary server is up again so you can switch it manually.17:39
*** wosc has quit IRC17:39
hevergreat stuff!17:39
*** mememe has quit IRC17:39
*** mememe has joined #zope17:41
martijn|4Dhever: but configuring and understanding heartbeat will also take some time if you do it for the first time17:44
heversure...17:45
*** agroszer has quit IRC17:46
*** kiorky has quit IRC17:51
*** alecm has joined #zope17:52
*** alecm has joined #zope17:52
*** FSCV has quit IRC17:53
*** zagy has quit IRC17:53
*** FSCV has joined #zope17:53
*** alexpilz1 has quit IRC17:57
*** kiorky has joined #zope17:57
*** Theuni1 has joined #zope17:57
*** martijn|4D has quit IRC17:59
*** jim_SFU has quit IRC18:00
*** jim_SFU has joined #zope18:00
*** FSCV1 has joined #zope18:07
*** Arfrever has joined #zope18:08
*** Theuni1 has quit IRC18:11
*** FSCV has quit IRC18:11
*** redir has joined #zope18:15
*** sunew has quit IRC18:16
*** cpf_ has quit IRC18:25
*** mlechner has quit IRC18:34
*** giampaolo has quit IRC18:38
*** rocksprout has quit IRC18:44
*** __mac__ has joined #zope18:48
*** __mac__ has quit IRC18:50
*** vipod has quit IRC18:54
planetzopebotWonderful blog post on Pyramid development (Chatterbox, Reloaded)  http://pauleveritt.wordpress.com/2011/01/14/wonderful-blog-post-on-pyramid-development/19:04
planetzopebotChris McDonough on pluggable apps (Chatterbox, Reloaded)  http://pauleveritt.wordpress.com/2011/01/14/chris-mcdonough-on-pluggable-apps/19:04
*** alga has quit IRC19:06
*** fredvd has quit IRC19:06
*** benji is now known as benji-lunch19:09
*** Theuni1 has joined #zope19:15
*** runyaga has joined #zope19:27
*** runyaga has quit IRC19:27
*** runyaga has joined #zope19:27
*** bigkevmcd has left #zope19:29
*** alecm has quit IRC19:35
*** sylvain has quit IRC19:36
*** alecm has joined #zope19:39
*** d2m has quit IRC19:42
*** rocksprout has joined #zope19:50
*** d2m has joined #zope19:55
*** benji-lunch is now known as benji19:55
*** supton has joined #zope19:57
*** alecm_ has joined #zope20:13
*** alecm_ has joined #zope20:13
*** alecm has quit IRC20:15
*** alecm_ is now known as alecm20:15
*** alexpilz has joined #zope20:20
*** daMaestro has joined #zope20:21
*** rocksprout has quit IRC20:28
*** MrWu has quit IRC20:30
*** m8 has joined #zope20:38
CIA-78janjaapdriessen * r119589 /Sandbox/janjaapdriessen/buildbot/buildout.cfg: Add zope.pytest20:41
*** alecm has quit IRC21:24
*** menesis has quit IRC21:29
*** jbg has joined #zope21:33
*** jim_SFU has quit IRC21:36
*** jbg is now known as jim_SFU21:36
*** _MrTango_ has joined #zope21:37
*** cpf_ has joined #zope21:38
*** vipod has joined #zope21:56
*** cpf_ has quit IRC21:59
*** giampaolo has joined #zope22:00
*** cpf_ has joined #zope22:03
*** goschtl has joined #zope22:08
*** goschtl has quit IRC22:10
*** evilbungle has joined #zope22:17
*** menesis has joined #zope22:19
*** binbrain has quit IRC22:41
koshbetabug: are you around?22:42
*** astoon has joined #zope22:51
*** m8 has quit IRC22:52
*** teix has left #zope23:08
*** astoon has quit IRC23:12
*** alexpilz has quit IRC23:17
*** goschtl has joined #zope23:30
*** jim_SFU has quit IRC23:31
*** hever has quit IRC23:34
*** allisterb has joined #zope23:36
*** alga has joined #zope23:42
*** jim_SFU has joined #zope23:46
*** jim_SFU has quit IRC23:50
*** nitrogenycs has joined #zope23:54

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