IRC log of #zope3-dev for Monday, 2006-11-06

*** stub has joined #zope3-dev00:29
*** timte has quit IRC00:43
*** ignas has joined #zope3-dev00:53
*** dobee has quit IRC00:56
*** ignas has quit IRC01:01
*** d2m has left #zope3-dev01:22
philiKONhttp://worldcookery.com/News/2ndEditionNextMonth01:28
*** harobed_ has quit IRC02:00
*** yota has quit IRC02:02
*** mexiKON has joined #zope3-dev02:38
*** philiKON has quit IRC02:51
*** factor has joined #zope3-dev03:12
*** wrobel has quit IRC03:23
*** stub has quit IRC04:37
*** projekt01 has joined #zope3-dev05:18
*** projekt01 has quit IRC05:22
*** stub has joined #zope3-dev07:10
*** stub has quit IRC07:45
*** stub has joined #zope3-dev07:46
*** natea_ has joined #zope3-dev07:55
*** jukart has joined #zope3-dev07:57
*** natea has quit IRC08:02
*** eins has joined #zope3-dev08:11
einshi08:11
*** Aiste has quit IRC08:25
*** jukart has quit IRC08:30
*** rom|zZZ has quit IRC08:31
*** yota has joined #zope3-dev08:33
*** __mac__ has joined #zope3-dev08:47
*** jukart has joined #zope3-dev08:53
*** batlogg has joined #zope3-dev09:02
*** dlk has joined #zope3-dev09:14
*** batlogg has quit IRC09:20
*** flox has quit IRC09:28
*** romanofski has joined #zope3-dev09:41
romanofskimoin09:43
*** harobed_ has joined #zope3-dev09:43
*** timte has joined #zope3-dev09:44
*** kobold has joined #zope3-dev09:46
*** batlogg has joined #zope3-dev10:08
*** harobed_ has quit IRC10:08
*** dobee has joined #zope3-dev10:10
*** batlogg has quit IRC10:17
*** stub has quit IRC10:26
*** flox has joined #zope3-dev10:43
*** dobee has quit IRC10:51
*** factor has quit IRC10:51
*** factor has joined #zope3-dev11:07
*** dobee has joined #zope3-dev11:08
*** dunny has quit IRC11:08
*** dobee has quit IRC11:31
*** tarek has joined #zope3-dev11:33
*** dobee has joined #zope3-dev11:40
*** MJ has joined #zope3-dev11:42
*** zagy has quit IRC11:43
*** zagy has joined #zope3-dev11:47
*** projekt01 has joined #zope3-dev11:56
*** jinty has joined #zope3-dev12:02
*** dobee has quit IRC12:13
*** dobee has joined #zope3-dev12:35
*** dobee has quit IRC12:48
*** niemeyer has joined #zope3-dev12:59
*** ktwilight_ is now known as ktwilight13:02
*** Aiste has joined #zope3-dev13:11
*** batlogg has joined #zope3-dev13:21
*** dobee has joined #zope3-dev13:24
*** MJ has quit IRC13:26
*** d2m has joined #zope3-dev13:27
*** WebMaven has quit IRC13:51
*** mgedmin has joined #zope3-dev13:58
*** benji has quit IRC14:28
*** ignas has joined #zope3-dev14:41
*** batlogg has quit IRC14:42
*** batlogg has joined #zope3-dev14:49
*** dobee has quit IRC15:05
*** nebo has joined #zope3-dev15:09
*** dlk has left #zope3-dev15:14
*** benji has joined #zope3-dev15:16
*** dobee has joined #zope3-dev15:39
*** whit has joined #zope3-dev15:46
*** nebo has quit IRC15:46
*** nebo has joined #zope3-dev15:50
*** batlogg has quit IRC16:06
*** batlogg has joined #zope3-dev16:16
*** gumpa has joined #zope3-dev16:20
*** dobee has quit IRC16:31
*** J1m has joined #zope3-dev16:35
*** eins has quit IRC16:38
*** dobee has joined #zope3-dev16:39
Theunibtw: i've been playing around with a new server type for zope 3 yesterday, and i couldn't figure out how to set up a simple udp-server. is it possible that the current infrastructure for registering the server factories doesn't allow this?16:48
*** dobee has quit IRC16:52
*** Aiste has quit IRC16:55
*** dobee has joined #zope3-dev16:56
*** rocky|away is now known as rocky16:59
*** kobold has quit IRC17:00
*** ChrisW_ has joined #zope3-dev17:03
*** gumpa has quit IRC17:13
*** kobold has joined #zope3-dev17:14
*** gumpa has joined #zope3-dev17:14
*** gumpa has quit IRC17:23
*** radix has joined #zope3-dev17:27
radix# BBB vocabularies are pending deprecation, hopefully in 3.317:32
radixso did that actually happen? should I always use sources instead of vocabularies?17:32
*** batlogg has quit IRC17:32
*** ChrisW_ has left #zope3-dev17:33
*** stub has joined #zope3-dev17:37
radixstub: I see you have posted to threads about ISource :-)17:40
radixman, that was a while ago17:40
radixok, I guess I will try vocabularies instead.17:49
*** tonico|away is now known as tonico17:50
projekt01radix, vocabularies will not go away, they are used all over the world. Just ignore this comment.17:51
radixprojekt01: well, I'm quite familiar with the difficulty of deprecating old code17:52
radixprojekt01: however, what I want to know is whether sources are the recommended way to do things now17:52
projekt01The queriable source concept which should replace vocabularies didn't get accepted17:53
projekt01I guess only J1m is using queriable sources17:53
projekt01J1m, or not?17:53
radixit didn't? it looks like the interfaces are there, at least17:54
J1mIn what way did it not get accepted?17:54
radixalright, here we go :-)17:54
projekt01nobody uses sources17:54
J1mI haven't done any z3 development in a while, but I think people are using sources.17:54
J1mWe are afaik.17:55
radixI see *some* code using sources from doing some googles17:55
radixschooltool, ldapbrowser, ...17:55
J1mprojekt01 doesn't use sources. :)17:55
J1mTheuni, recently wrote a package to make working with simple sources m,uch easier.17:56
projekt01J1m, I guess your pending source/queriable refactoring whould make them useable.17:58
J1mFor very simple cases, vocabularies worked better.18:04
J1mTheuni wrote a small implementation for simple cases that made handling simple cases simple.18:04
J1mvocabularies really didn't work well for non-simple cases.18:04
J1mThere was a half-baked broken implementation that was a huge decoy.18:05
*** stub has quit IRC18:05
radixwell, I think my current use case should be fairly simple, maybe18:05
J1mFor complex cases, I think sources are better, but complex cases are -- conplex.18:05
radixI'll give vocabularies a burl18:05
J1mVocabularies are fine for some simple cases.18:05
projekt01J1m, right18:05
J1mSoon Theuni will be releasing some code that makes sources easy for simple cases.18:06
*** flox_ has joined #zope3-dev18:06
J1mIf that suceeds (I haven't used it myself) that that will allow us to begin retiring vocabularies.18:06
radixis it going to be in zope3 or separate?18:07
benjiyour moment of zen: there is no zope 3, it is an illusion; all are both in and not in zope 318:08
radixhey man, I've got this "Zope3/src" directory which I checked out from SVN :P18:08
* radix bends a fork18:08
benjiheh :)18:08
*** kobold has quit IRC18:11
*** WebMaven has joined #zope3-dev18:14
*** kobold has joined #zope3-dev18:22
*** flox has quit IRC18:23
*** flox_ has quit IRC18:25
*** alecm has joined #zope3-dev18:25
*** natea_ is now known as natea|lunch18:36
*** batlogg_ has joined #zope3-dev18:39
*** batlogg_ has quit IRC18:40
*** batlogg_ has joined #zope3-dev18:40
*** natea|lunch has quit IRC18:46
*** ksmith99 has quit IRC18:58
*** ksmith99 has joined #zope3-dev18:59
*** stub has joined #zope3-dev19:11
*** batlogg_ is now known as batlogg19:12
*** SteveA_ has joined #zope3-dev19:14
*** zagy_ has joined #zope3-dev19:16
*** mgedmin has quit IRC19:17
*** SteveA has quit IRC19:17
stubradix: I vaguely recall...19:18
radixstub: never mind for now :-)19:18
*** flox_ has joined #zope3-dev19:20
*** flox_ is now known as flox19:20
*** zagy has quit IRC19:23
*** tonico is now known as tonico|away19:38
*** jinty has left #zope3-dev19:44
*** SteveA_ is now known as SteveA19:45
*** harobed_ has joined #zope3-dev19:49
*** BjornT has quit IRC19:50
*** BjornT has joined #zope3-dev19:50
*** stub has quit IRC19:56
*** RaFromBRC has joined #zope3-dev19:57
*** romanofski has quit IRC20:01
*** rocky has quit IRC20:01
*** rocky has joined #zope3-dev20:02
*** projekt01 has quit IRC20:08
*** stub has joined #zope3-dev20:14
*** dobee has quit IRC20:19
*** dunny has joined #zope3-dev20:24
*** ignas has quit IRC20:33
*** mexiKON is now known as philiKON20:41
*** nebo has quit IRC20:43
*** henri_ has joined #zope3-dev20:46
*** deo has joined #zope3-dev20:49
*** henri_ has quit IRC21:05
*** henri_ has joined #zope3-dev21:05
timteTypeError: default __new__ takes no parameters21:09
timteI get this when doing factory=IMyFactory(obj)21:09
philiKONyour adapter factory doesn't take any args21:09
philiKONsingle adapters need to take 1 argument21:09
philiKONwrite an __init__ :)21:10
philiKONdef __init__(self, context)21:10
timtethe context?21:10
timteah, right21:10
philiKONof course21:10
timtewohoo, it works  :)21:12
*** natea has joined #zope3-dev21:18
*** jukart has quit IRC21:18
*** romanofski has joined #zope3-dev21:34
timteWhat's the common way to make a container IPhysicallyLocatable?21:38
philiKONIPhysicallyLocatable is typically an adapter21:38
philiKONthere's already one from ILocation -> IPhysicallyLocatable21:38
philiKONso, you don't really have to worry about anything21:39
philiKONbecause all your objects will typically have ILocation21:39
timtenot mine  :)21:39
philiKONeither becuase you explicitly make them have ICOntained21:39
philiKONor they get a containment proxy21:39
philiKONso make 'em21:39
philiKONor get them from a container21:40
philiKONwhere they are proxied21:40
timteI guess I should implement ILocation21:42
philiKONor IContained which extends ILocation21:42
philiKONit's easily implemented:21:42
philiKON__name__ = __parent__ = None21:42
philiKON:)21:42
timtethat's perfectly valid?21:43
philiKONsure. zope 3 will set them when the time comes21:43
philiKONe.g. when you add an instance to a container21:44
timtemy objects are only in memory, so maybe I should provide correct values for parent and name21:44
philiKONIContained says something like: "You may stick __parent__ and __name__ on me, I merely provide some default values"21:44
philiKONyes, then you probably want to21:44
*** whit is now known as whit|phone21:48
*** hazmat has joined #zope3-dev21:54
*** ChanServ sets mode: +o hazmat21:54
timtemy persistent object didn't get __parent__ set though22:17
philiKONdoes it provide IContained?22:21
timteno, but ILocation22:22
timteok, I'll try IContained instead22:22
philiKONyou need IConaine22:24
philiKONd22:24
philiKONjust told you earlier22:24
philiKONand it doesn't matter whether it's persistent or not22:25
philiKONzope cares zip about persistency22:25
philiKONall you need is to add it to a container22:25
philiKONthat's when the whole __parent__ vs. containment proxy thing will start22:25
* RaFromBRC misread the history and thought that philiKON was telling timte "you need ICocaine"22:27
philiKONyeah, that woudl help22:28
*** RaFromBRC is now known as RaFromBRC|lunch22:45
*** tiredbones_ has joined #zope3-dev22:51
*** tiredbones has quit IRC23:08
*** febb has joined #zope3-dev23:10
philiKONhey febb23:10
febbhi philiKON, great to see you !   how are you ?23:10
philiKONsee PM23:10
philiKONi'm fine thank you23:11
philiKONdidn't get my priv msgs?23:11
*** stub has quit IRC23:11
*** whit|phone is now known as whit23:14
*** RaFromBRC|lunch is now known as RaFromBRC23:22
*** henri_ has quit IRC23:32
*** batlogg has quit IRC23:33
*** whit is now known as whit|bbiab23:47
*** yota has quit IRC23:51
*** romanofski is now known as rom|zzZZ23:53
radixI can't seem to find my way through all the indirection to learn the widget used for a Choice field whose vocabulary is a SimpleVocabulary23:54
philiKONwidgets are views for schema fields23:55
philiKONthat means they're adapters for (field, request)23:55
philiKONfor choice fields, there's a dispatch23:56
philiKONto (field, field.vocabulary, request), i think23:56
radixright, I found that23:56
radixI am having trouble making the last leap23:56
philiKONwell, the final result should be some ChoiceWidget or whatever23:57
philiKONlook at the configure.zcml in zope.app.schema23:57
philiKONor what's the last leap?23:57
*** whit|bbiab is now known as whit23:57
radixah, I think it is the DropdownWidget23:58
radixyeah23:59
radixphiliKON: thanks for the help :)23:59
philiKONnp :)23:59
* radix heads off to Japanese class23:59

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