Hi, Here is the log of the chatroom at http://farsides.com/chat/ (or irc://irc.freenode.net/#farsides) for the 2011-05-08.
2011-05-08 08:21:44+0000 antoviaque (antoviaque) is now online 2011-05-08 08:38:45+0000 <antoviaque> hi! 2011-05-08 09:04:18+0000 <da> hello there 2011-05-08 09:04:23+0000 <antoviaque> :) 2011-05-08 09:55:37+0000 ringo_ (ringo_) is now online 2011-05-08 10:16:50+0000 <antoviaque> hi ringo_! 2011-05-08 10:17:52+0000 <antoviaque> Good try, but Deborah isn't on the chat ;p 2011-05-08 10:28:08+0000 dachary (dachary) is now online 2011-05-08 10:29:09+0000 <antoviaque> hi dachary : ) 2011-05-08 10:29:25+0000 <dachary> hey, in the train back to Paris 2011-05-08 10:29:58+0000 <antoviaque> woa, how modern of you to chat in the train ;p 2011-05-08 10:34:43+0000 <dachary> antoviaque: :-D I am in a good mood today. 2011-05-08 10:34:54+0000 <antoviaque> dachary: Yey :D 2011-05-08 10:35:39+0000 <antoviaque> Me I'm still on the dock - now adding card highlighting and confirmation message : ) 2011-05-08 10:36:18+0000 <dachary> antoviaque: how do you plan to do that ? 2011-05-08 10:36:21+0000 <antoviaque> I'm changing a lot the structure, I hope you'll like the way I do it ;p 2011-05-08 10:36:57+0000 <antoviaque> I'm using the onReady and setLabel callbacks from jqDock 2011-05-08 10:36:59+0000 <dachary> last time I checked, jDock could only manipulate images and I wonder how highlighting can be implemented. 2011-05-08 10:37:05+0000 <dachary> ah 2011-05-08 10:37:13+0000 <antoviaque> yep 2011-05-08 10:37:33+0000 <antoviaque> I already added cards overlapping using the trick they show in their examples: 2011-05-08 10:37:38+0000 <dachary> do you replace the images or set classes ? 2011-05-08 10:38:46+0000 <antoviaque> I'm not there yet (adding the border of cards right now), but the selection changes the class right now 2011-05-08 10:40:24+0000 <antoviaque> The overlapping trick is basically that: ask jquery to format the dock based on a transparent image with a smaller width, then add the real image afterwards (using onReady) to make them overlap 2011-05-08 10:40:25+0000 <dachary> could you link me to the trick shown ? 2011-05-08 10:40:33+0000 <dachary> reading 2011-05-08 10:40:46+0000 <antoviaque> http://www.wizzud.com/jqDock/index.php?dt=0&pg=examples => the last one 2011-05-08 10:40:50+0000 <dachary> "format the dock" ? 2011-05-08 10:40:52+0000 <dachary> ok 2011-05-08 10:41:02+0000 <dachary> I'll ask questions after reading 2011-05-08 10:41:19+0000 <antoviaque> I can't show you right now the result since I'm in the middle of another change and it broke it 2011-05-08 10:41:30+0000 <dachary> I think I see how it goes 2011-05-08 10:42:19+0000 <antoviaque> The good thing is that it forced me to factorize even more - now all formatting and calls to jqDock happen in select_card 2011-05-08 10:42:36+0000 <dachary> nice set of examples 2011-05-08 10:42:41+0000 <antoviaque> yup 2011-05-08 10:43:15+0000 <dachary> did you figure out how to ensure the dock won't minimize when the mouse leaves the card ? 2011-05-08 10:43:30+0000 <antoviaque> The issue is to do tests, since the call to jqDock forces to use the stop() start() stuff, and I don't know how 2011-05-08 10:43:59+0000 <antoviaque> That's the beauty of it - overlapping cards allows to make the minimized cards biggers, so that it's not necessary anymore 2011-05-08 10:44:18+0000 <antoviaque> Rah, I wish I could show you now, it's really cool : ) 2011-05-08 10:45:21+0000 <antoviaque> And I've also added freezing the dock when a card is selected, this way it keeps showing the card in max size even if you move the mouse away 2011-05-08 10:46:18+0000 <dachary> ok 2011-05-08 10:46:24+0000 <dachary> but you did no tests yet, right ? 2011-05-08 10:46:40+0000 <antoviaque> here it is - I reverted : http://cardstories.antoviaque.org:4923/static/?skin=invitation_pick 2011-05-08 10:46:48+0000 <antoviaque> I tried, but got stuck 2011-05-08 10:47:19+0000 <antoviaque> I don't know how to get qunit to wait for jqDock to have finished initializing the dock 2011-05-08 10:47:29+0000 <dachary> the problem here is that you never see the card in full 2011-05-08 10:47:47+0000 <antoviaque> You do - it's one of the changes I'm doing right now 2011-05-08 10:47:55+0000 <dachary> ah 2011-05-08 10:47:56+0000 <dachary> :-) 2011-05-08 10:47:57+0000 <antoviaque> When you select one, it gets on top of the other cards 2011-05-08 10:48:05+0000 * dachary thinking how to test this 2011-05-08 10:49:01+0000 <dachary> I think what you need is just to find the event function that triggers the layout change of the cards 2011-05-08 10:49:07+0000 <dachary> And call it with cooked values 2011-05-08 10:49:22+0000 <dachary> and check that the cards grow / shrink as expected 2011-05-08 10:49:31+0000 * dachary reading jdock code to figure it out 2011-05-08 10:49:37+0000 <dachary> antoviaque: do you see what I mean ? 2011-05-08 10:49:49+0000 <antoviaque> hmm - fuzzily ;p 2011-05-08 10:49:54+0000 <dachary> in the same way the code calls click() on some elements elsewhere in the tests 2011-05-08 10:49:57+0000 <dachary> as if someone clicked 2011-05-08 10:50:03+0000 <dachary> you call hover(x,y) 2011-05-08 10:50:07+0000 <dachary> or the like 2011-05-08 10:50:25+0000 <dachary> you extract the position of a card before calling hover(x,y) 2011-05-08 10:50:33+0000 <antoviaque> Yep, but there is still the issue of waiting for jqDock to finishing the initialization 2011-05-08 10:50:35+0000 <dachary> you extract the position of the same card after 2011-05-08 10:50:42+0000 <dachary> and you check that it varied as expecte 2011-05-08 10:50:59+0000 <dachary> you use a callback, I think 2011-05-08 10:51:12+0000 <dachary> and you call start() in the callback 2011-05-08 10:52:29+0000 <antoviaque> Hmm, I'll need to have another look at this, because that's what I tried to see how I could do, but I couldn't see how 2011-05-08 10:52:52+0000 <antoviaque> BEcause the way you do it in another functions, is that you replace one of the cardstories plugin functions 2011-05-08 10:53:18+0000 <antoviaque> and here it's all done with functions defined within those functions 2011-05-08 10:53:38+0000 <antoviaque> if it makes sense 2011-05-08 10:53:50+0000 <dachary> I'm not familiar enough with jDock to show you an example. 2011-05-08 10:54:12+0000 <dachary> the key is to think : what functions are called when I do the manual test 2011-05-08 10:54:18+0000 <dachary> and then call the same functions in the test 2011-05-08 10:54:39+0000 <dachary> this is not completly obvious in the casee of jdock because the code is large 2011-05-08 10:55:10+0000 <antoviaque> ah - you would replace one of jqDock functions ? 2011-05-08 10:55:41+0000 <antoviaque> the way you replaced cardstories.ajax() ? 2011-05-08 10:56:05+0000 * antoviaque feels like a big noob 2011-05-08 10:56:11+0000 <dachary> :-D 2011-05-08 10:56:15+0000 <dachary> maybe or maybe not 2011-05-08 10:56:45+0000 <antoviaque> ok - I'll try to investigate with this angle 2011-05-08 10:56:58+0000 <antoviaque> I'm just going to finish what I'm doing first : ) 2011-05-08 10:57:02+0000 <dachary> First answer we need is : "what function can we call to say to jDock: the mouse is at X,Y" ? 2011-05-08 10:57:19+0000 <dachary> I'm reading jDock code to figure this out 2011-05-08 10:58:08+0000 <dachary> antoviaque: it looks like you're having fun :-) 2011-05-08 10:58:19+0000 <dachary> I recognize the adictive nature of this little game 2011-05-08 10:58:23+0000 <antoviaque> ahah ;p yep, definitely :p 2011-05-08 10:58:56+0000 <antoviaque> I'm really happy to start working on it in the morning : ) 2011-05-08 10:59:18+0000 <antoviaque> I still need to get used to the way you do things, but it's getting better :) 2011-05-08 11:09:23+0000 <dachary> I think calling $.trigger('mousemove) is the solution 2011-05-08 11:09:32+0000 <dachary> jDock listens to http://api.jquery.com/mousemove/ 2011-05-08 11:09:50+0000 <dachary> actually MOUSEEVENTS = ['mouseenter','mousemove','mouseleave'] 2011-05-08 11:09:58+0000 <antoviaque> ok 2011-05-08 11:10:26+0000 <antoviaque> and how to you get qunit to wait for the dock to be initialised? 2011-05-08 11:10:40+0000 <dachary> you call stop() 2011-05-08 11:10:46+0000 <dachary> it will wait indefinitely 2011-05-08 11:11:25+0000 <antoviaque> but when do you call start() ? 2011-05-08 11:12:09+0000 <antoviaque> jqDock waits for the cards to finish loading before calling onReady 2011-05-08 11:12:22+0000 <dachary> ok 2011-05-08 11:12:23+0000 <dachary> good 2011-05-08 11:12:39+0000 <dachary> if you set a function on onReady 2011-05-08 11:12:45+0000 <dachary> that calls mousemove 2011-05-08 11:12:57+0000 <dachary> and then start() 2011-05-08 11:13:02+0000 <dachary> do you figure it would work ? 2011-05-08 11:13:22+0000 <antoviaque> the thing is most of the logic I added is in onReady 2011-05-08 11:13:55+0000 <antoviaque> so if I replace it only the transparent placeholders will be there 2011-05-08 11:13:59+0000 <dachary> ah 2011-05-08 11:14:09+0000 <dachary> can you retrieve the onReady callback ? 2011-05-08 11:14:31+0000 <dachary> ready = getonready() 2011-05-08 11:14:46+0000 <dachary> var test = function() { 2011-05-08 11:15:05+0000 <dachary> mousemove() 2011-05-08 11:15:05+0000 <dachary> check 2011-05-08 11:15:05+0000 <dachary> no 2011-05-08 11:15:05+0000 <dachary> var test = function() { 2011-05-08 11:15:14+0000 <dachary> ready(); 2011-05-08 11:15:15+0000 <dachary> mousemove() 2011-05-08 11:15:15+0000 <dachary> check.. 2011-05-08 11:15:15+0000 <dachary> } 2011-05-08 11:15:23+0000 <antoviaque> ahh, I see 2011-05-08 11:15:25+0000 <dachary> setonready(test) 2011-05-08 11:15:34+0000 <dachary> you essentially set a function that calls the old 2011-05-08 11:15:39+0000 <dachary> before doing anything else 2011-05-08 11:15:41+0000 <antoviaque> yup, I understand 2011-05-08 11:15:57+0000 <antoviaque> it's probably possible to retreive the onReady option from jqDock yep 2011-05-08 11:16:12+0000 <dachary> I'm sure it is 2011-05-08 11:16:16+0000 <antoviaque> thanks a lot, I'll give it a try : ) 2011-05-08 11:16:20+0000 <dachary> even if there is no API 2011-05-08 11:16:30+0000 <antoviaque> yep 2011-05-08 11:17:01+0000 <dachary> train is going to speed to 300 km/h, connection will break 2011-05-08 11:17:32+0000 <antoviaque> that's really stylish of you 2011-05-08 11:17:49+0000 <antoviaque> :D 2011-05-08 11:18:05+0000 <dachary> I like that : progress breaks communicatinos 2011-05-08 11:18:06+0000 <dachary> ons 2011-05-08 11:18:10+0000 <dachary> 200km/h 2011-05-08 11:18:17+0000 <dachary> I'm loosing you captain 2011-05-08 11:18:29+0000 <dachary> Klingons approaching 2011-05-08 11:18:39+0000 <dachary> 250km/h 2011-05-08 11:21:07+0000 <antoviaque> ahahah 2011-05-08 11:21:12+0000 <antoviaque> how do you see the speed? 2011-05-08 11:21:14+0000 <da> antoviaque: i'm tired of working at my place can I taper l'incruste chez toi for a couple of hours ? 2011-05-08 11:21:27+0000 <antoviaque> da: of course 2011-05-08 11:21:31+0000 <da> cool 2011-05-08 11:21:34+0000 <antoviaque> : ) 2011-05-08 11:21:36+0000 <da> on my way 2011-05-08 11:22:57+0000 <dachary> antoviaque: can I come and tape l'incruste later in the afternoon too ? I'm tired of not working on cardstories 2011-05-08 11:34:38+0000 <antoviaque> ahah, yey!! 2011-05-08 11:35:16+0000 <antoviaque> Sunday is becoming the most active day of the week for Card Stories ;p 2011-05-08 11:35:46+0000 <antoviaque> And of course, you're most welcomed here :D 2011-05-08 11:36:10+0000 <antoviaque> The appartment is a mess though ;p 2011-05-08 11:37:44+0000 antoviaque (antoviaque) is now online 2011-05-08 12:05:16+0000 da1 (da1) is now online 2011-05-08 13:49:34+0000 dachary (dachary) is now online 2011-05-08 14:02:24+0000 <dachary> back in paname 2011-05-08 14:02:30+0000 <antoviaque> wb : ) 2011-05-08 14:02:40+0000 <dachary> I'll be at your place in 30 min 2011-05-08 14:02:43+0000 <dachary> mess or no mess 2011-05-08 14:02:47+0000 <antoviaque> cool : ) 2011-05-08 14:02:53+0000 <antoviaque> look look: http://cardstories.antoviaque.org:4923/static/?skin=create_pick_card 2011-05-08 14:02:56+0000 <antoviaque> :D 2011-05-08 14:03:27+0000 <dachary> looking 2011-05-08 14:03:38+0000 <dachary> extra nice 2011-05-08 14:03:43+0000 <antoviaque> : ) 2011-05-08 14:04:41+0000 <dachary> gooooood work sir 2011-05-08 14:05:05+0000 <antoviaque> still some work on it, but it's shaping well : ) 2011-05-08 14:06:08+0000 <dachary> I'm impressed 2011-05-08 14:06:19+0000 <dachary> I did not think jDock had this in him. 2011-05-08 14:06:25+0000 <antoviaque> jqDock is really good yep 2011-05-08 14:06:44+0000 <antoviaque> the examples they put really helped, too 2011-05-08 14:07:20+0000 <dachary> yes. I've never seen such a well done dev site. 2011-05-08 14:07:25+0000 <dachary> It's a *lot* of work 2011-05-08 14:07:29+0000 <antoviaque> yup 2011-05-08 14:07:50+0000 <antoviaque> the guy is clearly passionate about the use people make of this plugin : ) 2011-05-08 14:38:09+0000 dachary (dachary) is now online 2011-05-08 15:53:10+0000 <antoviaque> Added card selection & validation: http://cardstories.antoviaque.org:4923/static/?skin=create_pick_card 2011-05-08 15:53:18+0000 <antoviaque> Commit: https://gitorious.org/~antoviaque/cardstories/antoviaques-cardstories/commit/37ee7e5afd336dba31d0566b7256a6b53af88b8e 2011-05-08 18:32:35+0000 <dachary> http://pastebin.com/UAiFPcvu 2011-05-08 18:33:44+0000 <dachary> http://pastebin.com/KSvDFV8v 2011-05-08 19:39:09+0000 dachary (dachary) is now online 2011-05-08 19:44:45+0000 <dachary> antoviaque: still here ? 2011-05-08 19:44:51+0000 <antoviaque> yep 2011-05-08 19:45:14+0000 <dachary> what have you been working on while I was near you ? too focused on what I did to pay attention... 2011-05-08 19:45:50+0000 <dachary> antoviaque: 2011-05-08 19:46:45+0000 <antoviaque> wrapping up the things I did 2011-05-08 19:46:57+0000 <antoviaque> like jslint 2011-05-08 19:47:13+0000 <antoviaque> and trying to replicate the issue of the games that don't complete properly 2011-05-08 19:47:24+0000 <dachary> did you commit your work ? 2011-05-08 19:47:27+0000 <antoviaque> I think I've isolated a case, but I need to check more 2011-05-08 19:47:34+0000 <antoviaque> jslint yep 2011-05-08 19:47:40+0000 <antoviaque> and 1 fix 2011-05-08 19:47:45+0000 <dachary> ok 2011-05-08 19:47:52+0000 <antoviaque> plus the rest of today 2011-05-08 19:48:12+0000 <antoviaque> I haven't commited sandalone.html & co since I had issues 2011-05-08 19:48:25+0000 <dachary> I feel like reviewing what has been done so far, do you see any reason why I shouldn't ? 2011-05-08 19:48:38+0000 <antoviaque> and I was trying to setup the vote_owner page, to help debugging the games that don't complete 2011-05-08 19:48:54+0000 <antoviaque> hmm, no, I think it's a good time 2011-05-08 19:49:09+0000 <dachary> what should I expect regarding tests ? 2011-05-08 19:49:22+0000 <dachary> I know it's not complete, in the area I worked on today 2011-05-08 19:49:25+0000 <dachary> anything else ? 2011-05-08 19:49:30+0000 <antoviaque> they will fail on everything related to the dock 2011-05-08 19:49:34+0000 <antoviaque> yep 2011-05-08 19:49:47+0000 <antoviaque> the things from before that should have their tests 2011-05-08 19:50:15+0000 <antoviaque> (basically the one you pointed out as missing last time + updates to make them keep working) 2011-05-08 19:50:28+0000 <dachary> ok 2011-05-08 19:51:55+0000 <antoviaque> also I don't guarantee that I haven't left bugs - since making sure the whole workflow is running fine is what I'm working on right now 2011-05-08 19:52:08+0000 * dachary pulling 2011-05-08 19:55:42+0000 * antoviaque prays 2011-05-08 19:58:47+0000 <dachary> could you confirm that tests 5, 8, 9, 10, 13, 21, 22, 23 are broken ? 2011-05-08 19:59:02+0000 <dachary> when running static/test/index.html ? 2011-05-08 19:59:54+0000 <antoviaque> yep 2011-05-08 20:00:04+0000 <antoviaque> 16 failed 2011-05-08 20:00:55+0000 <dachary> ok 2011-05-08 20:05:54+0000 * dachary will review http://pastebin.com/2LbdGwdR after "castle" 2011-05-08 20:08:24+0000 <antoviaque> ahah, c'est long tout ca : ) Mais le gros c'est contactable, des fichiers effaces et du HTML copie-colle ;p 2011-05-08 20:08:41+0000 <antoviaque> damn, forgot my english 2011-05-08 20:49:30+0000 <dachary> ben oui 2011-05-08 20:56:29+0000 <dachary> antoviaque: the code part will be easy 2011-05-08 20:56:51+0000 <dachary> the CSS changes are a little more difficult 2011-05-08 21:10:17+0000 <dachary> antoviaque: with your work and lincoln's work, I feel it would now be a better use of my time to integrate them properly and fix the tests. That will keep you moving while preparing the ground for tartarugafeliz mockups next sunday. What do you think ? The CMS choice is not blocking anything at the moment. 2011-05-08 21:35:05+0000 <antoviaque> yup, that could be a good idea 2011-05-08 21:35:41+0000 <antoviaque> the CMS is blocking fb, but this can wait a little more while we polish the core 2011-05-08 21:38:00+0000 <antoviaque> and I could actually try to work on the changes from Deborah this week, too, this way if there are changes to do to what she produce it can be taken care of progressively 2011-05-08 21:39:13+0000 <antoviaque> btw let me know when I did stuff wrong, so that I can try to do them right the next time 2011-05-08 21:53:12+0000 <dachary> ok 2011-05-08 21:53:41+0000 <dachary> I think I'm not too far away from having fb working with drupal 2011-05-08 21:54:01+0000 <dachary> The Facebook Application labeled cardstories has a suspicious callback_url. The value is http://cardstori.es/, while something starting with http://cardstori.es/drupal/drupal-7.0 was expected. 2011-05-08 21:54:06+0000 <dachary> is still showing 2011-05-08 21:54:12+0000 <dachary> and I suppose it is not good 2011-05-08 21:54:24+0000 <dachary> antoviaque: could you double check that it is set as expected ? 2011-05-08 22:00:24+0000 <dachary> I know you checked already. 2011-05-08 22:12:27+0000 * dachary reading http://drupal.org/node/1095088 2011-05-08 22:15:27+0000 <dachary> antoviaque: btw, I'm using App ID + API Key + Secret 2011-05-08 23:13:54+0000 <antoviaque> oops, I just saw - Deborah arrived in the meantime 2011-05-08 23:14:02+0000 <antoviaque> Is it ok if I check this tomorrow? 2011-05-08 23:27:16+0000 antoviaque (antoviaque) is now online _______________________________________________ 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/

