IRC log of #zope for Friday, 2010-10-29

*** Theuni1 has joined #zope00:09
*** redir has quit IRC00:26
*** planetzopebot has quit IRC00:26
*** anguenot has quit IRC00:26
*** redir_ has joined #zope00:26
*** planetzopebot has joined #zope00:27
*** anguenot has joined #zope00:27
*** hever has quit IRC00:28
*** redir has joined #zope00:34
*** redir_ has quit IRC00:34
*** redir has quit IRC00:39
*** redir has joined #zope00:41
*** redir has quit IRC00:47
*** hever has joined #zope00:53
*** hever has quit IRC00:57
*** CIA-92 has quit IRC01:00
*** smita has quit IRC01:03
*** allisterb has quit IRC01:03
*** J1m has quit IRC01:09
*** bigkevmcd has quit IRC01:16
*** allisterb has joined #zope01:19
*** shastry has quit IRC01:21
*** daMaestro has joined #zope01:27
*** ignas has quit IRC01:27
*** nitrogenycs has quit IRC01:31
*** TomBlockley has joined #zope01:40
*** CIA-81 has joined #zope01:55
*** dvschramm is now known as dvschramm|away02:02
*** srichter has joined #zope02:05
*** TresEquis has quit IRC02:08
*** TomBlockley has quit IRC02:15
*** hever has joined #zope02:21
*** MrTango has quit IRC02:27
*** mitchell`afk is now known as mitchell`off02:31
*** mr_jolly has left #zope02:35
*** dayne has quit IRC02:58
*** hever has quit IRC03:05
*** grimboy has quit IRC03:32
*** tiwula has quit IRC04:02
*** zagy has quit IRC04:16
*** zagy has joined #zope04:26
*** fredvd|sport has quit IRC04:29
*** lucmult_ has joined #zope04:49
*** julesa has joined #zope04:51
*** daMaestro has quit IRC05:04
*** kursor has joined #zope05:19
*** allisterb_ has joined #zope05:48
*** allisterb has quit IRC05:50
*** acsr1 has joined #zope05:57
*** acsr has quit IRC06:01
*** River_Rat has joined #zope06:12
*** RiverRat has quit IRC06:14
*** tiwula has joined #zope06:18
*** _mup_ has quit IRC06:28
*** dayne has joined #zope06:31
*** benji has quit IRC06:40
*** kursor has quit IRC06:57
*** sm has quit IRC07:06
*** kursor has joined #zope07:13
*** kleist has joined #zope07:14
*** kursor has quit IRC07:17
*** julesa has quit IRC07:30
*** dayne has quit IRC07:36
*** allisterb has joined #zope08:01
*** allisterb_ has quit IRC08:04
*** tiwula has quit IRC08:09
*** __mac__ has joined #zope08:48
*** ignas has joined #zope08:50
*** wosc has joined #zope08:50
*** ignas has quit IRC08:52
*** Theuni1 has quit IRC09:00
*** ignas has joined #zope09:07
*** mr_jolly has joined #zope09:14
*** mr_jolly_ has joined #zope09:20
*** hever has joined #zope09:21
*** mr_jolly has quit IRC09:26
*** Theuni1 has joined #zope09:29
CIA-81icemac * r118012 z3c.tan/ (7 files in 2 dirs): Conform to repository policy.09:31
*** River_Rat is now known as RiverRat09:33
*** smita has joined #zope09:37
CIA-81icemac * r118013 z3c.template/ (CHANGES.txt src/z3c/template/tests.py):09:46
CIA-81- Using Python's ``doctest`` module instead of depreacted09:46
CIA-81``zope.testing.doctest``.09:46
CIA-81icemac 0.2 * r118014 z3c.testsetup/ (14 files in 3 dirs): Conform to repository policy.09:46
*** alexpilz has quit IRC09:46
*** fredvd has joined #zope09:50
*** redir has joined #zope09:55
*** hever has quit IRC10:00
*** redir has quit IRC10:03
*** Theuni1 has quit IRC10:04
*** redir has joined #zope10:09
*** Theuni1 has joined #zope10:11
*** TomBlockley has joined #zope10:26
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** allisterb has quit IRC10:36
*** allisterb has joined #zope10:37
*** eperez has joined #zope10:40
*** Theuni1 has quit IRC10:42
*** Theuni1 has joined #zope10:43
*** alga has joined #zope10:54
*** MrWu has joined #zope10:55
*** menesis has joined #zope10:58
*** mitchell`off is now known as mitchell`11:09
*** MrTango has joined #zope11:14
*** Theuni1 has quit IRC11:15
*** giampaolo has quit IRC11:16
*** alga has quit IRC11:21
*** Theuni1 has joined #zope11:29
*** TomBlockley has quit IRC11:46
*** sylvain has joined #zope11:54
*** giampaolo has joined #zope11:59
*** fredvd has quit IRC12:01
*** redir has quit IRC12:02
*** RichardBarrell has joined #zope12:03
*** nitrogenycs has joined #zope12:26
*** MrWu has quit IRC12:35
*** MrWu has joined #zope12:36
*** teix has joined #zope12:42
*** TomBlockley has joined #zope12:42
*** alga has joined #zope12:48
*** MrWu has quit IRC12:51
*** MrWu has joined #zope12:57
*** redir has joined #zope13:03
*** redir_ has joined #zope13:10
*** redir has quit IRC13:11
betabughmmm, I have a situation where an "Update Catalog" leeds to inconsistent results13:16
betabugone of the indexes depends on another of the indexes (the method that is indexed does a catalog search and some computation on the result)13:17
betabugaparently at some point the 2nd index is empty or inconsistent and some results are missing13:17
betabugnow the interesting question is: is there a bug in my code or is it just a situation of "Do not click on 'Update Catalog'"? :-)13:18
*** redir_ has quit IRC13:22
*** redir has joined #zope13:31
*** TomBlockley has quit IRC13:36
*** gwik has joined #zope13:39
*** sunew has joined #zope13:50
*** redir has quit IRC13:50
*** JaRoel|4D has joined #zope13:59
*** lucmult has quit IRC14:00
*** Theuni1 has quit IRC14:04
*** JaRoel|4D has quit IRC14:11
*** davisagli|away is now known as davisagli14:14
*** davisagli is now known as davisagli|away14:17
*** menesis has quit IRC14:21
*** JaRoel|4D has joined #zope14:23
*** TomBlockley has joined #zope14:24
*** davisagli|away is now known as davisagli14:26
*** dayne has joined #zope14:28
*** JaRoel|4D has quit IRC14:28
*** davisagli is now known as davisagli|away14:39
*** smita has quit IRC14:44
*** TomBlockley has quit IRC14:46
MrTangohi anyone here how knows how the ftp access is working with paths in username like otto@site/documents?14:52
MrTangothe doc string of the FTP Module says, that if one use usernames like this, zope change the ftp directory on login14:54
*** davisagli|away is now known as davisagli14:55
*** davisagli is now known as davisagli|away15:00
betabughmm, never heard about that15:09
betabugmaybe it doesn't show the root directory any more?15:09
*** menesis has joined #zope15:10
*** TomBlockley has joined #zope15:12
*** davisagli|away is now known as davisagli15:23
*** TomBlockley has quit IRC15:27
*** davisagli is now known as davisagli|away15:30
*** MrWu has quit IRC15:32
*** TomBlockley has joined #zope15:35
*** agroszer has joined #zope15:37
*** srichter has quit IRC15:43
MrTangobetabug: it works now, and i will build a package to add a new config parameter to zope.conf, i would like configure the start path for all users without special names ;)15:44
*** srichter has joined #zope15:47
*** TomBlockley has quit IRC15:48
*** _mup_ has joined #zope15:54
*** menesis has quit IRC15:54
*** menesis has joined #zope15:54
*** benji has joined #zope16:01
*** TomBlockley has joined #zope16:05
*** redir has joined #zope16:07
*** J1m has joined #zope16:08
*** sunew has quit IRC16:09
*** regebro has joined #zope16:16
*** eperez has quit IRC16:21
*** redir has quit IRC16:24
*** dayne has quit IRC16:30
*** jim_SFU has joined #zope16:30
CIA-81ctheune * r118015 /zopetoolkit/doc/source/zope-dev/ (zope-dev-20101102.rst archive.rst index.rst): prepare next meeting16:33
*** gqlewis has joined #zope16:33
*** kursor has joined #zope16:33
*** JaRoel|4D has joined #zope16:36
*** TomBlockley has quit IRC16:36
*** ccomb has joined #zope16:36
*** __mac__ has quit IRC16:37
*** gqlewis has quit IRC16:38
*** TomBlockley has joined #zope16:41
*** TomBlockley has quit IRC16:43
*** redir has joined #zope16:44
*** Moo|needforbeer is now known as Moo|beernothanks16:46
*** wosc has quit IRC16:47
*** TomBlockley has joined #zope17:01
*** ignas has quit IRC17:02
*** kursor has quit IRC17:03
*** regebro has quit IRC17:05
*** MrWu has joined #zope17:22
*** regebro has joined #zope17:26
*** alga has quit IRC17:27
*** redir has quit IRC17:40
*** sunew has joined #zope17:41
*** regebro has quit IRC17:44
*** zagy has quit IRC17:47
*** jim_SFU has quit IRC17:49
*** dayne has joined #zope17:50
*** alexpilz has joined #zope17:51
*** MrWu has quit IRC17:54
*** MrWu has joined #zope17:56
*** JaRoel|4D has quit IRC18:02
planetzopebotPlone Foundation Board Election Results (Plone News)  http://plone.org/foundation/newsitems/plone-foundation-board-election-results-201018:04
*** TomBlockley has quit IRC18:07
*** fredvd has joined #zope18:11
*** sm has joined #zope18:12
*** alexpilz has quit IRC18:15
*** TomBlockley has joined #zope18:16
*** davisagli|away is now known as davisagli18:17
*** alexpilz has joined #zope18:18
CIA-81jim * r118016 ZODB/src/ZEO/tests/test_cache.py: spread elipsis to avoid spurious test failure18:18
*** sunew has quit IRC18:19
*** davisagli is now known as davisagli|away18:21
*** kleist has quit IRC18:26
*** JaRoel|4D has joined #zope18:27
*** davisagli|away is now known as davisagli18:29
*** davisagli is now known as davisagli|away18:31
*** redir has joined #zope18:31
*** redir has quit IRC18:32
*** d2m has joined #zope18:40
*** kolla has joined #zope18:43
*** redir has joined #zope18:47
kollaI have a site with only one zope (2.10, debian lenny) instans and one virtualhost. I have put apache infront of it and made rewrite rules that seem to work well, but one problem remains, on the default main page, there's a "base href=http://localhost:8080/mysite" at the top18:52
mgedminkolla, you need to tell zope about your rewrite rules18:52
*** JaRoel|4D has quit IRC18:52
d2mnot really18:52
mgedminthis is done by rewriting to /VirtualHostRoot/yourpublicserver.com/$1 or something like that; I forgot the exact syntax18:53
kollaI've read up and down and tried all kinds if tricks, but havent managed to get it working18:53
mgedminit's VirtualHostBase18:53
*** agroszer_ has joined #zope18:53
kollais "VirtualHostBase" a magic string, or is it some example directory or what?18:53
mgedminhere's how I put a zwiki on my public site:18:53
d2mkolla: try http://betabug.ch/zope/witch18:54
mgedminRewriteRule ^/wiki(/.*)?$ http://localhost:28082/VirtualHostBase/https/fridge.pov.lt:443/wiki/VirtualHostRoot/_vh_wiki$118:54
kollafor all sub pages it works just fine, the problem is only the front page18:54
mgedmina more usual example would be RewriteRule ^/(.*)$ http://localhost:28082/VirtualHostBase/https/fridge.pov.lt:443/VirtualHostRoot/$118:54
*** agroszer has quit IRC18:55
kollad2m: thanks18:56
kollathanks, got it working finally18:56
kollamgedmin: I suspect ^/(.*) doesn't work in the case where people only type in "http://domain.bla18:57
kollathere's no / at the end, and weird things happen18:57
mgedminoh?18:58
mgedminI thought apache rewrote paths so there's always a leading /18:58
mgedminI can check the config of http://pov.lt, which is a zope2 site18:59
kollaanyhow... thanks, the witch fixed it... I read about "the witch", but didnt realize it was a service18:59
kollamgedmin: maybe, I don't know.. just guessing18:59
mgedminRewriteRule ^/(.*) http://localhost:8090/VirtualHostBase/http/pov.lt:80/pov.lt/VirtualHostRoot/$1 [L,P]18:59
*** TomBlockley has quit IRC19:00
*** redir_ has joined #zope19:00
*** tiwula has joined #zope19:00
*** redir has quit IRC19:00
kollaanyways, thanks :)19:02
*** kolla has left #zope19:02
*** giampaolo has quit IRC19:02
*** redir_ has quit IRC19:04
*** fredvd has quit IRC19:12
*** sm_ has joined #zope19:14
*** menesis has quit IRC19:14
*** sm has quit IRC19:17
*** sm_ is now known as sm19:17
*** davisagli|away is now known as davisagli19:26
*** runyaga has joined #zope19:26
*** davisagli is now known as davisagli|away19:29
*** kursor has joined #zope19:32
*** gwik has quit IRC19:33
*** sylvain has quit IRC19:35
*** benji is now known as benji-lunch19:57
*** menesis has joined #zope20:10
*** RichardBarrell has quit IRC20:11
*** menesis has quit IRC20:14
*** redir has joined #zope20:14
*** TomBlockley has joined #zope20:16
*** redir has quit IRC20:22
*** alexpilz has quit IRC20:24
*** __mac__ has joined #zope20:31
*** TresEquis has joined #zope20:35
*** Hypergraphe has joined #zope20:37
*** __mac__ has quit IRC20:42
*** MrWu has quit IRC20:43
*** alexpilz has joined #zope20:45
*** gwik has joined #zope20:49
*** benji-lunch is now known as benji20:57
*** __mac__ has joined #zope21:01
*** TomBlockley has quit IRC21:07
*** TomBlockley has joined #zope21:07
*** mcdonc has quit IRC21:18
*** mcdonc has joined #zope21:19
*** TomBlockley has quit IRC21:26
*** shastry has joined #zope21:35
*** shastry has joined #zope21:35
*** agroszer_ has quit IRC21:36
*** teix has quit IRC21:51
*** kursor has quit IRC22:01
*** mitchell` is now known as mitchell`off22:38
*** donri has joined #zope22:50
donriBTrees are slower for me when I'm iterating all items (which makes sense, I guess). Are there other situations when they're worse than persistentmapping?22:53
*** thetet has joined #zope23:12
koshdonri: that is not always true, only for small ones23:12
donriAlso makes sense23:12
donriWhat counts as small?23:12
koshdonri: a persistentmapping is just a dict, if your dict is big enough you will face a pretty large penalty for loading it in the first place and you will use a lot more memory23:12
koshBTrees are far more memory friendly23:13
koshwell I usually use BTrees with over 100 entries but I have many with 100K entries23:13
donriIs <10k small?23:13
donriWell OOBTree was slower for me with around 5000 entries23:14
koshhow much slower23:14
koshalso you have to think about writing speed23:14
kosheverytime you and a single entry to a persistent mapping you write the N23:15
koshENTIRE structure again23:15
donri8 seconds to export all entries in XML compared to 623:15
koshand what happens if many people try to do it at once? what about multiple reads and writes to that same data structure?23:15
donriOK so I should go with btress eh23:16
koshyes23:16
koshlong long ago I used persistentmappings and by the time you add a few thousand entries to them one at a time your db will have grown by over a GB but pack down to 10s of MB23:17
koshwith a BTree you can add thousands of entries and when you pack it down it goes down almost nothing and never grows much bigger then a persistentmapping23:18
koshif you use persistentmappings on data structures you write to a lot you will blow up your db very quickly23:18
koshwhich will also increase memory requirements23:18
donriHow about ordered data such as a revision history23:19
koshOOBTree are ordered based on the key23:21
koshso if you put things in with a timestamp or something like that they will be ordered23:21
donriQuick way to get the newest?23:25
koshmostly persistentmappings look good in microbenchmarks but fail badly in large systems23:25
koshwell an OOBTree has a maxKey() method so you could call that to get the highest key and use that to get the value if you want23:26
*** __mac__ has quit IRC23:37
*** alexpilz has quit IRC23:42
*** mr_jolly has joined #zope23:42
*** mr_jolly has left #zope23:49
*** nitrogenycs has quit IRC23:58

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