IRC log of #zope for Friday, 2010-12-03

*** vipod has quit IRC00:07
*** jim_SFU has quit IRC00:14
*** daMaestro|isBack has joined #zope00:17
*** daMaestro has quit IRC00:21
*** daMaestro|isBack is now known as daMaestro00:23
*** regebro has left #zope00:26
*** danielb_afk is now known as danielblackburn00:34
*** alvaro_o has quit IRC00:39
*** alvaro_o has joined #zope00:40
*** __mac__ has joined #zope00:49
*** __mac__ has quit IRC00:53
*** davisagli|away is now known as davisagli00:55
*** sashav has quit IRC00:57
*** Gogo|tty has quit IRC01:04
*** Gogo|tty has joined #zope01:04
*** menesis has quit IRC01:10
*** fredvd|away has quit IRC01:13
*** percious has quit IRC01:14
*** __mac__ has joined #zope01:15
*** J1m has quit IRC01:21
*** ploufplouf has quit IRC01:41
*** nitrogenycs has joined #zope02:25
*** rogererens has quit IRC02:29
*** __mac__ has quit IRC02:43
*** dayne has quit IRC02:49
*** davisagli is now known as davisagli|away02:59
RaceConditionhow do I find all classes that (in)directly implement an interface? smth like IFoo.getImplementors()03:01
koshthat sounds like it would be very difficult03:10
koshsince many of the classes that implement that interface may not even be loaded yet03:10
koshwhat is your usage case for this?03:10
*** sm has quit IRC03:11
*** gwik has quit IRC03:17
RaceConditionkosh: I mean, get all the loaded classes that implement a given interface. purpose? just to get an overview of the architecture of a piece of software... introspection03:25
RaceConditionlike, if I want to learn the structure of a piece of software to get familiar with it more quickly03:25
RaceConditionthere's, of course, always the option to grep the source code for "implements(IGivenInterface)"03:26
*** alvaro_o has quit IRC03:27
*** f10w has quit IRC03:27
*** f10w has joined #zope03:40
*** nitrogenycs has left #zope03:40
*** davetoo has joined #zope03:40
*** tulga has joined #zope03:43
*** tiwula has quit IRC03:48
*** alga has quit IRC03:50
*** ccomb has quit IRC04:06
*** davisagli|away is now known as davisagli04:10
mcdoncRaceCondition: there is no foolproof way04:12
mcdonc(not even a fool-resistant way)04:12
RaceConditionso Interfaces don't really keep track of who implements them?04:13
mcdoncno.. at least, if they do, there's no docs about how to get that info back04:13
davetooHow could they?04:13
mcdoncwell, implements() *could* keep around a global04:14
mcdoncit might even do that04:14
mcdoncbut its not part of the API, afaik04:14
RaceConditionmcdonc: I guess I could just monkey patch it for introspection purposes04:14
davetooI know so little about zope so far.. I have no idea how much FM I have no idea about, if you know what I mean :)04:14
RaceConditionare there any extensions points to ZCA itself to customise how it works and plug in new architectural pieces?04:15
RaceConditionunrelated to my previous question... it's just something that popped to my mind when I realized the universalness of ZCA04:16
*** daMaestro|isBack has joined #zope04:27
*** daMaestro|isBack has quit IRC04:27
*** daMaestro has quit IRC04:31
mcdoncRaceCondition: yes, although they arent really documented04:52
mcdoncyou'll likely need to read the source04:52
RaceConditionmcdonc: nice, at least it's there04:52
*** f10w has quit IRC05:03
*** f10w has joined #zope05:03
*** dayne has joined #zope05:04
*** davisagli has quit IRC05:05
*** davisagli has joined #zope05:06
*** alecm has quit IRC05:30
*** davisagli is now known as davisagli|away05:33
*** tiwula has joined #zope05:42
*** davisagli|away is now known as davisagli05:48
tulgagood morning06:01
*** benji has quit IRC06:26
*** davetoo has quit IRC06:38
*** alecm has joined #zope06:45
*** alecm has joined #zope06:45
*** jan_s has joined #zope07:10
*** yvl has quit IRC07:12
*** yvl has joined #zope07:15
*** tiwula has quit IRC07:39
*** jan_s has quit IRC07:45
*** astoon has joined #zope07:49
*** astoon has quit IRC07:51
*** jan_s has joined #zope07:53
*** sm has joined #zope08:05
*** astoon has joined #zope08:06
*** davisagli is now known as davisagli|away08:14
*** astoon has quit IRC08:18
*** davisagli|away is now known as davisagli08:22
*** davisagli is now known as davisagli|away08:30
*** zagy has joined #zope08:31
RaceConditionhow common in Zope it is to adapt classes instead of interfaces? I sometimes find it an overkill to always use an interface08:34
RaceConditionand also, how meaningful it is to always declare an interface, even if used by only one class?08:35
*** rogererens has joined #zope08:37
koshwell so far I have not touched interfaces or adapters08:38
koshno idea how common it is in other code08:38
*** sm has quit IRC08:46
*** rogererens has quit IRC08:48
*** tisto has joined #zope08:54
RaceConditionkosh: so what exactly do you use in zope if you haven't used interfaces nor adapters?08:55
*** __mac__ has joined #zope08:59
*** __mac__ has quit IRC09:04
koshI have been writing zope products and apps for probably 8 years or so09:07
*** hever has joined #zope09:16
*** hever has quit IRC09:18
*** hever has joined #zope09:19
*** cpf_ has joined #zope09:25
*** davisagli|away is now known as davisagli09:29
mcdoncRaceCondition: i adapt to classes instead of interfaces a good bit09:29
RaceConditionmcdonc: but why do most beginner sources give examples that obviously overuse interfaces? at least it seems to me like it09:30
mcdoncnot sure really, maybe people dont know you can adapt to classes09:31
RaceConditionlike, why the hell would I have an IBookmark interface for a Bookmark class to store bookmarks?09:31
RaceConditionhmm, I thought of that possibility, but even prominent sources do that09:31
RaceConditionso maybe I'm missing something very fundamental here09:32
mcdonchttp://plope.com/Members/chrism/zca_thoughts_summary09:32
mcdonci doubt you're missing anything fundamental09:33
mcdoncthere really is a lot of heat and not much light surrounding this topic09:33
RaceConditionbasically, would anybody ever swap out Bookmark and use BetterBookmark to implement IBookmark?09:33
mcdoncno idea, that's the sort of judgment you need to make when deciding whether to use an interface or a class09:34
davisagliRaceCondition: if you're writing code that's supposed to be reusable, it's probably worth it to define the interface. but if know you won't need it, there's no harm in just adapting the class09:34
RaceConditiondavisagli: but why would I be reusing the IBookmark interface if it's just there to store a basic piece of data?09:35
davisaglimaybe someone else has a different idea of what a bookmark is09:35
mcdonci wouldnt bang your head on it much09:35
davisagliyeah09:36
RaceConditionthere was something else that was very confusing as well, actually09:36
RaceConditionah, well, I guess if I just ignore it for now... :P09:36
mcdoncmost interfaces you see in the wild are grossly unncessary09:37
mcdonci'll take that back09:38
mcdoncmany *adaptations* you see in the wild are grossly unnecessayr09:38
mcdoncbecause someone has used an adaptation as a test dependency injection09:38
mcdoncand those adaptations look exactly like the ones that are for "real" plugpoints09:39
*** allisterb_ has quit IRC09:42
*** alexpilz has quit IRC09:50
*** __mac__ has joined #zope09:54
*** wosc has joined #zope09:55
*** allisterb has joined #zope09:56
*** hever has quit IRC10:03
*** alecm has quit IRC10:04
CIA-82naro * r118674 /z3c.sqlalchemy/branches/custom_relations: Such implementation is not needed. It is better to use declarative_base and specify keys in standard way10:05
*** davisagli is now known as davisagli|away10:18
*** astoon has joined #zope10:21
*** digitalmortician has quit IRC10:24
*** rogererens has joined #zope10:26
*** menesis has joined #zope10:29
*** planetzopebot has quit IRC10:33
*** goschtl has joined #zope10:33
*** planetzopebot has joined #zope10:34
*** hever has joined #zope10:34
*** neo|4D has joined #zope10:41
*** thetet has joined #zope10:41
*** __mac__ has quit IRC10:41
*** mitchell`off is now known as mitchell`10:47
*** Theuni_ has joined #zope10:47
*** Theuni_ is now known as Guest5515310:48
*** alecm has joined #zope10:53
*** alecm has joined #zope10:53
*** alexpilz has joined #zope10:54
*** ccomb has joined #zope10:56
*** alexpilz has quit IRC10:59
*** regebro has joined #zope11:00
*** ccomb has quit IRC11:01
tulgaguys, where can I get zope2 documentation? i mean download.11:03
betabugyou could grab the repo for the zope book and build a pdf using the sphinx tools11:04
betabugprobably/maybe there is a link to the repo on docs.zope.org11:05
tulgaok11:07
*** ccomb has joined #zope11:11
*** MrWu has joined #zope11:17
*** MrWu has quit IRC11:18
*** vipod has joined #zope11:24
*** giampaolo has joined #zope11:25
*** sylvain has joined #zope11:32
*** nitrogenycs has joined #zope11:34
*** tulga has quit IRC11:35
*** hever has quit IRC11:36
*** tulga has joined #zope11:48
*** ploufplouf has joined #zope11:51
*** gwik has joined #zope12:04
*** hever has joined #zope12:06
*** tulga has quit IRC12:08
*** MrWu has joined #zope12:09
*** alga has joined #zope12:11
*** markvandenborre has quit IRC12:15
*** markvandenborre has joined #zope12:15
*** astoon has quit IRC12:17
CIA-82tiazma * r118675 /Products.ExternalEditor/tags/1.1.0: Tagged Products.ExternalEditor 1.1.012:18
*** ccomb has quit IRC12:24
*** digitalmortician has joined #zope12:27
*** astoon has joined #zope12:32
*** digitalmortician has quit IRC12:37
*** digitalmortician has joined #zope12:42
*** ccomb has joined #zope12:50
*** fredvd has joined #zope12:53
*** teix has joined #zope12:54
*** RichardBarrell has joined #zope12:55
*** menesis has quit IRC12:56
*** digitalmortician has quit IRC13:05
CIA-82tiazma 1.1.0 * r118676 Products.ExternalEditor/setup.py: oOps, I forgot to delete the 'dev' of the version number13:09
*** digitalmortician has joined #zope13:11
*** menesis has joined #zope13:13
*** jan_s has left #zope13:18
*** jan_s has quit IRC13:18
CIA-82tiazma 1.1.0 * r118676 Products.ExternalEditor/setup.py: oOps, I forgot to delete the 'dev' of the version number13:19
*** tisto is now known as tisto|lunch13:29
CIA-82jinty * r118677 z3c.form/ (4 files in 4 dirs):13:47
CIA-82Add English translation (generated from translation template using13:47
CIA-82msgen z3c.form.pot > en/LC_MESSAGES/z3c.form.po).13:47
*** __mac__ has joined #zope14:04
*** agroszer has joined #zope14:05
*** yvl has quit IRC14:05
*** menesis has quit IRC14:05
*** astoon has quit IRC14:12
*** sunew has joined #zope14:12
*** rbanffy has joined #zope14:17
*** Guest55153 has quit IRC14:22
*** svenn has joined #zope14:30
*** __mac__1 has joined #zope14:37
*** __mac__ has quit IRC14:37
*** svenn has quit IRC14:45
*** allisterb has quit IRC14:46
*** d2m has quit IRC14:50
*** menesis has joined #zope14:57
*** allisterb has joined #zope15:00
*** __mac__ has joined #zope15:02
*** __mac__1 has quit IRC15:02
*** __mac__ has quit IRC15:02
*** allisterb has quit IRC15:08
*** benji has joined #zope15:08
*** sunew has quit IRC15:18
*** allisterb has joined #zope15:20
*** thetet has quit IRC15:27
*** cwarner has joined #zope15:44
*** tisto|lunch is now known as tisto15:44
*** wosc has quit IRC15:59
*** J1m has joined #zope16:05
*** cpf_ has quit IRC16:09
*** MrWu has quit IRC16:19
*** MrWu has joined #zope16:22
*** rbanffy has quit IRC16:22
*** sunew has joined #zope16:28
*** dayne has quit IRC16:28
*** binbrain has joined #zope16:34
*** goschtl has quit IRC16:35
*** sunew has quit IRC16:39
*** sm has joined #zope16:47
*** zagy has quit IRC16:58
*** dayne has joined #zope16:59
*** thetet1 has joined #zope17:06
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118678 grokproject/grokproject/template/ (src/+package+/resource.py_tmpl setup.py_tmpl): Use fanstatic instead of hurry.resource.17:18
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118679 grokproject/grokproject/template/ (4 files in 2 dirs):17:18
CIA-82Create two zope.conf files: A debug and a production one. This will allow you to run grok in a debug and a deploy configuration without re-running bin/buildout or messing around in parts/etc/zope.conf.17:18
CIA-82Use the fanstatic middleware component that combines the injector and publisher.17:18
*** tisto has quit IRC17:23
*** nvictor has joined #zope17:37
nvictorhello all :)17:37
nvictori have been reading about interfaces in java and i am very interested by them17:37
nvictornow i have researched them and finally landed here :)17:38
nvictoran upfront question, will zope's module work with python 2.5?17:38
nvictorgoogle appengine is leaving me no choice17:38
mgedminyou mean zope.interface?  it will, yes17:38
nvictormgedmin: thanks God17:39
nvictorok back to reading the docs17:39
mgedminnobody ever called me that before :)17:39
nvictormgedmin: you just saved a life (or more precisely a poor programmer soul)17:40
nvictor;)17:40
CIA-82tseaver * r118680 Zope/ (doc/CHANGES.rst buildout.cfg): Stopped testing non-overridden ZTK eggs in ``bin/alltests``.17:49
*** supton has joined #zope17:51
*** nvictor has quit IRC17:51
*** sm_ has joined #zope17:55
*** alexpilz has joined #zope17:57
*** sm has quit IRC17:58
*** sm_ is now known as sm17:58
CIA-82tseaver 2.13 * r118681 Zope/ (doc/CHANGES.rst buildout.cfg): Stopped testing non-overridden ZTK eggs in ``bin/alltests``.18:03
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118682 grokproject/ (6 files in 4 dirs): Update tests in the resulting package to use the fanstatic layer. Fix tests.18:03
*** redir has quit IRC18:14
*** vipod has quit IRC18:22
*** alvaro_o has joined #zope18:30
*** menesis has quit IRC18:32
*** menesis1 has joined #zope18:32
*** menesis1 is now known as menesis18:32
*** tiwula has joined #zope18:37
*** rogererens has quit IRC18:43
CIA-82janjaapdriessen * r118683 /grokcore.view/branches/1.13.5-without-static: Create feature branch for grokcore.view without static registration.18:45
CIA-82janjaapdriessen 1.13.5-without-static * r118684 grokcore.view/src/grokcore/view/meta/directoryresource.py: Drop the StaticResourcesGrokker.18:45
CIA-82tseaver * r118685 zope.structuredtext/ (10 files in 2 dirs):18:45
CIA-82Removed antique copyright assertions in regression texts18:45
CIA-82These assertions do not conform to repository policy.18:45
CIA-82tseaver * r118686 zope.structuredtext/ (CHANGES.txt setup.py): Prepare 3.5.1 release.18:45
*** cpf_ has joined #zope18:49
*** alga has quit IRC18:50
*** giampaolo has quit IRC18:53
*** ccomb has quit IRC18:58
*** thetet1 has quit IRC19:03
*** sylvain has quit IRC19:12
CIA-82tseaver * r118687 /zope.structuredtext/tags/3.5.1: Tag 3.5.1 release.19:13
CIA-82tseaver * r118688 zope.structuredtext/ (CHANGES.txt setup.py): svb19:13
CIA-82janjaapdriessen * r118689 /grokui.base/branches/0.4.1-fanstatic: Fanstatic for grokui.base19:13
CIA-82tseaver * r118690 zope.server/ (src/zope/server/http/tests/test_wsgiserver.py CHANGES.txt): Corrected license version in ``zope/server/http/tests/test_wsgiserver.py``.19:13
CIA-82tseaver * r118691 zope.server/ (CHANGES.txt setup.py): Prep 3.8.2 release.19:13
CIA-82tseaver * r118692 /zope.server/tags/3.8.2: Tag 3.8.2 release.19:13
*** RichardBarrell has left #zope19:33
CIA-82tseaver * r118693 zope.server/ (CHANGES.txt setup.py): svb19:39
*** benji is now known as benji-lunch19:41
*** alexpilz has quit IRC19:42
*** allisterb has quit IRC19:44
*** allisterb has joined #zope19:45
*** redir has joined #zope19:48
*** cpf_ has quit IRC19:51
*** RichardBarrell has joined #zope19:57
*** bigkevmcd has quit IRC19:58
*** teix has quit IRC20:02
*** teix has joined #zope20:03
*** digitalmortician has quit IRC20:04
*** rogererens has joined #zope20:04
*** julesa has joined #zope20:08
*** RichardBarrell has quit IRC20:09
*** MrWu has quit IRC20:19
*** gwik has quit IRC20:25
*** lucmult1 has joined #zope20:25
*** lucmult has quit IRC20:28
*** benji-lunch is now known as benji20:36
*** menesis has quit IRC20:37
*** digitalmortician has joined #zope20:38
*** hever has quit IRC20:46
*** julesa has quit IRC20:49
*** digitalmortician has quit IRC20:52
*** nitrogenycs has quit IRC20:54
*** zagy has joined #zope20:55
*** gwik has joined #zope20:58
*** hever has joined #zope21:00
*** danielblackburn is now known as danielb_lunch21:03
*** digitalmortician has joined #zope21:23
*** alga has joined #zope21:26
*** menesis has joined #zope21:28
*** RichardBarrell has joined #zope21:29
*** davisagli|away is now known as davisagli21:33
*** fredvd has quit IRC21:45
*** alga has quit IRC21:52
*** RaceCondition has quit IRC21:53
*** RaceCondition has joined #zope21:54
*** davisagli is now known as davisagli|away22:00
*** ccomb has joined #zope22:05
*** rbanffy has joined #zope22:14
*** teix has quit IRC22:14
*** rbanffy has quit IRC22:18
*** alga has joined #zope22:19
*** supton_ has joined #zope22:24
*** supton has quit IRC22:26
*** supton_ is now known as supton22:26
*** chaoflow has quit IRC22:39
*** digitalmortician has quit IRC22:44
*** danielb_lunch is now known as danielblackburn22:45
*** chaoflow has joined #zope22:47
*** binbrain has quit IRC22:48
*** lucmult1 has left #zope22:51
*** agroszer has quit IRC22:55
*** digitalmortician has joined #zope23:09
*** vipod has joined #zope23:12
*** davetoo has joined #zope23:18
*** zagy has quit IRC23:19
*** jwhisnant has joined #zope23:20
*** nitrogenycs has joined #zope23:22
*** menesis has quit IRC23:37
*** hever has quit IRC23:39
*** hever has joined #zope23:42
*** hever has quit IRC23:44
*** hever has joined #zope23:45
*** neo|4D has quit IRC23:48

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