IRC log of #zope3-dev for Thursday, 2007-02-22

*** timte has quit IRC00:21
*** naro has quit IRC00:21
*** schwendinger has quit IRC00:53
*** reco has quit IRC01:01
*** benji has quit IRC01:17
*** rmarianski has quit IRC01:20
*** jinty has quit IRC01:45
*** jelkner has joined #zope3-dev02:40
*** ignas has quit IRC03:06
*** kobold has quit IRC03:10
*** Londo__ has joined #zope3-dev03:11
*** Londo has quit IRC03:12
*** yota has quit IRC03:25
*** Londo__ has quit IRC03:28
*** projekt01 has joined #zope3-dev03:37
*** wreutz has quit IRC03:37
*** jkakar has quit IRC03:39
*** niemeyer has quit IRC03:39
*** tav has joined #zope3-dev03:43
*** ChanServ sets mode: +o tav03:43
tavhmz, anyone know where i can find a zodb egg?03:44
*** wrobel has quit IRC03:50
*** whit has quit IRC03:50
*** rocky is now known as rocky|Zzz03:54
tavaha http://download.zope.org/distribution/03:56
*** MiUlEr has joined #zope3-dev04:27
*** deo has quit IRC04:50
*** stub has joined #zope3-dev04:58
*** cbcunc is now known as cbcunc_zzz05:14
*** stub has quit IRC05:46
*** stub has joined #zope3-dev05:46
CSWookieHey, if I have a tal path: context/Age/hours, where Age is a callable that takes no arguments and returns dictionary that has the key 'hours' in it, should that work?06:05
*** jkakar has joined #zope3-dev06:15
*** jkakar_ has joined #zope3-dev06:22
*** jkakar has quit IRC06:23
*** baijum has joined #zope3-dev06:25
*** philiKON_ has joined #zope3-dev06:25
*** shiny has joined #zope3-dev06:31
*** philiKON has quit IRC06:33
*** jkakar_ has quit IRC06:33
*** stub has quit IRC06:52
*** alecm has joined #zope3-dev07:05
*** projekt01 has quit IRC07:47
*** yvl has joined #zope3-dev08:03
*** jnair has joined #zope3-dev08:12
*** pghoratiu has joined #zope3-dev08:23
*** sorindregan has joined #zope3-dev08:25
*** jukart has joined #zope3-dev08:33
*** dobee has joined #zope3-dev08:34
*** wrobel has joined #zope3-dev08:47
*** zagy has joined #zope3-dev09:00
*** stub has joined #zope3-dev09:03
*** zagy has quit IRC09:04
*** zagy has joined #zope3-dev09:05
*** zagy has quit IRC09:06
*** zagy has joined #zope3-dev09:07
*** schwendinger has joined #zope3-dev09:24
*** RaFromBRC has joined #zope3-dev09:27
*** RaFromBRC has quit IRC09:29
*** faassen has joined #zope3-dev09:36
romanofskimoin moin09:36
*** dlk has joined #zope3-dev09:42
*** dunny_ has joined #zope3-dev09:56
*** faassen has left #zope3-dev09:56
*** faassen has joined #zope3-dev09:57
*** opetznick has joined #zope3-dev10:03
*** afd__ has joined #zope3-dev10:04
*** dunny has quit IRC10:04
*** dunny_ is now known as dunny10:05
*** yota has joined #zope3-dev10:13
*** jnair has quit IRC10:15
*** naro has joined #zope3-dev10:19
*** timte has joined #zope3-dev10:21
*** alecm has quit IRC10:28
*** afd__ has quit IRC10:36
*** jodok has joined #zope3-dev10:40
*** lzdych has joined #zope3-dev10:48
*** tonico|away is now known as tonico11:02
*** pelle_ has joined #zope3-dev11:52
*** jodok has quit IRC11:58
*** jukart has quit IRC11:59
*** ktwilight_ has joined #zope3-dev12:02
*** deo has joined #zope3-dev12:02
*** ignas has joined #zope3-dev12:08
*** dunny has quit IRC12:11
*** ktwilight has quit IRC12:17
*** dobee has quit IRC12:22
*** yvl has left #zope3-dev12:30
*** pelle_ has quit IRC12:44
*** pelle_ has joined #zope3-dev12:44
*** schwendinger has quit IRC12:46
*** ktwilight has joined #zope3-dev12:47
*** ktwilight_ has quit IRC12:48
*** dobee has joined #zope3-dev12:51
*** ofer has joined #zope3-dev13:01
*** jodok has joined #zope3-dev13:08
*** schwendinger has joined #zope3-dev13:14
*** ignas has quit IRC13:23
*** dlk has quit IRC13:38
*** grahal has joined #zope3-dev13:50
*** dobee has quit IRC13:53
*** philiKON_ is now known as philiKON14:01
*** BjornT has quit IRC14:08
*** BjornT has joined #zope3-dev14:09
*** Londo has joined #zope3-dev14:13
*** alga has joined #zope3-dev14:13
*** dobee has joined #zope3-dev14:34
baijumphiliKON, toggle the execution of ZCML actions to false ?14:35
baijumhow to toggle ?14:36
* baijum realise that testing the loading of zope.app.zcmlfiles is not in zope.configuration14:36
baijumis not good14:37
philiKONxmlconfig.file('file.zcml', some.package, execute=False)14:37
philiKONparses the zcml but doesn't execute it14:37
philiKONit's just an idea14:37
baijumok, I will try14:37
* baijum revert the other test14:37
baijumwill14:37
philiKONdefinitely14:37
baijumxmlconfig.include only parse and not executing14:41
baijumthat test only takes avaerage 0.8 seconds14:42
baijumanyway, I will revert it14:43
baijumbecause it's not required there atleast14:43
baijumphiliKON, thanks !14:43
*** jodok has quit IRC14:57
*** schwendinger has quit IRC14:58
*** ofer has quit IRC15:00
*** jinty has joined #zope3-dev15:06
*** ktwilight has quit IRC15:08
*** ktwilight_ has joined #zope3-dev15:08
*** baijum has quit IRC15:21
*** mgedmin has joined #zope3-dev15:30
*** tonico_ has joined #zope3-dev15:38
*** mgedmin has quit IRC15:38
*** rocky|Zzz is now known as rocky15:39
*** mgedmin has joined #zope3-dev15:41
*** henri_ has joined #zope3-dev15:45
*** stub has quit IRC15:49
CSWookieHey, if I have a tal path: context/Age/hours, where Age is a callable that takes no arguments and returns dictionary that has the key 'hours' in it, should that work?15:58
philiKONno15:58
CSWookieOr do I need to wrap the dict in something first?15:58
philiKONpython:context.Age()['hours']15:58
philiKONor15:58
CSWookieI was trying to avoid that.15:59
philiKONtal:define="age context/Age; hours age/hours"15:59
CSWookieHmm.  I think I tried that and got nothing.  I'll try it again.16:00
mgedminI thought python: expressions were frowned upon16:02
mgedminthe tal:define one should work16:02
mgedminor you can make context.Age a property16:02
mgedminor you can define properties in the view16:02
philiKONwell, if pathe xpressions weren't so fubared, python: would havev to be used a lot less often16:06
faassenI start frowning less and less on python: expressions. :)16:06
philiKONhey faassen16:06
faassenhey.16:06
faassenI mean, path expressions are sort of our own mini language that's not gaining us much.16:06
faassenif we could leave off writing 'python:' python expressions would look almost as clean.16:06
philiKONyup. i've been pondering about making python: the default in a ZPT variant16:07
faassenanyway, Genshi/Kid code can be fairly clean.16:07
philiKONtal:content="context.foo"16:07
faassenI'd just pick Genshi, I mean, if you make it the default your templates would break anyway, so you'd need to rewrite them. it's only a minor step further to convert them to Genshi, though of course we'd need to support THAT then.16:07
philiKONheh, true16:07
philiKONyou seem to be talking a lot about genshi lately16:07
philiKONi should give that a try16:07
*** jodok_ has joined #zope3-dev16:12
mgedminI should give Genshi a look16:12
faassenit's just something that's easy to learn if you know page templates, with some interesting concepts.16:13
faassenand being picked up by the TurboGears crowd among others of course.16:13
faassenbut it seems quite well architected.16:13
faassenthat's why I mention it. :)16:13
faassenit's an external templating engine that seems spiritually similar to ZPT, but it's more modern.16:14
*** svenn has quit IRC16:18
*** whit has joined #zope3-dev16:25
*** ofer has joined #zope3-dev16:26
*** dobee has quit IRC16:28
*** cbcunc_zzz is now known as cbcunc16:28
*** jkakar has joined #zope3-dev16:28
*** niemeyer has joined #zope3-dev16:29
mgedminKid had a reputation for being very slow16:31
mgedminhow does Genshi fare in that regard?16:31
faassenit is a bit faster, but still not very fast.16:36
faassenI have no idea how it fares compared to ZPT.16:36
faassenZPT isn't the fastest, no idea how it compares to Genshi or Kid.16:36
niemeyerfaassen: It's faster16:39
niemeyermgedmin: Genshi is slightly faster, but not too much16:39
mgedminwhat is faster, and faster than what?16:39
niemeyermgedmin: ZPT is faster16:39
faassenZPT is faster than Genshi which is slightly faster than Kid?16:40
niemeyerfaassen: Precisely. Sorry for not being clear16:40
faassenniemeyer: well, thanks for the information. :)16:40
faassenniemeyer: what kind of benchmarking?16:40
niemeyerfaassen: I've done some benchmarking on my own, using a page with basic structures.16:41
niemeyerfaassen: The Genshi page has benchmarks as well, IIRC, which confirm what I've seen.16:41
faassenit's just hard to say what the real world impact is.16:42
niemeyerfaassen: Right..16:42
faassenI mean, what if you use a lot of macros in ZPT or the xpath replace story in Genshi.16:42
faassenbut it's interesting data nonetheless, thanks. :)16:42
*** pghoratiu has left #zope3-dev16:52
*** sorindregan has quit IRC16:56
*** tonico_ has quit IRC17:04
*** shiny has quit IRC17:05
*** rmarianski has joined #zope3-dev17:08
*** alecm has joined #zope3-dev17:09
*** tonico has quit IRC17:13
*** tonico has joined #zope3-dev17:14
*** jodok_ has quit IRC17:19
*** faassen has quit IRC17:24
*** jodok has joined #zope3-dev17:24
*** dobee has joined #zope3-dev17:28
*** schwendinger has joined #zope3-dev17:32
*** whit has quit IRC18:04
*** alecm has quit IRC18:04
*** whit has joined #zope3-dev18:04
*** alecm has joined #zope3-dev18:05
*** natea has quit IRC18:07
*** natea has joined #zope3-dev18:09
*** deo has quit IRC18:13
*** alecm has quit IRC18:17
*** alecm has joined #zope3-dev18:18
*** alecm_ has joined #zope3-dev18:26
*** alecm has quit IRC18:26
*** schwendinger has quit IRC18:35
*** ksmith99 has joined #zope3-dev18:36
*** softdevr has joined #zope3-dev18:37
*** ksmith99 has quit IRC18:37
*** ksmith99 has joined #zope3-dev18:37
softdevrhi, I'm trying to register a subscriber in ZCML.  The example I have from S.Richter's book only specifies for and factory attributes but that won't compile.  It complains that a provided interface must be specified.  Has this changed since the book was published?18:39
philiKONyes, a lot18:40
softdevris there anywhere that documents to changes?18:49
*** Aiste has quit IRC18:49
philiKONsoftdevr: my book :)18:50
philiKONseriously, stephan's book is great, but it *is* outdated18:51
philiKONi recently published an updated version of mine18:51
philiKONhttp://worldcookery.com18:51
softdevrI've ordered the second edition, I hope that's not just been updated18:51
philiKONhuh?18:52
philiKONthe second edition is the most recent one18:52
softdevrok, well do you know of any documentation for the new subscriber ZCML, I don't want to have to wait until the book arrives if possible18:53
philiKONdo you know apidoc?18:53
philiKONhttp://localhost:8080/++apidoc++18:53
philiKON(works when developer-mode is enabled in zope.conf)18:54
softdevrYeah, the book section in there covering events covers python18:54
philiKONthere's a ZCML section18:54
philiKONexplaining each ZCML directive18:54
softdevrI can see the ZCML spec for subscriber, but from what I've read the subscriber adapts to the 'None' interface.  I'm not sure how I can specify that in the provides attribute, or is this one of the things that has now changed?18:55
philiKONno18:55
philiKONsubscribers are typically functions18:56
philiKON@adapter(ITheEvent)18:56
philiKONdef foo(event):18:56
philiKON    ... do something here18:56
philiKONyou register them using <subscriber handler="...foo" />18:56
philiKONin the future, you can just go to apidoc and look at the explanations for the directive18:56
philiKONe.g. the subscriber directive18:56
softdevrIts not clear to me which of the attributes for the subscriber directive I have to specify and which I dont from looking at apidoc18:58
philiKONhmm18:58
philiKONwell, it's the 'handler' attribute18:59
softdevrYeah, but its difficult to figure that out from apidoc independently18:59
*** whit is now known as whit|out18:59
philiKONok, i can see that19:00
philiKONyet another argument to get my book ;)19:00
softdevrWell yeah, I gave in and bought it in the end :)19:00
softdevrZope3 is difficult to pick up without something like that19:01
philiKONi would say a lot of large frameworks are19:01
philiKONi sure wouldn't try to learn J2EE w/o a book19:02
philiKONor .NET19:02
*** henri_ has quit IRC19:03
softdevrYeah fair point19:03
algathere are always online guides19:03
*** jodok has quit IRC19:03
softdevralga: do you usually google questions or could you point out a few that are good up-to-date references19:04
algaeh... in case of Zope 3 I usually read the source19:05
*** jinty has quit IRC19:05
algaI think srichter's book is sufficient to get the grasp of concepts, and then you should be able to make your way around the source19:07
algaAlthough I have the impressions philiKON's book is better written19:07
timtea cookbook would be nice19:07
philiKONtarek started one19:08
timte1000 "how do I solve this" recipes19:08
philiKONit used to be at zope-cookbook.org19:08
philiKONsome people are also taking things from the zope3-users list and putting them in a FAQ19:09
timtehttp://www.zope-cookbook.org/ is no more it seems, atleast it's down19:09
*** BjornT has quit IRC19:15
*** BjornT has joined #zope3-dev19:15
*** romanofski has quit IRC19:20
*** dobee has quit IRC19:25
*** lzdych has quit IRC19:28
*** opetznick has quit IRC19:30
*** natea_ has joined #zope3-dev19:32
*** ofer has quit IRC19:39
*** natea has quit IRC19:39
*** tonico is now known as tonico|away19:51
*** dobee has joined #zope3-dev20:04
*** jinty has joined #zope3-dev20:06
*** cbcunc is now known as cbcunc_pycon20:06
*** alga has quit IRC20:10
*** alga has joined #zope3-dev20:10
*** alga_ has joined #zope3-dev20:10
*** harobed has joined #zope3-dev20:11
*** natea_ is now known as natea|submarine20:14
*** dobee has quit IRC20:19
*** softdevr has quit IRC20:33
*** dobee has joined #zope3-dev20:36
*** jodok has joined #zope3-dev20:36
*** alecm_ has quit IRC20:36
*** jfroche has joined #zope3-dev20:37
*** jfroche_ has joined #zope3-dev20:38
*** jfroche has quit IRC20:38
*** whit|out is now known as whit20:53
*** bigkevmcd has joined #zope3-dev21:01
*** deo has joined #zope3-dev21:11
*** jkakar has quit IRC21:13
*** niemeyer has quit IRC21:15
*** dunny has joined #zope3-dev21:15
*** tarek has joined #zope3-dev21:16
*** jfroche_ is now known as jfroche21:19
*** alecm has joined #zope3-dev21:21
*** Aiste has joined #zope3-dev21:21
*** jfroche has quit IRC21:25
*** whit has quit IRC21:31
*** jkakar has joined #zope3-dev21:37
*** whit has joined #zope3-dev21:40
*** dobee has quit IRC21:44
*** niemeyer has joined #zope3-dev21:45
*** schwendinger has joined #zope3-dev21:46
*** ktwilight_ has quit IRC21:48
*** ktwilight_ has joined #zope3-dev21:49
*** dobee has joined #zope3-dev21:57
*** jodok_ has joined #zope3-dev22:02
*** jodok has quit IRC22:02
*** dobee has quit IRC22:04
*** jodok_ is now known as jodok22:05
*** romanofski has joined #zope3-dev22:05
*** tarek has quit IRC22:07
*** natea|submarine has quit IRC22:07
*** ksmith99 has quit IRC22:07
*** timte has quit IRC22:07
*** philiKON has quit IRC22:07
*** andrew_m has quit IRC22:07
*** schwendinger_ has joined #zope3-dev22:10
*** natea|submarine has joined #zope3-dev22:13
*** ksmith99 has joined #zope3-dev22:13
*** timte has joined #zope3-dev22:13
*** philiKON has joined #zope3-dev22:13
*** andrew_m has joined #zope3-dev22:13
*** jodok has quit IRC22:20
*** pelle_ has quit IRC22:22
*** jodok has joined #zope3-dev22:22
*** schwendinger_ has quit IRC22:23
*** dobee has joined #zope3-dev22:27
*** schwendinger has quit IRC22:28
*** whit is now known as whit|coding22:31
*** alga_ has quit IRC22:35
*** alga has quit IRC22:35
*** whit|coding has quit IRC22:51
*** J1m has joined #zope3-dev22:55
*** jinty_ has joined #zope3-dev22:57
*** J1m has quit IRC22:58
*** jinty has quit IRC22:59
*** nathany has joined #zope3-dev23:01
*** J1m has joined #zope3-dev23:16
*** grahal has quit IRC23:17
*** whit has joined #zope3-dev23:28
*** ofer has joined #zope3-dev23:29
*** edgordon has joined #zope3-dev23:46
*** nathany has quit IRC23:50

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