IRC log of #zope3-dev for Thursday, 2008-01-17

*** tarek_ has quit IRC00:01
*** greenman has joined #zope3-dev00:08
xkennethanyone mind helping me with macros and page templates?00:11
srichterxkenneth: shoot00:12
*** jeffk has quit IRC00:15
*** greenman has quit IRC00:20
*** tarek has joined #zope3-dev00:21
xkennethallo?00:23
*** danielblackburn has joined #zope3-dev00:26
*** malthe|z_ has joined #zope3-dev00:32
*** alga has joined #zope3-dev00:36
*** jpfarias has quit IRC00:39
*** jodok has quit IRC00:40
*** jodok has joined #zope3-dev00:41
*** sp0cksbeard has quit IRC00:42
*** jpfarias has joined #zope3-dev00:45
*** danielblackburn has quit IRC00:47
*** danielblackburn has joined #zope3-dev00:48
*** nitromaster has quit IRC00:49
*** malthe|zurich has quit IRC00:49
*** nitromaster has joined #zope3-dev00:50
*** xkenneth_ has joined #zope3-dev00:51
*** xkenneth has quit IRC00:51
*** natea|boston has quit IRC00:52
*** lucielejard has quit IRC01:03
*** xkenneth has joined #zope3-dev01:04
*** benji has quit IRC01:04
*** greenman has joined #zope3-dev01:04
*** whit has joined #zope3-dev01:05
*** rmarianski has quit IRC01:06
*** xkenneth_ has quit IRC01:18
*** xkenneth has quit IRC01:24
*** greenman has quit IRC01:47
*** greenman has joined #zope3-dev01:47
*** flox has quit IRC01:48
*** malthe|z_ has quit IRC01:51
*** xkenneth has joined #zope3-dev01:51
*** xkenneth_ has joined #zope3-dev01:57
*** xkenneth__ has joined #zope3-dev01:59
*** xkenneth_ has quit IRC01:59
*** xkenneth has quit IRC01:59
*** xkenneth__ has quit IRC02:08
*** J1m has quit IRC02:11
*** greenman has quit IRC02:16
*** edgordon has joined #zope3-dev02:16
*** norro has quit IRC02:17
*** greenman has joined #zope3-dev02:19
*** greenman has quit IRC02:22
*** natea|boston has joined #zope3-dev02:29
*** whit has quit IRC02:36
*** lucielejard has joined #zope3-dev02:37
*** b52laptop has quit IRC02:42
*** rcrafton has quit IRC03:09
*** pbugni has quit IRC03:11
*** rocky has quit IRC03:16
*** RaFromBRC has quit IRC03:22
*** RaFromBRC has joined #zope3-dev03:28
*** jpfarias has quit IRC03:35
*** xkenneth has joined #zope3-dev03:41
*** jukart has quit IRC03:49
*** xkenneth has quit IRC03:59
*** alga has quit IRC04:15
*** rmarianski has joined #zope3-dev04:23
*** natea|boston has quit IRC04:23
*** niemeyer_ has quit IRC04:33
*** greenman has joined #zope3-dev04:38
*** danielblackburn has quit IRC04:44
*** nitromaster has quit IRC04:55
*** nitromaster has joined #zope3-dev04:57
*** RaFromBRC has quit IRC05:00
*** rmarianski has quit IRC05:02
*** rmarianski has joined #zope3-dev05:07
*** greenman has quit IRC05:25
*** quodt has quit IRC05:25
*** stub has joined #zope3-dev05:30
*** alecm has quit IRC05:45
*** natea|boston has joined #zope3-dev05:46
*** philiKON has joined #zope3-dev05:47
*** natea_ has joined #zope3-dev05:57
*** philiKON_ has quit IRC06:02
*** natea|boston has quit IRC06:04
*** greenman has joined #zope3-dev06:09
*** vod has joined #zope3-dev06:15
*** rmarianski has quit IRC06:28
*** lucielejard has quit IRC06:29
*** natea|boston has joined #zope3-dev07:00
*** natea_ has quit IRC07:07
*** natea_ has joined #zope3-dev07:27
*** natea|boston has quit IRC07:36
*** natea|boston has joined #zope3-dev07:52
*** alecm has joined #zope3-dev07:58
*** natea_ has quit IRC07:59
*** natea_ has joined #zope3-dev08:01
*** natea|boston has quit IRC08:09
*** baijum has joined #zope3-dev08:12
*** whit has joined #zope3-dev08:34
*** natea|boston has joined #zope3-dev08:40
*** natea_ has quit IRC08:48
*** afd_ has joined #zope3-dev08:48
*** natea_ has joined #zope3-dev08:53
*** hdima has joined #zope3-dev08:56
*** natea|boston has quit IRC09:01
*** romanofski has joined #zope3-dev09:05
*** greenman has quit IRC09:13
*** pelle_ has quit IRC09:19
*** vod has quit IRC09:28
*** afd__ has joined #zope3-dev09:28
*** ghendi has joined #zope3-dev09:31
*** vod has joined #zope3-dev09:36
*** yvl has joined #zope3-dev09:37
*** vod has quit IRC09:38
*** vod has joined #zope3-dev09:39
*** kursor has joined #zope3-dev09:40
*** amit_am has joined #zope3-dev09:43
*** huajie has joined #zope3-dev09:44
*** natea|boston has joined #zope3-dev09:45
*** afd_ has quit IRC09:45
*** natea_ has quit IRC09:51
*** baijum has quit IRC09:52
*** kobold_ is now known as kobold10:02
*** sorindregan has joined #zope3-dev10:04
*** d2m has joined #zope3-dev10:09
*** projekt01 has joined #zope3-dev10:14
*** natea_ has joined #zope3-dev10:24
*** ghendi has quit IRC10:24
*** pelle_ has joined #zope3-dev10:30
*** natea|boston has quit IRC10:30
*** jpcw2002 has joined #zope3-dev10:32
*** jukart has joined #zope3-dev10:34
*** dobee has joined #zope3-dev10:37
*** goschtl has joined #zope3-dev10:38
*** afd__ has quit IRC10:47
*** harobed has joined #zope3-dev10:49
*** agroszer has joined #zope3-dev10:53
*** ccomb has quit IRC10:54
*** malthe has joined #zope3-dev11:02
*** greenman has joined #zope3-dev11:10
*** alecm has quit IRC11:23
*** toutpt has joined #zope3-dev11:26
*** natea|boston has joined #zope3-dev11:31
*** mkerrin has joined #zope3-dev11:34
*** natea_ has quit IRC11:37
*** pcardune has joined #zope3-dev11:42
*** norro has joined #zope3-dev11:43
*** jukart has quit IRC11:46
*** ktwilight has joined #zope3-dev11:51
*** acsr has quit IRC11:52
*** MJ has joined #zope3-dev11:53
*** acsr has joined #zope3-dev11:54
*** acsr has quit IRC11:54
*** acsr has joined #zope3-dev11:56
*** yvl has quit IRC11:59
*** ktwilight_ has quit IRC12:05
*** ghendi has joined #zope3-dev12:13
*** natea_ has joined #zope3-dev12:24
*** natea|boston has quit IRC12:31
*** b52laptop has joined #zope3-dev12:42
*** goschtl_ has joined #zope3-dev12:47
*** timte has quit IRC12:49
*** timte has joined #zope3-dev12:55
*** ignas has joined #zope3-dev12:59
*** regebro has joined #zope3-dev13:01
*** goschtl has quit IRC13:03
*** natea|boston has joined #zope3-dev13:11
*** stub has quit IRC13:16
*** niemeyer has joined #zope3-dev13:16
*** natea_ has quit IRC13:18
*** afd_ has joined #zope3-dev13:18
*** Rolando has joined #zope3-dev13:29
*** lisppaste6 has quit IRC13:36
*** kursor_ has joined #zope3-dev13:43
*** toutpt has quit IRC13:44
*** kursor has quit IRC13:50
*** lisppaste6 has joined #zope3-dev13:53
*** rocky has joined #zope3-dev13:53
*** MJ is now known as MJ|lunch13:54
*** dunny has quit IRC13:55
*** quodt has joined #zope3-dev14:00
*** jpfarias has joined #zope3-dev14:17
*** natea_ has joined #zope3-dev14:18
*** greenman has quit IRC14:18
*** natea|boston has quit IRC14:24
*** MJ|lunch is now known as MJ14:40
*** MJ is now known as MJout14:45
*** alga has joined #zope3-dev14:47
*** natea|boston has joined #zope3-dev15:01
*** natea_ has quit IRC15:09
*** huajie has quit IRC15:13
*** zagy has quit IRC15:16
*** afd_ has quit IRC15:16
*** danielblackburn has joined #zope3-dev15:24
*** MJout is now known as MJ15:25
*** toutpt has joined #zope3-dev15:26
*** danielblackburn has quit IRC15:36
*** thruflo has joined #zope3-dev15:37
*** edgordon has quit IRC15:44
*** danielblackburn has joined #zope3-dev15:46
*** ryanbard has joined #zope3-dev15:55
*** ryanbard_ has joined #zope3-dev16:00
*** ryanbard has quit IRC16:00
*** whit has quit IRC16:03
*** ryanbard_ is now known as ryanbard16:04
*** stub has joined #zope3-dev16:06
*** natea_ has joined #zope3-dev16:08
*** jeffk has joined #zope3-dev16:15
*** danielblackburn has quit IRC16:15
*** ktenney has joined #zope3-dev16:15
*** natea|boston has quit IRC16:17
*** sp0cksbeard has joined #zope3-dev16:18
*** J1m has joined #zope3-dev16:21
*** thruflo has quit IRC16:22
*** rcrafton has joined #zope3-dev16:32
*** rocky has quit IRC16:36
*** rocky has joined #zope3-dev16:36
*** benji has joined #zope3-dev16:38
*** jeffk has quit IRC16:40
*** thruflo has joined #zope3-dev16:41
*** MJ is now known as MJ|out16:43
*** benji has quit IRC16:50
*** edgordon has joined #zope3-dev16:56
*** zagy has joined #zope3-dev16:58
*** natea|boston has joined #zope3-dev16:59
*** goschtl_ has quit IRC17:03
*** edgordon has quit IRC17:05
*** natea_ has quit IRC17:06
*** jinty has joined #zope3-dev17:08
*** thruflo has quit IRC17:08
*** thruflo has joined #zope3-dev17:09
*** jinty has quit IRC17:09
*** thruflo has left #zope3-dev17:17
*** pcardune has quit IRC17:17
*** hdima has quit IRC17:22
*** benji has joined #zope3-dev17:25
*** romanofski has quit IRC17:29
*** whit has joined #zope3-dev17:31
*** jodok has quit IRC17:32
*** quodt has quit IRC17:34
*** quodt has joined #zope3-dev17:34
*** dobee_ has joined #zope3-dev17:34
*** jodok has joined #zope3-dev17:34
*** dobee has quit IRC17:34
*** sorindregan has quit IRC17:41
*** ghendi has quit IRC17:42
*** mgedmin has joined #zope3-dev17:42
*** benji has quit IRC17:44
*** benji has joined #zope3-dev17:47
*** zagy has quit IRC17:50
*** rmarianski has joined #zope3-dev17:55
*** MJ|out is now known as MJ18:00
*** kursor_ has quit IRC18:00
malthewhat's a good way to do benchmarks? i have this idea of a buildout that will set up a bin/benchmark script which will output some results. --- does this sound familiar?18:18
*** zagy has joined #zope3-dev18:19
srichtermalthe: what type of benchmarks do you want to do18:19
malthesrichter: specifically I want to both bench z3c.pt and compare the results to for instance zope.pagetemplate.18:20
srichterusing the debug mode in zopectl I useually profile things quickly18:20
srichtermalthe: I think the testrunner supports profiling18:20
maltheright it does18:20
srichterso I would use its output18:20
malthehmm18:21
srichtermalthe: btw, z3c.pt versus zope.pagetemplate becomes only interesting once you support all the features :-)18:21
maltheI support all interesting features :-)18:21
srichterat least I would want to see the use of the Zope TALES engine18:22
srichterwell you only have python expressions right?18:22
maltheusing Zope's TALES engine makes no sense; it's not optimized at all.18:22
srichterwell, but everyone is using it18:23
srichterin fact, I never use Python expressions18:23
malthetrue18:23
srichterbecause they are evil18:23
malthethat's a funny statement from a Python-programmer18:23
srichterno, it is not18:23
malthebut I understand the sentiment18:23
srichtertemplates are not the place to have python logic18:24
srichterthat's what Python view classes are for18:24
malthewho said logic?18:24
srichterany python code is logic :-)18:24
malthe5 + 518:24
malthe'column-%d' % col_number18:24
srichterwhich does not belong into the template18:25
*** projekt01 has quit IRC18:25
philiKONif you prepare everything in the view code and give the page template every single piece of information as a variable, you no longer need TALES18:25
philiKONhence you have no logic in zpts18:26
philiKON(also referred to as the 'push' model)18:26
maltheright; I'd add that it's left to the template developer to put logic into it. I'm not encouraging it by making it possible.18:26
maltheyou can also write spaghetti-code with Python; but why would you?18:27
srichtermalthe: yes you do :-) whether you intend to or not18:27
philiKONperhaps you can make the 'path' function available18:27
maltheI thought about that18:27
maltheit's very possible to add TALES support, but is it worth the effort? is it where we want to go?18:28
srichterthe TALES engine does a lot of things right that I expect to work18:28
srichtersecurity is one thing and I18n another18:28
philiKONlike?18:28
malthesrichter: I do i18n.18:28
philiKONi18n is not part of tales18:28
philiKONi18n is part of the tal interpreter18:28
srichternope18:28
srichterits part of the engine18:28
maltheat any rate, i18n is fully supported by z3c.pt.18:29
srichterwhen the tales engine sees an i18n message it translates18:29
philiKONsrichter: the engine just has the translate() method18:29
malthephiliKON: you still owe me a monkey-less approach to z3c.jbot btw18:29
philiKONsrichter: grepping for i18n in zope.tales yields nothing...18:30
philiKONmalthe: yes yes :)18:30
malthethe plone people seem to want to include it in the next release, so I welcome any input18:30
philiKONcan we change the name?18:30
malthecertainly18:30
malthebut I think they want to call it plone dot something18:30
philiKONanyway, to be honest, i think jbot is... hmmm...18:30
philiKONi favour grok's approach18:31
maltheright, lame18:31
maltheit's symptom treatment18:31
philiKONexactly18:31
malthebut with Plone, most things are18:31
philiKONthat's a poor excuse18:31
philiKONanyway, it won't go into 3.1, right?18:31
maltheit would if I get it done, yes.18:32
* philiKON doesn't understand the scope 3.1 yet18:32
philiKONok18:32
*** dunny has joined #zope3-dev18:32
maltheso why do we not like it; probably because it's a bit strange to change the behavior of the page template object in that way.18:32
philiKONyes18:33
philiKONwell, monkeys are so evil18:34
philiKONespecially when you actually bless it for production code18:34
philiKONperhaps it's time optilude and i sat down together and looked at bringing some grok principles to plone18:34
malthe+118:34
philiKONi should have some time in march18:34
maltheI tire of the Zope 2/CMF codebase; Plone suffers a lot from being based on it.18:36
maltheIt's funny to follow a request all the way through the code18:36
philiKONshrug :)18:36
philiKONrepoze streamlines several scary bits in the zpublisher at least18:36
philiKONthe next thing is the security system18:37
maltheright18:37
philiKONtalking about security, i don't see how z3c.pt is less secure than tales, btw18:37
philiKONi mean, tales in its z3 incarnation does do security proxying18:37
maltheI guess the idea of implicit object publishing was a bit lame although it probably sounded great.18:37
philiKONyeah18:38
malthewith z3c.pt there's no distinction between view and template.18:38
malthethere's no filter.18:38
philiKONright18:38
philiKONbut at least in z3 land, views only get proxied objects18:38
*** whit has quit IRC18:39
philiKONso the template sees the same that the view sees18:39
philiKONin zope 2 land, that's different obviously18:39
maltheright that must be true although I don't know the specifics.18:39
maltheI don't see why templates need special attention though; they're filesystem based.18:40
philiKONwell in zope 2 land you need to recompile python code using RestrictedPython to change all getattr calls to use security checks18:40
philiKONwell18:40
philiKONyou still want to do security checks18:40
malthethat could be supported relatively easy though by manipulating the AST.18:40
philiKONshrug :)18:41
malthebut I think it's up to the developer to do the proper checks in the view.18:41
malthethe template really should not do any nasty calls, especially not any calls with side-effects.18:41
philiKONwell, it's sorta the point of zope's security system to do that for you18:41
philiKONwell, i''m talking about things like18:41
philiKONtal:content="context.foo"18:41
philiKONif the 'foo' property is protected, then it should raise Unauthorized18:42
maltheI suppose it should yes.18:42
philiKONin z3 land, that's no problem b/c 'context' is proxied18:42
malthegotcha---and we can't do that in zope 2?18:42
philiKONin zope2 land, we have RestrictedPython to recompile 'context.foo' to safe_getattr(context, 'foo')18:42
philiKONor something of the sort18:42
philiKONwell, changing the z2 security system to NOT rely on RestrictedPython is probably the last major thing to achieve in reuniting the zopes18:43
malthecould also bring us to python 2.518:43
philiKONexactly18:44
maltheso I suppose that's not something for z3c.pt to worry about.18:44
philiKONindeed it's not18:44
philiKONi'm just thinking out loud mostly :)18:44
maltheit probably won't be adopted anyway, and if it would, it'd be late enough for this work to have been completed.18:45
*** jodok has quit IRC18:46
malthephiliKON: but concretely, grok or not, Plone comes with a bunch of templates and the challenge is to make it easy to customize them.18:47
philiKONyep18:47
*** quodt has quit IRC18:48
*** __mac__ has quit IRC18:50
*** zagy has quit IRC18:54
*** quodt has joined #zope3-dev18:55
*** dunny has quit IRC19:06
*** stub has quit IRC19:14
*** quodt has quit IRC19:15
*** pelle_ has quit IRC19:15
*** jpcw2002 has left #zope3-dev19:17
*** pbugni has joined #zope3-dev19:20
*** alecm has joined #zope3-dev19:21
*** MJ has quit IRC19:21
*** whit has joined #zope3-dev19:25
*** alga has quit IRC19:30
*** zagy has joined #zope3-dev19:31
*** harobed has quit IRC19:38
*** pbugni has quit IRC19:38
*** pbugni has joined #zope3-dev19:39
*** nitromaster has quit IRC19:41
*** flox has joined #zope3-dev19:43
*** toutpt has quit IRC19:45
*** whit has quit IRC19:47
*** whit has joined #zope3-dev19:49
*** zagy has quit IRC19:54
*** ktenney has left #zope3-dev19:55
*** dobee_ has quit IRC19:55
*** ccomb has joined #zope3-dev20:02
*** RaFromBRC has joined #zope3-dev20:09
*** zagy has joined #zope3-dev20:17
*** jodok has joined #zope3-dev20:28
*** lucielejard has joined #zope3-dev20:30
*** mkerrin has quit IRC20:45
*** dobee has joined #zope3-dev20:46
*** whit has quit IRC21:14
*** rmarianski has quit IRC21:19
*** ryanbard has quit IRC21:20
*** ignas has quit IRC21:24
*** markusleist has joined #zope3-dev21:25
*** bigkevmcd has quit IRC21:28
*** lisppaste6 has quit IRC21:35
*** harobed has joined #zope3-dev21:40
*** mgedmin has quit IRC21:41
*** jpfarias has quit IRC21:41
*** jpfarias has joined #zope3-dev21:41
*** regebro is now known as regebro|food21:45
*** lisppaste6 has joined #zope3-dev21:48
*** romanofski has joined #zope3-dev21:49
*** jeffk has joined #zope3-dev21:52
*** romanofs1i has joined #zope3-dev21:54
*** natea|boston is now known as natea21:54
*** dunny has joined #zope3-dev22:00
*** greenman has joined #zope3-dev22:02
*** romanofski has quit IRC22:09
*** rocky has quit IRC22:14
*** rocky has joined #zope3-dev22:15
*** d2m has quit IRC22:23
*** toutpt has joined #zope3-dev22:31
*** jpcw2002 has joined #zope3-dev22:44
*** sp0cksbeard has quit IRC22:47
*** danielblackburn_ has joined #zope3-dev22:51
*** regebro|food is now known as regebro23:04
*** agroszer has quit IRC23:20
*** amit_am has left #zope3-dev23:24
*** romanofs1i has quit IRC23:26
*** jpfarias has quit IRC23:36
*** toutpt has quit IRC23:40

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