| *** stub has joined #zope3-dev | 00:29 | |
| *** timte has quit IRC | 00:43 | |
| *** ignas has joined #zope3-dev | 00:53 | |
| *** dobee has quit IRC | 00:56 | |
| *** ignas has quit IRC | 01:01 | |
| *** d2m has left #zope3-dev | 01:22 | |
| philiKON | http://worldcookery.com/News/2ndEditionNextMonth | 01:28 |
|---|---|---|
| *** harobed_ has quit IRC | 02:00 | |
| *** yota has quit IRC | 02:02 | |
| *** mexiKON has joined #zope3-dev | 02:38 | |
| *** philiKON has quit IRC | 02:51 | |
| *** factor has joined #zope3-dev | 03:12 | |
| *** wrobel has quit IRC | 03:23 | |
| *** stub has quit IRC | 04:37 | |
| *** projekt01 has joined #zope3-dev | 05:18 | |
| *** projekt01 has quit IRC | 05:22 | |
| *** stub has joined #zope3-dev | 07:10 | |
| *** stub has quit IRC | 07:45 | |
| *** stub has joined #zope3-dev | 07:46 | |
| *** natea_ has joined #zope3-dev | 07:55 | |
| *** jukart has joined #zope3-dev | 07:57 | |
| *** natea has quit IRC | 08:02 | |
| *** eins has joined #zope3-dev | 08:11 | |
| eins | hi | 08:11 |
| *** Aiste has quit IRC | 08:25 | |
| *** jukart has quit IRC | 08:30 | |
| *** rom|zZZ has quit IRC | 08:31 | |
| *** yota has joined #zope3-dev | 08:33 | |
| *** __mac__ has joined #zope3-dev | 08:47 | |
| *** jukart has joined #zope3-dev | 08:53 | |
| *** batlogg has joined #zope3-dev | 09:02 | |
| *** dlk has joined #zope3-dev | 09:14 | |
| *** batlogg has quit IRC | 09:20 | |
| *** flox has quit IRC | 09:28 | |
| *** romanofski has joined #zope3-dev | 09:41 | |
| romanofski | moin | 09:43 |
| *** harobed_ has joined #zope3-dev | 09:43 | |
| *** timte has joined #zope3-dev | 09:44 | |
| *** kobold has joined #zope3-dev | 09:46 | |
| *** batlogg has joined #zope3-dev | 10:08 | |
| *** harobed_ has quit IRC | 10:08 | |
| *** dobee has joined #zope3-dev | 10:10 | |
| *** batlogg has quit IRC | 10:17 | |
| *** stub has quit IRC | 10:26 | |
| *** flox has joined #zope3-dev | 10:43 | |
| *** dobee has quit IRC | 10:51 | |
| *** factor has quit IRC | 10:51 | |
| *** factor has joined #zope3-dev | 11:07 | |
| *** dobee has joined #zope3-dev | 11:08 | |
| *** dunny has quit IRC | 11:08 | |
| *** dobee has quit IRC | 11:31 | |
| *** tarek has joined #zope3-dev | 11:33 | |
| *** dobee has joined #zope3-dev | 11:40 | |
| *** MJ has joined #zope3-dev | 11:42 | |
| *** zagy has quit IRC | 11:43 | |
| *** zagy has joined #zope3-dev | 11:47 | |
| *** projekt01 has joined #zope3-dev | 11:56 | |
| *** jinty has joined #zope3-dev | 12:02 | |
| *** dobee has quit IRC | 12:13 | |
| *** dobee has joined #zope3-dev | 12:35 | |
| *** dobee has quit IRC | 12:48 | |
| *** niemeyer has joined #zope3-dev | 12:59 | |
| *** ktwilight_ is now known as ktwilight | 13:02 | |
| *** Aiste has joined #zope3-dev | 13:11 | |
| *** batlogg has joined #zope3-dev | 13:21 | |
| *** dobee has joined #zope3-dev | 13:24 | |
| *** MJ has quit IRC | 13:26 | |
| *** d2m has joined #zope3-dev | 13:27 | |
| *** WebMaven has quit IRC | 13:51 | |
| *** mgedmin has joined #zope3-dev | 13:58 | |
| *** benji has quit IRC | 14:28 | |
| *** ignas has joined #zope3-dev | 14:41 | |
| *** batlogg has quit IRC | 14:42 | |
| *** batlogg has joined #zope3-dev | 14:49 | |
| *** dobee has quit IRC | 15:05 | |
| *** nebo has joined #zope3-dev | 15:09 | |
| *** dlk has left #zope3-dev | 15:14 | |
| *** benji has joined #zope3-dev | 15:16 | |
| *** dobee has joined #zope3-dev | 15:39 | |
| *** whit has joined #zope3-dev | 15:46 | |
| *** nebo has quit IRC | 15:46 | |
| *** nebo has joined #zope3-dev | 15:50 | |
| *** batlogg has quit IRC | 16:06 | |
| *** batlogg has joined #zope3-dev | 16:16 | |
| *** gumpa has joined #zope3-dev | 16:20 | |
| *** dobee has quit IRC | 16:31 | |
| *** J1m has joined #zope3-dev | 16:35 | |
| *** eins has quit IRC | 16:38 | |
| *** dobee has joined #zope3-dev | 16:39 | |
| Theuni | btw: 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 IRC | 16:52 | |
| *** Aiste has quit IRC | 16:55 | |
| *** dobee has joined #zope3-dev | 16:56 | |
| *** rocky|away is now known as rocky | 16:59 | |
| *** kobold has quit IRC | 17:00 | |
| *** ChrisW_ has joined #zope3-dev | 17:03 | |
| *** gumpa has quit IRC | 17:13 | |
| *** kobold has joined #zope3-dev | 17:14 | |
| *** gumpa has joined #zope3-dev | 17:14 | |
| *** gumpa has quit IRC | 17:23 | |
| *** radix has joined #zope3-dev | 17:27 | |
| radix | # BBB vocabularies are pending deprecation, hopefully in 3.3 | 17:32 |
| radix | so did that actually happen? should I always use sources instead of vocabularies? | 17:32 |
| *** batlogg has quit IRC | 17:32 | |
| *** ChrisW_ has left #zope3-dev | 17:33 | |
| *** stub has joined #zope3-dev | 17:37 | |
| radix | stub: I see you have posted to threads about ISource :-) | 17:40 |
| radix | man, that was a while ago | 17:40 |
| radix | ok, I guess I will try vocabularies instead. | 17:49 |
| *** tonico|away is now known as tonico | 17:50 | |
| projekt01 | radix, vocabularies will not go away, they are used all over the world. Just ignore this comment. | 17:51 |
| radix | projekt01: well, I'm quite familiar with the difficulty of deprecating old code | 17:52 |
| radix | projekt01: however, what I want to know is whether sources are the recommended way to do things now | 17:52 |
| projekt01 | The queriable source concept which should replace vocabularies didn't get accepted | 17:53 |
| projekt01 | I guess only J1m is using queriable sources | 17:53 |
| projekt01 | J1m, or not? | 17:53 |
| radix | it didn't? it looks like the interfaces are there, at least | 17:54 |
| J1m | In what way did it not get accepted? | 17:54 |
| radix | alright, here we go :-) | 17:54 |
| projekt01 | nobody uses sources | 17:54 |
| J1m | I haven't done any z3 development in a while, but I think people are using sources. | 17:54 |
| J1m | We are afaik. | 17:55 |
| radix | I see *some* code using sources from doing some googles | 17:55 |
| radix | schooltool, ldapbrowser, ... | 17:55 |
| J1m | projekt01 doesn't use sources. :) | 17:55 |
| J1m | Theuni, recently wrote a package to make working with simple sources m,uch easier. | 17:56 |
| projekt01 | J1m, I guess your pending source/queriable refactoring whould make them useable. | 17:58 |
| J1m | For very simple cases, vocabularies worked better. | 18:04 |
| J1m | Theuni wrote a small implementation for simple cases that made handling simple cases simple. | 18:04 |
| J1m | vocabularies really didn't work well for non-simple cases. | 18:04 |
| J1m | There was a half-baked broken implementation that was a huge decoy. | 18:05 |
| *** stub has quit IRC | 18:05 | |
| radix | well, I think my current use case should be fairly simple, maybe | 18:05 |
| J1m | For complex cases, I think sources are better, but complex cases are -- conplex. | 18:05 |
| radix | I'll give vocabularies a burl | 18:05 |
| J1m | Vocabularies are fine for some simple cases. | 18:05 |
| projekt01 | J1m, right | 18:05 |
| J1m | Soon Theuni will be releasing some code that makes sources easy for simple cases. | 18:06 |
| *** flox_ has joined #zope3-dev | 18:06 | |
| J1m | If that suceeds (I haven't used it myself) that that will allow us to begin retiring vocabularies. | 18:06 |
| radix | is it going to be in zope3 or separate? | 18:07 |
| benji | your moment of zen: there is no zope 3, it is an illusion; all are both in and not in zope 3 | 18:08 |
| radix | hey man, I've got this "Zope3/src" directory which I checked out from SVN :P | 18:08 |
| * radix bends a fork | 18:08 | |
| benji | heh :) | 18:08 |
| *** kobold has quit IRC | 18:11 | |
| *** WebMaven has joined #zope3-dev | 18:14 | |
| *** kobold has joined #zope3-dev | 18:22 | |
| *** flox has quit IRC | 18:23 | |
| *** flox_ has quit IRC | 18:25 | |
| *** alecm has joined #zope3-dev | 18:25 | |
| *** natea_ is now known as natea|lunch | 18:36 | |
| *** batlogg_ has joined #zope3-dev | 18:39 | |
| *** batlogg_ has quit IRC | 18:40 | |
| *** batlogg_ has joined #zope3-dev | 18:40 | |
| *** natea|lunch has quit IRC | 18:46 | |
| *** ksmith99 has quit IRC | 18:58 | |
| *** ksmith99 has joined #zope3-dev | 18:59 | |
| *** stub has joined #zope3-dev | 19:11 | |
| *** batlogg_ is now known as batlogg | 19:12 | |
| *** SteveA_ has joined #zope3-dev | 19:14 | |
| *** zagy_ has joined #zope3-dev | 19:16 | |
| *** mgedmin has quit IRC | 19:17 | |
| *** SteveA has quit IRC | 19:17 | |
| stub | radix: I vaguely recall... | 19:18 |
| radix | stub: never mind for now :-) | 19:18 |
| *** flox_ has joined #zope3-dev | 19:20 | |
| *** flox_ is now known as flox | 19:20 | |
| *** zagy has quit IRC | 19:23 | |
| *** tonico is now known as tonico|away | 19:38 | |
| *** jinty has left #zope3-dev | 19:44 | |
| *** SteveA_ is now known as SteveA | 19:45 | |
| *** harobed_ has joined #zope3-dev | 19:49 | |
| *** BjornT has quit IRC | 19:50 | |
| *** BjornT has joined #zope3-dev | 19:50 | |
| *** stub has quit IRC | 19:56 | |
| *** RaFromBRC has joined #zope3-dev | 19:57 | |
| *** romanofski has quit IRC | 20:01 | |
| *** rocky has quit IRC | 20:01 | |
| *** rocky has joined #zope3-dev | 20:02 | |
| *** projekt01 has quit IRC | 20:08 | |
| *** stub has joined #zope3-dev | 20:14 | |
| *** dobee has quit IRC | 20:19 | |
| *** dunny has joined #zope3-dev | 20:24 | |
| *** ignas has quit IRC | 20:33 | |
| *** mexiKON is now known as philiKON | 20:41 | |
| *** nebo has quit IRC | 20:43 | |
| *** henri_ has joined #zope3-dev | 20:46 | |
| *** deo has joined #zope3-dev | 20:49 | |
| *** henri_ has quit IRC | 21:05 | |
| *** henri_ has joined #zope3-dev | 21:05 | |
| timte | TypeError: default __new__ takes no parameters | 21:09 |
| timte | I get this when doing factory=IMyFactory(obj) | 21:09 |
| philiKON | your adapter factory doesn't take any args | 21:09 |
| philiKON | single adapters need to take 1 argument | 21:09 |
| philiKON | write an __init__ :) | 21:10 |
| philiKON | def __init__(self, context) | 21:10 |
| timte | the context? | 21:10 |
| timte | ah, right | 21:10 |
| philiKON | of course | 21:10 |
| timte | wohoo, it works :) | 21:12 |
| *** natea has joined #zope3-dev | 21:18 | |
| *** jukart has quit IRC | 21:18 | |
| *** romanofski has joined #zope3-dev | 21:34 | |
| timte | What's the common way to make a container IPhysicallyLocatable? | 21:38 |
| philiKON | IPhysicallyLocatable is typically an adapter | 21:38 |
| philiKON | there's already one from ILocation -> IPhysicallyLocatable | 21:38 |
| philiKON | so, you don't really have to worry about anything | 21:39 |
| philiKON | because all your objects will typically have ILocation | 21:39 |
| timte | not mine :) | 21:39 |
| philiKON | either becuase you explicitly make them have ICOntained | 21:39 |
| philiKON | or they get a containment proxy | 21:39 |
| philiKON | so make 'em | 21:39 |
| philiKON | or get them from a container | 21:40 |
| philiKON | where they are proxied | 21:40 |
| timte | I guess I should implement ILocation | 21:42 |
| philiKON | or IContained which extends ILocation | 21:42 |
| philiKON | it's easily implemented: | 21:42 |
| philiKON | __name__ = __parent__ = None | 21:42 |
| philiKON | :) | 21:42 |
| timte | that's perfectly valid? | 21:43 |
| philiKON | sure. zope 3 will set them when the time comes | 21:43 |
| philiKON | e.g. when you add an instance to a container | 21:44 |
| timte | my objects are only in memory, so maybe I should provide correct values for parent and name | 21:44 |
| philiKON | IContained says something like: "You may stick __parent__ and __name__ on me, I merely provide some default values" | 21:44 |
| philiKON | yes, then you probably want to | 21:44 |
| *** whit is now known as whit|phone | 21:48 | |
| *** hazmat has joined #zope3-dev | 21:54 | |
| *** ChanServ sets mode: +o hazmat | 21:54 | |
| timte | my persistent object didn't get __parent__ set though | 22:17 |
| philiKON | does it provide IContained? | 22:21 |
| timte | no, but ILocation | 22:22 |
| timte | ok, I'll try IContained instead | 22:22 |
| philiKON | you need IConaine | 22:24 |
| philiKON | d | 22:24 |
| philiKON | just told you earlier | 22:24 |
| philiKON | and it doesn't matter whether it's persistent or not | 22:25 |
| philiKON | zope cares zip about persistency | 22:25 |
| philiKON | all you need is to add it to a container | 22:25 |
| philiKON | that's when the whole __parent__ vs. containment proxy thing will start | 22:25 |
| * RaFromBRC misread the history and thought that philiKON was telling timte "you need ICocaine" | 22:27 | |
| philiKON | yeah, that woudl help | 22:28 |
| *** RaFromBRC is now known as RaFromBRC|lunch | 22:45 | |
| *** tiredbones_ has joined #zope3-dev | 22:51 | |
| *** tiredbones has quit IRC | 23:08 | |
| *** febb has joined #zope3-dev | 23:10 | |
| philiKON | hey febb | 23:10 |
| febb | hi philiKON, great to see you ! how are you ? | 23:10 |
| philiKON | see PM | 23:10 |
| philiKON | i'm fine thank you | 23:11 |
| philiKON | didn't get my priv msgs? | 23:11 |
| *** stub has quit IRC | 23:11 | |
| *** whit|phone is now known as whit | 23:14 | |
| *** RaFromBRC|lunch is now known as RaFromBRC | 23:22 | |
| *** henri_ has quit IRC | 23:32 | |
| *** batlogg has quit IRC | 23:33 | |
| *** whit is now known as whit|bbiab | 23:47 | |
| *** yota has quit IRC | 23:51 | |
| *** romanofski is now known as rom|zzZZ | 23:53 | |
| radix | I can't seem to find my way through all the indirection to learn the widget used for a Choice field whose vocabulary is a SimpleVocabulary | 23:54 |
| philiKON | widgets are views for schema fields | 23:55 |
| philiKON | that means they're adapters for (field, request) | 23:55 |
| philiKON | for choice fields, there's a dispatch | 23:56 |
| philiKON | to (field, field.vocabulary, request), i think | 23:56 |
| radix | right, I found that | 23:56 |
| radix | I am having trouble making the last leap | 23:56 |
| philiKON | well, the final result should be some ChoiceWidget or whatever | 23:57 |
| philiKON | look at the configure.zcml in zope.app.schema | 23:57 |
| philiKON | or what's the last leap? | 23:57 |
| *** whit|bbiab is now known as whit | 23:57 | |
| radix | ah, I think it is the DropdownWidget | 23:58 |
| radix | yeah | 23:59 |
| radix | philiKON: thanks for the help :) | 23:59 |
| philiKON | np :) | 23:59 |
| * radix heads off to Japanese class | 23:59 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!