#pokersource@irc.freenode.net IRC Log for
Wednesday 13 January 2010

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

Back to to Tuesday 12 January 2010


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

00:09:05 thy quit IRC (niven.freenode.net irc.freenode.net).
00:09:05 saqimtiaz quit IRC (niven.freenode.net irc.freenode.net).
00:10:16 bkuhn quit IRC ("Leaving the office.").
00:10:21 saqimtiaz joined #pokersource.
00:11:07 thy joined #pokersource.
01:03:49 macmaN joined #pokersource.
01:09:07 saqimtiaz quit IRC ("Leaving.").
01:23:29 macmaN quit IRC (Read error: 110 (Connection timed out)).
02:04:54 bkuhn joined #pokersource.
03:06:33 bkuhn quit IRC ("ERC Version 5.3 (IRC client for Emacs)").
03:39:44 saqimtiaz joined #pokersource.
04:56:54 saqimtiaz quit IRC ("Leaving.").
07:00:15 macmaN joined #pokersource.
08:05:31 saqimtiaz joined #pokersource.
08:07:32 mongolito404 joined #pokersource.
08:29:27 dachary joined #pokersource.
09:12:28 bleader quit IRC (Read error: 60 (Operation timed out)).
09:12:38 bleader joined #pokersource.
09:18:19 bruno|taf joined #pokersource.
09:38:16 dachary quit IRC (Read error: 113 (No route to host)).
10:11:16 emilie joined #pokersource.
10:28:42 dachary joined #pokersource.
10:43:27 proppy joined #pokersource.
10:59:50 dachary quit IRC (niven.freenode.net irc.freenode.net).
10:59:50 Sp4rKy quit IRC (niven.freenode.net irc.freenode.net).
11:00:30 dachary joined #pokersource.
11:00:30 Sp4rKy joined #pokersource.
11:13:40 dachary: proppy: did you update the poker server on drupal-404 ?
11:13:52 proppy: dachary: no
11:13:55 proppy: dachary: on drupal-kez yes
11:14:05 proppy: dachary: and drupal-demo as been synced from drupal-kez
11:14:08 dachary: ok
11:14:41 mongolito404: To avoid synching drupal-kez to both drupal-404 and drupal-demo. drupal-404 can be configured to use the gadget on drupal-kez or drupal-demo
11:18:59 mongolito404: crap, I added some test methods to os_poker_spec_5.5.test and login fails in these methods... but login in existing methods works fine. I don't see what's wrong :(
11:37:59 dachary: tests can be tricky
11:38:06 dachary: proppy: thanks
11:38:47 dachary: mongolito404: there is no immediate need for a sync and Sp4rKy will copy drupal-demo over drupal-404 when you are ready
11:40:48 mongolito404: ok
12:00:22 dachary: +> lunch !
12:16:53 dachary quit IRC (Read error: 113 (No route to host)).
12:29:13 Sp4rKy quit IRC (niven.freenode.net irc.freenode.net).
12:35:31 Sp4rKy joined #pokersource.
12:36:05 Sp4rKy quit IRC (No route to host).
12:38:38 Sp4rKy joined #pokersource.
13:29:34 guyvdb joined #pokersource.
14:01:06 mongolito404: proppy: I'm working on http://drupal-dev.pokersource.info/trac/ticket/122. U4 guess that in the ticket, medium profile refers to the profile displayed at bottom left of the paker gadget when hovering a player
14:01:38 mongolito404: s/U4/I
14:01:56 mongolito404: Do you know how the status is supposed to be passed to the gadget ?
14:02:33 proppy: mongolito404: bottom left is small profile
14:03:03 proppy: mongolito404: so the wording/title of the ticket is wrong
14:03:23 proppy: and status use jpoker player.stats
14:03:26 proppy: .level
14:03:38 proppy: is level is not updated (i.e python-poker-stats is not running)
14:03:43 proppy: jpoker will never be aware of it
14:03:49 proppy: mongolito404: that's not a drupal thing at all
14:03:57 proppy: that's a poker-network / jpoker issue
14:04:18 proppy: at least it looks like that to me,
14:04:41 proppy: to me Status: is the level computed to python-poker-stats), and not something computed by the social network
14:04:53 mongolito404: In Drupal, when needed (on the various profile) the status is computed using hardocded rules. Is that ok or should it be queried from a DB or some other remote location ?
14:06:12 dachary joined #pokersource.
14:07:40 dachary: back
14:09:15 mongolito404: dachary: About http://drupal-dev.pokersource.info/trac/ticket/122. proprry just told me that this is actually about the 'small' profile in the jpoker gadget. And that it is not a Drupal issue but a poker-network / jpoker issue.
14:09:39 dachary: ok
14:09:50 dachary: I'll reassign it
14:09:51 mongolito404: This lead me to the following question: In Drupal, when needed (on the various profile) the status is computed using hardocded rules. Is that ok or should it be queried from a DB or some other remote location ?
14:10:20 dachary: status is calculated according to the number of chips, is that correct ?
14:10:55 mongolito404: Yes
14:11:16 dachary: keep it hardcoded then
14:11:26 dachary: http://drupal-dev.pokersource.info/trac/ticket/122#comment:2
14:11:33 dachary: reassigned
14:13:57 proppy: dachary: should the status be computed in small profile using player.stats.level ?
14:14:09 proppy: (like the one who is displayed over the player)
14:14:27 dachary: proppy: I would have to check the specifications to answer this question.
14:14:33 proppy: (if yes, just enabled python-poker-stats on the server should solve the issue)
14:14:36 proppy: ok
14:14:46 proppy: I assumed it was that when implementing small profile
14:14:54 proppy: I should have checked the specification
14:15:01 dachary: i think its the drupal status calculated with the number of chips
14:20:48 mongolito404: proppy: About http://drupal-dev.pokersource.info/trac/ticket/119, how should jpoker be notified of the item activation ?
14:21:23 proppy: currently there is no jpoker function for item activation
14:25:46 mongolito404: dachary: ^ should we use a message like we did for http://drupal-dev.pokersource.info/trac/ticket/86 (which broke of gadget and the container does not share the same domain) ?
14:26:47 Sp4rKy quit IRC (Read error: 60 (Operation timed out)).
14:29:04 dachary quit IRC (niven.freenode.net irc.freenode.net).
14:37:31 dachary joined #pokersource.
14:37:39 Sp4rKy joined #pokersource.
14:37:51 mongolito404: dachary: Did you see my previous message ?
14:39:34 dachary checking
14:39:55 dachary: last message I see from you is : (02:21:46 PM) mongolito404: proppy: About http://drupal-dev.pokersource.info/trac/ticket/119, how should jpoker be notified of the item activation ?
14:40:12 mongolito404: yes, that's the one I'm talking about
14:40:59 mongolito404: Oups sorry, no
14:41:43 mongolito404: dachary: The useful bits are at http://pastebin.com/d605ae641
14:45:46 thy quit IRC (Read error: 104 (Connection reset by peer)).
14:50:50 dachary: should we use a message like we did for http://drupal-dev.pokersource.info/trac/ticket/86 (which broke of gadget and the container does not share the same domain) ?
14:51:11 dachary: Do you suggest http://drupal-dev.pokersource.info/trac/ticket/86 was not done properly ?
14:51:24 dachary: I'm not sure what "which broke of gadget" entails
14:51:27 dachary: mongolito404: ^
14:52:13 dachary: I would think that activating an item can use the same jpoker API as distributing gifts to the table
14:53:56 mongolito404: Yes. For #86, jpoker bind itself to the "messages bus'' provided by os_poker in the top most frame. At the time we worked on it I hadn't eralised that the jpoker gadget could live in a different domain that the Drupal site (the container).
14:54:17 dachary: ah
14:54:24 dachary: did you open a ticket for this ?
14:55:54 dachary: For the activate function, it could then be implemented by sending a message to the logged in user. And the jpoker code used to distribute gifts around the table will trigger itself.
14:56:10 dachary: "activate" an object is essentially the same as distributing gifts to the table
14:56:22 dachary: from the jpoker code perspective
14:56:40 mongolito404: I did not open a bug. Until now I figured you were aware of the issue (because when talking with proppy about the gadget on monday you seemed to be aware that the current state of the gadget breaks the OS).
14:56:42 dachary: am I making sense ? I did not look at the actual code and I may be missing a piece of logic.
14:56:59 dachary: mongolito404: I'll open the ticket
14:58:45 dachary: http://drupal-dev.pokersource.info/trac/ticket/124
14:59:06 dachary: This can be solved at a later time (scheduled feb 1st)
14:59:20 dachary: what about my suggesting regarding activate ? mongolito404 ?
14:59:44 mongolito404: Yes, I'll implemented it by issue the same event as for the gift.
14:59:54 mongolito404: s/issue/issuing
15:02:17 mongolito404: For #124, it can be fixed cleanly by having the gadget long-polling the server. And a second messages queue at the server. But it double the long polling requests.
15:14:50 dachary: mongolito404: #124 I don't like it. It's a huge source of troubles :-)
15:15:20 mongolito404: You mean long-poll ?
15:37:36 dachary: yes. Each communication channel creates trouble.
15:37:51 dachary: We currenly have two and I'm not keen to add a new one ;-)
15:42:21 mongolito404: dachary: I think that the only JS only way to move data from a parent frame to its children is to use the de window.name property which read/write. But i'm not sure it works.
15:56:56 thy joined #pokersource.
15:58:44 dachary: maybe jpoker hooking to os_poker in a non mandatory way (i.e. it works when there is something to hook to but it does not break when there is nothing) is an option
16:13:33 mongolito404: dachary: I don't understand http://drupal-dev.pokersource.info/trac/ticket/93
16:13:48 dachary: checking
16:14:29 dachary: the "At this table" label on top of the 300x250 must not show
16:14:41 dachary: it must only show when the list of players is displayed
16:15:15 dachary: which makes sense once you think about it. but I've been blind to it since the beginning. We're so used at staring at this page that it does not strike us as odd ;-)
16:19:12 mongolito404: And click on a table name should display the list of user at the table ?
16:21:38 mongolito404: Because for me it doesn't work on drupal-404 or drupal-demo
16:23:26 dachary: it only displays the list of users if there are users at the table
16:23:32 dachary: otherwise it sticks with the banner
16:24:29 mongolito404: ok
16:43:04 mongolito404: When using drupal-404, In Chrome, I'm logged in a as a first user and sitting at a table. In Firefox, I'm logged as a second user. In FF, when I click at the table the first use is sitting at, I get three big JS alert with 'failed to parse JSON' error.
16:43:15 mongolito404: Is this because of some un-updated poker code on drupal-404 ?
17:14:24 saqimtiaz quit IRC ("Leaving.").
17:22:41 dachary: reading
17:23:07 dachary: mongolito404: most definitely yes
17:23:20 dachary: proppy: did a lot of integration work
17:34:56 proppy: mongolito404: this is likely to be a server error
17:35:26 proppy: mongolito404: when you update/sync a drupal-* vm using rsync/dd
17:35:40 proppy: you must be sure to follow the last step of http://drupal.pokersource.info/HOWTO.txt
17:35:56 proppy: in /etc/poker-network/poker.social.xml: s/scratch.rentre.tld/hostname/g /etc/init.d/python-poker-network restart in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/local.php: s/scratch.rentre.tld/hostname/g Load http://hostname/drupal6/ Login as administrator Click "Application gallery" button remove "jpoker" Click "Add new application" Enter URL: http://hostname/jpoker/jpoker-opensocial.xml Click "Add application" button
17:38:23 saqimtiaz joined #pokersource.
17:38:32 proppy: updated howto on drupal.pokersource.info
17:38:32 proppy: changeset: 97:556813df048e
17:38:33 proppy: tag: tip
17:38:33 proppy: user: root@drupal.pokersource.info
17:38:33 proppy: date: Wed Jan 13 17:37:44 2010 +0100
17:38:33 proppy: files: usr/src/HOWTO.txt
17:38:35 proppy: description:
17:38:37 proppy: add application id to HOWTO
17:38:39 proppy: diff -r 9d7521a8438b -r 556813df048e usr/src/HOWTO.txt
17:38:41 proppy: --- a/usr/src/HOWTO.txt Wed Nov 18 06:31:09 2009 +0100
17:38:43 proppy: +++ b/usr/src/HOWTO.txt Wed Jan 13 17:37:44 2010 +0100
17:38:45 proppy: @@ -161,3 +161,5 @@
17:38:47 proppy: Enter URL:
17:38:49 proppy: http://hostname/jpoker/jpoker-opensocial.xml
17:38:51 proppy: Click "Add application" button
17:38:53 proppy: +in /etc/poker-network/poker.social.xml
17:38:55 proppy: +update /pokersocial/container/opensocial_app_id to match echo "select id from applications;" | mysql -u root --silent drupal6;
17:38:58 proppy: http://drupal.pokersource.info/HOWTO.txt
18:03:08 bkuhn joined #pokersource.
18:17:05 emilie quit IRC ("Leaving.").
18:17:45 saqimtiaz quit IRC ("Leaving.").
18:30:55 guyvdb quit IRC ("Leaving.").
19:33:15 dachary quit IRC (niven.freenode.net irc.freenode.net).
20:00:16 mongolito404 quit IRC (Read error: 110 (Connection timed out)).
20:01:51 mongolito404 joined #pokersource.
20:24:51 proppy quit IRC ("Leaving.").
21:31:52 guyvdb joined #pokersource.
21:54:42 guyvdb1 joined #pokersource.
21:54:49 guyvdb quit IRC (Read error: 110 (Connection timed out)).
21:56:17 mongolito404 quit IRC ("Leaving.").
23:10:29 thy1 quit IRC ("Leaving.").

Proceed to Thursday 14 January 2010



Brought to you by your friendly neighborhood Logger Bot.