Thursday, 2007-11-08

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** tuna has quit IRC00:00
*** guitsaru has quit IRC00:01
tpblevitation[A] has quit worldforge (Ping timeout: 369 seconds)00:01
*** mithro has quit IRC00:03
*** mithro has joined #tp00:04
tpblevitation[A] has joined on worldforge00:06
*** mithro has quit IRC00:11
*** mithro has joined #tp00:20
*** Epyon has quit IRC00:50
*** Epyon has joined #tp00:50
*** greywhind has joined #tp00:57
*** greywhind_ has quit IRC00:57
*** mithro has quit IRC01:06
*** mithro has joined #tp01:15
*** nash has quit IRC01:23
*** mithro has quit IRC01:42
*** mithro has joined #tp01:49
tpblevitation[A] has quit worldforge (Ping timeout: 369 seconds)02:04
*** tpb` has joined #tp02:10
*** mithro has joined #tp02:12
*** greywhind has joined #tp02:12
*** Epyon has joined #tp02:12
*** DTRemenak has joined #tp02:12
*** jotham has joined #tp02:12
*** CIA-10 has joined #tp02:12
*** TBBle has joined #tp02:12
*** tpb has quit IRC02:12
*** tpb` is now known as tpb02:12
*** ChanServ sets mode: +o tpb02:12
*** Epyon has quit IRC02:18
*** greywhind has quit IRC02:18
*** DTRemenak has quit IRC02:18
*** jotham has quit IRC02:18
*** mithro has quit IRC02:18
*** TBBle has quit IRC02:18
*** CIA-10 has quit IRC02:18
tpblevitation[A] has joined on worldforge02:22
*** llnz has joined #tp02:27
*** greywhind has joined #tp02:27
*** Epyon has joined #tp02:27
*** DTRemenak has joined #tp02:27
*** jotham has joined #tp02:27
*** CIA-10 has joined #tp02:27
*** TBBle has joined #tp02:27
*** tpb has joined #tp02:27
*** ChanServ sets mode: +o tpb02:27
*** llnz2 has joined #tp03:01
*** llnz has quit IRC03:04
*** llnz2 is now known as llnz03:04
tpblevitation[A] has quit worldforge (Ping timeout: 369 seconds)03:17
tpblevitation[A] has joined on worldforge03:23
*** mithro has joined #tp03:50
mithrohey people03:51
mithrohey llnz03:51
llnzhi mithro03:51
mithrohow goes the combat?03:52
llnzworked for about 40 turns03:52
llnzwill try again tonight03:52
mithroany idea what is causing the crash now?04:00
mithrofor i in 1 2 3 4 5; do ./tpsai-py tp://ai$i:password@localhost > ai$i.log 2>&1 &; done04:09
*** mithro has quit IRC04:38
*** mithro_ has joined #tp04:39
mithro_brb04:39
*** mithro_ has quit IRC04:39
*** mithro has joined #tp04:40
mithrollnz: could you do a tpserver-cpp status report sometime in the future?04:44
llnzsure04:47
llnzknow what the bug is, just need to fix it04:53
llnztwo line fix04:56
*** greywhind_ has joined #tp04:57
*** greywhind has quit IRC04:57
*** kandinski has joined #tp05:03
mithro~whois kandinski05:03
mithrohi kandinski05:04
mithro~seen kandinski05:07
tpbmithro: kandinski was last seen in #tp 6 weeks, 6 days, 23 hours, 48 minutes, and 51 seconds ago: <kandinski> my connection wen t away05:07
llnzturn 20 and all seems ok05:08
mithrothree way combat was causing problems previously?05:10
mithrollnz: the message deleting should help when you get to turn 100 or on wards05:14
*** llnz2 has joined #tp05:14
*** llnz has quit IRC05:15
*** llnz2 is now known as llnz05:15
llnzturn 3305:15
llnzturn 4805:22
mithrohow many players?05:25
llnz5 AI, plus a drone with two 4 battleship fleets at home planet05:26
llnzturn 6205:29
* llnz logs in to have a look05:30
mithrollnz: well?05:45
*** llnz2 has joined #tp05:45
*** llnz has quit IRC05:46
*** llnz2 is now known as llnz05:46
llnzturn 100 :-)05:48
mithrollnz: yay!05:52
mithroso how are the AI's going?05:52
llnz10905:52
llnzfine, i think05:53
llnzi think a could have been knocked out, will check05:53
llnzknocked out == killed in game05:53
mithroa? one?05:54
mithroI should add a check into the ai that you have atleast 1 asset left05:54
llnzone or more, but it doesn't appear so05:54
mithrois this on your public server?05:55
llnzyes05:56
llnzai2 has been killed06:02
llnzThe game has currently 7 players. The Universe currently has 108 objects.06:03
mithrowhat is the mem usage of the AI's and tpserver-cpp like?06:04
llnzai: 60-63m Virt, 10-13m res06:06
llnztpserver-cpp: 69m virt, 10 res06:06
llnz10m res06:06
mithrollnz: shouldn't tpserver-cpp be much smaller then the AI's? I'm have no optimisation at all in my cache/processing alogrithim?06:09
llnzall fairly stable, tpserver-cpp's virt is climbing slowly06:09
llnztpserver-cpp holds visibility info for all players, and other "invisible" (to the client) data06:11
mithroo btw, nash found a problem with the timestamp stuff06:12
llnzdid he? what was it?06:13
mithrowe can't represent more then a single change in one second06:14
llnzthat doesn't matter, as long as there is a change, then an update needs to happen06:14
mithrollnz: okay what happens with the following06:15
mithrotwo clients connect - both make a change in the same second - only one client will see the correct info06:16
llnzthat race occurs even with serials instead of timestamps06:17
mithrono it doesn't06:17
llnzbecause it is the server's time, no one elses06:17
mithrollnz: the problem is that the modification time hasn't changed but the data on the server has06:18
llnzthis is way i previously stopped two clients connecting at the same time06:19
llnzs/way/why/06:19
llnzconnecting to the same player at the same time06:19
mithroit can also occur if a client connects and another one connects within a second06:20
llnzhow, for that case?06:21
llnzturn 17206:24
llnzhighest object id is 91606:25
llnzai1 is killed06:27
llnzShips: 12 Frigate, 59 Battleship06:32
mithrohe he06:35
mithrothe ai builds Battleships in preference to frigates most of the time06:35
llnzyes, but 59 battleships!06:36
mithrothats not a large amount :P06:40
mithroor was that just one fleet?06:40
llnzjust one fleet06:40
mithroahh that is a big fleet06:41
llnzturn 20506:41
mithrollnz: how is the memory usage now?06:41
llnzai: 63-65m virt, 13-15 res06:42
llnztpserver-cpp 71m virt, 11m res06:42
* mithro ponders calling the GC06:43
llnzoh, also note that i have no swap, so the res sizes are acturate06:44
llnzaccurate06:45
mithrohrm...06:47
llnzSwap:  6024332k total,       92k used,  6024240k free.06:47
* llnz has 2GB ram06:48
mithrohe he06:52
mithroI have 2GB of ram in my laptop06:52
CIA-10mithro tpsai-py * r8172fcf40ca8 /tpsai-py: Force garbage collection to keep memory consumption under control.06:53
llnzhighest object id 120006:54
mithrollnz: you can give that a go next time06:55
llnzsure06:55
*** greywhind has joined #tp06:57
*** greywhind_ has quit IRC06:57
llnzai4 killed06:58
llnzShips: 1 Frigate, 98 Battleship06:58
llnzan even bigger collection of battleships06:59
mithrowho is left?07:05
llnzai3 and ai507:06
llnzai5 is much larger07:06
llnzjust tested that patch with a killed ai, seems to chew cpu (about 4% when idle)07:07
CIA-10mithro tpsai-py * rce07c434a15b /tpsai-py:07:07
CIA-10Added a sleep delay when downloading to stop all pounding the server on turn generation.07:07
CIA-10Can be disabled with --nosleep option.07:07
llnzturn 26107:08
llnzShips: 2 Frigate, 256 Battleship07:10
llnzthat's one big fleet07:10
CIA-10mithro tpsai-py * r11e2ac8b4e89 /tpsai-py: Only gc if I havn't since last turn.07:10
mithroI need to add code to split fleets for overallocated stuff07:10
mithrollnz: see if that fixes your 4% problem07:11
llnzlooks like it will merge more fleets into it07:11
llnzok07:11
mithrollnz: any idea what that fleet is targetting?07:12
mithroit must be a rather large other fleet07:12
llnzyes, a planet07:13
llnznot even a home planet07:13
mithrojust a single planet?07:13
mithrocan you send me the log?07:13
llnzhumm... keeps changing course07:13
llnzwill do07:13
llnzobject id 42007:13
mithroshould gz if first :P07:13
llnzerrrr... 46007:14
llnzwill do07:14
mithrotpsai-py will merge anything at the same location07:15
mithro(into a single threat)07:15
llnzlastest tpsai-py about 7m res, not chewing cpu on idle07:15
mithroyeah 7m is about the correct size for a python application (not that it isn't actually using 7m - a lot of that is shared between python processes)07:16
llnzabout 2m shared07:16
llnzend in sight, one planet to go07:17
mithrollnz: that doesn't include executable memory which is shared07:17
llnzfyi: virt 58m07:17
mithrodid you see the delay stuff?07:18
llnzsaw the patch, didn't see how well it worked07:18
mithrollnz: it will only work on turns which have a time of time/3 > 2007:19
llnzturns at least 60 seconds?07:19
mithro61 seconds I think07:20
llnzone final fleet left07:20
llnz13 minutes to the end07:22
mithrollnz: so now we need battlexml :P07:23
mithroto watch insane size fleets battle each other07:23
llnzi'll write the tpserver-cpp status report on the weekend07:23
llnzand i'll explain why battlexml is a little down the list currently07:23
mithrosure07:25
mithrobattlexml is on the "nice to have" not "must have now or you die!" list :P07:25
mithrollnz: so you going to push all your changes now?07:26
llnztomorrow, they need a little cleanup07:29
llnzwell, might get a patch or two now07:31
mithrono hurry - I won't have time to test myself tonight07:31
CIA-10llnz tpserver-cpp * rad59138d2fba /modules/games/minisec/ (Makefile.am combatant.cpp combatant.h):07:33
CIA-10Added Combatant class for Minisec.07:33
CIA-10This is used by the new combat code in minisec to handle combat, and replaces07:33
CIA-10what Fleet used to do, but is simpler.07:33
mithrosimpler == good :P07:33
llnzis two classes simpler than one?07:34
llnzanswer: sometimes07:34
llnzhighest object id 126507:34
llnzturn 31007:35
CIA-10llnz tpserver-cpp * r1cd31a5e0f7b /modules/games/minisec/ (8 files): (log message trimmed)07:42
CIA-10Rewrite of combat in minisec, and associated changes.07:42
CIA-10Changes to the signedness of values in Fleet, and corresponding changes07:42
CIA-10in the Orders and other areas as well.07:42
CIA-10The new combat collects all the sides at a location together and then07:42
CIA-10resolves the combat using the Combatant objects. Changes in MinisecTurn07:42
CIA-10are to set up the combats correctly.07:42
*** llnz changes topic to "Thousand Parsec - http://www.thousandparsec.net/ || IRC Logs at http://www.thousandparsec.net/~irc/ || Why not help out? || tpserver-cpp vs tpsai-py, 1 from 1"07:43
mithrollnz: why not divide that into multiple patches?07:43
llnzbecause the intermediates will not compile07:43
mithrollnz: btw, you need to add an intercept order07:43
mithro Out: 250 DSN07:45
mithro In:  MAIL FROM:<[email protected]>07:45
mithro Out: 452 4.3.1 Insufficient system storage07:45
mithro In:  QUIT07:45
mithro Out: 221 2.0.0 Bye07:45
mithro?07:45
llnzoh, the log file07:45
llnz1.5MB gziped07:45
mithrothere should be plenty of space for that07:46
llnzoh, 2.3MB when email encoded07:47
mithrothere is 300mb space free07:48
llnzsize limit on incoming email?07:48
mithroyeah 100mb07:48
CIA-10llnz tpserver-cpp * rf7125021b3e7 /modules/games/minisec/ (fleet.cpp fleet.h): Removed redundant methods from Fleet in minisec.07:48
llnzi will set up round 2 tomorrow night07:53
llnzhave my final masters presentation tomorrow (later today, even)07:54
mithrollnz: okay cool :P07:55
* llnz wanders off07:59
llnzlater all07:59
*** llnz has quit IRC07:59
*** guitsaru has joined #tp08:20
*** guitsaru has quit IRC08:28
*** tuna-fish has joined #tp08:39
*** tuna-fish is now known as tuna08:39
*** greywhind_ has joined #tp08:57
*** greywhind has quit IRC08:57
*** mithro has quit IRC09:37
*** guitsaru has joined #tp10:42
*** greywhind has joined #tp10:57
*** greywhind_ has quit IRC10:57
tpblevitation[A] has quit worldforge (Read error: Connection reset by peer)10:59
tpblevitation[A] has joined on worldforge11:08
*** Erroneous has joined #tp12:38
*** greywhind_ has joined #tp12:57
*** greywhind has quit IRC12:57
*** DTRemenak has quit IRC13:06
*** DTRemenak has joined #tp13:10
*** Epyon has quit IRC13:21
*** Epyon has joined #tp13:22
*** Epyon has quit IRC13:31
*** tuna has quit IRC13:31
*** greywhind_ has quit IRC13:31
*** jotham has quit IRC13:31
*** TBBle has quit IRC13:31
*** CIA-10 has quit IRC13:31
*** DTRemenak has quit IRC13:31
*** kandinski has quit IRC13:31
*** Epyon has joined #tp13:33
*** DTRemenak has joined #tp13:33
*** greywhind_ has joined #tp13:33
*** tuna has joined #tp13:33
*** kandinski has joined #tp13:33
*** jotham has joined #tp13:33
*** CIA-10 has joined #tp13:33
*** TBBle has joined #tp13:33
*** Epyon has quit IRC13:42
*** tuna has quit IRC13:42
*** greywhind_ has quit IRC13:42
*** jotham has quit IRC13:42
*** TBBle has quit IRC13:42
*** CIA-10 has quit IRC13:42
*** DTRemenak has quit IRC13:42
*** kandinski has quit IRC13:42
*** tpb_ has joined #tp13:44
*** tpb_ is now known as tpb13:44
*** Epyon has joined #tp13:44
*** DTRemenak has joined #tp13:44
*** greywhind_ has joined #tp13:44
*** tuna has joined #tp13:44
*** kandinski has joined #tp13:44
*** jotham has joined #tp13:44
*** CIA-10 has joined #tp13:44
*** TBBle has joined #tp13:44
*** Epyon has quit IRC13:48
*** tuna has quit IRC13:48
*** greywhind_ has quit IRC13:48
*** jotham has quit IRC13:48
*** TBBle has quit IRC13:48
*** CIA-10 has quit IRC13:48
*** DTRemenak has quit IRC13:48
*** kandinski has quit IRC13:48
*** tpb has joined #tp13:52
*** Epyon has joined #tp13:52
*** DTRemenak has joined #tp13:52
*** greywhind_ has joined #tp13:52
*** tuna has joined #tp13:52
*** kandinski has joined #tp13:52
*** jotham has joined #tp13:52
*** CIA-10 has joined #tp13:52
*** TBBle has joined #tp13:52
*** Epyon has quit IRC14:03
*** tuna has quit IRC14:03
*** greywhind_ has quit IRC14:03
*** jotham has quit IRC14:03
*** TBBle has quit IRC14:03
*** CIA-10 has quit IRC14:03
*** DTRemenak has quit IRC14:03
*** kandinski has quit IRC14:03
*** Epyon has joined #tp14:03
*** DTRemenak has joined #tp14:03
*** greywhind_ has joined #tp14:03
*** tuna has joined #tp14:03
*** kandinski has joined #tp14:03
*** jotham has joined #tp14:03
*** CIA-10 has joined #tp14:03
*** TBBle has joined #tp14:03
tpblevitation[A] has joined on worldforge14:04
*** tpb` has joined #tp14:18
*** tpb has quit IRC14:18
*** guitsaru_ has quit IRC14:19
*** Epyon has quit IRC14:20
*** tuna has quit IRC14:20
*** greywhind_ has quit IRC14:20
*** jotham has quit IRC14:20
*** TBBle has quit IRC14:20
*** CIA-10 has quit IRC14:20
*** DTRemenak has quit IRC14:20
*** kandinski has quit IRC14:20
*** tpb` is now known as tpb14:22
*** guitsaru has quit IRC14:22
*** guitsaru has joined #tp14:22
*** Epyon has joined #tp14:22
*** DTRemenak has joined #tp14:22
*** greywhind_ has joined #tp14:22
*** tuna has joined #tp14:22
*** kandinski has joined #tp14:22
*** jotham has joined #tp14:22
*** CIA-10 has joined #tp14:22
*** TBBle has joined #tp14:22
*** guitsaru has quit IRC14:29
*** Epyon has quit IRC14:29
*** tuna has quit IRC14:29
*** greywhind_ has quit IRC14:29
*** jotham has quit IRC14:29
*** TBBle has quit IRC14:29
*** CIA-10 has quit IRC14:29
*** DTRemenak has quit IRC14:29
*** kandinski has quit IRC14:29
*** tpb has joined #tp14:31
*** tuna has quit IRC14:40
*** tuna has joined #tp14:40
*** greywhind has joined #tp14:57
*** greywhind_ has quit IRC14:57
*** tuna has quit IRC14:59
*** tuna has joined #tp15:00
*** tuna has quit IRC15:11
*** guitsaru has quit IRC15:11
*** greywhind has quit IRC15:11
*** Epyon has quit IRC15:11
*** jotham has quit IRC15:11
*** TBBle has quit IRC15:11
*** CIA-10 has quit IRC15:11
*** DTRemenak has quit IRC15:11
*** kandinski has quit IRC15:11
*** tuna has joined #tp15:11
*** greywhind has joined #tp15:11
*** guitsaru has joined #tp15:11
*** Epyon has joined #tp15:11
*** DTRemenak has joined #tp15:11
*** kandinski has joined #tp15:11
*** jotham has joined #tp15:11
*** CIA-10 has joined #tp15:11
*** TBBle has joined #tp15:11
tpblevitation[A] has joined on worldforge15:26
*** tuna has quit IRC15:36
*** guitsaru has quit IRC15:36
*** greywhind has quit IRC15:36
*** Epyon has quit IRC15:36
*** jotham has quit IRC15:36
*** TBBle has quit IRC15:36
*** CIA-10 has quit IRC15:36
*** DTRemenak has quit IRC15:36
*** kandinski has quit IRC15:36
*** tuna has joined #tp15:37
*** greywhind has joined #tp15:37
*** guitsaru has joined #tp15:37
*** Epyon has joined #tp15:37
*** DTRemenak has joined #tp15:37
*** kandinski has joined #tp15:37
*** jotham has joined #tp15:37
*** CIA-10 has joined #tp15:37
*** TBBle has joined #tp15:37
tpblevitation[A] has quit worldforge (Ping timeout: 369 seconds)15:42
*** tuna has quit IRC15:46
*** guitsaru has quit IRC15:46
*** greywhind has quit IRC15:46
*** Epyon has quit IRC15:46
*** jotham has quit IRC15:46
*** TBBle has quit IRC15:46
*** CIA-10 has quit IRC15:46
*** DTRemenak has quit IRC15:46
*** kandinski has quit IRC15:46
*** tuna has joined #tp15:48
*** greywhind has joined #tp15:48
*** guitsaru has joined #tp15:48
*** Epyon has joined #tp15:48
*** DTRemenak has joined #tp15:48
*** kandinski has joined #tp15:48
*** jotham has joined #tp15:48
*** CIA-10 has joined #tp15:48
*** TBBle has joined #tp15:48
tpblevitation[A] has joined on worldforge16:08
*** nash has joined #tp16:25
*** greywhind_ has joined #tp16:57
*** greywhind has quit IRC16:58
*** mithro has joined #tp17:58
*** tuna has quit IRC18:04
*** tuna has joined #tp18:05
*** guitsaru_ has joined #tp18:08
*** guitsaru has quit IRC18:09
*** guitsaru has joined #tp18:14
*** guitsaru has quit IRC18:25
*** guitsaru_ is now known as guitsaru18:28
*** nash_ has joined #tp18:30
tpblevitation[A] has quit worldforge (Ping timeout: 369 seconds)18:30
*** guitsaru has quit IRC18:32
*** guitsaru has joined #tp18:43
*** nash has quit IRC18:45
*** greywhind has joined #tp18:57
*** greywhind_ has quit IRC18:58
mithroguitsaru: ping?18:58
guitsarupong18:58
tpblevitation[A] has joined on worldforge19:04
tpblevitation[A] has quit worldforge (purple.worldforge.org blue.worldforge.org)19:14
tpbaloril has quit worldforge (purple.worldforge.org blue.worldforge.org)19:14
mithroguitsaru: had any luck setting up?19:49
guitsaruWell, I've got everything checked out.19:50
guitsaruBut for some reason it's not recognizing python in my path.19:50
guitsaruSo I can't run things in the command prompt19:50
mithroPython isn't automatically added to your path19:52
mithroyou have to do that manually19:52
guitsaruI know, I added it myself19:52
guitsaruIt still isn't recognizing it.19:52
mithrohrm19:53
mithroecho %PATH% ?19:53
guitsaruIt's not in there19:53
guitsaruI wonder if I need to restart.19:54
*** guitsaru has quit IRC19:55
*** guitsaru has joined #tp19:59
mithroguitsaru: any luck?20:03
guitsaruYeah, that worked20:03
guitsarupython setup.py develop20:12
guitsaruTraceback (most recent call last):20:12
guitsaru  File "setup.py", line 4, in <module>20:12
guitsaru    pkg_resources.require('libtpclient-py')20:12
guitsaru  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p20:12
guitsaruy", line 626, in require20:12
guitsaru  File "C:\Python25\lib\site-packages\setuptools-0.6c7-py2.5.egg\pkg_resources.p20:12
guitsaruy", line 524, in resolve20:12
guitsarupkg_resources.DistributionNotFound: libtpclient-py20:12
mithrohrm.....20:37
mithrowhat directory where you in when you typed that?20:37
guitsarulibtpclient-py20:37
mithrouse20:39
mithropython setup.py develop --ignore-deps20:40
guitsarusame thing20:40
mithrohrm... wait that doesn't make any sense20:40
mithrodid you checkout libtpclient-py stable or development?20:40
guitsaruthis is stable20:40
mithrotry removing lines 3 and 4 from setup.py20:41
guitsaruOk, it worked20:42
guitsaruboth pythonw requirements.py and pythonw tpclient-pywx open up another window briefly and then exit immediately20:45
mithrohrm...20:49
mithrowhat does python requirements.py do?20:49
CIA-10nash galaxie * rdf6d68ceac69 /server.c: Use TP04 for tp04 servers.20:50
CIA-10nash galaxie * r8f7341549895 /tpe_obj.c: Add framework for objectdescriptions.20:50
CIA-10nash galaxie * rac46e0997f13 / (server.c tpe_obj.c tpe_sequence.c tpe_ship.c): Revert to tp03 for now. Tpserver-cpp isn't as far along as I thought.20:50
CIA-10nash galaxie * r6a010dd74a59 /BUGS.txt: Mark completed bug.20:50
CIA-10nash galaxie * r341666bbd195 / (server.c tpe_obj.c): Update a little to force tp03.20:50
CIA-10nash galaxie * r2a605d44fccd / (Makefile ewl/gewl_object.c ewl/gewl_object.h tpe_gui.c): Add gewl object abstraction.20:50
CIA-10nash galaxie * rd8ebea91fbbb /ai_smith.c: Tweak ai-smith to not cause assertion...20:50
guitsaruThe system cannot find the path specified.20:50
guitsaruTraceback (most recent call last):20:50
guitsaru  File "requirements.py", line 47, in <module>20:50
guitsaru    if system == "debian-based":20:50
guitsaruNameError: name 'system' is not defined20:50
mithrohrm....20:55
mithrostable client again?20:55
guitsaruyes20:55
mithrochange line 14 of requirements.py to "else:"20:57
mithronash_: ping?20:57
*** greywhind_ has joined #tp20:58
*** greywhind has quit IRC20:58
nash_mithro: ?21:01
mithrodid you see that last night lee managed to get a minisec game all the way to the end?21:01
nash_Cool21:01
nash_How does it end?21:01
mithrowith 5 tpsai-py's too21:02
*** nash_ is now known as nash21:02
nashCool21:02
mithrofound a bug in tpsai-py which leads to some insane fleet sizes21:02
nashheh21:02
nashCool21:02
mithro256 battleships and 2 frigates in one of the fleets21:03
mithroa 4568% over allocation according to the ai :P21:03
nashheh21:03
mithroguitsaru: any luck?21:07
guitsaruYes21:07
guitsaruI just needed to install numarray21:07
mithroahh cool21:08
mithroI'll push those patches in a minute21:08
guitsaruI got the splash screen of tpclient-pywx, but then it crashed21:08
mithroI haven't tested on windows for such a long time21:08
guitsaruI don't blame you21:09
mithroit probably not worth using the stable client21:10
guitsarudevelopment version works21:13
mithrocool21:14
guitsaruI had to change the else statement in requirements.py still21:16
mithroguitsaru: yeah21:21
CIA-10mithro tpclient-pywx-development * rd529a8dfeae7 /requirements.py: Always set system on failure.21:21
greywhind_mithro: ping22:06
mithrogreywhind_: pong!22:07
*** greywhind_ is now known as geywhind22:07
*** geywhind is now known as greywhind22:07
greywhindmithro: so i'm starting to look at the task of creating the resources overlay22:08
greywhinddo you think it should extend Overlay or SystemOverlay?>22:08
mithrogreywhind: i'm not really quite sure22:09
mithroI've been pondering that22:09
greywhinddoes it need to group things together into systems? i suppose it might, since resources should be shown system-wide?22:09
mithroI think my conclusion was that SystemOverlay would probably work, but I haven't looked closley22:10
mithroSystemOverlay came after the Resource stuff had already been started22:14
greywhindwhat's started as far as the Resource overlay? just the PieChart.py file?22:14
mithrothe PieChart is started22:15
mithrothe proportional/value/resource python files are also a possible start22:15
greywhindmithro: which are those?22:16
mithrotim@vaio:~/oss/tp/tpclient-pywx-dev$ ls ./windows/main/overlays/[PRV]*.py22:17
mithro./windows/main/overlays/Path.py          ./windows/main/overlays/Resource.py  ./windows/main/overlays/Velocity.py22:17
mithro./windows/main/overlays/Proportional.py  ./windows/main/overlays/Value.py22:17
greywhindmithro: ah. so perhaps expand on the Resource.py class?22:18
mithrogreywhind: that is the idea22:18
mithroI think it goes22:18
greywhindwhat does it do so far?22:18
mithroOverlay -> Value -> Proportional -> Resource22:18
greywhindmithro: actually, it looks like Proportional and Value both are based on Overlay22:21
greywhindnot Proportional based on Value22:21
mithrogreywhind: I think it calculates the the size the piechart should be22:21
mithrogreywhind: ahh, long time since I looked at them22:21
mithrobeen concentrating on Path and System overlays22:21
greywhindmithro: no problem, just need to figure out where i'm at so i can start adding22:21
mithrogreywhind: sure22:23
greywhindlooks like the Proportional.py "amount" method isn't implemented?22:24
*** Erroneous has quit IRC22:25
mithrono, the "amount" method is implimented by the various subclasses22:29
greywhindmithro: ah22:29
mithrothe idea was that Proportional would then handle the scaling of the values for you22:29
greywhindmithro: right.22:29
*** Epyon has quit IRC22:41
greywhindmithro: so how will i test to see the overlay at work?22:50
mithroyou startup the client and select the overlay in the drop down?22:54
greywhindmithro: makes sense :P22:54
mithroand it should draw stuff on the starmap22:54
mithroif you want to be really tricky you could set your overlay as the default one while testing22:55
mithromy first suggestion is to get circles working first22:56
mithrothen move onto getting piecharts working22:56
*** greywhind_ has joined #tp22:58
*** greywhind has quit IRC22:58
mithrogreywhind_: that make sense?23:05
greywhind_mithro: makes sense, but i would still use the PieChart class for the circles, but with only one item in the chart?23:06
mithrowell, I would start with using the "Point" object - less likely to have problems that way23:06
greywhind_mithro: alright.23:07
mithroyou are likely to run into problem with piechart as nobody else has used it :P23:07
greywhind_heh23:07
greywhind_Point would be from RelativePoint.py?23:07
mithropossibly :P23:24
mithrofrom extra.wxFloatCanvas.FloatCanvas   import Point, Group, Line23:24
mithrothat is what you want I think23:24
greywhind_mithro: alright23:24
mithrowxFloatCanvas has a whole bunch of builtin bits23:25
greywhind_so i see23:25

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!