IRC log of #zope3-dev for Friday, 2009-07-24

*** pelle__ has quit IRC00:07
*** srichter has quit IRC00:19
*** pcardune has joined #zope3-dev00:20
*** jhauser has quit IRC00:21
*** dunny has joined #zope3-dev00:24
*** allisterb_ has joined #zope3-dev00:26
*** kobold has joined #zope3-dev00:27
*** tisto has joined #zope3-dev00:31
*** allisterb has quit IRC00:33
*** allisterb has joined #zope3-dev00:43
*** allisterb_ has quit IRC00:50
*** drudi has joined #zope3-dev00:55
*** hexsprite_ has quit IRC00:58
*** benji has quit IRC00:58
*** malthe|away is now known as malthe01:07
*** cshenton_ has quit IRC01:11
*** dunny has quit IRC01:20
*** pcardune has quit IRC01:21
*** pcardune has joined #zope3-dev01:28
*** febb has joined #zope3-dev01:30
*** greenman has quit IRC01:31
*** jamur2 has quit IRC01:35
*** tisto has quit IRC01:38
*** JaRoel|4D has quit IRC01:41
*** junkafarian has joined #zope3-dev01:43
*** aaronv has quit IRC01:44
*** redir has joined #zope3-dev01:49
*** aaronv has joined #zope3-dev01:49
*** drudi has quit IRC02:06
*** hathawsh is now known as hath|away02:07
*** greenman has joined #zope3-dev02:08
*** pcardune has quit IRC02:09
*** ignas has quit IRC02:20
*** hexsprite has joined #zope3-dev02:22
*** hath|away is now known as hathawsh02:22
*** ignas has joined #zope3-dev02:23
*** romanofski has joined #zope3-dev02:24
*** romanofski has quit IRC02:31
*** J1m has quit IRC02:31
*** romanofski has joined #zope3-dev02:31
*** malthe is now known as malthe|Zzz02:33
*** jpcw has quit IRC02:34
*** lurkymclurkleton has quit IRC03:01
*** redir has quit IRC03:01
*** hathawsh is now known as hath|away03:11
*** lurkymclurkleton has joined #zope3-dev03:21
*** pcardune has joined #zope3-dev03:23
*** hath|away has quit IRC03:33
*** nathany has quit IRC03:37
*** junkafarian has quit IRC03:44
*** lurkymclurkleton has quit IRC03:45
*** davisagli has left #zope3-dev03:50
*** pcardune has quit IRC03:52
*** redir has joined #zope3-dev03:55
*** aaronv has quit IRC03:56
*** dunny has joined #zope3-dev04:14
*** drudi has joined #zope3-dev04:17
*** pcardune has joined #zope3-dev04:19
*** ignas has quit IRC04:23
*** junkafarian has joined #zope3-dev04:26
*** junkafarian has joined #zope3-dev04:27
*** junkafarian has joined #zope3-dev04:28
*** junkafarian has quit IRC04:28
*** junkafarian has joined #zope3-dev04:29
*** junkafarian has joined #zope3-dev04:30
*** junkafarian_ has joined #zope3-dev04:33
*** junkafarian has quit IRC04:33
*** hath|away has joined #zope3-dev04:48
*** hath|away is now known as hathawsh04:48
*** alecm has quit IRC04:54
*** davisagli has joined #zope3-dev05:04
*** pcardune has quit IRC05:06
*** hathawsh is now known as hath|away05:09
*** hath|away is now known as hathawsh05:15
*** davisagli has quit IRC05:28
*** davisagli has joined #zope3-dev05:33
*** davisagli has quit IRC05:44
*** drudi has quit IRC05:51
*** hathawsh is now known as hath|away05:57
*** greenman has quit IRC06:12
*** febb has quit IRC06:12
*** allisterb has quit IRC06:12
*** greenman has joined #zope3-dev06:13
*** febb has joined #zope3-dev06:13
*** allisterb has joined #zope3-dev06:13
*** allisterb has quit IRC06:21
*** greenman has quit IRC06:21
*** febb has quit IRC06:21
*** allisterb has joined #zope3-dev06:22
*** febb has joined #zope3-dev06:22
*** greenman has joined #zope3-dev06:22
*** pcardune has joined #zope3-dev06:25
*** kursor has joined #zope3-dev06:26
*** sunoano has quit IRC06:38
*** sunoano has joined #zope3-dev06:40
*** kursor has quit IRC06:45
*** pcardune_ has joined #zope3-dev06:46
*** pcardune has quit IRC06:49
*** pcardune__ has joined #zope3-dev06:49
*** pcardune_ has quit IRC06:53
*** kursor has joined #zope3-dev07:04
*** kursor has quit IRC07:05
*** hath|away is now known as hathawsh07:17
*** srichter has joined #zope3-dev07:18
*** ChanServ sets mode: +o srichter07:18
*** redir has quit IRC07:30
*** pcardune__ has quit IRC07:32
*** kaeru_ has quit IRC07:40
*** kaeru_ has joined #zope3-dev07:44
*** ktwilight_ has joined #zope3-dev07:59
*** dunny has quit IRC08:02
*** ktwilight has quit IRC08:15
*** jukart has joined #zope3-dev08:19
*** afd_ has joined #zope3-dev08:19
*** Theuni1 has joined #zope3-dev08:26
*** zagy has joined #zope3-dev08:33
*** kaeru_ has quit IRC08:36
*** kaeru_ has joined #zope3-dev08:36
*** linmyat has joined #zope3-dev08:37
*** projekt01 has joined #zope3-dev08:39
*** sweh has joined #zope3-dev08:46
*** greenman has quit IRC09:01
*** yvl has joined #zope3-dev09:02
*** markusleist has quit IRC09:02
*** jpcw has joined #zope3-dev09:17
*** agroszer has joined #zope3-dev09:21
*** davisagli has joined #zope3-dev09:26
*** stub has joined #zope3-dev09:33
*** goschtl has joined #zope3-dev09:46
*** malthe|Zzz is now known as malthe09:48
*** kaeru_ has quit IRC09:53
*** kaeru_ has joined #zope3-dev09:55
*** greenman has joined #zope3-dev10:03
*** pelle__ has joined #zope3-dev10:04
*** jhauser has joined #zope3-dev10:11
*** __mac__ has joined #zope3-dev10:13
*** romanofski has quit IRC10:24
*** markusleist has joined #zope3-dev10:32
*** hathawsh is now known as hath|away10:40
*** ktwilight__ has joined #zope3-dev10:42
*** jpcw has quit IRC10:43
*** __mac__ has quit IRC10:45
malthesrichter: it's a test setup issue.10:53
malthewhen it's testing Chameleon, 3 out of 4 templates are still rendered with ZPT.10:53
maltheare templates module-globals in z3c.form 2.0?10:54
srichterno, they should not10:54
srichterbut that's great news10:54
maltheperhaps the z3c.ptcompat approach of fixing the behavior on first import isn't desirable.10:54
*** __mac__ has joined #zope3-dev10:54
srichterI was hoping you would find something like that10:54
srichteryeah, I agree10:55
malthesrichter: I put a "print 'ZPT'" / "print 'Chameleon'" in the render-methods.10:55
maltheand it would be all mixed up.10:55
srichterI see10:55
malthethe whole situation is untenable.10:55
malthebut i don't know what to do.10:55
srichterso let's talk through this again10:56
malthek10:56
srichterso we want to swtich between template implementations based on an option and availaility10:56
*** ktwilight_ has quit IRC10:57
maltheit's a difficult problem to solve.10:57
srichterso usually this is solved via "registering a factory", like it is done for the security policy stuff10:58
maltheright10:58
srichterso we should provide a function like: setPageTemplateFactory and getPageTemplateFactory10:59
maltheor simply ``GlobalTemplateFactory``.10:59
malthewhich you could then import10:59
maltheViewPageTemplateFileFactory - it gets quite long.11:00
srichteryeah11:00
srichterI think that's okay11:00
maltheit doesn't change the fact that people like to use these factories on module import.11:00
malthewhich leaves us with status quo.11:00
maltheand you can't even use ZCA at that point.11:01
srichterright11:01
srichtermmh, I see what you are saying11:01
maltheone solution is to use a common class11:02
malthethat delegates to the respective engine11:02
srichterok, so all code that wants to use ptcompat cannot use the classes at module import time11:02
srichterand defer the lookup11:02
maltheof course it's always "one more function call"11:02
srichterthat's just how it has to be11:02
maltheright11:02
maltheor use the common class11:03
srichteryeah, your solution would work too11:03
maltheperhaps it could be clever about it and delegate right from the __getattr__11:03
srichterI probably like that even a little beetter11:03
srichter__getattr__ is slow11:03
srichterI wonder whether we could manipulate bases on the fly :-)11:04
malthehehe11:04
*** kaeru_ has quit IRC11:04
malthenot sure we can; there's also initialization11:04
*** kaeru_ has joined #zope3-dev11:04
srichterlet me try11:04
malthebut we can define the methods that we support and delegate11:04
srichterright11:04
agroszerhey guys11:04
malthehey agroszer11:05
*** jpcw has joined #zope3-dev11:05
agroszerI'd say don't build in black magic -- that will limit portability and compatibility11:05
srichterno, changing bases does nto work11:06
maltheright11:06
agroszerdefer the lookup11:06
srichteragroszer: so how would you solve the problem?11:06
srichterok11:06
agroszerboils down to something like currying11:06
agroszerI guess11:07
srichtermalthe: agroszer: okay, I think deferring sounds like the right thing to do11:07
maltheright11:07
maltheit'll cost a bit of speed11:07
malthebut whatever11:07
agroszercombine it with lazy attributes?11:07
malthethe only thing is that our current situation is quite nice in that you get the actual template class you want.11:07
malthenot some proxy.11:08
srichterso we know that we only want to support API compatibility for a few methods11:08
srichterso that limits the code we have to write and the speed hit is minimal11:09
agroszeryes, maybe countable on one hand11:09
malthehow about keeping a weakref registry to all instances and then simply say, ``inst.__class__ = new_class; inst.re_init()``.11:09
maltheit's mostly for testing purposes anyway.11:10
malthethis is all controlled by a environment variable.11:10
srichtermmh, I hear you, but that would be a lot of magic, as agrozer says11:10
srichtertrue11:10
malthebut it's just for benchmarking/testing, really.11:10
maltheso yes, it's magic, but it isn't terrible.11:10
malthei can't see how it would ever be used in production11:11
maltheperhaps the methods should carry a log-message with them saying "don't do this in prod."11:11
srichteryeah11:12
malthemaybe it's actually a better solution given we what have now.11:12
malthewhich people actually might rely on, too.11:12
srichtergive it a shot and we will see how it looks11:12
malthe*and* it's the faster approach.11:12
malthek11:12
malthelet me try it, get the benchmarks up and running again, then we'll be hopefully encouraged, too :)11:13
srichterexactely! :-)11:13
*** MJ has joined #zope3-dev11:17
*** mkerrin has joined #zope3-dev11:21
*** kaeru_ has quit IRC11:36
*** kaeru_ has joined #zope3-dev11:36
*** junkafarian has joined #zope3-dev11:38
*** junkafarian_ has joined #zope3-dev11:39
malthesrichter: http://bfg.repoze.org/pastebin/54811:41
maltheso it's back to the same numbers.11:41
malthehere's the diff: http://bfg.repoze.org/pastebin/54911:42
maltheseems reasonable?11:42
*** junkafarian has quit IRC11:45
*** menesis has joined #zope3-dev11:50
*** davisagli has quit IRC11:59
*** afd_ has quit IRC12:14
*** tisto has joined #zope3-dev12:16
*** ignas has joined #zope3-dev12:17
*** dunny has joined #zope3-dev12:24
srichtermalthe: let me chec12:27
srichtermalthe: looks good12:28
malthek12:28
*** JaRoel|4D has joined #zope3-dev12:42
*** tisto has quit IRC12:43
*** yotaff has joined #zope3-dev12:43
*** kaeru_ has quit IRC12:51
*** kaeru has joined #zope3-dev12:51
*** tisto has joined #zope3-dev12:59
*** junkafarian has joined #zope3-dev13:13
*** junkafarian has joined #zope3-dev13:14
*** aaronv has joined #zope3-dev13:19
*** junkafarian has quit IRC13:19
*** afd_ has joined #zope3-dev13:21
*** yvl has quit IRC13:33
*** junkafarian_ is now known as junkafarian13:36
*** greenman has quit IRC13:36
*** dunny has quit IRC13:38
*** junkafarian has quit IRC13:39
*** drudi has joined #zope3-dev13:41
*** junkafarian has joined #zope3-dev13:41
*** aaronv has quit IRC13:42
*** fcorrea has quit IRC13:48
*** drudi has quit IRC13:49
*** hazmat has joined #zope3-dev14:07
*** ChanServ sets mode: +o hazmat14:07
*** junkafarian_ has joined #zope3-dev14:20
*** yvl has joined #zope3-dev14:22
*** sunoano has quit IRC14:22
*** projekt01 has quit IRC14:24
*** yotaff has quit IRC14:27
*** junkafarian_ has quit IRC14:29
*** sunoano has joined #zope3-dev14:41
*** malthe is now known as malthe|away14:46
*** sunew has joined #zope3-dev14:51
*** benji has joined #zope3-dev14:54
*** jukart_ has joined #zope3-dev14:54
*** hazmat has quit IRC14:58
*** jukart has quit IRC14:59
*** linmyat has quit IRC15:02
*** sunew has quit IRC15:05
*** ignas has quit IRC15:10
*** ignas has joined #zope3-dev15:14
*** redir has joined #zope3-dev15:15
*** stub has quit IRC15:16
*** drudi has joined #zope3-dev15:26
*** aaronv has joined #zope3-dev15:51
*** JaRoel|4D has quit IRC15:52
*** redir has quit IRC15:55
*** tisto has quit IRC15:55
*** J1m has joined #zope3-dev16:01
*** tisto has joined #zope3-dev16:01
*** jamur2 has joined #zope3-dev16:03
*** lurkymclurkleton has joined #zope3-dev16:04
*** cshenton has joined #zope3-dev16:05
*** hazmat has joined #zope3-dev16:07
*** ChanServ sets mode: +o hazmat16:07
*** hazmat has quit IRC16:09
*** hazmat has joined #zope3-dev16:10
*** ChanServ sets mode: +o hazmat16:10
*** hath|away is now known as hathawsh16:12
*** malthe|away is now known as malthe16:19
*** menesis has quit IRC16:20
*** jhauser has quit IRC16:26
*** __mac__ has quit IRC16:42
*** hathawsh has quit IRC16:44
*** kursor has joined #zope3-dev16:47
*** __mac__ has joined #zope3-dev16:49
*** __mac__ has quit IRC16:51
*** kursor has quit IRC16:52
*** kursor has joined #zope3-dev16:52
*** redir has joined #zope3-dev16:53
*** zagy has quit IRC17:13
*** redir is now known as re|vpn17:16
*** junkafarian_ has joined #zope3-dev17:25
*** skriv1 has joined #zope3-dev17:25
*** redir has joined #zope3-dev17:25
*** hazmat has quit IRC17:26
srichterZope 3 KGS trunk is now failure and error free!!!!17:27
*** agroszer_ has joined #zope3-dev17:29
*** agroszer has quit IRC17:29
*** agroszer_ is now known as agroszer17:29
*** re|vpn has quit IRC17:33
*** jukart_ has quit IRC17:38
*** junkafarian has quit IRC17:40
*** skriv has quit IRC17:42
*** pcardune has joined #zope3-dev17:48
*** mgedmin has joined #zope3-dev17:48
*** malthe is now known as malthe|away17:49
*** alecm has joined #zope3-dev17:55
*** goschtl has quit IRC17:57
*** pcardune has quit IRC17:59
*** cbcunc has joined #zope3-dev18:02
*** srichter_ has joined #zope3-dev18:06
*** srichter has quit IRC18:06
*** pcardune has joined #zope3-dev18:18
*** kursor has quit IRC18:20
*** kursor has joined #zope3-dev18:20
*** jukart has joined #zope3-dev18:22
*** mcdonc has quit IRC18:22
*** mcdonc has joined #zope3-dev18:25
*** pcardune has quit IRC18:26
*** pcardune has joined #zope3-dev18:37
*** JaRoel|4D has joined #zope3-dev18:40
*** hathawsh has joined #zope3-dev18:45
*** kursor has quit IRC18:48
*** kursor has joined #zope3-dev18:48
*** nathany has joined #zope3-dev18:51
*** afd_ has quit IRC18:52
*** MJ has quit IRC18:53
*** mkerrin has quit IRC19:15
*** srichter_ is now known as srichter19:17
*** pcardune has quit IRC19:19
*** aaronv has quit IRC19:29
*** davisagli has joined #zope3-dev19:33
*** hathawsh has quit IRC19:34
*** sweh has quit IRC19:37
*** aaronv has joined #zope3-dev19:43
*** zagy has joined #zope3-dev19:52
*** markusleist has left #zope3-dev19:55
*** markusleist has joined #zope3-dev19:56
*** markusleist has quit IRC19:56
*** agroszer has quit IRC19:59
*** agroszer has joined #zope3-dev20:00
*** jukart_ has joined #zope3-dev20:04
*** jukart has quit IRC20:04
*** afd_ has joined #zope3-dev20:04
*** jukart_ has quit IRC20:05
*** drudi has quit IRC20:08
*** pcardune has joined #zope3-dev20:14
*** pcardune_ has joined #zope3-dev20:17
*** drudi has joined #zope3-dev20:22
*** srichter_ has joined #zope3-dev20:25
*** tisto has quit IRC20:26
*** srichter__ has joined #zope3-dev20:27
*** srichter is now known as Guest1241020:28
*** Guest12410 has quit IRC20:38
*** runyaga has joined #zope3-dev20:38
*** drudi has quit IRC20:40
*** srichter_ has quit IRC20:42
*** redir is now known as re|unvpntoprint20:47
*** alecm has quit IRC20:47
*** zagy has quit IRC20:52
*** tarek has quit IRC20:53
*** drudi has joined #zope3-dev20:54
*** redir has joined #zope3-dev20:56
*** junkafarian_ has quit IRC20:59
*** re|unvpntoprint has quit IRC21:04
*** jpcw has quit IRC21:19
*** tisto has joined #zope3-dev21:23
*** kursor_ has joined #zope3-dev21:25
*** kursor has quit IRC21:25
*** jukart has joined #zope3-dev21:27
*** hathawsh has joined #zope3-dev21:40
*** JaRoel|4D has quit IRC21:47
*** markusleist has joined #zope3-dev21:48
*** jukart has quit IRC21:48
*** greenman has joined #zope3-dev21:52
*** yvl has quit IRC21:55
*** IvanVimes has joined #zope3-dev22:02
*** cbcunc has quit IRC22:03
*** jukart has joined #zope3-dev22:05
*** cshenton has quit IRC22:06
*** davisagli has quit IRC22:22
*** JaRoel|4D has joined #zope3-dev22:27
*** sunoano has quit IRC22:31
*** yvl has joined #zope3-dev22:33
*** tisto has quit IRC22:33
*** kaeru has quit IRC22:39
*** sunoano has joined #zope3-dev22:40
*** davisagli has joined #zope3-dev22:43
*** mgedmin has quit IRC22:46
*** jukart has quit IRC22:48
*** kaeru has joined #zope3-dev22:59
*** dunny has joined #zope3-dev23:02
*** tarek has joined #zope3-dev23:02
*** greenman has quit IRC23:03
*** mcdonc has quit IRC23:04
*** sweh has joined #zope3-dev23:10
*** tarek has quit IRC23:15
*** hathawsh has quit IRC23:18
*** hathawsh has joined #zope3-dev23:19
*** agroszer has quit IRC23:19
*** afd_ has quit IRC23:23
*** aaronv has quit IRC23:24
*** pcardune has quit IRC23:29
*** tarek has joined #zope3-dev23:29
*** sweh has quit IRC23:30
*** tarek has quit IRC23:31
*** kursor_ has quit IRC23:31
*** IvanVimes has quit IRC23:38
*** afd_ has joined #zope3-dev23:44
*** drudi has quit IRC23:54
*** hathawsh has quit IRC23:59

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