| *** faassen has quit IRC | 00:20 | |
| *** sod has quit IRC | 01:47 | |
| *** sod has joined #grok | 01:48 | |
| *** michelp has joined #grok | 02:36 | |
| *** fcorrea has quit IRC | 03:03 | |
| *** philiKON has quit IRC | 04:09 | |
| *** seocam has joined #grok | 04:13 | |
| *** sod has quit IRC | 04:44 | |
| *** kushal has quit IRC | 04:54 | |
| *** seocam has quit IRC | 04:58 | |
| *** kushal has joined #grok | 07:08 | |
| *** baijum has joined #grok | 07:47 | |
| *** LeoRochael has quit IRC | 08:15 | |
| *** cursor has joined #grok | 08:43 | |
| *** j-w has joined #grok | 09:00 | |
| *** timte has joined #grok | 09:25 | |
| *** juh has joined #grok | 09:26 | |
| *** juh has quit IRC | 09:39 | |
| *** juh has joined #grok | 09:52 | |
| *** norro has joined #grok | 10:34 | |
| *** norro has quit IRC | 11:22 | |
| *** philiKON has joined #grok | 11:26 | |
| *** d-bug has joined #grok | 11:52 | |
| *** juh has quit IRC | 11:53 | |
| *** d-bug has left #grok | 11:53 | |
| *** juh has joined #grok | 11:54 | |
| *** juh has quit IRC | 12:11 | |
| *** juh has joined #grok | 12:13 | |
| *** juh has joined #grok | 12:14 | |
| *** juh has quit IRC | 12:21 | |
| *** juh has joined #grok | 12:22 | |
| *** davidstryker has joined #grok | 12:40 | |
| *** davidstryker has left #grok | 12:40 | |
| *** juh has quit IRC | 12:52 | |
| *** LeoRochael has joined #grok | 13:07 | |
| *** brandon_rhodes has quit IRC | 13:19 | |
| *** kushal has quit IRC | 13:20 | |
| *** kushal has joined #grok | 13:20 | |
| *** juh has joined #grok | 13:21 | |
| *** kushal has quit IRC | 13:29 | |
| *** kushal has joined #grok | 13:29 | |
| *** kushal has quit IRC | 13:30 | |
| *** kushal has joined #grok | 13:30 | |
| *** kushal has quit IRC | 13:35 | |
| *** kushal has joined #grok | 13:35 | |
| *** rocky has quit IRC | 13:39 | |
| *** kushal has quit IRC | 13:40 | |
| *** kushal has joined #grok | 13:41 | |
| *** rocky has joined #grok | 14:15 | |
| *** ignas has joined #grok | 14:33 | |
| *** rocky has quit IRC | 14:35 | |
| *** rocky has joined #grok | 14:41 | |
| *** ruda_porto has joined #grok | 14:47 | |
| *** fcorrea has joined #grok | 15:12 | |
| *** kushal has quit IRC | 15:18 | |
| *** cursor has quit IRC | 15:24 | |
| *** regebro has joined #grok | 15:45 | |
| *** gumpa has joined #grok | 15:54 | |
| *** baijum has quit IRC | 15:57 | |
| *** brandon_rhodes has joined #grok | 15:57 | |
| j-w | the order in which event subscribers are "called" is not deterministic, is it? | 16:17 |
|---|---|---|
| philiKON | right | 16:18 |
| philiKON | well, heuristically there's an order | 16:18 |
| philiKON | it's an implementation detail | 16:18 |
| j-w | but how can the indexing work correctly then? | 16:18 |
| j-w | I mean, for example, say I have an index that uses an attribute on the dublincore annotation | 16:19 |
| j-w | is the annotation (modified e.g.) update *before* the object is indexed? | 16:19 |
| j-w | (hmm, my explanation is bit too brief maybe) | 16:20 |
| philiKON | well, when you change annotations you're supposed to send an event too ;) | 16:21 |
| philiKON | s/;)/:) | 16:21 |
| j-w | in that case the object is indexed twice basically | 16:21 |
| j-w | right? | 16:21 |
| philiKON | objects aren't indexes. attributes are | 16:21 |
| philiKON | unfortunately, the indexes don't yet interpret the information sent along with the event | 16:22 |
| philiKON | so, yes, everything would be indexed twice then | 16:22 |
| j-w | ok | 16:22 |
| philiKON | a way to work around that is to remember to-be-reindexed objects in a queue | 16:22 |
| philiKON | and then separately index them asynchronously | 16:22 |
| * j-w looks at the zope.dublincore event subscribers | 16:23 | |
| j-w | well, there's not reallt a problem other than my attempt to understand the mechanism :) | 16:23 |
| j-w | the thing is: zope.dublincore's event subscribers do not send out events (I think) | 16:24 |
| philiKON | heh ok | 16:24 |
| j-w | in other words, the indexes based on dublincore attributes might not be "up to date" | 16:24 |
| philiKON | i guess they don't because a) when they were written we didn't have that additional info to send along with the event so that b) they would call each other in recursion | 16:24 |
| j-w | ok | 16:24 |
| philiKON | what they should really do is send an event | 16:24 |
| philiKON | but sned along the information | 16:24 |
| philiKON | and when they themselves are called, the should bail out if they detect the 'modified' dublincore attr was changed | 16:25 |
| philiKON | s/the should/they should/ | 16:25 |
| j-w | "that additional info" is sent along with the event how? | 16:26 |
| * j-w wonders if there's anything written about this somewhere | 16:27 | |
| philiKON | j-w: page 310 | 16:27 |
| philiKON | j-w: Ex 16.2.1 | 16:27 |
| j-w | LOL | 16:27 |
| philiKON | lines 29-30 | 16:27 |
| * j-w reads | 16:27 | |
| philiKON | just beware of the erratum there | 16:28 |
| j-w | :-) | 16:28 |
| philiKON | http://worldcookery.com/Errata | 16:28 |
| j-w | aaaah! right! | 16:28 |
| j-w | I overlooked this "detail" in the example | 16:29 |
| j-w | thanks a LOT! | 16:29 |
| philiKON | np | 16:29 |
| j-w | this reminds me: would adding the URL to the irc logs in the channel's topic be useful? | 16:29 |
| philiKON | yeah, sure | 16:30 |
| *** j-w changes topic to "http://grok.zope.org | http://philikon.de/files/grok-bbq-sprint.pdf | irc logs: http://jw.n--tree.net/irclogs/%23grok" | 16:31 | |
| *** ruda_porto has quit IRC | 16:38 | |
| *** nathany has joined #grok | 16:42 | |
| j-w | philiKON: you actually made a bug report for this a while ago... | 16:42 |
| j-w | for the fact that zope-3 does not yet fully use the extra information to pass with an event. | 16:43 |
| fcorrea | philiKON: in your 6th errata in http://worldcookery.com/Errata about PersistentList is wrong. Instead of mentioning the way it was in the book, you actually fixed that in here : PersistentList is mentioned twice (PersistentList and PersistentDict) while the text meant to say "PersistentList and PersistentDict." | 17:00 |
| fcorrea | I think you meant: PersistentList is mentioned twice (PersistentList and PersistentList) | 17:01 |
| *** ignas has quit IRC | 17:12 | |
| *** sod has joined #grok | 17:15 | |
| *** timte has quit IRC | 17:16 | |
| *** j-w has quit IRC | 17:27 | |
| *** kushal has joined #grok | 17:33 | |
| *** juh has quit IRC | 17:42 | |
| *** juh has joined #grok | 18:06 | |
| *** juh has quit IRC | 18:10 | |
| *** ruda_porto has joined #grok | 18:55 | |
| *** cursor has joined #grok | 18:56 | |
| *** kushal has quit IRC | 18:57 | |
| *** norro has joined #grok | 20:22 | |
| *** cursor has quit IRC | 20:36 | |
| *** seocam has joined #grok | 20:41 | |
| *** rocky has quit IRC | 20:46 | |
| *** seocam has left #grok | 21:23 | |
| *** tiola has quit IRC | 22:03 | |
| *** fcorrea has left #grok | 22:34 | |
| *** gumpa has quit IRC | 23:03 | |
| *** ruda_porto has quit IRC | 23:12 | |
| *** regebro has left #grok | 23:14 | |
| *** brandon_rhodes has quit IRC | 23:37 | |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!