Tuesday, 2007-08-28

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
* nash wonders if mithro is around00:21
*** mithro_ has joined #tp01:01
*** mithro has quit IRC01:02
mithro_arg, the HD in my laptop is dieing01:02
*** mithro_ is now known as mithro01:02
*** xdotx has joined #tp01:03
mithrohey xdotx01:03
xdotxhey mithro01:03
mithroxdotx: any luck compiling wxPython?01:05
xdotxmithro: not really, i was "missing" some dependency01:06
mithrooh?01:06
xdotxyeah, lemme finish up what i'm playing with and i'll try it again01:07
mithrookay01:08
* mithro 's HD is dieing :/01:08
nashHey mithro: Remember that generic structure parser you needed?01:08
* greywhind 's flash drive needs soldering :/01:09
mithronash: not really?01:09
mithronash: what did I need it for?01:09
nashPerformance of the python bindings01:09
mithroor you mean the C "xstruct" like module?01:09
nashYeah01:09
nashI've got half of one done01:09
mithronash: cool01:10
mithrogot it committed somewhere?01:10
mithroto be honest, it's not of huge importance right now01:10
nashIt takes a block of data (ie a message) + data describing the destination structure and produces an array of the structure01:10
mithronash: btw, could you test tpserver-py's new requirements.py file01:10
nashObvisouly designed around tp protocol messages01:10
nashmithro: Will have to wait until tomorrow I think, but I shall01:11
mithronash: cool01:11
nashmithro: It's in the next galaxie push... but it is only half so far01:11
nashThe API currently bites (testing API - designed to let me test a lot of differnet things)01:11
mithrocoolies01:11
mithrookay01:12
nashmithro: Also I need to work out a bit of magic to make generate the API calls easier.01:14
nashI 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 hande01:15
mithronash: kind like like how printf preprocessing works?01:15
nashUmm?  What printf preprocessing?01:16
nashmithro: You need to do things like (char *)&structurename.elem - (char*)structurename01:19
mithroglibc has a bunch of nasty printf preprocessing to match the number (and type) of the %? to given values01:19
nashWrapping it up in a MEMBER(structure, elem) for instance01:19
nashmithro: That's gcc actually01:19
mithronash: you sure?01:20
nashYeah, I've written extensions to it01:20
mithrointeresting01:20
nashhttp://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Function-Attributes.html01:20
tpb<http://ln-s.net/s3d> (at gcc.gnu.org)01:20
nashsearch for format01:21
mithroI think you could do it with cpp if you where maco enough ;)01:23
mithros/maco/macho/01:24
mithronash: I have NFI, why that HTML widget is rendering incorrectly on your computer01:25
nashWell 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 need01:25
mithronash: I would like your feedback on the output of tpserver-py's requirements file now01:27
nashMain or Dev?01:28
nashAnd server or client?01:28
mithroonly one branch of tpserver-py01:28
mithroand I hope tpserver-py is a server :)01:28
nashJust I haven't looked at tpserver requirements file01:29
nash * Looking for SSL support,01:31
nashNo module named pyOpenSSL01:31
nash      SSL support found, provided by <module 'OpenSSL' from '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc'>01:31
nashAlso you don't tell me how to deal with teh fact it can't find 'tp.netlib > 0.2.2'01:31
nashbbs01:32
nashmithro: Get that?01:47
*** DystopicFro has quit IRC01:47
mithrowhat is wrong with01:48
mithro15:03] <nash>  * Looking for SSL support,01:48
mithro[15:03] <nash> No module named pyOpenSSL01:48
mithro[15:03] <nash>       SSL support found, provided by <module 'OpenSSL' from '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc'>01:48
mithroi have to run01:52
nashThe '/var/lib/python-support/python2.4/OpenSSL/__init__.pyc'01:52
nashSeems a bit out of p;lace01:52
*** mithro has quit IRC02:10
*** JLP has quit IRC02:33
*** JLP has joined #tp02:39
*** llnz has joined #tp03:14
*** xdotx has quit IRC03:25
*** nash has quit IRC03:41
*** llnz2 has joined #tp03:44
*** llnz has quit IRC03:44
*** llnz2 is now known as llnz03:44
*** llnz2 has joined #tp03:50
*** llnz has quit IRC03:50
*** llnz2 is now known as llnz03:50
* llnz tries mithro's challenge again03:56
CIA-23llnz tpserver-cpp * r31e3d00069d8 /tpserver/playertcpconn.cpp:04:03
CIA-23Made sure to delete sent frames before removing from sendqueue.04:03
CIA-23Fixes a memory leak in PlayerTcpConnection.04:03
CIA-23llnz tpserver-cpp * rbc8fad690465 /tpserver/ (playeragent.cpp playerconnection.cpp):04:03
CIA-23Made deleting incoming frames more consistent in PlayerConnection/PlayerAgent.04:03
CIA-23Should reduce memory leaks.04:03
*** mithro has joined #tp04:24
*** llnz2 has joined #tp04:32
*** llnz has quit IRC04:33
*** llnz2 is now known as llnz04:33
llnzhi mithro04:35
mithrohey llnz04:35
mithronot quite sure what was/is causing the tpsai-py crash04:35
mithrodid only one die?04:35
mithroor did they all die?04:35
llnzonly two that i saw04:35
llnztpserver-cpp (and one of the two remaining tpsai-py) just about ran my system out of memory04:36
llnztpserver-cpp got to 5GB virtual04:36
llnzerr... 7GB virt04:36
llnzand using 1GB res04:40
llnzi have plugged two of the leaks today and i'm trying again04:40
mithrookay04:57
mithrohow big did tpsai-py get?04:58
llnziirc, about 300 MB, maybe more04:58
mithrohrm, that is a bit large04:58
mithrowhat size universe where you using?04:58
llnzmostly messages, i think04:59
llnzthere were about 8-10 free planets04:59
mithroah.. I should probably delete the messages :P05:01
llnzyes05:03
llnzone just crashed on me05:08
llnzodd, it crashed again05:12
llnztpsai-py, btw05:15
mithrohrm...05:16
mithrocan you give me the complete log?05:16
mithroand how you got it to occur05:16
llnzsorry, don't have the complete log, but have the traceback05:17
llnzi didn't do anything to make it happen05:18
jothamhttp://the.fieldsofnoise.org/Archive/temp/ellipse_composit_002.png05:19
tpb<http://ln-s.net/s6S> (at the.fieldsofnoise.org)05:19
jothamhttp://the.fieldsofnoise.org/Archive/temp/ellipse_composit_003.png05:19
tpb<http://ln-s.net/s6T> (at the.fieldsofnoise.org)05:19
jothamwoo05:19
llnzcool05:19
llnzah, jotham!05:20
llnzI'm in Wellington on Thursday and Friday05:20
jothamok cool05:20
jothamright now i have the flu05:20
mithrojotham: what is that a picture of :P05:23
mithrollnz: well, you must have had a certain number of players and a tpserver-cpp config05:24
*** JLP has quit IRC05:24
llnz6 players, no extra (random) planets, 120 second turns05:24
llnz5 ai + 1 human05:24
jothammithro, just the fleet arrangement code05:27
jothamwont make any sense until you see some ships, but it's working at last05:27
mithrojotham: cool05:27
mithrollnz: can you send me your tpserver-cpp config filem+ traceback in an email then?05:28
mithrogreywhind: ping?05:28
llnzmithro: sent05:31
mithrothanks05:32
*** JLP has joined #tp05:47
mithrollnz: so, how many turns did you get to?05:49
llnzabout 275 or so, it was in that first email05:50
llnzmade the turns 8 hours long after that email05:50
*** Demitar has quit IRC05:51
llnzone ai completely destroyed05:52
mithrohmmm...06:04
llnzsecond ai eliminated06:08
mithrobblr06:10
*** mithro_ has joined #tp06:19
*** mithro has quit IRC06:19
*** mithro_ is now known as mithro06:20
mithroguitsaru: did you have any luck?06:46
llnzthrid ai eliminated06:55
mithronot runing out of mem this time?07:12
llnzvirt: tpserver-cpp 61736, tpsai-py 4613607:14
llnzres: tpserver-cpp 7936, tpsai-py 974007:14
llnzcurrently on 10 minute turns while i do some stuff07:16
*** llnz2 has joined #tp07:35
*** llnz has quit IRC07:36
*** llnz2 is now known as llnz07:36
*** DystopicFro has joined #tp08:12
*** guitsaru has quit IRC08:19
mithrollnz: so how is it going?08:55
llnzgood08:55
llnzone ai with one ship left, and the other with earth and venus and some large fleets of ships08:55
mithroagainst you?08:56
llnzyeah, i'm winning08:56
mithroyou wiped out the AI did you?09:05
llnzmostly09:06
mithrollnz: I thought you said you had no other planets in your system?09:06
llnzmithro: it's random09:06
mithrooh09:07
llnzthis particular game has none, the pervious game had 1009:07
mithrollnz: btw, tpsai-py is stateless09:10
mithroso you can just restart it after a crash and it will happily keep going09:10
llnzi know, i did09:10
mithrollnz: how did you beat the AI?09:14
llnzout thinking it09:14
llnzlast one (the stronger one) is making it hard to win though09:15
mithroi'm interested in how you out thought it09:15
llnznot telling, you will improve the ai and then i won't be able to bet it09:17
llnzonly one ai remains09:24
*** llnz2 has joined #tp09:39
*** llnz has quit IRC09:39
mithroarg09:40
*** llnz2 is now known as llnz09:40
mithrotpserver-cpp seems to be taking longer to process the turns then the turn length09:40
llnzpossible09:41
llnzhave you updated to lastest git?09:41
mithroyes09:42
llnzhow long are your turns?09:43
mithrothe console wasn't responding09:43
mithro10 seconds09:43
llnz10 seconds is too short09:44
mithrowhy?09:44
llnzlibtpclient-py can't download all the messages in that time for long game09:44
mithroit was doing fine09:44
mithroI know it can download the complete universe in ~3.2 seconds09:45
llnzhow many times over?09:45
llnzall five?09:45
llnzor however many09:46
mithroonly 2 ai09:46
mithromy laptop is rather slow however09:47
mithrooh, I disabled the limiting in libtpproto-py09:47
mithrollnz: can you give me a log of the AI's output when playing against you?09:48
llnznot really09:48
llnznnnnnnooooooooooooooooooooo...................!!!!!!!!!!!!!!109:49
mithrois this where I give an evil laugh?09:49
mithrobrb09:50
llnzi finished the game, then it crashed09:50
*** mithro has quit IRC09:50
*** mithro has joined #tp09:50
llnzi finished the game, then it crashed09:50
llnztpserver-cpp crashed09:50
llnzand just not quite finished09:50
mithrollnz: so you where on the verge of winning and then it crashed?09:50
llnzyes09:50
llnz0-2 to mithro09:51
mithro-2?09:51
llnz0 for me so far, two failed games so far09:52
llnzi need to sleep, long day tomorrow09:52
* llnz wanders off09:52
llnzlater all09:52
mithroshouldn't that be +2 to mithro :)09:52
*** llnz has quit IRC09:52
*** JLP has quit IRC10:29
*** JLP has joined #tp10:40
*** mithro has quit IRC11:08
tpbdisconnected from worldforge: Ping sent at 2007-08-28T11:21:31 not replied to.11:24
*** Demitar has joined #tp12:00
*** Epyon has quit IRC16:24
*** Epyon has joined #tp16:24
*** guitsaru has joined #tp17:27
*** nash has joined #tp17:52
tpbtpb has joined on worldforge20:03
DystopicFrobahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh school21:57
* DystopicFro wants to finish the RDE21:57
* DystopicFro has the flu, though, and his gf is making him take muscle relaxants and go to bed...feh21:58
nashDystopicFro: So code from bed... really releaxed22:54
*** mithro has joined #tp23:20
mithroafter noon people23:21
tpbdisconnected 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!