Hi, Here is the log of the chatroom at http://farsides.com/chat/ (or irc://irc.freenode.net/#farsides) for the 2011-06-07.
2011-06-07 00:27:42+0000 <romulo> dachary, wondering how to test for listen() in Service.py since it auto recalls listen() 2011-06-07 00:27:58+0000 <romulo> dachary, wondering how to test for listen() in Service.py since it auto recalls listen() 2011-06-07 00:28:00+0000 <romulo> ops sorry 2011-06-07 01:13:42+0000 ejucovy (ejucovy) is now online 2011-06-07 01:20:16+0000 ejucovy (ejucovy) is now online 2011-06-07 01:56:10+0000 ejucovy (ejucovy) is now offline 2011-06-07 06:06:29+0000 dachary (dachary) is now online 2011-06-07 08:01:25+0000 da (da) is now online 2011-06-07 08:25:41+0000 dachary (dachary) is now online 2011-06-07 09:22:18+0000 <da> hi dachary 2011-06-07 09:23:06+0000 <da> when you have a little time, i'll be curious to know what you think of http://farsides.com/blog/members/blanchard/activity/822/ 2011-06-07 09:23:59+0000 <dachary> hi 2011-06-07 09:24:04+0000 <antoviaque> (08:26:39 PM) dachary: antoviaque: did you prevail in your battle against sparkleshare ? => yep, I ended up being able to compile, and it seems to work. But I want to wait a bit and see if tartaruga has issues when she actually uses it before declaring victory ;p 2011-06-07 09:24:07+0000 <antoviaque> hi dachary : ) 2011-06-07 09:24:51+0000 * dachary fighting with a rebase 2011-06-07 10:01:04+0000 * dachary learnt a git lesson 2011-06-07 10:01:25+0000 <dachary> and the plugins branch is clean again ;_0 2011-06-07 10:01:27+0000 <dachary> :-) 2011-06-07 10:06:31+0000 <da> solo mode was primarily meant for first contact with game so how do we use it to answer the need for tutorial ? I have two options in mind 2011-06-07 10:06:59+0000 <da> are some options already listed as tickets ? 2011-06-07 10:07:13+0000 <antoviaque> it's in Charles' specifications yep 2011-06-07 10:07:36+0000 * da reading 2011-06-07 10:07:46+0000 <antoviaque> at the end 2011-06-07 10:08:12+0000 tempuramerino (tempuramerino) is now online 2011-06-07 10:10:57+0000 <da> ok i've re-read Charles post on buddypress 2011-06-07 10:11:13+0000 <da> (which is wher he talks about tuto if i'm correct) 2011-06-07 10:11:31+0000 <antoviaque> more about how to chose the games & player 2011-06-07 10:11:37+0000 <antoviaque> which is a first step 2011-06-07 10:11:45+0000 <antoviaque> and on the wiki 2011-06-07 10:11:46+0000 <da> hmm 2011-06-07 10:11:48+0000 <da> ok 2011-06-07 10:12:55+0000 <da> i'm not sure where he talks about tutorial antoviaque, I'm checking http://farsides.com/wiki/Card_Stories_-_Solo_Mode#How_to_chose_which_virtual_player_the_real_player_will_replace.3F 2011-06-07 10:13:03+0000 <da> but i don't see it 2011-06-07 10:13:51+0000 <da> for instance my questions would be 2011-06-07 10:14:25+0000 <dachary> antoviaque: did tartarugafeliz published graphics that I can work with ? I'm not sure where to look. http://pastebin.com/kWAWvXFJ suggests there is nothing new yet. Did I miss anything ? 2011-06-07 10:14:52+0000 <da> is there a specific button on the lobby, like "learn how to play", which is the same as the solo mode but adds some messages to explain the game to the player step by step ? 2011-06-07 10:15:07+0000 <da> i mean should we add this button 2011-06-07 10:15:09+0000 <da> or 2011-06-07 10:15:30+0000 <da> do you think that just with the description that we plan to add on the home page 2011-06-07 10:15:32+0000 <da> + 2011-06-07 10:15:36+0000 <da> solo and multi 2011-06-07 10:15:41+0000 <da> we're good 2011-06-07 10:16:02+0000 <antoviaque> dachary: nope, only what she did on Sunday morning and that is still in the pending for review - she wasn't able to work sunday afternoon due to the sparkleshare issue and I didn't look at her changes yet 2011-06-07 10:16:35+0000 <dachary> antoviaque: thanks for the confirmation 2011-06-07 10:17:48+0000 <antoviaque> da: cf what I said earlier - before building the tutorial, the idea is to get the solo mode working, and then to build a tutorial on top of it 2011-06-07 10:18:50+0000 <antoviaque> so before looking into that, we need to solve stuff like: what games are fun to play alone, how do we chose which player we replace in solo 2011-06-07 10:19:27+0000 <antoviaque> and imho I think the second review of the design by Deborah & Laurent should be done before the tutorial too, as this would likely impact it too 2011-06-07 10:19:51+0000 <dachary> I tried to explain the game to someone this morning, using the solo mode. My speech was good. But the solo mode did not help at all. It did not go well. 2011-06-07 10:20:13+0000 <antoviaque> in a nutshell - we need to work on the intuitiveness before isolating what we would really need to explicitely explain 2011-06-07 10:20:33+0000 <dachary> The first blocker I see is that I need to explain where the phrase comes from. 2011-06-07 10:21:53+0000 <antoviaque> dachary: true 2011-06-07 10:21:55+0000 <da> dachary: it did not go weel because he did not understand ? Or did not find it fun once understood ? Or both ? 2011-06-07 10:22:06+0000 <dachary> He did not understand. 2011-06-07 10:22:25+0000 <dachary> I tried to explain. We did not try to play. 2011-06-07 10:22:33+0000 <antoviaque> something else which is hard to understand is "what is happening? what are those cards from? who chose what?" 2011-06-07 10:23:00+0000 <antoviaque> I played Magic yesterday, on PC 2011-06-07 10:23:02+0000 <dachary> maybe so, but it was not an issue here. 2011-06-07 10:23:44+0000 <antoviaque> It's interesting, since they also port a card game 2011-06-07 10:24:04+0000 <antoviaque> and there is something similar in the approach to poker games too - we see the game board 2011-06-07 10:24:21+0000 <antoviaque> ie the player hands, the cards that have been chosen, etc. 2011-06-07 10:24:44+0000 <antoviaque> it's easier to understand what's going on, since it's similar to what happens around a real table 2011-06-07 10:25:14+0000 <antoviaque> tartaruga saw this and noted a few ideas that she wanted to explore - would be good to discuss it with her&laurent 2011-06-07 10:26:19+0000 <da> antoviaque: ok. But i'm not completely sure about your idea of working a lot on accessibility before adding any explicit text to explain 2011-06-07 10:26:51+0000 * dachary upgrading cardstori.es with the latest commits from rogerio 2011-06-07 10:27:17+0000 <antoviaque> https://www.youtube.com/watch?v=UHP3rvYa2Rw 2011-06-07 10:27:21+0000 <da> it might take a lot of efforts, and it's a blocker for testing - and we have already identifed a few keypoints that will need to be explained even when accessibility is improved 2011-06-07 10:28:01+0000 <antoviaque> da: what would take a lot of efforts? 2011-06-07 10:28:24+0000 <dachary> da antoviaque shift-F5 is *highly* recommended 2011-06-07 10:28:34+0000 <dachary> upgrade complete 2011-06-07 10:30:13+0000 <da> i mean that accessibility can be a never ending pocess. And if I tkae dachary's exemple, where the phrase comes from, it should be explained the first time imho. So both accessibility and tuto should be parallelized i think 2011-06-07 10:30:36+0000 <da> tuto for the elements that we know will need more than accessibility to be understood 2011-06-07 10:33:00+0000 * dachary failed the upgrade 2011-06-07 10:33:00+0000 <antoviaque> da: but until we get there, why can't we simply add the missing explanations or elements on the design, without any specific tutorial logic? For me this the 2nd pass on the design by Deborah&Laurent, based on the elements that have been identified (like the recap of the goals, etc. 2011-06-07 10:34:23+0000 <antoviaque> dachary: added the feedback from your playtest on http://tickets.farsides.com/issues/57 - thx! 2011-06-07 10:34:35+0000 <da> because these elements become useless after 1 or 2 games once it is understood by the player, and eat unnecessary space on the screen. That is why i was thinking of a specific tutorial. You see what i mean ? 2011-06-07 10:34:52+0000 <antoviaque> yup, but that's secondary I think here, no? 2011-06-07 10:35:15+0000 * dachary lost a commit.... 2011-06-07 10:35:30+0000 <antoviaque> and it's a good incentive to keep those explanations to the essential 2011-06-07 10:35:47+0000 <antoviaque> What I fear if we start adding a tutorial today is: 2011-06-07 10:36:31+0000 <antoviaque> 1) We'll have to redo it a lot (even if we can't avoid that, given the number of changes we do on the interface now, it won't last long) 2011-06-07 10:36:50+0000 <antoviaque> 2) We'll pile up explanations there instead of trying to make it intuitive 2011-06-07 10:38:17+0000 <antoviaque> I think what you say can be done, but it should be integrated to Deborah&Laurent's pending work (Which is itself based partially on Charles' work) 2011-06-07 10:38:30+0000 <antoviaque> not to a separate tutorial 2011-06-07 10:39:39+0000 <da> for me the tutorial is really the solo mode with a few additional design with text. The advantage is that we won't have to change the solo and multi that should stay as accessible as possible (meaning not too much information). For your 2), i agree, it should be reduced to the few keypoints which we are sure need a little explanation as we discover in the playtests. 2011-06-07 10:40:04+0000 <antoviaque> da for now solo & multi = exactly the same thing codewise 2011-06-07 10:40:12+0000 <antoviaque> adding a tutorial would start to branch out stuff 2011-06-07 10:42:25+0000 <dachary> upgrade complete (again) with more commits 2011-06-07 10:43:22+0000 <dachary> it looks like it's working (spectacular change on the invitation page) 2011-06-07 10:43:24+0000 <dachary> bbl 2011-06-07 11:43:12+0000 tartarugafeliz (tartarugafeliz) is now online 2011-06-07 11:51:10+0000 <antoviaque> blanchard: I don't remember if there is a gandi id for farsides already? there is the renewal of farsides.com/net/... coming up in august 2011-06-07 11:51:29+0000 <antoviaque> but we'll probably want to have changed the name from dx games to farsides before doing this I think 2011-06-07 11:51:54+0000 <antoviaque> hmmm, err, nope, it's for the change of ownership that it will be needed 2011-06-07 11:52:50+0000 <antoviaque> (currently I own the domain names we have registred until now, except for cardstori.es which was registered by dachary) 2011-06-07 12:04:38+0000 tartarugafeliz (tartarugafeliz) is now online 2011-06-07 12:13:18+0000 da (da) is now online 2011-06-07 12:18:09+0000 <antoviaque> da: 2011-06-07 12:18:10+0000 <antoviaque> (01:51:10 PM) antoviaque: blanchard: I don't remember if there is a gandi id for farsides already? there is the renewal of farsides.com/net/... coming up in august 2011-06-07 12:18:10+0000 <antoviaque> (01:51:30 PM) antoviaque: but we'll probably want to have changed the name from dx games to farsides before doing this I think 2011-06-07 12:18:10+0000 <antoviaque> (01:51:54 PM) antoviaque: hmmm, err, nope, it's for the change of ownership that it will be needed 2011-06-07 12:18:10+0000 <antoviaque> (01:52:51 PM) antoviaque: (currently I own the domain names we have registred until now, except for cardstori.es which was registered by dachary) 2011-06-07 12:19:15+0000 <da> antoviaque: your question is regarding the gandi id ? 2011-06-07 12:19:40+0000 <antoviaque> yep 2011-06-07 12:19:55+0000 <antoviaque> to put it at least as billing contact 2011-06-07 12:23:29+0000 <da> antoviaque: i'll have a look this afternoon and let you know 2011-06-07 12:23:35+0000 <da> bbl 2011-06-07 12:23:45+0000 <antoviaque> ok 2011-06-07 12:27:13+0000 tempuramerino (tempuramerino) is now online 2011-06-07 12:42:43+0000 dachary (dachary) is now online 2011-06-07 12:43:13+0000 <dachary> back 2011-06-07 12:58:43+0000 tempuramerino (tempuramerino) is now online 2011-06-07 13:02:54+0000 romulo (romulo) is now online 2011-06-07 13:02:57+0000 <romulo> good morning 2011-06-07 13:04:31+0000 <romulo> dachary, on http://tickets.farsides.com/issues/47 i banged my head against the wall like 2^10 times to try to see "in notifier.py function action_triggered there is no need to inlineCallbacks. The same goes for get_email_from_id and probably other functions." this. But my code uses auth.postprocess and it is a deferred itself, making me call it with a yield in get_email_from_id and other places. How do you expected me to use auth.postprocess without @de 2011-06-07 13:04:31+0000 <romulo> fer.inlineCallbacks? 2011-06-07 13:04:58+0000 <dachary> morning 2011-06-07 13:12:57+0000 <dachary> romulo: here is how action_triggered could be written http://pastebin.com/TK9gbvKi 2011-06-07 13:13:08+0000 <dachary> I'm not saying it is wrong to have inlineCallbacks 2011-06-07 13:13:18+0000 <dachary> I'm saying it's not necessary 2011-06-07 13:14:07+0000 <dachary> in this specific case the inlineCallback leads to a code slightly more difficult to read because I was looking for the reason to use inlineCallback 2011-06-07 13:14:13+0000 <dachary> this is a minor point 2011-06-07 13:14:14+0000 <romulo> dachary, can you please show me how get_email_from_id should be written? I rewrote all the code until i faced get_email_from_id 2011-06-07 13:14:29+0000 <romulo> because auth.postprocess returns a deferred 2011-06-07 13:14:41+0000 <romulo> i would have to add a callback to it to return the results, and i got lost :( 2011-06-07 13:14:52+0000 <romulo> but if its ok, i will leave it as a inlineCallback 2011-06-07 13:14:58+0000 <romulo> wasted many hours trying to solve it :( 2011-06-07 13:17:15+0000 <dachary> romulo: http://pastebin.com/4ivdttum 2011-06-07 13:17:28+0000 <dachary> (without the @defer.inlineCallbacks ) 2011-06-07 13:17:43+0000 <dachary> http://pastebin.com/Eqttzvu8 2011-06-07 13:18:19+0000 <dachary> romulo: http://pastebin.com/kWinZFM7 2011-06-07 13:18:25+0000 <dachary> (used res instead of result) 2011-06-07 13:19:27+0000 <romulo> does this returns synchronously? 2011-06-07 13:20:03+0000 <dachary> I don't understand the question 2011-06-07 13:20:49+0000 <dachary> I think there is some fundamental concept behind deferred & yield that still eludes you and makes you confused. 2011-06-07 13:21:00+0000 <dachary> I'm not sure what it is exactly though. 2011-06-07 13:21:46+0000 <romulo> dachary, if you dont mind, lets try to clear this. Following the API docs, deferred is just a way to postpone a call. You can make a call work asynchronously. Using @inlinecallbacks, you can write asynchronous code like if it was synchronous, by using yield 2011-06-07 13:21:49+0000 <romulo> is that right? 2011-06-07 13:21:54+0000 <dachary> I should say deferred & yield & decorators 2011-06-07 13:23:25+0000 <dachary> romulo: it's not correct 2011-06-07 13:23:37+0000 <dachary> yield is not asynchronous 2011-06-07 13:23:50+0000 <romulo> yield generates a decorator 2011-06-07 13:23:52+0000 <romulo> ? 2011-06-07 13:24:19+0000 <dachary> http://docs.python.org/reference/simple_stmts.html#the-yield-statement 2011-06-07 13:25:03+0000 <romulo> dachary, http://twistedmatrix.com/documents/10.0.0/api/twisted.internet.defer.html#inlineCallbacks -> i was looking for that. 2011-06-07 13:25:13+0000 <dachary> http://wiki.python.org/moin/PythonDecorators#What_is_a_Decorator 2011-06-07 13:27:50+0000 <dachary> bbl 2011-06-07 13:27:50+0000 <romulo> yeah, meant "generator" 2011-06-07 13:27:53+0000 <romulo> my bad. 2011-06-07 13:29:46+0000 <romulo> my bad. 2011-06-07 13:29:51+0000 <romulo> ops sorry =p 2011-06-07 13:59:35+0000 <antoviaque> hi romulo : ) 2011-06-07 14:09:01+0000 <romulo> antoviaque, hi there 2011-06-07 14:09:05+0000 <romulo> antoviaque, how are you? 2011-06-07 14:09:26+0000 <antoviaque> good good : ) 2011-06-07 14:09:41+0000 <antoviaque> a bit tired, played magic until 3:30am ;p 2011-06-07 14:09:50+0000 <antoviaque> and you? 2011-06-07 14:10:33+0000 <romulo> tired too 2011-06-07 14:10:39+0000 <romulo> tried to fix the patch until 3:30am =P 2011-06-07 14:36:31+0000 <antoviaque> damned! : ) 2011-06-07 14:37:11+0000 <antoviaque> and you did it? (apart from the inlincallbacks you mentioned above) 2011-06-07 14:41:18+0000 <romulo> it should work once i clear the callback problem 2011-06-07 14:41:28+0000 <romulo> everything else is working here (or was) 2011-06-07 14:41:49+0000 <antoviaque> cool : ) 2011-06-07 14:41:52+0000 <romulo> i still dont quite understand get_email_from_id when built the way dachary did it 2011-06-07 14:42:59+0000 <antoviaque> not sure what's in that method, but I'm sure you'll figure it out : ) 2011-06-07 14:43:16+0000 <antoviaque> if you're stuck don't hesitate to ask me if you want me to have a look 2011-06-07 14:46:20+0000 tempuramerino (tempuramerino) is now online 2011-06-07 14:47:04+0000 <antoviaque> romulo: btw when is it a good day/time to try out the playtest? would be cool to do it with you 2011-06-07 14:49:19+0000 <romulo> antoviaque, as soon as i fix those problems, i can get on schedule again. I am sincerely feeling lost right now. This code required so much time that i felt i lost myself. I hope i merge soon 2011-06-07 14:54:35+0000 <antoviaque> romulo: ok 2011-06-07 14:55:45+0000 <antoviaque> when you're finished with this merge, let's do your 121 then, to see how we can try to avoid putting you in this situation again 2011-06-07 15:02:37+0000 <romulo> 121? 2011-06-07 15:08:29+0000 <dachary> back 2011-06-07 15:18:50+0000 <antoviaque> one-to-one 2011-06-07 15:19:08+0000 <antoviaque> Remember the meeting we had about priorities? I talked about it back then 2011-06-07 15:20:01+0000 <antoviaque> it's an individual meeting, every two weeks for each contractor, to discuss what is ok/not ok, and try to find solutions 2011-06-07 15:21:16+0000 <romulo> antoviaque, oh ok 2011-06-07 15:21:43+0000 <romulo> dachary, how i can make sure to get the deferred result from get_player_from_id ? 2011-06-07 15:21:58+0000 <romulo> self.auth.postprocess returns a deferred right? 2011-06-07 15:22:14+0000 <romulo> addCallback will then call whatever callbacks are registered to it when it resolves - ok ? 2011-06-07 15:25:33+0000 <romulo> bbs 2011-06-07 15:33:53+0000 <dachary> back 2011-06-07 15:34:42+0000 <dachary> romulo: I'm not sure to understand what you mean 2011-06-07 15:39:58+0000 <romulo> dachary, the get_email_from_id you gave me 2011-06-07 15:40:48+0000 <dachary> yes, what about it ? I did not test it, I hope it works. I don't unit test the snippets I paste in pastebin ;-) 2011-06-07 15:41:04+0000 <romulo> dachary, it returns a deferred right? 2011-06-07 15:41:09+0000 <dachary> yes it does 2011-06-07 15:41:23+0000 <dachary> so does your version 2011-06-07 15:41:29+0000 <romulo> yep 2011-06-07 15:42:10+0000 <romulo> I really dont see the point of not using @defer.inlineCallbacks, can you explain it to me? 2011-06-07 15:43:09+0000 <dachary> in this case it's about equivalent. However, it is troubling that the current implement eludes you. Would you like me to explain how it works ? 2011-06-07 15:43:29+0000 <dachary> current implement => the code I pastebin 2011-06-07 15:44:38+0000 <dachary> the use of inlinCallback is usually interesting when there are more than one function returning a deferred involved 2011-06-07 15:45:00+0000 <romulo> dachary, but there is :P 2011-06-07 15:45:47+0000 <romulo> (locally) for def action_pick for example, i use get_email_from_id twice (in 2 diff places) 2011-06-07 15:46:11+0000 <romulo> it seems to me that returning a deferred breaks the code flow, since i have to plug some callback when it resolves 2011-06-07 15:46:15+0000 <dachary> I should say : more than one function returning a deferred in sequence (not one in each branch of an if ;-) 2011-06-07 15:46:17+0000 <romulo> but sure, explain to me how it works 2011-06-07 15:46:25+0000 <dachary> take a look at def game_notify(self, args, game_id): 2011-06-07 15:46:32+0000 <dachary> yield self.notify({'type': 'change', 'game': game, 'details': args}) 2011-06-07 15:46:32+0000 <dachary> for player_id in game.get_players(): 2011-06-07 15:46:32+0000 <dachary> yield self.players[player_id].touch(args) 2011-06-07 15:46:32+0000 <dachary> if self.players.has_key(player_id): 2011-06-07 15:46:55+0000 <dachary> if you try to do this without @defer.inlineCallbacks it's going to be very difficult to read 2011-06-07 15:47:10+0000 <dachary> in this case, there is no doubt, a inlineCallback is to be preferred 2011-06-07 15:47:26+0000 <romulo> ok, please go on 2011-06-07 15:47:36+0000 <dachary> omulo: (locally) for def action_pick for example, i use get_email_from_id twice (in 2 diff places) 2011-06-07 15:48:40+0000 <dachary> When I mean "there must be more than one function returning a deferred" I'm referring to the body of the function ( get_email_from_id ) not the fact that it is called multiple times. 2011-06-07 15:48:54+0000 <dachary> The number of times it is called is irrelevant. 2011-06-07 15:49:03+0000 <romulo> dachary, and what about the other functions? 2011-06-07 15:49:15+0000 <romulo> like action_triggered 2011-06-07 15:49:24+0000 <dachary> Let's stick to get_email_from_id for now. 2011-06-07 15:49:53+0000 <romulo> ok, what else? 2011-06-07 15:50:21+0000 <dachary> romulo: do you understand how my implementation works ? 2011-06-07 15:50:49+0000 <romulo> the pastebin one? 2011-06-07 15:50:52+0000 <dachary> (I'm sorry to ask twice, just making sure we agree to avoid misunderstandings ;-) 2011-06-07 15:50:53+0000 <dachary> yes 2011-06-07 15:51:27+0000 <dachary> the pastebin implementation, do you understand how it works or would you like me to explain how it is equivalent to your implementation ? 2011-06-07 15:51:28+0000 <romulo> dachary, from my POV it returns a deferred that will call the lambda function (Returning what i need) when self.auth.postprocess resolves 2011-06-07 15:51:44+0000 <dachary> romulo: yes it does 2011-06-07 15:51:48+0000 <romulo> ok 2011-06-07 15:52:06+0000 <dachary> is there anything in my implementation that you don't understand ? 2011-06-07 15:52:13+0000 <romulo> no 2011-06-07 15:52:20+0000 <dachary> ok 2011-06-07 15:52:30+0000 <romulo> Is not get_email_from_id that bothers me 2011-06-07 15:52:32+0000 <dachary> then you agree that it's 100% equivalent to your implementation ? 2011-06-07 15:52:42+0000 <romulo> but how to access it without yield in the other functions 2011-06-07 15:53:50+0000 <dachary> romulo: my implementation is 100% identical to yours. The caller does not need to be changed. Why do you think it is not 100% equivalent and that you need to change how the function is called ? 2011-06-07 15:53:59+0000 <romulo> i dont think that :P 2011-06-07 15:54:16+0000 <romulo> im talking about "in notifier.py function action_triggered there is no need to inlineCallbacks. The same goes for get_email_from_id and probably other functions." 2011-06-07 15:54:21+0000 <dachary> then use yield in the caller if you need 2011-06-07 15:56:38+0000 <dachary> "Is not get_email_from_id that bothers me but how to access it without yield in the other functions" I think this phrase shows your confusion. Could you rephrase this by explaining why you try to "access it without yield". 2011-06-07 15:58:54+0000 <romulo> ^ i pasted your comment on the ticket. And it says "in notifier.py function action_triggered there is no need to inlineCallbacks" 2011-06-07 15:59:07+0000 <romulo> is it my confusion or "yield" does not have anything to do with @defer.inlineCallbacks? 2011-06-07 16:01:28+0000 <dachary> yield has everything to do with @defer.inlineCallbacks *in* the function it decorates ( @defer.inlineCallbacks is a decorator that applies to the function just under it ). It would be useless to use @defer.inlineCallback if the function did not use yield. But it has nothing to do with the caller of the function. Does that make sense ? 2011-06-07 16:02:10+0000 <romulo> it does 2011-06-07 16:02:41+0000 <dachary> Does it allow you to answer "Is not get_email_from_id that bothers me but how to access it without yield in the other functions" ? 2011-06-07 16:02:49+0000 <romulo> then, what i mean is that "in notifier.py function action_triggered there is no need to inlineCallbacks" but action_triggered needs to yield other functions, that needs to yield get_email_from_id 2011-06-07 16:04:36+0000 <dachary> You are mistaken 2011-06-07 16:04:58+0000 <dachary> I think you are confused about what yield does 2011-06-07 16:05:18+0000 <dachary> could you describe in your own words what is the semantic of yield ? 2011-06-07 16:05:56+0000 <dachary> action_triggered does *not* need to yield functions 2011-06-07 16:06:49+0000 <dachary> the fact that action_triggered calls a function that uses yield does *not* make it mandatory for it to call yield (if that's what you're confused about but I'm not sure it is) 2011-06-07 16:07:13+0000 <dachary> romulo: we will get to the bottom of this 2011-06-07 16:07:29+0000 <romulo> dachary, thats probably it 2011-06-07 16:08:13+0000 <dachary> try to describe what yield is 2011-06-07 16:08:25+0000 <dachary> that will allow me to point you to your misunderstanding 2011-06-07 16:09:20+0000 <romulo> dachary, suppose we have somefunction() { res = yield f1(); beacon = res; } 2011-06-07 16:10:59+0000 <romulo> res = yield f1(); will make the function "preliminary return - not returning anything" and when the results of f1() are available, will assign it to res, calling someFunction() again but from beacon = res; 2011-06-07 16:11:25+0000 <romulo> dachary, do you know Fibers? 2011-06-07 16:11:43+0000 <dachary> yes i do 2011-06-07 16:12:44+0000 <romulo> I imagine yield working like in a context of a fiber. You get your stack, save it somewhere, and delay the execution until you have some results, then you get the stack back and continue the execution 2011-06-07 16:12:44+0000 <dachary> (give me a minute) 2011-06-07 16:13:18+0000 <romulo> dachary, i gotta go to my other work, im already hours late. I talk to you from there 2011-06-07 16:43:52+0000 <dachary> http://tickets.farsides.com/issues/47#note-24 2011-06-07 17:08:49+0000 antoviaque (antoviaque) is now online 2011-06-07 17:34:19+0000 romulo (romulo) is now online 2011-06-07 17:34:23+0000 <romulo> im back 2011-06-07 17:35:13+0000 <antoviaque> re romulo : ) 2011-06-07 17:35:37+0000 <antoviaque> rogerio: are you around? any luck with symfony? 2011-06-07 18:26:46+0000 antoviaque (antoviaque) is now online 2011-06-07 18:33:40+0000 <dachary> romulo: http://tickets.farsides.com/issues/47#note-24 2011-06-07 18:45:04+0000 <romulo> dachary, yeah 2011-06-07 18:45:25+0000 <romulo> dachary, i guess i was just confused by the fact that functions that call functions that call yield dont need @defer.inlineCallbacks =p 2011-06-07 18:53:22+0000 <dachary> romulo: does this clarify the issue or is there something else ? 2011-06-07 18:53:52+0000 <romulo> dachary, for now i think it does. Its almost done now =P 2011-06-07 18:53:55+0000 <romulo> * i hope * 2011-06-07 18:54:05+0000 <antoviaque> tartarugafeliz: blanchard: dachary: rogerio: romulo: no final objections for the playtest on Thursday 7pm GMT+2? (+beer for those who want/are in Paris). cf http://papillon.peacefrogs.net/poll/vlSIgO1307117288/ for the poll results 2011-06-07 18:54:07+0000 <dachary> I'm glad this is resolved. 2011-06-07 18:54:28+0000 <tartarugafeliz> nope. I'll be there to playtest! :D 2011-06-07 18:54:47+0000 <dachary> I have an objection 2011-06-07 18:54:54+0000 <antoviaque> ah? 2011-06-07 18:55:11+0000 <dachary> I said I was available but I'm not 2011-06-07 18:55:14+0000 <dachary> my bad 2011-06-07 18:55:27+0000 <antoviaque> arg - hmmm... 2011-06-07 18:55:40+0000 <antoviaque> well there is tomorrow evening too 2011-06-07 18:55:45+0000 <antoviaque> Wednesday 7pm 2011-06-07 18:55:57+0000 <antoviaque> it's short notice but if it works, I'm ok 2011-06-07 18:56:16+0000 <dachary> http://www.theatredurondpoint.fr/saison/fiche_spectacle.cfm/90545-semianyki.html 2011-06-07 18:56:52+0000 <antoviaque> uhuh, quite a difference with Thor :p 2011-06-07 18:57:06+0000 <dachary> that's why I'm not available. It was in org-mode but I did not consult orgmode when I said I was available. Which kinds of defeat the whole point of having org-mode around. 2011-06-07 18:57:12+0000 <dachary> antoviaque: ahahah 2011-06-07 18:57:14+0000 <antoviaque> ahahah 2011-06-07 18:57:28+0000 <antoviaque> ok - so let's try again: 2011-06-07 18:58:14+0000 <antoviaque> tartarugafeliz: blanchard: dachary: rogerio: romulo: correction, for Wednesday 7pm GMT+2, ok? (tomorrow - dachary can't on Thursday) 2011-06-07 19:02:53+0000 <romulo> antoviaque, i cant :( 2011-06-07 19:04:22+0000 <antoviaque> romulo: damned : ) when would you be available? 2011-06-07 19:07:28+0000 <romulo> for playtest? thursday at night (gmt -3) 2011-06-07 19:24:18+0000 <dachary> antoviaque: ok for me 2011-06-07 19:24:44+0000 <dachary> thursday 6pm is good for me too 2011-06-07 19:25:01+0000 <dachary> 7pm is *precisely* when I need to go to the theater 2011-06-07 19:25:13+0000 <dachary> 7:30 max 2011-06-07 19:25:27+0000 <dachary> 6pm would be good if it makes it easier for everyone 2011-06-07 19:27:26+0000 <antoviaque> ok - so playtest on Thursday and beer tomorrow? 2011-06-07 19:27:54+0000 <romulo> i cant have beer 2011-06-07 19:27:54+0000 <romulo> =p 2011-06-07 19:28:00+0000 <romulo> damn! 2011-06-07 19:33:55+0000 tempuramerino (tempuramerino) is now online 2011-06-07 19:55:16+0000 <antoviaque> romulo: ahahah, hopefully soon we'll have one : ) 2011-06-07 19:58:32+0000 <antoviaque> tartarugafeliz: blanchard: dachary: rogerio: romulo: => playtest on Thursday 6pm GMT+2 (and beer tomorrow 7pm for those in Paris) 2011-06-07 20:06:57+0000 <dachary> ok 2011-06-07 20:31:57+0000 <romulo> ok 2011-06-07 20:32:09+0000 <romulo> 6pm gmt+2 is an aweful time for me but i will be available 2011-06-07 20:32:32+0000 <antoviaque> first two passes on dev candidates done - if you want to read the answers given to the test of the people who may join for a task soon: http://farsides.com/blog/members/antoviaque/activity/829/ 2011-06-07 20:33:42+0000 <antoviaque> romulo: thanks for making it anyway! 2011-06-07 21:10:53+0000 <dachary> antoviaque: here ? 2011-06-07 21:29:33+0000 <antoviaque> dachary: yep 2011-06-07 21:30:17+0000 <dachary> I plan to work on cardstories tomorrow 2011-06-07 21:30:40+0000 <antoviaque> cool : ) 2011-06-07 21:30:46+0000 <dachary> in your opinion, what would be the most urgent matter with regard to the preparation of the playtest ? 2011-06-07 21:30:52+0000 <antoviaque> hmm, let me see 2011-06-07 21:33:03+0000 <antoviaque> probably that one: http://tickets.farsides.com/issues/74 2011-06-07 21:33:16+0000 <antoviaque> since it relates directly to understanding the rules 2011-06-07 21:33:50+0000 <antoviaque> I know tartaruga worked on it 2011-06-07 21:33:58+0000 <antoviaque> however I haven't checked the result 2011-06-07 21:34:24+0000 <dachary> ok, I took it 2011-06-07 21:35:00+0000 <dachary> that's ~30minutes work. Is there anything else that could be done to improve the playtests ? 2011-06-07 21:35:33+0000 <dachary> I assume romulo's work will be merged but that should not take long either 2011-06-07 21:36:18+0000 <romulo> dachary, i hope, really do to finish it today 2011-06-07 21:36:22+0000 <romulo> will you be on until late? 2011-06-07 21:37:06+0000 <dachary> romulo: it's already late, I don't plan to stay online more than a few minutes (11:37pm here) 2011-06-07 21:38:31+0000 <antoviaque> dachary: for #74, I had a quick look at the repository, the new files seem to be there, although they have been moved 2011-06-07 21:38:32+0000 <romulo> oh ok 2011-06-07 21:38:40+0000 <romulo> dachary, what time do you usually get in the channel? 2011-06-07 21:38:41+0000 <antoviaque> https://gitorious.org/farsides/farsides/blobs/master/cardstories/interface/Author_results/why_balloon.png for example 2011-06-07 21:38:55+0000 <dachary> romulo: ~9:30am CEST 2011-06-07 21:39:07+0000 <dachary> antoviaque: ok 2011-06-07 21:39:20+0000 <antoviaque> dachary: for the rest it's queued in the design tasks lists 2011-06-07 21:39:53+0000 <antoviaque> in code the most useful would be http://tickets.farsides.com/issues/73 2011-06-07 21:40:04+0000 <dachary> antoviaque: I'm not sure what I should do to get a list of the pending integration tasks 2011-06-07 21:41:55+0000 <antoviaque> dachary: depends on which stage - there are two that Deborah took: http://tickets.farsides.com/projects/cardstories/issues?query_id=6 (in progress) 2011-06-07 21:42:24+0000 <antoviaque> dachary: and the graphic design queue of available tasks http://tickets.farsides.com/projects/cardstories/issues?query_id=2 2011-06-07 21:43:16+0000 <antoviaque> but they are poorly specified at this point 2011-06-07 21:43:24+0000 <dachary> antoviaque: I mean what should I look at to figure out what is ready for integration ? 2011-06-07 21:43:37+0000 <antoviaque> it's pending the discussion between tartaruga & laurent 2011-06-07 21:43:44+0000 <antoviaque> ah! 2011-06-07 21:44:07+0000 <antoviaque> the same page as the one where you review code 2011-06-07 21:44:09+0000 <antoviaque> http://tickets.farsides.com/projects/cardstories/issues?query_id=3 2011-06-07 21:45:00+0000 <antoviaque> with #73 it's the most useful to do, although I haven't checked it yet 2011-06-07 21:45:23+0000 <dachary> and the "Graphic design" marked "Ready for review" means that I can integrate them ? I thought it meant that someone with artistic skills should review them or something. 2011-06-07 21:46:00+0000 <antoviaque> dachary: yep, it's the goal of trying to integrate Laurent's role 2011-06-07 21:46:25+0000 <dachary> So laurent should review them before I integrate them ? 2011-06-07 21:46:33+0000 <antoviaque> so far it's me doing it - less on a artistic side than on more project management terms 2011-06-07 21:46:37+0000 <antoviaque> no no 2011-06-07 21:47:02+0000 <antoviaque> Laurent will join the workflow, but progressively 2011-06-07 21:47:11+0000 <antoviaque> I'll review those tickets 2011-06-07 21:47:14+0000 <antoviaque> but 2011-06-07 21:48:03+0000 <antoviaque> if you want stuff to do before I look at them, you can get art elements to integrate there too, especially since you followed or created most of those tickets yourself : ) 2011-06-07 21:48:43+0000 <blanchard> antoviaque: playtest thursday perfect 2011-06-07 21:48:58+0000 <dachary> Before I take shorcuts i'd like to understand how it's supposed to work. 2011-06-07 21:49:16+0000 <dachary> If laurent reviews what's Ready for review, what happens when he is happen about it ? 2011-06-07 21:49:28+0000 <dachary> (In graphic design that is ) 2011-06-07 21:49:54+0000 <antoviaque> then someone has to create a new ticket, related to that one, for the code integration 2011-06-07 21:49:56+0000 <dachary> antoviaque: ^ 2011-06-07 21:50:02+0000 <antoviaque> until now that person is me 2011-06-07 21:50:55+0000 <antoviaque> and here it would likely remain the same - unless you want to take it on? 2011-06-07 21:51:00+0000 <dachary> ok. I'll wait for you to create such a ticket then. 2011-06-07 21:51:31+0000 <dachary> I'm in no rush, no worries. 2011-06-07 21:51:50+0000 <dachary> I just wanted to understand how it goes and make sure I'm not missing something 2011-06-07 21:52:13+0000 <dachary> I would hate to discover that action has been waiting for me because I misundertood the workflow 2011-06-07 21:52:25+0000 <antoviaque> well if you have bandwidth to do something about those tickets, I wouldn't want to have the workflow in the way 2011-06-07 21:53:22+0000 <antoviaque> the goal is more important than the mean here : ) 2011-06-07 21:53:26+0000 <dachary> it's not preventing me from anything. I can wait for the graphics to be ready before integrating, there no need to rush things. And I'm notoriously bad and giving feedback on artistic directions. 2011-06-07 21:54:16+0000 <antoviaque> ah, I don't do that either on art tickets - I automatically accept if all the elements are here and ready for integration, and just bounce otherwise 2011-06-07 21:54:29+0000 <antoviaque> but I'll look at the tickets 2011-06-07 21:54:38+0000 <antoviaque> let's keep the workflow here then 2011-06-07 21:55:38+0000 <dachary> I'd be happy to break the workflow once I'm used to it ;-) 2011-06-07 21:56:51+0000 <dachary> For now I'll respect it as much as I can. 2011-06-07 22:01:13+0000 <antoviaque> fair enough : ) 2011-06-07 22:08:30+0000 * blanchard enjoying reading the candidates answers 2011-06-07 22:08:43+0000 <blanchard> had been some time since i had not done that 2011-06-07 22:08:52+0000 <blanchard> thanks for posting that antoviaque :) 2011-06-07 22:10:19+0000 <antoviaque> yw : ) 2011-06-07 22:10:29+0000 <antoviaque> some candidates you like? 2011-06-07 22:10:42+0000 <blanchard> one has 30 years xp :o 2011-06-07 22:11:13+0000 <dachary> I've played a game at http://cardstori.es and saw the publication confirmation step for myself 2011-06-07 22:12:14+0000 <dachary> it's amazing how such a simple game can end up having so many pages 2011-06-07 22:12:16+0000 <dachary> http://cardstori.es/?skin 2011-06-07 22:12:57+0000 <dachary> 20 pages ! 2011-06-07 22:18:28+0000 <antoviaque> it is, yep 2011-06-07 22:19:09+0000 <antoviaque> we would never guess reading the 2 smalls paragraphs that constitute the rules of a real board game 2011-06-07 22:19:25+0000 <antoviaque> humans are easier to program than computers ;p 2011-06-07 22:27:01+0000 <dachary> I found myself a bug to work on tomorrow ;-) 2011-06-07 22:29:30+0000 <antoviaque> ahahah : ) 2011-06-07 22:29:33+0000 <antoviaque> which one? 2011-06-07 22:29:47+0000 <dachary> eve_: is supposed to tell you in a bit, isn't she ? 2011-06-07 22:29:47+0000 <eve> dachary: Excuse me? 2011-06-07 22:29:57+0000 <dachary> there you go, good girld eve_ 2011-06-07 22:33:32+0000 <dachary> tartarugafeliz: I badly need a "solo" button. Would you be so kind as to make one for me ? 2011-06-07 22:36:22+0000 <dachary> I made an ugly one myself. So ugly you won't stand it and you will feel compeled to create an alternative. 2011-06-07 22:36:27+0000 * dachary manipulative bastard 2011-06-07 23:01:26+0000 <antoviaque> ahahah 2011-06-07 23:05:10+0000 <tartarugafeliz> yes I'll make it dachary! _______________________________________________ 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/

