IRC log of #zope3-dev for Wednesday, 2006-08-23

*** edgordon has quit IRC00:00
*** edgordon has joined #zope3-dev00:01
*** tiredbones has quit IRC00:03
*** tiredbones has joined #zope3-dev00:03
mgedminlaptop batteries are a complete mystery to me00:06
mgedminI used to cycle the battery (make sure it is almost empty before recharging) onb my t23 -- the battery almost died in a year00:06
mgedminI bought another one and started to keep it plugged into AC power as much as possible00:07
mgedminthat one lived longer00:07
mgedminthen I bought another laptop00:07
mgedminand used the same strategy (always on AC, if possible)00:07
mgedminafter a year or more I have about 75% capacity left00:07
*** niemeyer_ has quit IRC00:07
* philiKON checks Capacity Meter00:09
philiKONsays i have 86% capacity left00:09
philiKONmy PB is 2 years and 2 months old00:09
*** gumpa has left #zope3-dev00:10
*** mgedmin has quit IRC00:13
*** alga has quit IRC00:33
Theunina dann mach ich mich mal auf den weg00:34
philiKONTheuni, wohin?00:36
* benji suspects that's the longest sentence possible in German with no five or more character words00:36
philiKONlol00:39
philiKONich gehe nach hause, weil es schon spaet ist und ich muede bin.00:40
philiKONthere. longer :)00:40
*** RealityCheck has quit IRC00:43
benji"muede" hat f?nf Buchstaben00:46
philiKONwell, not if spelled properly00:46
philiKONm?de00:46
benji"hause"?00:47
philiKONyou can omit the 'e' :)00:47
benjiheh :)00:47
benjihmm, I'd always seen it with the "e"00:47
philiKONbut hey, max(len(english_sentence.split())) < 5 is hard too00:48
philiKONfor longer sentences00:48
philiKONbenji, yeah, well, you can omit the 'e' in colloquial german. and this is what Theuni was writing in the first place00:49
benjiit's time for me to go to home to see my wife and son who love to eat meat and sit on the sofa with our large cat...00:49
benji... I'll stop now :)00:49
philiKONlarge00:49
philiKONit's 5 characters :)00:50
benjis/large/big/00:50
benji:)00:50
benjimy German is so poor I couldn't tell colloquial from Dutch00:51
philiKONheh00:51
philiKONi tried to reproduce that sofa sentence in german w/o 5 letter words00:51
philiKONit's hard00:51
philiKONso, yes, english is shorter there00:52
philiKONbut just because it's that stupid rap form of german ;)00:52
philiKONthose anglo-saxon gangsters took it to the island and ruined it ;)00:52
*** edgordon has quit IRC00:53
benjilol!!00:56
philiKONwell, and then a few hundred years later, they again took it further west to ruin it even more00:57
philiKONand now y'all end up with stuff like dat00:58
benjiI blame the Frech00:58
benjiI blame the FreNch00:58
*** niemeyer_ has joined #zope3-dev01:01
*** benji has quit IRC01:05
*** niemeyer has quit IRC01:15
*** J1m has quit IRC01:17
*** wrobel has quit IRC01:20
*** jan_s_ has joined #zope3-dev01:42
*** alecm has joined #zope3-dev01:46
*** jan_s__ has joined #zope3-dev01:56
*** jan_s__ is now known as jan_s02:00
*** RaAtBRC has quit IRC02:05
*** RaFromBRC has joined #zope3-dev02:06
*** RaFromBRC has quit IRC02:06
*** oferw has joined #zope3-dev02:09
*** yota has quit IRC02:10
*** niemeyer_ has quit IRC02:11
*** niemeyer has joined #zope3-dev02:12
*** jan_s_ has quit IRC02:14
*** RaFromBRC has joined #zope3-dev02:17
*** timte has quit IRC02:32
*** RaFromBRC has quit IRC02:35
*** niemeyer_ has joined #zope3-dev02:38
*** efrerich_ has quit IRC02:42
*** niemeyer__ has joined #zope3-dev02:51
*** niemeyer has quit IRC02:52
*** flox has quit IRC02:53
*** niemeyer_ has quit IRC03:03
*** edgordon_ has joined #zope3-dev03:17
*** flox has joined #zope3-dev03:22
*** febb has joined #zope3-dev03:27
febbHola !!!03:27
*** philiKON has quit IRC03:31
*** niemeyer__ is now known as niemeyer03:34
febbhi03:45
*** oferw has quit IRC03:51
*** alecm has quit IRC03:53
*** febb has quit IRC03:56
*** flox is now known as flox|away04:20
*** dunny has quit IRC04:35
*** dunny has joined #zope3-dev05:23
*** niemeyer has quit IRC05:30
*** stub has joined #zope3-dev06:02
*** edgordon_ is now known as edgordon_away06:16
*** eins has joined #zope3-dev08:05
*** wrobel has joined #zope3-dev08:14
*** baijum has joined #zope3-dev08:49
*** zagy has joined #zope3-dev08:55
*** philiKON has joined #zope3-dev08:58
*** hdima has joined #zope3-dev09:11
*** baijum has quit IRC09:18
*** dobee has joined #zope3-dev09:23
romanofskimorjens09:28
*** flox|away has quit IRC09:39
*** philiKON has quit IRC09:40
*** stub has quit IRC09:58
*** stub has joined #zope3-dev09:58
*** zagy has quit IRC10:08
*** Theuni has quit IRC10:09
*** romanofski has quit IRC10:10
*** BjornT has quit IRC10:17
*** kobold has joined #zope3-dev10:17
*** BjornT has joined #zope3-dev10:18
*** philiKON has joined #zope3-dev10:28
*** zagy has joined #zope3-dev10:28
*** Theuni has joined #zope3-dev10:29
*** romanofski has joined #zope3-dev10:32
*** jinty has joined #zope3-dev10:37
*** flox has joined #zope3-dev10:40
*** flox is now known as flox|away10:40
*** yota has joined #zope3-dev10:43
*** stub has quit IRC10:45
*** oferw has joined #zope3-dev10:47
*** baijum has joined #zope3-dev10:48
*** srichter has quit IRC10:50
*** dunny has quit IRC11:01
*** baijum has quit IRC11:09
*** flox|away has quit IRC11:15
*** flox has joined #zope3-dev11:15
*** flox is now known as flox|away11:15
*** flox has joined #zope3-dev11:18
*** flox|away has quit IRC11:19
*** flox has quit IRC11:23
*** flox has joined #zope3-dev11:23
*** flox is now known as flox|away11:23
*** oferw has quit IRC11:24
*** srichter has joined #zope3-dev11:28
*** ChanServ sets mode: +o srichter11:29
*** jinty has quit IRC11:42
*** jinty has joined #zope3-dev11:46
*** jinty has quit IRC11:56
*** elro has quit IRC12:01
*** Aiste has quit IRC12:05
*** Aiste has joined #zope3-dev12:05
*** dunny has joined #zope3-dev12:06
*** dunny has quit IRC12:06
*** efrerich has joined #zope3-dev12:36
*** BjornT has quit IRC12:47
*** flox|away is now known as flox12:47
*** stub has joined #zope3-dev12:50
*** BjornT has joined #zope3-dev12:52
*** faassen has joined #zope3-dev12:53
*** mgedmin has joined #zope3-dev13:08
*** BjornT has quit IRC13:12
*** BjornT has joined #zope3-dev13:18
*** alga has joined #zope3-dev13:29
*** jinty has joined #zope3-dev13:40
*** J1m has joined #zope3-dev13:46
*** baijum has joined #zope3-dev13:48
*** mkerrin has joined #zope3-dev14:00
*** baijum has quit IRC14:09
*** J1m has quit IRC14:23
*** Aiste has quit IRC14:43
*** stu1 has joined #zope3-dev14:55
*** stub has quit IRC15:00
*** stu1 is now known as stub15:00
mgedminI have a philosophical question:15:13
mgedminis it acceptable for an INameChooser adapter to modify the object for which it is choosing a name?15:13
mgedminsee http://www.zope.org/Collectors/Zope3-dev/56215:14
*** jan_s has quit IRC15:18
mgedminphiliKON: thanks15:18
*** baijum has joined #zope3-dev15:21
*** flox has quit IRC15:22
*** flox_ has joined #zope3-dev15:22
*** edgordon_away is now known as edgordon15:22
*** efrerich has quit IRC15:23
*** flox_ is now known as flox15:23
*** benji has joined #zope3-dev15:26
*** kobold has left #zope3-dev15:34
*** flox_ has joined #zope3-dev15:42
*** flox has quit IRC15:42
*** flox_ is now known as flox15:42
*** baijum has quit IRC15:48
*** niemeyer has joined #zope3-dev16:04
*** J1m has joined #zope3-dev16:08
*** timte has joined #zope3-dev16:18
*** andrew_m has quit IRC16:18
*** andrew_m has joined #zope3-dev16:19
*** efrerich has joined #zope3-dev16:19
*** ktwilight has quit IRC16:22
*** ktwilight has joined #zope3-dev16:44
*** eins has quit IRC16:45
*** volvox has joined #zope3-dev16:57
*** hdima has quit IRC17:14
*** gumpa has joined #zope3-dev17:15
*** nathany has joined #zope3-dev17:21
*** niemeyer_ has joined #zope3-dev17:44
*** alga has quit IRC17:48
*** niemeyer__ has joined #zope3-dev17:53
*** niemeyer has quit IRC17:57
*** niemeyer_ has quit IRC17:57
*** niemeyer__ is now known as niemeyer17:58
*** flox has quit IRC18:06
*** retsu has joined #zope3-dev18:07
*** dobee has quit IRC18:10
*** retsu has quit IRC18:11
*** whit|otherbox has quit IRC18:31
*** whit_ has joined #zope3-dev18:32
*** efrerich has quit IRC18:50
*** zagy has quit IRC18:50
*** srichter has quit IRC18:53
*** andrew_m has quit IRC18:54
*** RaFromBRC has joined #zope3-dev19:00
*** zbir has quit IRC19:10
*** jinty has quit IRC19:19
*** romanofski has quit IRC19:25
*** RaFromBRC is now known as RaFromBRC|away19:29
*** RaFromBRC|away is now known as RaFromBRC19:31
*** philiKON has quit IRC19:34
*** RaFromBRC is now known as RaFromBRC|away19:52
*** elro has joined #zope3-dev20:16
*** alecm has joined #zope3-dev20:18
*** volvox has quit IRC20:20
*** replicant has quit IRC20:30
*** jinty has joined #zope3-dev20:32
*** mkerrin has quit IRC20:38
*** RaFromBRC|away has quit IRC20:44
*** stub has quit IRC20:48
*** srichter has joined #zope3-dev20:58
*** RaFromBRC has joined #zope3-dev21:02
*** zbir has joined #zope3-dev21:15
*** oferw has joined #zope3-dev21:29
*** faassen has quit IRC21:32
*** mkerrin has joined #zope3-dev21:43
*** ChanServ sets mode: +o srichter21:46
*** alga has joined #zope3-dev21:51
*** alga has quit IRC21:51
*** ChanServ sets mode: +o hazmat22:04
*** replicant has joined #zope3-dev22:06
*** edgordon has quit IRC22:07
*** edgordon has joined #zope3-dev22:11
*** mgedmin has quit IRC22:13
*** replicant has quit IRC22:15
srichterI have a tricky question: What would you expect the answer to be?22:18
srichterclass IFoo(Interface):22:18
*** oferw has quit IRC22:18
srichter  title = zope.schema.TextLine(...)22:18
srichterclass IBar(IFoo):22:18
srichter  pass22:18
srichterIBar['title'].interface22:18
rockyit *should* be IBar22:19
rockyat least i think so22:19
srichterdeeed. wrong answer22:19
*** projekt01 has joined #zope3-dev22:19
srichterthat's what I would expect too, but it is not what happens22:19
srichterJ1m: alecm: benji: mkerrin: nathany: what would *you* expect?22:20
nathanysrichter: i would expect to get back IBar as well22:21
srichterthe problem becomes really bad in formlib, where adaptation of field.interface on the context is used to get to data22:21
benjiI've not used that interface api enough to have a well reasoned expectation, but /I/ would expect it to return the interface the attribute was defined on; i.e., IFoo22:21
alecmYeah that would be my expectation as well22:21
alecmmeaning IBar, that is22:22
*** timte has quit IRC22:23
benjiso it would appear that, as is often the case, I'm unusual in my expectations :)22:23
srichterbenji: I think this is the rationale, but from the answers here I suspect it is a bad one and it really breaks formlib badly22:23
srichterbenji: can you ask Jim quickly what he thinks should happen and why? :-)22:24
J1mI expect IFoo22:24
srichterhe he22:24
J1mBit IAttribute is not very clear.22:24
benjiJ1m tells me that he would expect IFoo22:24
srichterJ1m: I thought you would think this way22:25
J1mI think IAttribute is tring to say that interface gives the interface that the attribute was defined in.22:25
benjiwhy would you ask the (implied) question, anyway, srichter?22:25
benji(ask it of the interface, that is)22:26
srichterthat makes field.interface(context) call very brittle22:26
J1mHe wantd to know what we expected.22:26
srichterbecause I might have an adapter for IBar(context), but not IFoo(context)22:26
benjiJ1m says that I'm much smarter than he is.22:26
J1msrichter: so don't do that.22:26
srichterJ1m: but it is the standard procedure in setUpWidgets of formlib22:26
srichternot my code ;-)22:26
J1mbenji says that I can have a pony.22:26
benjilol!22:27
srichterand I bet zope.app.form is broken in the same way as well22:27
srichterpony?22:27
benjithis sounds like a bug in formlib (et al.)22:27
alecmI would expect 'interface' to behave similarly to 'im_class', which would return IBar.  Could it be harmful if that were the case?22:27
* srichter tends to agree with alecm22:28
J1mI don't really know what the intent of the interface attribute is anymore.22:28
J1mI would need to study it's existing usage.22:28
J1mWhich I don't have time to do atm.22:28
srichterright, I did not intend to have you check it out right now22:29
srichterI was just hoping someone would remember the intent22:29
benjialecm: if the answer were IBar, then it seems like a useless question,  IX['foo'].interface would always equal IX22:29
srichterbenji: but what if the iface info is not around anymore, like in the setUpWidgets case22:30
alecmone could say the same of im_class then, there are likely to be cases where you have a set of fields and don't know what interfaces they came from22:30
benjithen it would seem to be a design issue, the component that was passed the attribute really wanted the interface and attribute name, instead22:30
benjilike I said, I'm talking out of my (non-existant) hat here, so I wouldn't put too much energy into arguing with me22:31
J1mwhere is this used in formlib?22:32
* srichter is tempted to change the behavior and see if any tests break22:32
srichterJ1m: form.py, line 22822:32
*** febb has joined #zope3-dev22:34
srichterbtw, if we come to a conclusion on the issue, I would have time to work on this, because otherwise I have to throw away one day of work ;-)22:35
J1mah, I see.  That seems to be the intent.  That code definately expects IBar.22:35
febbhi all22:35
srichterok, I am glad we agree here22:35
J1mI'm not sure we agree.22:35
J1mYou and that line of code agree. :)22:35
*** whit_ has quit IRC22:35
srichterhe he22:36
* benji agrees with his glass of water22:36
srichterJ1m: if you think the current zope.interface package behavior is correct, I would be willing to fix formlib22:37
J1mI don't have an opinion one way or another.22:38
* srichter thinks that's about the worst case scenario answer; he like Jim being strongly opinionated22:38
srichterJ1m: I could try to change the zope.interface behavior in a branch and see happens22:40
srichter(I would just need a resolution fairly soon, as in the next 24 hours)22:41
srichterI'll send a mail to the list22:41
J1mIt's not a small change.22:43
srichterI realize that22:43
*** replicant has joined #zope3-dev22:44
J1mI can't give you an answer that soon.22:44
srichterbut either zope.interface or zope.formlib is as seriously broken right now22:44
srichterif the branch works out, I might be able to work on that22:44
J1mIt would certianly be a reasonable experiment to try it on a branch.22:44
* srichter notes that we should chear on mkerrin for checking in a new WebDAV implementation for Zope 322:46
*** whit_ has joined #zope3-dev22:46
J1mYay!22:46
srichtergo mkerrin!22:47
*** benji has quit IRC22:53
*** J1m has quit IRC22:53
*** J1m has joined #zope3-dev22:54
*** benji has joined #zope3-dev22:56
edgordoncan vocabularies be changed, or are they immutable once a module is loaded?22:56
srichteredgordon: depends on your implementation; I regularly develop vocabularies that live in the ZODB and manage the values there. Other vocabularies depend on context and the component registry22:58
edgordonyeah, i wanna grab mine via a sqlos class. that would be valid then?23:00
srichteryep23:00
*** alga has joined #zope3-dev23:01
srichterJ1m: okay, I changed my mind for now :-); I am going to fix up formlib for now, since zope.interface needs more collective brain power23:02
J1mk23:02
J1mThe way to do it is to record the iface used in the formfield.23:03
J1mimo and in benji's23:03
srichterthat was my idea as well23:03
srichter:-)23:03
srichterok, I am glad we are at least 3 agreeing23:03
*** whit_ has quit IRC23:08
*** replicant has quit IRC23:10
*** replicant has joined #zope3-dev23:11
*** k0s has joined #zope3-dev23:14
k0si just svn co'ed Zope3/trunk; ran make; and make run; and i get several such warnings: '2006-08-23T16:18:50 WARNING ZEO.zrpc (10620) CW: error connecting to ('localhost', 8100): ECONNREFUSED'23:17
k0si tried to follow doc/INSTALL.txt, but don't understand this error23:18
*** philiKON has joined #zope3-dev23:19
febbhi philiKON23:21
philiKONhi23:21
febbhow are you ?23:21
philiKONgood, thanks23:22
febbgreat.  we finally have all ready for Copenhagen.23:24
*** zbir has quit IRC23:26
philiKONgreat23:27
*** gumpa has quit IRC23:27
philiKONlooking forward to it23:28
*** gumpa has joined #zope3-dev23:28
*** gumpa has left #zope3-dev23:31
febbyeah, we are also looking forward to it. how many ppl are attending , you know already?23:32
*** Londo_ has quit IRC23:38
*** Londo_ has joined #zope3-dev23:38
philiKON1423:39
*** vlado has joined #zope3-dev23:41
*** Aiste has joined #zope3-dev23:42
*** mkerrin has quit IRC23:43
febbgreat.    Got to go now, talk to you later.  Un saludo !23:50
febblater all.23:50

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