#pokersource@irc.freenode.net IRC Log for
Monday 4 January 2010

Back to #pokersource@irc.freenode.net Log Calendar

Back to to Sunday 3 January 2010


Poker Free Software http://pokersource.info/ with IRC archives http://pokersource.info/irc/pokersource@irc.freenode.net/"

00:57:33 GodStack joined #pokersource.
01:08:53 saqimtiaz quit IRC (Read error: 104 (Connection reset by peer)).
01:10:02 GodStack quit IRC ().
01:11:44 dachary quit IRC (Read error: 113 (No route to host)).
01:37:41 macmaN joined #pokersource.
01:39:51 macmaN quit IRC (Read error: 54 (Connection reset by peer)).
01:53:09 macmaN joined #pokersource.
02:11:12 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
03:04:11 Tamisoft quit IRC ("Leaving.").
03:04:22 Tamisoft joined #pokersource.
03:41:17 bkuhn quit IRC ("Sleeping.").
04:14:14 macmaN joined #pokersource.
04:16:26 macmaN quit IRC (Read error: 54 (Connection reset by peer)).
06:20:16 macmaN joined #pokersource.
06:35:18 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
07:07:47 Tamisoft1 joined #pokersource.
07:07:47 Tamisoft quit IRC (Read error: 54 (Connection reset by peer)).
07:07:50 macmaN joined #pokersource.
07:07:57 Tamisoft1 quit IRC (Client Quit).
07:48:39 saqimtiaz joined #pokersource.
08:00:06 dachary joined #pokersource.
08:06:03 mongolito404 joined #pokersource.
08:08:26 mongolito404: Hi
08:28:04 dachary quit IRC (Read error: 113 (No route to host)).
08:57:23 dachary joined #pokersource.
09:00:13 dachary1 joined #pokersource.
09:16:01 dachary quit IRC (Read error: 113 (No route to host)).
09:16:54 dachary1: Sp4rKy: pmw.vm.gnt and not pmw.pokersource.vm.gnt
09:17:03 Sp4rKy: k
09:17:18 dachary1: I don't see either of them on z2
09:17:29 Sp4rKy: it is syncing
09:17:44 dachary1: z2-3:~# gnt-instance list | grep pmw
09:17:44 dachary1: pmw.pokersource.vm.gnt kvm debootstrap z2-4.host.gnt ADMIN_down -
09:17:54 Sp4rKy: i'll rename it :}
09:17:57 dachary1: that's what you created ?
09:17:59 Sp4rKy: yes
09:18:00 dachary1: wait
09:18:12 dachary1: pmw.pokersource.vm.gnt is the right name
09:18:16 Sp4rKy: hehe :)
09:18:54 dachary1: I'm not sure why you're mentioning pmw.vm.gnt
09:19:13 Sp4rKy: because of http://trac.pokersource.info/ticket/16
09:19:51 dachary1: ah :-) my bad : http://trac.pokersource.info/ticket/16#comment:1 updated
09:20:20 Sp4rKy: :)
09:21:46 dachary1 quit IRC (Client Quit).
09:21:52 Sp4rKy: grrr
09:22:42 proppy joined #pokersource.
09:23:47 dachary joined #pokersource.
09:25:30 Sp4rKy: dachary: since pmw is in paravirt without paritioned disk, I will snapshot it + rsync, then shutdown it and rsync again when all the config will be ok
09:25:35 Sp4rKy: do you agree with that
09:27:17 dachary: yes
09:27:38 dachary: Sp4rKy: you are making a full virt VM for pmw ?
09:28:50 Sp4rKy: hmm no
09:28:54 Sp4rKy: unless you prefer
09:29:08 Sp4rKy: it will take a bit longer
09:29:45 dachary: I prefer indeed
09:29:49 Sp4rKy: k
09:30:02 dachary: Sp4rKy: can we agree not to make any paravirt VM from now on ?
09:30:08 Sp4rKy: we can
09:30:12 proppy: dachary: I was planning to work on http://drupal-dev.pokersource.info/trac/ticket/6 remaining issues today, do you have a better idea ?
09:30:12 dachary: let's do that
09:30:14 dachary: no paravirt
09:30:21 dachary: proppy: yes !
09:30:31 proppy: you have a better idea ?
09:30:51 Sp4rKy: so : create a full-virt "default" vm, snap + rsync, check proxy/config etc, then shutdown + rsync
09:30:52 dachary: proppy: no
09:31:10 proppy: dachary: ah ok, I was confused because you answered "yes !" :)
09:31:19 dachary: proppy: I agree with this. I have an idea for the next task, unless you think it will take all day.
09:31:37 proppy: dachary: I don't think it will take all day
09:31:55 proppy: and I hasve not thinked about the next task yet,
09:32:05 proppy: so I'll be happy to ear that from you
09:32:45 dachary: I think the best task to work on next is http://drupal-dev.pokersource.info/trac/ticket/9
09:32:55 dachary: because
09:33:04 dachary: 1) it's unclear how it must be done
09:33:14 dachary: 2) it will require help from mongolito404
09:33:36 dachary: 3) it may take some time before it's working properly and we should therefore start sooner than later
09:34:03 dachary: I would be happy to discuss how it could be implemented right now.
09:34:04 proppy: dachary: I'm not sure I understand why 2) is needed
09:34:14 emilie joined #pokersource.
09:34:16 dachary: proppy: 2) is a hunch
09:34:22 dachary: emilie: happy gnu year !
09:34:36 proppy: oh ok
09:35:00 proppy: dachary: I think we can work with the assumption that some opensocial value are set
09:35:09 proppy: for gift data
09:35:21 proppy: (in application data, for example)
09:35:25 dachary: yes
09:35:26 mongolito404: I don't cleary see where my help is needed for #9 but I assume some informaztion should be passed from Druipal to the poker table's iframe.
09:35:38 proppy: and check that on a hand boundary (i.e, at the end or the beginning of each hand)
09:35:41 proppy: what do you think ?
09:35:52 dachary: mongolito404: it's unclear to us also :-) We'll try to figure it out.
09:35:58 Sp4rKy: dachary: I'm wondering there is no pmw/pokersource02 backup on dirtychip. Can you confirm me there is no backup with some strange name ?
09:36:30 mongolito404: dachary: I'll need the password for my user on http://drupal-dev.pokersource.info/trac/
09:36:37 dachary: Sp4rKy: there is a backup with the pwm name (old typo you did a while back ;-)
09:36:50 proppy: mongolito404: I've seen your mail, but I don't know your password either :(
09:37:16 dachary: mongolito404: there is no user mongolito404, you can use admin instead. The owner is just a reminder for you ;-)
09:37:36 Sp4rKy: dachary: ehh .... my bad
09:37:55 dachary: trac does not enforce a strict policy on owner names
09:38:00 Iheartpok joined #pokersource.
09:38:54 mongolito404: dachary: imho, it would be better and easier for others to follow my work if I have a user. But I'll use admin user.
09:39:04 dachary: proppy: unless I'm mistaken, when a player receives a gift drupal arrange for the user to be notified immediately. I'm not sure about the players who are at the same table though.
09:39:19 dachary: mongolito404: I'll create a user for you
09:40:06 proppy: dachary: and so you're saying there is already some protocol defined on how the social network notify the jpoker application about the gift ?
09:40:58 proppy: dachary: I would bet that the user is notified "in drupal" on page load boundary
09:41:01 dachary: no, otherwise it would be in this ticket
09:41:03 proppy: but I may be wrong
09:41:23 dachary: proppy: you're wrong
09:41:34 dachary: the drupal page is almost never loaded
09:41:42 dachary: there is a long poll based message system
09:41:48 proppy: each time you click a link a new page is loaded
09:41:59 proppy: dachary: yes, but the long poll are from the message coming from the server
09:42:02 proppy: the poker server that is
09:42:12 proppy: AFAIK, the poker-network server is gift agnostic
09:42:41 dachary: proppy: no, you're confusing things, I'm talking about the drupal long poll message queue
09:42:50 dachary: modules/os_poker/js/os_poker.messages.js
09:42:56 proppy: i.e doesn't know about gift
09:43:09 dachary: function os_poker_message_listen()
09:43:16 dachary: that's what I'm talking about
09:44:13 proppy: dachary: I thought that os_poker_message was for message coming form the poker server
09:44:20 proppy: indeed I'm confused
09:44:46 dachary: proppy: drupal has an internal messaging system for gifts & other message based notifications
09:45:06 proppy: dachary: you mean os_poker ?
09:45:11 proppy: dachary: not drupal itself
09:45:30 dachary: when userA sends a gift to another userB, userB will receive a message informing him about this gift thru this message queue
09:45:34 proppy: dachary: do you confirm the same message system is used for messages coming from poker.social poker-network module ?
09:46:05 proppy: I have to know that to figure out if I'm looking to the same peace of code I bootstraped test for
09:46:44 dachary: There is no relation *at all* between the two message queues
09:47:13 dachary: function os_poker_message_listen()
09:47:21 dachary: is completly unrelated to poker-network
09:47:29 dachary: it knows nothing about poker social
09:48:10 proppy: ok
09:48:22 proppy: I was confusing with os_poker_messages.php then
09:49:12 Sp4rKy: dachary: hmm, pwm seems to be for pwm.unique.tld, which is not the same as pokersource02.unique.tld
09:50:05 proppy: dachary: from reading the code it seems that the same handler is called, for the two message queues
09:50:32 dachary: Sp4rKy: let me check
09:51:22 proppy: checking
09:51:23 proppy: 'poker/messages/receive' => array(
09:51:23 proppy: 'page callback' => 'os_poker_poll_messages',
09:51:23 proppy: 'file' => 'os_poker_messages.php',
09:52:40 proppy: dachary: ok, I know where to look know thanks
09:52:44 proppy: for the clarification
09:53:20 dachary: Sp4rKy: http://pokermaniaworld.com/ is indeed in pokersource02.unique.tld
09:53:59 Sp4rKy: dachary: and the pwm lv on dirtychip is for pwm.unique.tld, which isn't the same
09:54:04 dachary: it was transfered to it from pwm.unique.tld a few month ago. I know this is confusing and I thank you for being suspicious about it :-)
09:54:17 Sp4rKy: ^^
09:54:26 Sp4rKy: so, do I create a new lv ?
09:55:14 Iheartpok left #pokersource.
09:55:16 bruno|taf quit IRC (Connection reset by peer).
09:55:45 proppy: when a user buy a gift to another
09:55:48 dachary: Sp4rKy: I'm not sure what you mean by that. This VM will be transfered to pmw.pokersource.vm.gnt, why would you need another LV ?
09:55:49 proppy: the following message is sent
09:55:49 proppy: CMessageSpool::instance()->SendMessage($target->uid, $args);
09:55:58 proppy: $args["symbol"] = drupal_get_path('module', 'os_poker') . "/images/msg_item.jpg";
09:55:58 proppy: $args["text"] = t("You just receive a gift from !user", array("!user", $user->profile_nickname));
09:56:06 dachary: proppy: exactly
09:56:56 proppy: and it register a new task in the scheduler
09:57:04 j1b joined #pokersource.
09:57:08 Sp4rKy: dachary: to backup it before the migration :)
09:57:15 proppy: $res = CScheduler::instance()->RegisterTask(new CStaticMessage(), $targetUid, 'inbox', "+2 week", array("type" => \
09:57:15 proppy: "os_poker_msg",
09:57:23 proppy: I'm not sure what +2 week is
09:57:34 proppy: I hope that doesn't mean the message will be delivered in +2 week :)
09:58:02 thy quit IRC ("Leaving.").
09:58:18 dachary: Sp4rKy: no need, use pwm LV on dirtychip
09:58:28 dachary: you will see that I did a backup yesterday
09:58:37 dachary: sudo rsync -avzH --numeric-ids --delete --exclude=/proc --exclude=/tmp --exclude=/sys --link-dest=/mnt/pwm/2009-11-20-pwm.unique.tld/ root@pokersource02.unique.tld:/ /mnt/pwm/2010-01-03-pwm.unique.tld/
09:58:41 Sp4rKy: kk
09:58:51 proppy: poll_message do the following to access the messages
09:58:51 proppy: CScheduler::instance()->ReloadTasks();
09:58:52 proppy: CScheduler::instance()->Trigger("inbox");
09:58:52 proppy: $mbox = CScheduler::instance()->GetTasks("inbox");
09:59:48 proppy: dachary: if there is no message poll_message sleep for 3 seconds :)
10:01:03 dachary: yes
10:01:16 dachary: but server side it long polls
10:01:47 proppy: dachary: how so, if there is a message while the php is sleeping
10:02:06 proppy: there is no way os_poker_poll_messages will notice, while in the sleep() function
10:03:29 dachary: the message queue is in a database table
10:04:23 proppy: dachary: I think that is os_poker_poll_messages is buggy, and not long poll at all, but that's not something we need to sort out for implementing gift animation
10:04:25 dachary: I don't think a message can be trashed / forgotten. If you see a race condition / window for lossage, could you please add a ticket ?
10:05:05 proppy: dachary: I dont think there is a race condition for messages / nor window for lossage
10:05:13 proppy: I just don't understand why there is a sleep() there
10:05:46 proppy: sleep() is not blocking until there is new message, it is just blocking(), and return empty result
10:05:59 dachary: which file is it ?
10:06:22 proppy: os_poker_messages.php
10:06:28 dachary: I see it
10:06:30 proppy: L:83
10:06:47 thy joined #pokersource.
10:07:30 proppy: dachary: but it is irrevelant for implementing gift animations
10:07:34 dachary: proppy: CScheduler::instance()->IsNewTask()
10:07:50 dachary: is called every 3 sec server side and selects the DB to find new messages
10:08:12 proppy: yes, but long poll means, as soon as there is a new messages the client is notified
10:08:31 proppy: I don't see how sleeping 3 seconds server side will help for the client to be notificed
10:08:41 dachary: it does not
10:09:35 dachary: if it does not sleep it will hammer the DB with select as fast as it can run and this will kill the server, hence the sleep 3
10:09:48 proppy: and since the javascript part (os_poker_message_listen) also have a 6 seconds timer
10:09:54 dachary: no
10:09:57 proppy: dachary: yes
10:10:03 proppy: _os_poker_timer_handler = setTimeout('os_poker_message_listen()', 6000);
10:10:10 dachary: between long polls
10:10:16 dachary: i.e. every minute
10:10:25 dachary: that confused me too ;-)
10:10:49 proppy: os_poker_messages.php is called from the GET /receive
10:10:56 dachary: proppy: I agree with you that the server side sleep(3) defeats the purpose of the long poll and it should be fixed
10:11:15 dachary: but I don't think we need to worry about it just right now
10:11:18 proppy: dachary: that's irrelevant to the gift animations system too
10:11:44 proppy: dachary: \os_poker_process_message trigger an event throught jquery
10:11:56 dachary: because 1) it is server side and fixing it will not require protocol changes, 2) the impact is a 3 second delay in the notifications which is ok for now
10:12:29 proppy: since jpoker and drupal doesn't share the same jquery.js copy, I don't think jpoker.opensocial could be informed of messages throught that
10:13:05 proppy: as I commented on http://drupal-dev.pokersource.info/trac/ticket/32
10:16:00 proppy: mongolito404: are you familiar with the javascript part of os_poker ?
10:16:15 mongolito404: Not at all. But Drupal's jquery object can be reached from the iframe with window.top.jQuery. So if you need to listen to its event from the iframe, window.top.jQuery("#message_container").bind("os_poker_imsg"_pok1", function(event, arg){...}) may work.
10:16:55 bruno|taf joined #pokersource.
10:17:06 mongolito404: But this won't work if window.top.jQuery("#message_container") search the iframe document for the #message_container.
10:18:04 mongolito404: So it should prabably be window.top.jQuery("#message_container", window.top.document)
10:18:56 mongolito404: And the binded function may be a generic foward function that forward the event as a local event in the iframe.
10:19:07 proppy: mongolito404: nice to know
10:19:15 proppy: I will had this as a comment on the ticket
10:19:31 mongolito404: This is all theory, I didn't test my hypotheses
10:19:38 proppy: mongolito404: so I feel there is nothing missing for gift animations
10:19:42 proppy: on the drupal side
10:19:54 proppy: for the jpoker iframe to be notified there is a new gift
10:20:24 proppy: mongolito404: me neither, I wasn't sure it was not working, and I glad you gave me a way to test it
10:22:28 proppy: added http://drupal-dev.pokersource.info/trac/ticket/32#comment:3
10:22:57 proppy: and http://drupal-dev.pokersource.info/trac/ticket/9#comment:1
10:29:37 mongolito404: dachary: Do you agree with http://drupal-dev.pokersource.info/trac/ticket/76. Which it should help fixing #38 and #78 ?
10:30:58 dachary reading
10:31:55 dachary: I agree
10:34:11 mongolito404: dachary: What about http://drupal-dev.pokersource.info/trac/ticket/58 ? The code is included in modules/os_poker/thickbox-compressed.js but has been compressed using http://dean.edwards.name/packer/. Drupal itself does not compress JS files. Should I switch code to use the uncompressed Thickbox .js file ?
10:36:33 proppy: Address support is missing from shindig integrator
10:37:50 proppy: http://www.opensocial.org/Technical-Resources/opensocial-spec-v081/opensocial-reference#opensocial.Address_method_summary
10:40:48 mongolito404: dachary: I will also needs precision on what ''skinned'' means in #15 and #48
10:48:47 proppy: made a sample javascript test case to highlight shindig_integrator doesn't support opensocial.Address
10:51:47 mongolito404: dachary: Are the "Sorry! An Error occured" before "errors" message and the Ok button on "status"' messages features of the os_poker module or of the poker theme ? Currently they are provided by the theme. Is it ok ?
10:54:32 guyvdb quit IRC ("Leaving.").
10:55:02 Sp4rKy: dachary: first rsync from a snap done, vm restarted, working correctly (http://pmw.pokersource.vm.gnt/), proxy config copied. We'll need to update dns soon, then down pokersource02.unique and make final sync
10:55:37 proppy quit IRC (Read error: 113 (No route to host)).
10:55:59 proppy joined #pokersource.
11:06:57 dachary: Sp4rKy: why update the DNS ? Is it not a failover IP that can be moved ?
11:09:51 Sp4rKy: dachary: pokermaniaworld.com maped to 91.121.30.203
11:09:59 Sp4rKy: which is the physical ip of unique
11:10:16 Sp4rKy: same for www.pokermaniaworld.com
11:10:19 dachary: ok
11:10:29 Sp4rKy: (and for z2.pokersource.info)
11:10:32 dachary: which IP do you want it ?
11:10:38 dachary: which IP do you want it to be instead ?
11:10:49 Sp4rKy: 2 ways :
11:10:59 Sp4rKy: 1) using the failover ip which is on unique
11:11:09 Sp4rKy: 2) use z2-41 ip
11:12:11 dachary: the new vm is on z2-41 ?
11:12:15 Sp4rKy: yes
11:12:19 dachary: ok
11:12:36 Sp4rKy: but we may have downtime if we use 2
11:12:41 Sp4rKy: 2)
11:12:44 dachary: if I set the IP to z2-41 right now, it will work ? the VM is running ?
11:12:49 Sp4rKy: yes
11:12:54 Sp4rKy: but maybe not uptodate
11:13:13 dachary: there will be no change on pmw from now on
11:13:38 Sp4rKy: so you can update the dns
11:13:54 dachary: I change pokermaniaworld.com to 91.121.33.240 do you confirm this ?
11:14:53 Sp4rKy: I do
11:15:25 proppy: http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?bpc=1&nocache=1&url=http://drupal-kez.pokersource.info/planc/person-opensocial.xml
11:15:36 proppy: added support for addressed in ShindigIntegrator
11:16:10 proppy: http://pastebin.com/m78462a3a
11:18:14 dachary: Sp4rKy: good :-)
11:18:34 Sp4rKy: :)
11:19:01 dachary: Sp4rKy: there will be no need for a final sync. We will lose the logs left on pokersource02 for the next few days but we will not lose anything else. And the population using this machine is very low anyway.
11:19:59 Sp4rKy: k
11:43:20 guyvdb joined #pokersource.
11:48:24 mongolito404: I'm having a strange JavaScript issue. The JavaScript seems to be block for some unknow reason on the front page (when logged). The function to show the messages in a thickbox is never called.
11:51:26 mongolito404: Line 55-57 in os_poker.bootstrap.js are never executed. These are delayed with a setTimeout (line 54) so any JS enqueued before it is executed before. I guess there is a blocking JS somewhere. Also, the content of the poker iframe is not shown (not Tables table). Is there a synchronized XMLHttpRequest ?
11:52:44 mongolito404: I've only this issue with Firefox 3.5(.6), it works fine with Google Chrome.
12:02:32 proppy: mongolito404: can you give me the url so I see if I have the same issue
12:02:48 mongolito404: proppy: login at http://drupal-404.pokersource.info/drupal6/
12:03:21 mongolito404: You should have a popup with buddy request. Unless you have the same issue
12:03:42 proppy: I don't have a popul with a buddy request
12:03:47 proppy: but the content of the poker iframe is shown
12:09:18 macmaN quit IRC (Read error: 113 (No route to host)).
12:15:13 macmaN joined #pokersource.
12:27:15 mongolito404: Weird, the issue os gone for me. I had two front page opened in different FF tabs. Maybe this caused the issue.
12:32:21 mornifle quit IRC (Read error: 113 (No route to host)).
12:34:26 proppy: mongolito404: if you are still running the old version of jpoker client, and poker-network server it will prevent the opening of two tabds
12:34:46 proppy: I'm not sure of the state of drupal-404 regarding jpoker and/or poker-network
12:52:16 dachary: mongolito404: could you please restate the questions you have ? I'm ready to answer them.
12:52:42 dachary: I've lagged and I want to make sure I'm not answering questions for which you already have an answer.
12:52:51 Sp4rKy: dachary: z2-2 migrated back. Rheincode is available
12:52:53 dachary: And it's a nice excuse for being a little lazy ;-)
12:53:01 dachary: Sp4rKy: checking
12:56:00 dachary: Sp4rKy: works
12:56:20 Sp4rKy: good news
12:57:39 bkuhn joined #pokersource.
13:03:33 mongolito404: dachary: What about http://drupal-dev.pokersource.info/trac/ticket/58 ? The code is included in modules/os_poker/thickbox-compressed.js but has been compressed using http://dean.edwards.name/packer/. Drupal itself does not compress JS files. Should I switch code to use the uncompressed Thickbox .js file ?
13:03:33 mongolito404: dachary: I will also needs precision on what ''skinned'' means in #15 and #48
13:03:33 mongolito404: dachary: Are the "Sorry! An Error occured" before "errors" message and the Ok button on "status"' messages features of the os_poker module or of the poker theme ? Currently they are provided by the theme. Is it ok ?
13:08:52 dachary: mongolito404: reading
13:11:48 proppy: lunch break
13:12:34 mongolito404: w00t lunch break... wait, the fridge is (almost) empty :(
13:12:59 dachary: :-)
13:13:06 dachary: go refuel
13:15:13 dachary: mongolito404: http://drupal-dev.pokersource.info/trac/ticket/58#comment:2 updated for clarity
13:16:03 proppy: still working on shinding integrator testcase for opensocial.address support
13:17:41 dachary: http://drupal-dev.pokersource.info/trac/ticket/15 it is not skinned in the sense that it's ugly and does not match any mockup. As far as I know there is no mockup and they are expected. However, there might be an issue with the page itself : i.e. even if there was a mockup it may not display properly because the global menus do not show (not sure).
13:17:53 dachary: http://drupal-dev.pokersource.info/trac/ticket/48 is the same
13:19:17 dachary: "Sorry! An Error occured" before "errors" message : I have no strong feelings about this and I'm happy if they are provided by the theme as long as you don't see a problem with it.
13:19:20 dachary: => lunch
14:04:19 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
14:08:26 mornifle joined #pokersource.
14:23:54 proppy: filled http://drupal.org/node/673756
14:28:03 proppy: http://drupal-dev.pokersource.info/trac/ticket/6#comment:4 updated
14:34:07 proppy: updated http://drupal-dev.pokersource.info/trac/ticket/6#comment:5
14:34:32 proppy: shindig integrator tests green
14:35:10 dachary: back
14:45:28 mongolito404: dachary: Updated http://drupal-dev.pokersource.info/trac/ticket/15#comment:6, the global menu is shon with a single "Home" entry as the page is for not-logged in users.
14:48:00 dachary: this is good mongolito404
14:48:27 mongolito404: dachary: For #48, should I theme the tables to look like the "Tables" table in the poker iframe ?
14:50:24 dachary finished reading the ticket
14:51:46 dachary: You are free to chose the solution that is easiest. I understand that the non optional aspect of this makes it simpler to skin it rather than removing it.
14:52:28 dachary: It does not need to be pretty, and I suspect it will be redesigned anyway (because it shows often). If you can just make sure it's readable, that will be enough.
14:54:57 macmaN joined #pokersource.
15:04:11 proppy: working on opensocial javascript tests for http://drupal-dev.pokersource.info/trac/ticket/6
15:19:53 mongolito404: dachary: Is this enough http://drupal-dev.pokersource.info/trac/ticket/55#comment:2 ? Should I create a wiki page for this ?
15:21:52 mornifle quit IRC (Read error: 60 (Operation timed out)).
15:23:29 dachary: mongolito404: reading
15:23:51 brian__ quit IRC (niven.freenode.net irc.freenode.net).
15:24:15 brian__ joined #pokersource.
15:28:44 dachary: mongolito404: could you give me the url of the translate interface on drupal-404 ?
15:29:02 dachary: ...admin/build/translate ?
15:31:01 saqimtiaz quit IRC (Read error: 104 (Connection reset by peer)).
15:33:21 dachary: http://drupal-dev.pokersource.info/drupal6/?q=admin/build/translate shows what seems to be builtin things. The goal would be to give a german translator access to an interface (drupal interface could do) where they can do their work.
15:38:15 mornifle joined #pokersource.
15:39:46 proppy trying hard at mockup opensocial ajax call
15:43:53 mornifle quit IRC (Read error: 60 (Operation timed out)).
15:47:23 mornifle joined #pokersource.
15:49:55 mongolito404: dachary: http://drupal-dev.pokersource.info/drupal6/?q=admin/build/translate give access to ALL strings used by Drupal
15:50:25 mongolito404: (and a string don't show up until it has actually been used once)
15:51:16 mongolito404: That's why I suggest extracting the .pot file to work on os_poker strings
15:52:38 mongolito404: The Localization client can be used to allow translator to translate the strings "on page" if needed
15:53:06 mongolito404: See http://drupal.org/project/l10n_client
15:53:27 bkuhn quit IRC ("Back in about 30 minutes.").
15:54:53 mongolito404: dachary: On http://drupal-404.pokersource.info/drupal6/?q=admin/build/translate/search, search for "Chips", you should see strings from the os_poker.module.
16:07:55 bkuhn joined #pokersource.
16:11:40 mongolito404: dachary: http://drupal-dev.pokersource.info/trac/ticket/38#comment:6 ?
16:14:08 proppy: finally got a test case for opensocial request http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?bpc=1&nocache=1&url=http://drupal-kez.pokersource.info/planc/test-jpoker-opensocial.xml
16:38:14 GodStack joined #pokersource.
16:41:28 GodStack: jpoker question
16:42:44 proppy: install jslint on drupal-kez
16:46:26 proppy: added http://drupal-dev.pokersource.info/trac/ticket/6#comment:7
16:46:29 mongolito404: dachary: http://drupal-dev.pokersource.info/trac/ticket/74#comment:2
16:52:26 mongolito404: dachary: What should be done when thickboxed messages are displayed in a first thickbox smaller then the thickbox for the message (yep, I know this is not very clear) See http://drupal-dev.pokersource.info/trac/ticket/78 for a use case.
16:58:43 proppy: http://drupal-dev.pokersource.info/trac/ticket/6#comment:8
17:03:08 dachary: mongolito404: reading
17:12:55 dachary: back
17:14:02 dachary: http://drupal-dev.pokersource.info/trac/ticket/74 I think the simplest thing to do would be to dismiss the medium profile
17:15:02 mongolito404: You mean dismiss the medium profile when the user click the "add buddy". Se the buddy request is directly sent without any confirmation ?
17:15:20 dachary: hum
17:15:41 dachary: forget what I said
17:18:15 dachary: When I click http://drupal-404.pokersource.info/drupal6/?q=poker/profile/medium/124 and then Add buddy, I see a JS lightbox asking for confirmation. It's nothing like http://drupal-dev.pokersource.info/trac/attachment/ticket/74/bug3.png. Did you do something or is it just because it's in a slightly different context (i.e. I use a direct link to the medium profile instead of going thru a thickbox opened by clicking on the avatar on the poker t
17:20:31 dachary: regarding http://drupal-dev.pokersource.info/trac/ticket/78 i see what you mean and I think the goal is to never run into such a situation. In the case of the forgot-password confirmation, can it just be disabled ? I will escalate the problem to the people who think about the use cases.
17:21:03 bkuhn quit IRC ("Back in about 30 minutes.").
17:22:37 mongolito404: For medium profile: No I didn't touch anything. I couldn't reproduce the bug when displaying the profile for a poker table. I've issue using the poker client on drupal-404, proppy told me jspoker has not been updated on drupal-404.
17:23:42 mongolito404: Regarding #78: By disabling, do you mean disabling the message or disabling the display of the message in a thickbox ?
17:25:53 dachary: mongolito404: for both cases a solution would be to disable the user confirmation in favor for a hardwired value.
17:26:15 mongolito404: ok
17:26:24 dachary: i.e. when clicking add buddy an invitation is sent without asking for confirmation
17:26:39 mongolito404: (there is no confirmation for #78, the thickbox is information only)
17:26:41 dachary: i.e. when forgot password is sent the thickbox is dismissed without confirmation
17:27:01 dachary: i.e. when forgot password is sent the thickbox is dismissed without information (sorry ;-)
17:27:40 dachary: I've added a request for specifications to deal with this general problem. I think it's bad practice to squeeze confirmations / notifications. But we can't solve the useability problem it poses by ourselves.
17:29:12 dachary: mongolito404: when you disable these, could you make a note in each ticket that you did so ? So that we can dig them when and if the specifications are updated accordingly ?
17:30:40 mongolito404: IMHO, moving messages (status or error) in a box that is dismissed is bad. The average user will dismiss the box without reading its content. And once the box has been dismissed, the messages are lost.
17:31:13 mongolito404: dachary: I will add a note in the ticket.
17:38:52 dachary: I agree. But that's not what we're going to do. Or are we ?
17:39:26 mongolito404: This is the current behavior.
17:40:38 mongolito404: The messages are always displayed in a thickbox except on admin pages. The thickbox can be dismissed by clicking on the big "Ok" button or the small "X" one on top right.
17:45:46 dachary: Understood. Thanks for the confirmation, I wanted to be sure we understand each other.
17:48:06 proppy: I believe small profile is ready to test
17:48:10 proppy: remaining issue are:
17:48:17 proppy: No default image in small profile if avatar has not been set.
17:48:22 proppy: This may be fixed by adding a background-image on poker_avatar div (img parent).
17:48:40 proppy: dachary: unfortunatly, I've been unable to work on anything else but small profile
17:48:49 proppy: today
17:49:29 dachary: is it completed or does it need more work proppy ?
17:49:39 proppy: dachary: as I said it is ready to test
17:49:42 proppy: the only remaining issue is
17:49:49 proppy: "No default image in small profile if avatar has not been set."
17:49:58 proppy: : This may be fixed by adding a background-image on poker_avatar div (img parent).
17:50:01 proppy: i.e: CSS
17:50:09 dachary: mongolito404: what command line should I use to create the .pot file ?
17:50:30 mongolito404: dachary: You need the potx module
17:50:43 emilie quit IRC ("Leaving.").
17:51:16 mongolito404: There is a .php file to run with the command line
17:51:35 mongolito404: I don't remember the details
17:51:47 mongolito404: But if you install and enable the potx module, you can do it with the wbe interface
17:51:54 dachary: mongolito404: could you update this first thing tomorrow ?
17:52:33 dachary: mongolito404: could you update these instructions first thing tomorrow and attache the generated .pot file ?
17:52:45 mongolito404: Yep, first thing tommorow, I'll raise its priority
17:52:54 dachary: thanks
17:52:58 bkuhn joined #pokersource.
18:25:25 proppy: mailed pokersource-user about today works
18:30:54 proppy quit IRC ("Leaving.").
18:34:57 j1b quit IRC ("Ex-Chat").
18:46:17 GodStack: Hello, Could someone explain how to activate the jpokeradmin panel?
18:55:02 dachary: you need to change the permissions of the pokersql script that is in /usr/lib/cgi-bin
18:55:26 dachary: it's disabled by default for security reason (it allows to perform any SQL request on the database)
18:55:28 dachary: GodStack:
19:04:29 GodStack: Thank you. Once the permissions are set is it safe to use from the web?
19:10:06 bkuhn quit IRC ("Back in 10 min.").
19:17:41 mornifle quit IRC (Read error: 60 (Operation timed out)).
19:26:04 dachary quit IRC (Read error: 113 (No route to host)).
19:31:54 mornifle joined #pokersource.
19:43:43 guyvdb quit IRC ("Leaving.").
20:10:12 saqimtiaz joined #pokersource.
20:15:53 guyvdb joined #pokersource.
20:20:29 mongolito404 quit IRC ("Leaving.").
20:38:44 bruno|taf quit IRC ("Leaving.").
20:39:14 dachary joined #pokersource.
20:42:44 malwin joined #pokersource.
20:56:48 malwin: Hi
20:56:48 malwin: I'm going to host the the poker server on a windows server 2008 , with linux virtual machine installed
20:56:48 malwin: What are the required server specification , cpu , ram , bandwith ?
20:58:45 guyvdb quit IRC (Read error: 110 (Connection timed out)).
21:03:47 dachary: malwin: it all depends on how much people you have on your server
21:12:06 malwin: dachary: for example, 1000
21:16:13 dachary: 1000 concurrent users ?
21:20:52 dachary: malwin: ^
21:22:13 malwin: yes
21:32:39 dachary: you won't be able to host that on a single VM
21:42:11 bkuhn joined #pokersource.
21:54:58 malwin: dachary: What is the capacity of one virtual machine ?
21:56:47 malwin: What kind of server requirement do i need ?
22:06:07 dachary: One VM will be good for 100 simultaneous users.
22:11:07 GodStack: I tried setting the file permissions for the pokersql script but I am only getting a blank page.
22:19:29 malwin: dachary: Why only 100 simultaneous users ?
22:19:47 malwin: One VM can have high power
22:23:26 GodStack: Do I need to modify the apache files.
22:30:10 dachary: malwin: it's a rough estimate.
22:30:20 dachary: a safe bet if you will ;-)
22:31:50 dachary: malwin: the price of recruiting 100 simultaneous users is at least 50 times the price of renting the virtual machine to host them. I guess it's why noone cared to increase this ratio.
22:47:55 guyvdb joined #pokersource.
22:48:28 malwin: dachary: on http://pokersource.sourceforge.net/ I read that 1000 simultaneous played succesfully , what server was that ?
22:51:08 dachary: I agree it's confusing :-) You can reach this using a binary protocol with a solid connection and a smart client (the kind of client that knows the rules of poker and will figure out which side pot goes to which player if the server just tell it : this player calls + has these pocket cards).
23:15:54 Weaky joined #pokersource.
23:16:47 Weaky: hi does anyone know where to find current maps for openholdem 2.0
23:22:17 Weaky quit IRC ().

Proceed to Tuesday 5 January 2010



Brought to you by your friendly neighborhood Logger Bot.