*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** jernejovc has quit IRC | 00:13 | |
*** jernejovc has joined #tp | 00:14 | |
*** llnz2 has joined #tp | 00:36 | |
*** llnz2 is now known as llnz | 00:37 | |
*** peres has joined #tp | 00:39 | |
mithro | llnz: risk and minisec | 01:11 |
---|---|---|
llnz | humm... ok | 01:11 |
mithro | it only happens with the threshold is 100% | 01:12 |
llnz | are you sure it's infinite and not 10 minutes? | 01:12 |
mithro | not sure | 01:15 |
mithro | but | 01:16 |
mithro | on all the others | 01:16 |
mithro | when 100% of players have submitted, the turn ends straight away | 01:16 |
mithro | so over_turn_length should never be used | 01:16 |
llnz | it is checked that it is 0 before EOT | 01:18 |
mithro | hrm? | 01:19 |
llnz | if it's not, it waits over_turn_length seconds | 01:19 |
llnz | a get time remain frame at that time should get the right value | 01:19 |
mithro | llnz: if everyone playing has submitting an EOT message, you should move to the next turn right? | 01:19 |
llnz | yes, after over_turn_length seconds | 01:20 |
llnz | be it 0 or 600 or what ever | 01:20 |
mithro | ignore the threshold | 01:20 |
mithro | if everyone who is playing the game has sent an EOT, the turn should end, no? | 01:20 |
mithro | otherwise sending EOT has no use | 01:21 |
llnz | not immediately if configured not to | 01:21 |
llnz | well, if you set the threshold to 50 (ie 50%) and over_turn_length to 600, after half the players are finished, the second half have 10 minutes to finish | 01:22 |
mithro | yes that is fine | 01:22 |
mithro | say we have 4 players | 01:22 |
mithro | in the above situation | 01:23 |
mithro | 2 players submit EOT requests | 01:23 |
mithro | so the turn length is shortened to 10 minutes | 01:23 |
mithro | then the other 2 players submit their EOT requests before 10 minutes is up | 01:23 |
mithro | the turn should end | 01:23 |
llnz | well... i guess that it true, but that's not currently what happens | 01:23 |
mithro | that seems silly | 01:24 |
llnz | mainly to try to get keep the EOT time at the same time every cycle | 01:24 |
mithro | if you don't want people to play finish a turn sooner, turn off EOT support | 01:24 |
mithro | (IE if you are playing one turn a day) | 01:25 |
llnz | threshold == 0, for example? | 01:25 |
llnz | yeah, true | 01:25 |
llnz | ok | 01:25 |
mithro | not quite | 01:25 |
llnz | i'll fix it shortly | 01:25 |
mithro | llnz: okay | 01:26 |
llnz | well... there is a task to create a calendar timer that goes off at the same time each day (or cycle) | 01:26 |
llnz | I will add that when reach 100% players finished, do end of turn | 01:26 |
mithro | if you accepted a SIGUSR1 as a "generate end of turn now" you should just do it via cron :) | 01:26 |
mithro | llnz: yeah | 01:27 |
*** Demitar has joined #tp | 01:27 | |
mithro | I'll be back in about 20 minutes | 01:27 |
mithro | llnz: I think we probably need a point release for tpserver-cpp to make singleplayer stuff work too | 01:28 |
llnz | ok | 01:31 |
mithro | back | 02:12 |
llnz | about to head out for a bit | 02:15 |
*** llnz has quit IRC | 02:43 | |
*** welterde has quit IRC | 02:55 | |
*** welterde has joined #tp | 02:56 | |
*** shenki_ is now known as shenki | 03:42 | |
*** llnz has joined #tp | 03:54 | |
*** welterde has quit IRC | 03:55 | |
*** welterde has joined #tp | 03:59 | |
CIA-69 | mithro tpclient-pywx-singleplayer * r1a9dc2df6ca8 /windows/winConnect.py: Small FIXME comment. | 04:27 |
CIA-69 | mithro tpclient-pywx-singleplayer * reafbf54b9de5 /windows/main/overlays/Systems.py: Put the arrow at the correct location for all icons. | 04:27 |
CIA-69 | mithro tpclient-pywx-singleplayer * r561064be1717 /windows/main/overlays/Overlay.py: Draw things on the map in object type order, then name. | 04:27 |
CIA-69 | mithro tpclient-pywx-singleplayer * r084cf478b48b / (9 files in 3 dirs): Lots of cleanup, reduced some flickering and better window positions. | 04:28 |
*** Azkar has quit IRC | 04:44 | |
mithro | llnz: could you give that a go and tell me if stuff works? | 05:03 |
*** gau_veldt has quit IRC | 05:21 | |
*** mithro has quit IRC | 05:30 | |
*** mithro has joined #tp | 05:31 | |
JLP | good morning everyone | 05:56 |
JLP | i'l be back right after breakfast | 05:56 |
*** llnz2 has joined #tp | 05:57 | |
*** llnz has quit IRC | 05:58 | |
*** llnz2 is now known as llnz | 05:58 | |
*** JLP has quit IRC | 06:15 | |
mithro | morning JLP | 06:16 |
mithro | I wonder if that means ezod will be back soon | 06:17 |
mithro | still a bit early in the USA it seems | 06:17 |
mithro | opps | 06:17 |
*** llnz has quit IRC | 06:35 | |
*** peres has quit IRC | 06:56 | |
mithro | ~seen jernejovc | 06:58 |
tpb | mithro: jernejovc was last seen in #tp 1 year, 51 weeks, 1 day, 15 hours, 10 minutes, and 34 seconds ago: <jernejovc> yup :) | 06:58 |
mithro | ~seen og_ | 06:58 |
tpb | mithro: I have not seen og_. | 06:58 |
mithro | ~seen og | 06:58 |
tpb | mithro: I have not seen og. | 06:58 |
*** peres has joined #tp | 07:06 | |
*** jmtan has joined #tp | 07:57 | |
*** gau_veldt has joined #tp | 08:30 | |
*** peres has quit IRC | 09:11 | |
*** peres has joined #tp | 09:12 | |
*** Azkar has joined #tp | 10:09 | |
*** mithro has quit IRC | 11:07 | |
*** jmtan has quit IRC | 11:19 | |
*** peres has quit IRC | 12:39 | |
*** jernejovc has quit IRC | 13:09 | |
*** JLP has joined #tp | 15:11 | |
*** llnz has joined #tp | 15:28 | |
*** cherez has quit IRC | 16:57 | |
*** nash has joined #tp | 17:48 | |
*** peres has joined #tp | 17:52 | |
*** Iwanowitch has joined #tp | 18:28 | |
*** Azkar has joined #tp | 18:51 | |
*** Azkar has quit IRC | 19:17 | |
*** peres has quit IRC | 20:11 | |
*** mithro has joined #tp | 20:41 | |
mithro | ezod: ping? | 21:10 |
ezod | mithro: pong | 21:11 |
mithro | ezod: so it appears that stuff doesn't get cleaned up when you hit ctrl-c | 21:11 |
mithro | I tried for about 4 hours to figure out the proper solution | 21:11 |
mithro | but it appears there isn't one :( | 21:12 |
ezod | that must have been what i was talking about then | 21:12 |
mithro | in theory you should use the atexit module | 21:13 |
mithro | but it doesn't work | 21:13 |
mithro | ezod: talking about? | 21:13 |
ezod | when i said i had noticed it not working, it must have been after a ctrl-c | 21:14 |
mithro | I also added submodules to daneel-ai | 21:15 |
mithro | and figured out the EOT issue Iwanowitch was having | 21:15 |
mithro | Iwanowitch: ping? | 21:15 |
ezod | can we not trap ctrl-c with signal.signal or something? | 21:16 |
mithro | yes - but then it's very hard to cleanup properly | 21:16 |
mithro | SIGINT | 21:16 |
mithro | plus that is posix only | 21:16 |
ezod | right | 21:16 |
mithro | I want to look at the multiprocessing module | 21:17 |
mithro | as it always seems to do the right thing | 21:17 |
ezod | so this would really only be a concern if someone were running tpclient-pywx from an interactive shell, right? | 21:19 |
mithro | yes | 21:19 |
JLP | mithro: does this change look alright for strings with multiple parameters → http://pastebin.com/m35dc2d83 | 21:20 |
tpb | Title: pastebin - collaborative debugging tool (at pastebin.com) | 21:20 |
mithro | JLP: not quite | 21:21 |
JLP | needs mapi tu instad of tuple? | 21:21 |
mithro | + message=_("Got player %(name)s (ID: %(id)i)...") % {'name': player[0].name, 'id': player[0].id}) | 21:21 |
mithro | needs a dictionary | 21:22 |
JLP | ah i thought so but wasn't sure | 21:22 |
mithro | JLP: your working on the singleplayer branch right? | 21:23 |
JLP | yup | 21:24 |
ezod | mithro: so if there's no solution to ctrl-c thing maybe we could just print a warning message to the terminal at least | 21:41 |
ezod | maybe print process id's of everything in the message also - in case they need to manually clean up | 21:43 |
Iwanowitch | mithro: pong | 21:50 |
Iwanowitch | I was going to shut down though. Tell me later. | 21:52 |
*** Iwanowitch has quit IRC | 21:52 | |
mithro | ezod: I guess so | 22:44 |
JLP | is the command "git push origin/singleplayer sp" right for pushing the changes? | 22:57 |
mithro | JLP: you should be just using git push? | 23:06 |
JLP | mithro: hm this one said everything is up to date | 23:07 |
mithro | what does | 23:09 |
mithro | git branch -a | 23:09 |
mithro | show? | 23:09 |
mithro | Greywhind: poke poke | 23:09 |
Greywhind | mithro: pong | 23:10 |
mithro | Greywhind: you never pushed your fixes for the messages? | 23:10 |
JLP | libtpclient-py-0.3.x | 23:10 |
JLP | * sp | 23:10 |
JLP | origin/HEAD | 23:10 |
JLP | origin/libtpclient-py-0.2.x | 23:10 |
JLP | origin/libtpclient-py-0.3.x | 23:10 |
JLP | origin/schemepy | 23:10 |
JLP | origin/singleplayer | 23:10 |
JLP | origin/sp | 23:10 |
JLP | origin/stable | 23:10 |
JLP | origin/tp04 | 23:10 |
Greywhind | mithro: i didn't? | 23:10 |
mithro | opps | 23:10 |
mithro | Greywhind: not that I can see | 23:10 |
Greywhind | oh | 23:10 |
Greywhind | i probably put it in the singleplayer branch | 23:10 |
mithro | JLP: umm you just created a new sp branch on the remote repository | 23:11 |
mithro | JLP: or atleast that is what your git is trying to do | 23:11 |
mithro | do a | 23:11 |
mithro | git checkout -b singleplayer origin/singleplayer | 23:12 |
mithro | then a | 23:12 |
mithro | git merge sp | 23:12 |
mithro | then try just a | 23:12 |
mithro | git push | 23:12 |
mithro | Greywhind: that is fine - we are all working out of the singleplayer branch | 23:12 |
Greywhind | mithro: are the changes in there? | 23:12 |
mithro | Greywhind: nope - http://git.thousandparsec.net/gitweb/gitweb.cgi?p=tpclient-pywx.git;a=shortlog;h=refs/heads/singleplayer | 23:13 |
tpb | <http://ln-s.net/313b> (at git.thousandparsec.net) | 23:13 |
CIA-69 | jlp libtpclient-py-singleplayer * r6bcef5e838f7 /tp/client/ (cache.py threads.py): Improvements of strings with multiple parameters for translation | 23:13 |
Greywhind | hmm... my git log shows: | 23:14 |
Greywhind | [Greywhind@localhost tpclient-pywx]$ git log | 23:14 |
Greywhind | commit 09e9524b361bed697a9a6af6cc16c3564236b820 | 23:14 |
Greywhind | Author: Greywhind <[email protected]> | 23:14 |
Greywhind | Date: Sun Mar 8 23:15:21 2009 -0400 | 23:14 |
mithro | Greywhind: do a | 23:15 |
mithro | git pull | 23:15 |
Greywhind | ok | 23:15 |
mithro | Greywhind: then a | 23:16 |
mithro | git branch -a -v | 23:17 |
Greywhind | ok | 23:17 |
mithro | Greywhind: well? | 23:22 |
Greywhind | do you need the output? | 23:22 |
Greywhind | [Greywhind@localhost tpclient-pywx]$ git branch -a -v | 23:22 |
Greywhind | * singleplayer 99712f7 [ahead 2] Merge branch 'singleplayer' of git://git.thousandparsec.net/git/tpclient-pywx into singleplayer stable e2ee45c [behind 1] Updated the submodule to the latest head. origin/HEAD 39f8c95 Fixed account creation. origin/schemepy 5588eea Added code to check the schemepy requirement and setup the sys.path. | 23:22 |
Greywhind | orgin/sirngleplayer 084cf47 Lots of cleanup, reduced some flickering and better window positions. origin/stable 39f8c95 Fixed account creation. origin/tp04 d3b8b0e Make tp04 branch depend on tp04 version of the submodules. origin/tpclient-pywx-0.2.x 0e7e5e3 Don't die on a permission denied for making the file executable. | 23:22 |
Greywhind | origin/tpcliet-pywx-0.3.x 39f8c95 Fixed account creati on. | 23:22 |
mithro | Greywhind: and you can push now? | 23:23 |
mithro | whats it say? | 23:24 |
Greywhind | [Greywhind@localhost tpclient-pywx]$ git push | 23:24 |
Greywhind | fatal: The remote end hung up unexpectedly | 23:24 |
mithro | what does your .git/config look like? | 23:29 |
mithro | it sounds like you cloned from git:// | 23:33 |
mithro | rather then git+ssh:// | 23:33 |
mithro | you can fix that by changing your .git/config | 23:33 |
Greywhind | [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true | 23:34 |
Greywhind | [remote "origin"] url = git://git.thousandparsec.net/git/tpclient-pywx.git fetch = +refs/heads/*:refs/remotes/origin/* | 23:34 |
Greywhind | [branch "stable"] remote = origin merge = refs/heads/stable | 23:34 |
Greywhind | [submodule "libtpclient-py"] url = git://git.thousandparsec.net/git/libtpclient-py.git | 23:34 |
Greywhind | [submodule "libtpproto-py"] url = git://git.thousandparsec.net/git/libtpproto-py.git | 23:34 |
Greywhind | that didn't paste well | 23:34 |
Greywhind | i'll use a pastebin | 23:34 |
Greywhind | [branch "singleplayer"] remote = origin merge = refs/heads/singleplayer | 23:34 |
Greywhind | hmm | 23:34 |
Greywhind | http://rafb.net/p/30ExY964.html | 23:34 |
tpb | Title: Nopaste - No description (at rafb.net) | 23:34 |
*** bddebian has quit IRC | 23:41 | |
mithro | change the following line | 23:47 |
mithro | url = git://git.thousandparsec.net/git/tpclient-pywx.git | 23:47 |
mithro | to | 23:47 |
mithro | url = git+ssh://[email protected]/git/tpclient-pywx.git | 23:47 |
Greywhind | Permission denied (publickey,gssapi-keyex,gssapi-with-mic). | 23:48 |
Greywhind | maybe i have a different key, since i've changed computers | 23:48 |
mithro | Greywhind: that is probably | 23:49 |
mithro | send me your new key | 23:49 |
mithro | (the .pub version) | 23:50 |
mithro | and I'll upload it | 23:50 |
Greywhind | ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvh4SgreMh3J5Pw7bNgscHc6gUK/U5gINbt5W11rL6eaf+ASUWGAwCjbmupXt3HiCWym4qfvrR1bPc4S2ZgiFuirw9zsZGuBsk5WrtRJJ7GT25QSd5sfqffHhILmmmUntjf7zcS4v9xt+8uUrS/lV29Nby8ayDYihc4ykTzD6A94XY9I/wywxKPi80nVJmqrMEcGxGvNxjWcwzMUgSSF3XtfxWQpRGdEOsnjdWCRYaWIT9qsk8Lth2a+2bUfGAExC2pL9Ue3lljZbQimj00AlMrSSy9Jz7/gL/UapqfMAstsFpNXYeF9JRRlb0XYa0+9iPEorAFHiBJrentg2f3+6Ow== [email protected] | 23:50 |
Greywhind | hmm | 23:51 |
Greywhind | that wasn't supposed to go there | 23:51 |
Greywhind | damn past | 23:51 |
Greywhind | *paste | 23:51 |
Greywhind | but i guess since it's the public key, it's not a security issue? | 23:51 |
mithro | yeah | 23:55 |
mithro | that is fine | 23:55 |
mithro | Greywhind: ahh your username is nathan not Greywhind | 23:56 |
mithro | new ssh-key added | 23:56 |
mithro | can I remove the old one? | 23:56 |
mithro | or do you still use that? | 23:56 |
Greywhind | mithro: i probably won't use it | 23:58 |
Greywhind | but i might if i'm at home during the summer and need to submit changes for Mac | 23:58 |
Greywhind | because that's where that computer is | 23:58 |
CIA-69 | Greywhind tpclient-pywx-singleplayer * r09e9524b361b /windows/main/panelMessage.py: Fixed bugs with deleting the last message. | 23:59 |
CIA-69 | Greywhind tpclient-pywx-singleplayer * r99712f73cf75 / (16 files in 5 dirs): Merge branch 'singleplayer' of git://git.thousandparsec.net/git/tpclient-pywx into singleplayer | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!