Hi,
Here is the log of the chatroom at http://farsides.com/chat/ (or
irc://irc.freenode.net/#farsides) for the 2011-07-03.
2011-07-03 06:24:41+0000 dachary (dachary) is now online
2011-07-03 06:24:50+0000 <dachary> hop
2011-07-03 07:56:20+0000 tartarugafeliz (tartarugafeliz) is now online
2011-07-03 11:32:54+0000 chr15m (chr15m) is now online
2011-07-03 11:33:03+0000 <chr15m> hello
2011-07-03 11:33:15+0000 <chr15m> dachary: i am trying to make this final test
work but i am completely confused
2011-07-03 11:33:42+0000 <dachary> hi
2011-07-03 11:33:49+0000 <chr15m> dachary: if you are around it would be great
to get some help :)
2011-07-03 11:33:53+0000 <dachary> sure
2011-07-03 11:34:42+0000 <chr15m> dachary: i don't understand the architecture
properly
2011-07-03 11:34:54+0000 <chr15m> so i have a Plugin instance of the chat plugin
2011-07-03 11:35:28+0000 <chr15m> what i am trying to test is that the touch()
that is triggered by the preprocess() causes the state update to get called,
right?
2011-07-03 11:37:26+0000 <dachary> wether or not the action=state is called is
for the client to decide, I don't think you need to test that. What you're
trying to assert is that the service.poll() method returns as a side effect of
chat.touch() being called
2011-07-03 11:38:01+0000 <dachary> when poll returns, the client will decide to
call action=state to retrieve the updated content of the chat
2011-07-03 11:38:16+0000 <dachary> chr15m: I think I know what is confusing you
2011-07-03 11:38:55+0000 <dachary> poll() does not convey any information. It
just returns when something is available. Retrieving the actual content of what
has changed is not for poll() to do
2011-07-03 11:39:00+0000 <dachary> does that help ?
2011-07-03 11:39:52+0000 <chr15m> so i should have an instance of the chat
plugin
2011-07-03 11:40:40+0000 <chr15m> so i need to set up a service.poll() first,
and then test that it returns when i run that chat instance's preprocess()
method?
2011-07-03 11:40:59+0000 <dachary> yes
2011-07-03 11:41:27+0000 <chr15m> alright let me check my code again, thanks :)
2011-07-03 11:44:03+0000 <chr15m> dachary: so i have d =
self.service.poll({'action': ['poll'], 'type': ['chat'], 'modified': [0]})
2011-07-03 11:44:16+0000 <chr15m> and d.addCallback(check)
2011-07-03 11:44:21+0000 <chr15m> but check() never gets called
2011-07-03 11:45:58+0000 <dachary> push it in your git and I'll figure it out
after lunch. It may be a bug in my implementation.
2011-07-03 11:47:08+0000 <chr15m> dachary: alright
2011-07-03 11:47:16+0000 <chr15m> dachary: it's almost certainly a bug in my
understanding
2011-07-03 11:50:48+0000 <chr15m> dachary: i will send email now
2011-07-03 11:55:43+0000 <chr15m> sent :)
2011-07-03 12:16:34+0000 <dachary> chr15m: looking at it right now
2011-07-03 12:16:41+0000 <chr15m> dachary: thanks!
2011-07-03 12:22:42+0000 <dachary> chr15m: nothing obviously wrong in your
code. I'm running with the debugger now.
2011-07-03 12:22:53+0000 <chr15m> dachary: cool, good to know!
2011-07-03 12:25:38+0000 <dachary> got it
2011-07-03 12:25:45+0000 <dachary> You need to
self.service.pollable_plugins.append(chat_instance)
2011-07-03 12:26:14+0000 <dachary> which is what's done when you --plugins
'chat auth' at the top level
2011-07-03 12:26:35+0000 <dachary> at /cardstories/cardstories/plugins.py
2011-07-03 12:27:10+0000 <dachary> since you create the plugin by yourself,
service has no way to know about it and you must add it to the list, as if it
was loaded by the plugins class
2011-07-03 12:28:02+0000 <dachary> chr15m: http://pastebin.com/jf2MgQKa this is
the full patch I used to make sure it works
2011-07-03 12:28:11+0000 <dachary> bbl
2011-07-03 12:28:23+0000 <chr15m> dachary: great, thanks
2011-07-03 12:40:26+0000 arbrandes (arbrandes) is now online
2011-07-03 12:40:34+0000 <chr15m> goodnight all!
2011-07-03 12:42:04+0000 <arbrandes> good morning all!
2011-07-03 12:42:06+0000 <arbrandes> lol
2011-07-03 13:09:27+0000 <tartarugafeliz> :D
2011-07-03 13:49:52+0000 arbrandes (arbrandes) is now online
2011-07-03 14:01:12+0000 * dachary upgrading cardstori.es to 1.0.6
2011-07-03 14:59:07+0000 <dachary> done
2011-07-03 15:11:24+0000 arbrandes (arbrandes) is now online
2011-07-03 16:18:02+0000 <dachary> blanchard: you're here ?
2011-07-03 18:07:47+0000 <blanchard> dachary: back for a little time
2011-07-03 18:07:50+0000 <blanchard> hi
2011-07-03 19:40:56+0000 arbrandes (arbrandes) is now online
2011-07-03 19:45:39+0000 <dachary> back
2011-07-03 19:49:47+0000 antoviaque (antoviaque) is now online
2011-07-03 19:50:27+0000 <antoviaque> hi!
2011-07-03 19:50:38+0000 * antoviaque is glad to be back :)
2011-07-03 19:53:40+0000 <antoviaque> arbrandes: around?
2011-07-03 19:54:00+0000 <arbrandes> antoviaque, hi man, how's it going?
2011-07-03 19:54:07+0000 <antoviaque> very well :)
2011-07-03 19:54:26+0000 <antoviaque> spent the week-end speaking about free
software with geeks, nothing better for morale :D
2011-07-03 19:54:34+0000 <arbrandes> ahhhh, nothing like it, indeed
2011-07-03 19:54:38+0000 <antoviaque> hehe
2011-07-03 19:54:45+0000 <antoviaque> so so
2011-07-03 19:54:49+0000 <arbrandes> gives a warm, fuzzy feeling inside
2011-07-03 19:54:58+0000 <antoviaque> :)
2011-07-03 19:55:29+0000 <antoviaque> we're reaching the end of the week, and
I've got the opportunity to discuss with dachary, blanchard and tartarugafeliz
about the position
2011-07-03 19:55:47+0000 <antoviaque> and I'm happy to report that you're
everyone's choice - you get the job :)
2011-07-03 19:55:57+0000 <arbrandes> Whoa, really? Cooooooool
2011-07-03 19:56:02+0000 <antoviaque> :D
2011-07-03 19:56:36+0000 <dachary> \o/
2011-07-03 19:56:42+0000 <dachary> arbrandes: welcome on board
2011-07-03 19:56:46+0000 <antoviaque> actually, everyone feel very lucky to
have found you, so thanks to you for finding this place ;p
2011-07-03 19:56:55+0000 <arbrandes> This definitely closes the week with a
golden key, as we say here in Brasil!
2011-07-03 19:57:03+0000 <arbrandes> Thanks for the vote of confidence,
everybody
2011-07-03 19:57:03+0000 <antoviaque> hehe :)
2011-07-03 19:57:27+0000 <antoviaque> you're welcome :)
2011-07-03 19:57:47+0000 <antoviaque> and you, are you still interested ? :p
2011-07-03 19:58:02+0000 <arbrandes> I can honestly say these past two weeks
were a lot of fun working with you guys. And... well, enough of speeches, lol
2011-07-03 19:58:13+0000 <antoviaque> hehehe
2011-07-03 19:58:39+0000 <antoviaque> There will only be the practical matters
to solve
2011-07-03 19:58:43+0000 <arbrandes> antoviaque, sure, it's just a matter of
working out the details, I guess. This feels too right to pass
2011-07-03 19:58:52+0000 <antoviaque> :)
2011-07-03 19:59:47+0000 <antoviaque> one of the big things, is the topic of
full time - I think it would make a world of difference to have your here full
time - but I know you had some reticences about that
2011-07-03 20:00:03+0000 <antoviaque> how do you feel about it now?
2011-07-03 20:01:13+0000 <arbrandes> antoviaque, yes that is the "big detail",
isn't it. :) I can tell you one thing, I certainly WANT to get on board full
time. But that may not be possible for a couple of weeks yet, I'd have to make
a decent hand-off at my current job.
2011-07-03 20:01:41+0000 <arbrandes> I would, of course, give an actual date on
that ASAP
2011-07-03 20:01:52+0000 <antoviaque> I understand - and it's always a good
thing to leave things gracefuly
2011-07-03 20:02:03+0000 <arbrandes> I just have to discuss it with my current
boss
2011-07-03 20:02:35+0000 <antoviaque> how do you feel about the financial
visibility? I know it was your main concern
2011-07-03 20:03:58+0000 <arbrandes> How do I feel? Let me put it this way: if
I don't risk this now, I think I'd regret it for the rest of my life. Yes,
it's a bit scary, but, well, life is scary, but it can be fun if you take the
right opportunities (which I think this is).
2011-07-03 20:04:14+0000 <antoviaque> ahah, good thinking :D
2011-07-03 20:05:44+0000 <antoviaque> in any case, no worries - take the time
to do it right, it's the least that farsides can do for your current employer
for stealing you :)
2011-07-03 20:06:45+0000 <arbrandes> antoviaque, hehehe, thanks, I try not to
burn bridges, it it's at all possible.
2011-07-03 20:07:04+0000 <arbrandes> *if it's
2011-07-03 20:07:13+0000 <antoviaque> yup, my thinking too
2011-07-03 20:08:19+0000 <antoviaque> other topic - not sure if you had
finished the money/contract talk with blanchard - in any case it would be good
to have a chat with him tomorrow
2011-07-03 20:09:57+0000 <arbrandes> antoviaque, the baseline figures have been
discussed, I think it really is a matter of ironing out details. So yes, a
chat would be in order.
2011-07-03 20:10:09+0000 <antoviaque> ok
2011-07-03 20:10:48+0000 <antoviaque> and the last thing on my list is the
scrum experiment
2011-07-03 20:10:55+0000 <arbrandes> go ahead
2011-07-03 20:11:57+0000 <antoviaque> I'd like to try it out, and see how it
goes - maybe a one month experiment that we debrief
2011-07-03 20:12:37+0000 <arbrandes> sounds like a good strategy to me
2011-07-03 20:12:53+0000 <antoviaque> and since you said you'd be interested in
taking on the scrum master hat, I'd like to see how you'd manage it
2011-07-03 20:13:29+0000 <arbrandes> Alright, I could do that
2011-07-03 20:13:53+0000 <antoviaque> I haven't discussed it thoroughly with
anyone yet, so this is subject to other's comments, but I'd like to give you a
white card to implement it - with a few guidelines :)
2011-07-03 20:14:19+0000 <arbrandes> Always guidelines, please guidelines, I
like guidelines. :)
2011-07-03 20:14:22+0000 <antoviaque> you would have the complete owenership of
this, so this is more advice actually
2011-07-03 20:15:54+0000 <antoviaque> to pay attention to two things: going
very progressively rather than a big sudden change, and in a way that fits
everyone's beliefs of Farsides' core values
2011-07-03 20:16:52+0000 <arbrandes> Ok, that makes sense to me. I don't
imagine coming in and changing everything around. That would be too disruptive.
2011-07-03 20:17:05+0000 <arbrandes> Small steps
2011-07-03 20:17:19+0000 <antoviaque> ie to base it on what works today, not
hesitating to change things but in a way that goes well with everyone
2011-07-03 20:17:36+0000 <antoviaque> yup :)
2011-07-03 20:18:27+0000 <antoviaque> then on the how, I'll leave it up to you
:)
2011-07-03 20:19:26+0000 <arbrandes> Well, from my experience, the hardest part
is getting everybody to show up on time for daily meetings. If that works, the
rest is practically mechanical. Scrum is supposed to be, after all, a
light-weight process.
2011-07-03 20:19:51+0000 <antoviaque> hehe, yep :)
2011-07-03 20:20:45+0000 <antoviaque> So, congratulations - and welcome to
Farsides :D
2011-07-03 20:21:30+0000 <arbrandes> Thanks again, Xavier, this really made my
day. And waddya know, almost July 4th! Independence Day! :P
2011-07-03 20:22:12+0000 <antoviaque> :p
2011-07-03 20:22:41+0000 <arbrandes> (And you know what? If money starts to
run out, I like your company's idea so much that I might start looking for
investors myself, hahahaha)
2011-07-03 20:23:27+0000 <arbrandes> (for Farsides, I mean!)
2011-07-03 20:23:57+0000 <antoviaque> arbrandes: ah, help would certainly come
in handy in any case :D
2011-07-03 20:25:06+0000 <arbrandes> Ok then, this deserves a beer!
2011-07-03 20:25:34+0000 * arbrandes cheers
2011-07-03 20:25:55+0000 <antoviaque> hehe, cheers! :)
2011-07-03 20:27:28+0000 <arbrandes> Ack!!! No beer!! A quick trip to the
supermarket is in order. Be back in a few minutes. ;)
2011-07-03 20:27:40+0000 <antoviaque> ahah, see you :)
2011-07-03 20:38:01+0000 <antoviaque> actually login out for the night - see
you!
2011-07-03 20:58:51+0000 <arbrandes> See you, Xavier!
_______________________________________________
Farsides mailing list - [email protected]
Wiki: http://farsides.com/
List: http://farsides.com/ml/
Forum: http://farsides.com/forum/
Ideas: http://farsides.com/ideas/
Chat: http://farsides.com/chat/