*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
* nash wonders if mithro is around | 00:21 | |
*** mithro_ has joined #tp | 01:01 | |
*** mithro has quit IRC | 01:02 | |
mithro_ | arg, the HD in my laptop is dieing | 01:02 |
---|---|---|
*** mithro_ is now known as mithro | 01:02 | |
*** xdotx has joined #tp | 01:03 | |
mithro | hey xdotx | 01:03 |
xdotx | hey mithro | 01:03 |
mithro | xdotx: any luck compiling wxPython? | 01:05 |
xdotx | mithro: not really, i was "missing" some dependency | 01:06 |
mithro | oh? | 01:06 |
xdotx | yeah, lemme finish up what i'm playing with and i'll try it again | 01:07 |
mithro | okay | 01:08 |
* mithro 's HD is dieing :/ | 01:08 | |
nash | Hey mithro: Remember that generic structure parser you needed? | 01:08 |
* greywhind 's flash drive needs soldering :/ | 01:09 | |
mithro | nash: not really? | 01:09 |
mithro | nash: what did I need it for? | 01:09 |
nash | Performance of the python bindings | 01:09 |
mithro | or you mean the C "xstruct" like module? | 01:09 |
nash | Yeah | 01:09 |
nash | I've got half of one done | 01:09 |
mithro | nash: cool | 01:10 |
mithro | got it committed somewhere? | 01:10 |
mithro | to be honest, it's not of huge importance right now | 01:10 |
nash | It takes a block of data (ie a message) + data describing the destination structure and produces an array of the structure | 01:10 |
mithro | nash: btw, could you test tpserver-py's new requirements.py file | 01:10 |
nash | Obvisouly designed around tp protocol messages | 01:10 |
nash | mithro: Will have to wait until tomorrow I think, but I shall | 01:11 |
mithro | nash: cool | 01:11 |
nash | mithro: It's in the next galaxie push... but it is only half so far | 01:11 |
nash | The API currently bites (testing API - designed to let me test a lot of differnet things) | 01:11 |
mithro | coolies | 01:11 |
mithro | okay | 01:12 |
nash | mithro: Also I need to work out a bit of magic to make generate the API calls easier. | 01:14 |
nash | I mainly want it for static calls, so I can use preprocessor to make the code easier. For true dynamic access you'll probably need to pack a structure before hande | 01:15 |
mithro | nash: kind like like how printf preprocessing works? | 01:15 |
nash | Umm? What printf preprocessing? | 01:16 |
nash | mithro: You need to do things like (char *)&structurename.elem - (char*)structurename | 01:19 |
mithro | glibc has a bunch of nasty printf preprocessing to match the number (and type) of the %? to given values | 01:19 |
nash | Wrapping it up in a MEMBER(structure, elem) for instance | 01:19 |
nash | mithro: That's gcc actually | 01:19 |
mithro | nash: you sure? | 01:20 |
nash | Yeah, I've written extensions to it | 01:20 |
mithro | interesting | 01:20 |
nash | http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Function-Attributes.html | 01:20 |
tpb | <http://ln-s.net/s3d> (at gcc.gnu.org) | 01:20 |
nash | search for format | 01:21 |
mithro | I think you could do it with cpp if you where maco enough ;) | 01:23 |
mithro | s/maco/macho/ | 01:24 |
mithro | nash: I have NFI, why that HTML widget is rendering incorrectly on your computer | 01:25 |
nash | Well technically yes... from the school of the CPP is a turing complete language... but I'm not sure how many #include __FILE__'s you'd need | 01:25 |
mithro | nash: I would like your feedback on the output of tpserver-py's requirements file now | 01:27 |
nash | Main or Dev? | 01:28 |
nash | And server or client? | 01:28 |
mithro | only one branch of tpserver-py | 01:28 |
mithro | and I hope tpserver-py is a server :) | 01:28 |
nash | Just I haven't looked at tpserver requirements file | 01:29 |
nash | * Looking for SSL support, | 01:31 |
nash | No module named pyOpenSSL | 01:31 |
nash | SSL support found, provided by <module 'OpenSSL' from '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc'> | 01:31 |
nash | Also you don't tell me how to deal with teh fact it can't find 'tp.netlib > 0.2.2' | 01:31 |
nash | bbs | 01:32 |
nash | mithro: Get that? | 01:47 |
*** DystopicFro has quit IRC | 01:47 | |
mithro | what is wrong with | 01:48 |
mithro | 15:03] <nash> * Looking for SSL support, | 01:48 |
mithro | [15:03] <nash> No module named pyOpenSSL | 01:48 |
mithro | [15:03] <nash> SSL support found, provided by <module 'OpenSSL' from '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc'> | 01:48 |
mithro | i have to run | 01:52 |
nash | The '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc' | 01:52 |
nash | Seems a bit out of p;lace | 01:52 |
*** mithro has quit IRC | 02:10 | |
*** JLP has quit IRC | 02:33 | |
*** JLP has joined #tp | 02:39 | |
*** llnz has joined #tp | 03:14 | |
*** xdotx has quit IRC | 03:25 | |
*** nash has quit IRC | 03:41 | |
*** llnz2 has joined #tp | 03:44 | |
*** llnz has quit IRC | 03:44 | |
*** llnz2 is now known as llnz | 03:44 | |
*** llnz2 has joined #tp | 03:50 | |
*** llnz has quit IRC | 03:50 | |
*** llnz2 is now known as llnz | 03:50 | |
* llnz tries mithro's challenge again | 03:56 | |
CIA-23 | llnz tpserver-cpp * r31e3d00069d8 /tpserver/playertcpconn.cpp: | 04:03 |
CIA-23 | Made sure to delete sent frames before removing from sendqueue. | 04:03 |
CIA-23 | Fixes a memory leak in PlayerTcpConnection. | 04:03 |
CIA-23 | llnz tpserver-cpp * rbc8fad690465 /tpserver/ (playeragent.cpp playerconnection.cpp): | 04:03 |
CIA-23 | Made deleting incoming frames more consistent in PlayerConnection/PlayerAgent. | 04:03 |
CIA-23 | Should reduce memory leaks. | 04:03 |
*** mithro has joined #tp | 04:24 | |
*** llnz2 has joined #tp | 04:32 | |
*** llnz has quit IRC | 04:33 | |
*** llnz2 is now known as llnz | 04:33 | |
llnz | hi mithro | 04:35 |
mithro | hey llnz | 04:35 |
mithro | not quite sure what was/is causing the tpsai-py crash | 04:35 |
mithro | did only one die? | 04:35 |
mithro | or did they all die? | 04:35 |
llnz | only two that i saw | 04:35 |
llnz | tpserver-cpp (and one of the two remaining tpsai-py) just about ran my system out of memory | 04:36 |
llnz | tpserver-cpp got to 5GB virtual | 04:36 |
llnz | err... 7GB virt | 04:36 |
llnz | and using 1GB res | 04:40 |
llnz | i have plugged two of the leaks today and i'm trying again | 04:40 |
mithro | okay | 04:57 |
mithro | how big did tpsai-py get? | 04:58 |
llnz | iirc, about 300 MB, maybe more | 04:58 |
mithro | hrm, that is a bit large | 04:58 |
mithro | what size universe where you using? | 04:58 |
llnz | mostly messages, i think | 04:59 |
llnz | there were about 8-10 free planets | 04:59 |
mithro | ah.. I should probably delete the messages :P | 05:01 |
llnz | yes | 05:03 |
llnz | one just crashed on me | 05:08 |
llnz | odd, it crashed again | 05:12 |
llnz | tpsai-py, btw | 05:15 |
mithro | hrm... | 05:16 |
mithro | can you give me the complete log? | 05:16 |
mithro | and how you got it to occur | 05:16 |
llnz | sorry, don't have the complete log, but have the traceback | 05:17 |
llnz | i didn't do anything to make it happen | 05:18 |
jotham | http://the.fieldsofnoise.org/Archive/temp/ellipse_composit_002.png | 05:19 |
tpb | <http://ln-s.net/s6S> (at the.fieldsofnoise.org) | 05:19 |
jotham | http://the.fieldsofnoise.org/Archive/temp/ellipse_composit_003.png | 05:19 |
tpb | <http://ln-s.net/s6T> (at the.fieldsofnoise.org) | 05:19 |
jotham | woo | 05:19 |
llnz | cool | 05:19 |
llnz | ah, jotham! | 05:20 |
llnz | I'm in Wellington on Thursday and Friday | 05:20 |
jotham | ok cool | 05:20 |
jotham | right now i have the flu | 05:20 |
mithro | jotham: what is that a picture of :P | 05:23 |
mithro | llnz: well, you must have had a certain number of players and a tpserver-cpp config | 05:24 |
*** JLP has quit IRC | 05:24 | |
llnz | 6 players, no extra (random) planets, 120 second turns | 05:24 |
llnz | 5 ai + 1 human | 05:24 |
jotham | mithro, just the fleet arrangement code | 05:27 |
jotham | wont make any sense until you see some ships, but it's working at last | 05:27 |
mithro | jotham: cool | 05:27 |
mithro | llnz: can you send me your tpserver-cpp config filem+ traceback in an email then? | 05:28 |
mithro | greywhind: ping? | 05:28 |
llnz | mithro: sent | 05:31 |
mithro | thanks | 05:32 |
*** JLP has joined #tp | 05:47 | |
mithro | llnz: so, how many turns did you get to? | 05:49 |
llnz | about 275 or so, it was in that first email | 05:50 |
llnz | made the turns 8 hours long after that email | 05:50 |
*** Demitar has quit IRC | 05:51 | |
llnz | one ai completely destroyed | 05:52 |
mithro | hmmm... | 06:04 |
llnz | second ai eliminated | 06:08 |
mithro | bblr | 06:10 |
*** mithro_ has joined #tp | 06:19 | |
*** mithro has quit IRC | 06:19 | |
*** mithro_ is now known as mithro | 06:20 | |
mithro | guitsaru: did you have any luck? | 06:46 |
llnz | thrid ai eliminated | 06:55 |
mithro | not runing out of mem this time? | 07:12 |
llnz | virt: tpserver-cpp 61736, tpsai-py 46136 | 07:14 |
llnz | res: tpserver-cpp 7936, tpsai-py 9740 | 07:14 |
llnz | currently on 10 minute turns while i do some stuff | 07:16 |
*** llnz2 has joined #tp | 07:35 | |
*** llnz has quit IRC | 07:36 | |
*** llnz2 is now known as llnz | 07:36 | |
*** DystopicFro has joined #tp | 08:12 | |
*** guitsaru has quit IRC | 08:19 | |
mithro | llnz: so how is it going? | 08:55 |
llnz | good | 08:55 |
llnz | one ai with one ship left, and the other with earth and venus and some large fleets of ships | 08:55 |
mithro | against you? | 08:56 |
llnz | yeah, i'm winning | 08:56 |
mithro | you wiped out the AI did you? | 09:05 |
llnz | mostly | 09:06 |
mithro | llnz: I thought you said you had no other planets in your system? | 09:06 |
llnz | mithro: it's random | 09:06 |
mithro | oh | 09:07 |
llnz | this particular game has none, the pervious game had 10 | 09:07 |
mithro | llnz: btw, tpsai-py is stateless | 09:10 |
mithro | so you can just restart it after a crash and it will happily keep going | 09:10 |
llnz | i know, i did | 09:10 |
mithro | llnz: how did you beat the AI? | 09:14 |
llnz | out thinking it | 09:14 |
llnz | last one (the stronger one) is making it hard to win though | 09:15 |
mithro | i'm interested in how you out thought it | 09:15 |
llnz | not telling, you will improve the ai and then i won't be able to bet it | 09:17 |
llnz | only one ai remains | 09:24 |
*** llnz2 has joined #tp | 09:39 | |
*** llnz has quit IRC | 09:39 | |
mithro | arg | 09:40 |
*** llnz2 is now known as llnz | 09:40 | |
mithro | tpserver-cpp seems to be taking longer to process the turns then the turn length | 09:40 |
llnz | possible | 09:41 |
llnz | have you updated to lastest git? | 09:41 |
mithro | yes | 09:42 |
llnz | how long are your turns? | 09:43 |
mithro | the console wasn't responding | 09:43 |
mithro | 10 seconds | 09:43 |
llnz | 10 seconds is too short | 09:44 |
mithro | why? | 09:44 |
llnz | libtpclient-py can't download all the messages in that time for long game | 09:44 |
mithro | it was doing fine | 09:44 |
mithro | I know it can download the complete universe in ~3.2 seconds | 09:45 |
llnz | how many times over? | 09:45 |
llnz | all five? | 09:45 |
llnz | or however many | 09:46 |
mithro | only 2 ai | 09:46 |
mithro | my laptop is rather slow however | 09:47 |
mithro | oh, I disabled the limiting in libtpproto-py | 09:47 |
mithro | llnz: can you give me a log of the AI's output when playing against you? | 09:48 |
llnz | not really | 09:48 |
llnz | nnnnnnooooooooooooooooooooo...................!!!!!!!!!!!!!!1 | 09:49 |
mithro | is this where I give an evil laugh? | 09:49 |
mithro | brb | 09:50 |
llnz | i finished the game, then it crashed | 09:50 |
*** mithro has quit IRC | 09:50 | |
*** mithro has joined #tp | 09:50 | |
llnz | i finished the game, then it crashed | 09:50 |
llnz | tpserver-cpp crashed | 09:50 |
llnz | and just not quite finished | 09:50 |
mithro | llnz: so you where on the verge of winning and then it crashed? | 09:50 |
llnz | yes | 09:50 |
llnz | 0-2 to mithro | 09:51 |
mithro | -2? | 09:51 |
llnz | 0 for me so far, two failed games so far | 09:52 |
llnz | i need to sleep, long day tomorrow | 09:52 |
* llnz wanders off | 09:52 | |
llnz | later all | 09:52 |
mithro | shouldn't that be +2 to mithro :) | 09:52 |
*** llnz has quit IRC | 09:52 | |
*** JLP has quit IRC | 10:29 | |
*** JLP has joined #tp | 10:40 | |
*** mithro has quit IRC | 11:08 | |
tpb | disconnected from worldforge: Ping sent at 2007-08-28T11:21:31 not replied to. | 11:24 |
*** Demitar has joined #tp | 12:00 | |
*** Epyon has quit IRC | 16:24 | |
*** Epyon has joined #tp | 16:24 | |
*** guitsaru has joined #tp | 17:27 | |
*** nash has joined #tp | 17:52 | |
tpb | tpb has joined on worldforge | 20:03 |
DystopicFro | bahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh school | 21:57 |
* DystopicFro wants to finish the RDE | 21:57 | |
* DystopicFro has the flu, though, and his gf is making him take muscle relaxants and go to bed...feh | 21:58 | |
nash | DystopicFro: So code from bed... really releaxed | 22:54 |
*** mithro has joined #tp | 23:20 | |
mithro | after noon people | 23:21 |
tpb | disconnected from worldforge: Ping sent at 2007-08-28T23:37:14 not replied to. | 23:39 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!