#pokersource@irc.freenode.net IRC Log for
Tuesday 5 January 2010

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

Back to to Monday 4 January 2010


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

00:11:31 malwin quit IRC ("Leaving").
00:38:02 proppy joined #pokersource.
01:03:12 PokerTec joined #pokersource.
01:04:32 proppy quit IRC ("Leaving.").
01:12:29 PokerTec: I can't get jpokeradmin to work, what file specifically houses the permissions that I need to change. I've looked at the obvious and they look right but I am obviously overlooking something.
01:14:12 PokerTec: BTW, I'm not sure why I have 2 screen names listed PokerTec and Godstack.
01:25:36 macmaN quit IRC (Read error: 54 (Connection reset by peer)).
02:09:06 dachary quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 Sp4rKy quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 mornifle quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 thy quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 thy1 quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 julez quit IRC (niven.freenode.net irc.freenode.net).
02:09:06 Nurbs quit IRC (niven.freenode.net irc.freenode.net).
02:16:42 Nurbs joined #pokersource.
02:18:04 dachary joined #pokersource.
02:18:04 Sp4rKy joined #pokersource.
02:18:31 julez joined #pokersource.
02:18:31 mornifle joined #pokersource.
02:18:32 thy joined #pokersource.
02:18:32 thy1 joined #pokersource.
02:21:47 bkuhn quit IRC ("Sleeping").
02:23:08 Nurbs- joined #pokersource.
02:23:32 Nurbs quit IRC (Connection timed out).
02:23:57 Nurbs- is now known as Nurbs.
02:48:15 dachary quit IRC (Read error: 113 (No route to host)).
03:09:18 PokerTec left #pokersource.
03:28:44 macmaN joined #pokersource.
03:34:45 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
05:50:01 macmaN joined #pokersource.
05:53:00 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
06:06:41 GodStack quit IRC (Read error: 110 (Connection timed out)).
07:40:39 bruno|taf joined #pokersource.
07:41:42 dachary joined #pokersource.
08:07:18 macmaN joined #pokersource.
08:10:16 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
08:14:03 mongolito404 joined #pokersource.
08:29:11 dachary quit IRC (Read error: 113 (No route to host)).
08:59:04 Sp4rKy: who works on drupal.pokersource.info ?
09:11:09 mongolito404: I'm not. I'm working on drupal-404.pokersource.info
09:15:10 Sp4rKy: k
09:21:27 proppy joined #pokersource.
09:22:02 dachary joined #pokersource.
09:22:53 dachary: mongolito404: good morning sir !
09:22:55 dachary: proppy: hi
09:24:44 proppy: hi
09:25:09 mongolito404: Hi
09:25:38 mongolito404: dachary: http://drupal-dev.pokersource.info/trac/ticket/55#comment:5
09:26:58 dachary: mongolito404: awesome
09:28:04 dachary: mongolito404: can you please update the ticket description with the command line used to generate the general.pot + poker.pot files so that cut/paste of these lines is enough to regenerate them ?
09:29:26 mongolito404: The last line in the code block in comment 5 is the actual command line to generate a .pot file from the files in the current directory
09:30:54 mongolito404: http://drupal-dev.pokersource.info/trac/ticket/55#comment:7
09:32:03 proppy: I wish there was a way to edit comment :)
09:32:54 mongolito404: I used Trac and loved it until I tried redmine...
09:33:21 proppy: dachary: do you have time to discuss today work, or should we reschedule in 15-30 min ?
09:36:11 dachary: mongolito404: http://drupal-dev.pokersource.info/trac/ticket/55#comment:8
09:37:46 dachary: mongolito404: could you please update the description with command lines (or online instructions) to install translated files and activate them ?
09:48:47 mongolito404: dachary: http://drupal-dev.pokersource.info/trac/ticket/55#comment:9
09:49:18 dachary: mongolito404: awesome
09:49:28 dachary: proppy: can we reschedule in 40 minutes ?
09:49:39 proppy: dachary: np, I'll be leaving for skyrock then
09:49:41 proppy: dachary: ++
10:13:19 macmaN joined #pokersource.
10:20:33 proppy quit IRC ("Leaving.").
10:28:21 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
10:33:20 guyvdb quit IRC ("Leaving.").
10:52:36 guyvdb joined #pokersource.
10:56:56 proppy joined #pokersource.
11:00:15 bruno|taf1 joined #pokersource.
11:00:53 proppy: dachary: back
11:01:10 bruno|taf quit IRC (Read error: 60 (Operation timed out)).
11:03:38 proppy: dachary: sorry to be late
11:04:33 mongolito404: dachary: Are you available to discuss a possible theming issue (buttons theming). If not ping me when you are.
11:04:47 dachary: mongolito404: tell me
11:05:33 mongolito404: Currently all "themed" button (goldish round button) are outputed with custom markup in the templates and are not actual button element ()
11:05:44 dachary: ok
11:06:13 proppy1 joined #pokersource.
11:07:14 mongolito404: This leads to 3 issues: a) If the markup needs to be modified, all templates have to be updated b) Themes have to provide the CSS rules to make the markup looks like a button c) Buttons outputed elsewhere (ie. most form rendered using the Drupal form engine) are not themed
11:08:32 mongolito404: The solution would be to use a theme function to provide the buttons markup, this would solve a) and b). And to re-use this function to override the Drupal form button rendering code to produce the same markup to solve c)
11:09:12 dachary: it sounds like a sensible thing to do
11:09:16 mongolito404: Actually, the later can be done without the first. The form button output can be mdified to use (almos) the same markup as the the one currently outputed in templtes.
11:10:04 dachary: Why is this issue coming up ? Is it related to http://drupal-dev.pokersource.info/trac/ticket/74#comment:5 ?
11:10:08 mongolito404: If we do that, all buttons and all forms will be themed. Is this an issue ?
11:10:14 mongolito404: dachary: Yes
11:11:09 dachary: The entry is a little cryptic to me. Could you rewrite it for clarity ? Replace '''single button''' by an explanation of what it means.
11:12:36 mongolito404: What about "a form containing hidden fields and only a single visible button"
11:14:36 dachary: much better ;-)
11:15:16 MotherOfCOBOL joined #pokersource.
11:15:19 dachary: and I now understand how it relates to skinning issues.
11:15:27 MotherOfCOBOL: hop
11:15:34 dachary: MotherOfCOBOL: good morning
11:15:43 MotherOfCOBOL: ahem :)
11:16:00 dachary: mongolito404: how long do you figure it would take to sanitize this ?
11:18:52 mongolito404: dachary: Theming the forms buttons shoudl take 0.5-1h (which is almost the same as theming only the Add Buddy button) because I need to understand how to th button are currently done and apply the same method to actual buttons element. Sanatizing templates to use a theme function instead of copy/pasted markup would take a little longer since all templates have to be searched for button markup. And the theme function for these buttons have to matc
11:19:51 mongolito404: The two can be separated. I can provide a theme function for forms button to theme existing forms. The button markup in template can be sanatized later.
11:21:58 dachary: I agree with the general idea to go in this direction. I acknowledge it allows you to solve http://drupal-dev.pokersource.info/trac/ticket/74#comment:5 and improve the theming situation at the same time.
11:22:18 dachary: mongolito404: is it the kind of confirmation you were expecting from me ?
11:22:30 mongolito404: Yes
11:22:55 mongolito404: And to set the priority.
11:23:30 proppy quit IRC (Read error: 113 (No route to host)).
11:24:01 mongolito404: I propose. First: theming of forms button (to finish #74), then sanatize buttons markup in templates (with a lower priority, so after my other blocking tickets)
11:24:04 mongolito404: ok ?
11:25:38 dachary: ok
11:25:47 dachary: mongolito404: ^
11:26:55 mongolito404: Speaking of my other tickets, there is no .ods attached to http://drupal-dev.pokersource.info/trac/ticket/81
11:40:12 proppy1: attached a new patch to https://gna.org/bugs/index.php?14883#comment2
11:40:20 proppy1: I believe it reproduce and correct this issue
11:41:23 proppy1: even thought the fix lays in pokersite, the tests has been put in pokersite for convenience
11:42:28 proppy1: oups, the tests have been put in test-sessionexplainfilter, sorry
11:43:04 proppy1: added https://gna.org/bugs/index.php?14883#comment3
11:50:44 dachary: mongolito404: the ods is in the zip
11:51:38 dachary: mongolito404: which is now attached to the ticket (sorry for the missing file ;-)
11:51:50 mongolito404: dachary: ok
11:58:33 j1b joined #pokersource.
12:31:22 macmaN joined #pokersource.
12:41:43 saqimtiaz quit IRC ("Leaving.").
12:49:25 macmaN quit IRC (Read error: 54 (Connection reset by peer)).
12:57:27 mornifle quit IRC (Read error: 60 (Operation timed out)).
13:10:04 proppy1: https://gna.org/bugs/index.php?15008
13:10:13 proppy1: https://gna.org/bugs/index.php?15008#comment5
13:10:18 proppy1: add support for named resthost
13:10:27 proppy1: (name field already in resthost table)
13:10:31 proppy1: to be able to qualify resthost (explain or not) against their name
13:36:47 bkuhn joined #pokersource.
14:14:45 dachary quit IRC (Read error: 110 (Connection timed out)).
14:50:29 mornifle joined #pokersource.
14:52:34 macmaN joined #pokersource.
14:58:07 proppy1: back from lunch
15:18:58 proppy1: https://gna.org/bugs/index.php?15008#comment6
15:19:08 proppy1: added a patch that add random election of resthost by name, it has been merged with the previous patches for convenience.
15:20:28 mongolito404: proppy1: FYI, when doing window.top.$('#messages') from an iframe, this return the #messages element in window.top, not in window
15:20:45 proppy1: mongolito404: nice
15:21:09 proppy1: mongolito404: previously you suggested to use $('#messages', windows.top)
15:21:22 mongolito404: proppy1: But now I tested it
15:21:29 proppy1: yes thanks a lot
15:21:37 proppy1: I'll add your comment to the ticket
15:22:16 proppy1: http://drupal-dev.pokersource.info/trac/ticket/9#comment:3 updated
15:22:54 proppy1: and http://drupal-dev.pokersource.info/trac/ticket/32#comment:4
15:39:04 bruno|taf1 quit IRC (Read error: 104 (Connection reset by peer)).
15:49:50 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
15:50:24 bruno|taf joined #pokersource.
16:00:32 dachary joined #pokersource.
16:06:27 proppy1: working on https://gna.org/bugs/index.php?15016 diagnostic
16:11:37 saqimtiaz joined #pokersource.
16:39:07 proppy1: checked that 2x playerDestroy in a row trigger the same traceback
16:39:07 proppy1: https://gna.org/bugs/index.php?15016
16:39:15 proppy1: https://gna.org/bugs/index.php?15016#comment6
16:50:47 proppy1 is now known as proppy.
16:55:06 dachary: mongolito404: as a general rule, if you are to work on file or function for which there are no tests, you have my blessing to write the missing tests before doing the change.
17:13:45 mongolito404: dachary: For http://drupal-dev.pokersource.info/trac/ticket/81, should I reformat the data by hand to allow CSV importation ?
17:17:28 dachary: :-D good question
17:18:32 dachary: could you please a) reformat manually, b) explain in a wiki page linked from the home page how it should be formated & attach the reformatted page ? I will make sure you get a properly formated list the next time. Does that work for you mongolito404
17:19:21 mongolito404: dachary: ok
17:20:43 dachary: mongolito404: could you also add a page with short explanation ( a link to the entry point + a link to the documentation ) about how to edit new static content on drupal-404 ? http://drupal-dev.pokersource.info/trac/ this wiki i mean (same stands for the above)
17:21:13 dachary trying http://drupal-404.pokersource.info/drupal6/?q=node/add/page
17:22:11 mongolito404: There is a JS loop on http://drupal-404.pokersource.info/drupal6/?q=node/add/page
17:22:27 dachary: looks like it, yes
17:23:00 dachary: mongolito404: to avoid any interference, would it be a problem if content editing is done on http://drupal-dev.pokersource.info/drupal6/?q=node/add/page ?
17:23:39 dachary: What I mean is : will it be convenient for you to retrieve the content and import it in drupal-404 when the editor is finished with his work ?
17:24:01 proppy: still working on https://gna.org/bugs/index.php?15016 diagnostic
17:24:41 mongolito404: dachary: This is not a problem, but in Drupal, each node (the content base unit) has a unique ID. This id is generated when the content is created (it is a sequential id from the DB).
17:26:32 mongolito404: The default URL for a node is node/. It can be changed when editing the node.
17:27:38 dachary: I see. I understand this is going to be a little longer than a few minutes to explain how to do it in a way that makes it easy for you to import. I'll create a ticket for this.
17:28:07 mongolito404: What is the format of the content ? HTML ?
17:28:53 dachary: yes, I assume it will be. simple HTML though, no JS.
17:29:21 mongolito404: But with links to other pages on the site ?
17:29:45 dachary: hum
17:30:35 dachary: I don't think so but I'm not sure. When you open this door there is no telling where it will lead you. I will impose that there is no link in the pages.
17:32:07 dachary: http://drupal-dev.pokersource.info/trac/ticket/84
18:12:09 saqimtiaz quit IRC ("Leaving.").
19:06:00 GodStack joined #pokersource.
19:09:52 PokerTec joined #pokersource.
19:10:39 PokerTec: Hi,
19:11:38 PokerTec: What file controls the permissions for the pokersql script? I couldn't get it to work yesterday.
19:13:39 proppy: PokerTec: assert settings.headerGet("/server/@admin") in ( "yes", "true" ), "set in %s to enable this CGI. It\
19:13:39 proppy: means anyone with access to the CGI will be able to inject arbitrary SQL code in the MySQL server" % path
19:13:45 proppy: from pokersql.py code
19:18:10 PokerTec: Thanks proppy so to be clear I must make these changes in the pokersql.py?
19:19:00 proppy: no
19:19:06 proppy: in poker.server.xml
19:19:12 proppy: there is an admin=yes attribute
19:19:15 proppy: in the server tag
19:19:22 proppy: PokerTec: sorry for the confusion
19:19:27 proppy: gtg
19:19:31 proppy quit IRC ("Leaving.").
19:31:24 guyvdb quit IRC ("Leaving.").
19:39:33 sacounet quit IRC (Read error: 60 (Operation timed out)).
19:43:59 dachary quit IRC (Read error: 110 (Connection timed out)).
19:51:06 macmaN joined #pokersource.
19:55:13 bkuhn quit IRC ("Back online in about 2 hours.").
20:08:11 guyvdb joined #pokersource.
20:17:16 GodStack left #pokersource.
20:20:34 j1b quit IRC ("Ex-Chat").
20:27:41 guyvdb1 joined #pokersource.
20:31:08 guyvdb quit IRC (Read error: 110 (Connection timed out)).
20:45:03 malwin joined #pokersource.
20:50:54 malwin: Hi
20:50:54 malwin: There is pokerclient.py, that contain several packets.
20:50:54 malwin: Can server emit this packets or this packet are client<->client packets, that emited only by client?
20:53:38 dachary joined #pokersource.
21:10:01 bruno|taf quit IRC ("Leaving.").
21:15:27 malwin: dachary: Hi
21:15:28 malwin: There is pokerclient.py, that contain several packets.
21:15:28 malwin: Can server emit this packets or this packet are client<->client packets, that emited only by client?
21:17:41 dachary: malwin: if the server is switched to "explain mode" (look for Explain key work in packet.py, then the server will send these client<->client packet. It is in a mode where it is helping out a dum client that understands nothing of poker and can only do very basic things such as display cards or chips. The general idea is that client<->client is server side although it would be best (bandwidth/server usage) to have it client side.
21:19:16 dachary left #pokersource.
22:08:39 mongolito404 quit IRC ("Leaving.").
22:13:25 malwin quit IRC (Read error: 104 (Connection reset by peer)).
22:14:21 malwin joined #pokersource.
22:26:35 bkuhn joined #pokersource.
22:30:00 saqimtiaz joined #pokersource.
22:52:08 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
22:53:38 CIA-39 quit IRC ().
23:08:20 CIA-48 joined #pokersource.
23:09:07 macmaN joined #pokersource.
23:18:07 macmaN quit IRC (Read error: 104 (Connection reset by peer)).
23:18:56 dachary joined #pokersource.
23:43:47 malwin quit IRC ("Leaving").
23:52:57 saqimtiaz1 joined #pokersource.

Proceed to Wednesday 6 January 2010



Brought to you by your friendly neighborhood Logger Bot.