*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | greywhind_: don't forget to push changes :P | 00:09 |
---|---|---|
greywhind_ | mithro: ok | 00:10 |
mithro | greywhind_: on this page now -> http://www.ohloh.net/projects/3679/analyses/latest/contributors :P | 00:10 |
tpb | <http://ln-s.net/1F$3> (at www.ohloh.net) | 00:10 |
greywhind_ | mithro: that's good :) | 00:10 |
greywhind_ | mithro: is there a way to check if an index is out of bounds for a list without throwing an exception? | 00:18 |
mithro | greywhind_: you mean (if x in lst) or (if x < len(lst)) | 00:19 |
mithro | or has_key | 00:19 |
greywhind_ | mithro: yep, but has_key is only for dicts... i think x < len(list) is what i'm looking for | 00:20 |
mithro | greywhind_: why are you doing that? | 00:20 |
greywhind_ | mithro; hold on a moment | 00:21 |
greywhind_ | mithro: yep... i'm doing that because the resources in each object are a list of tuples, and i need to make sure i'm not trying to access a resource that isn't in the list | 00:22 |
mithro | greywhind_: probably best to transform it into a dictionary to start with? | 00:22 |
greywhind_ | mithro: hmm... am i interpreting this wrong? | 00:23 |
greywhind_ | mithro: when i select massivium as my element to view, it gives me a list index out of range | 00:24 |
mithro | greywhind_: I need a little more information then that | 00:24 |
greywhind_ | mithro: give me a sec | 00:24 |
mithro | you should probably be store the ID's in the listbox | 00:24 |
greywhind_ | mithro: well, i store the names as the keys in the listbox, the ID's as the values... to make it easier for humans to understand what each item means | 00:25 |
mithro | greywhind_: yeah that is what I meant | 00:25 |
CIA-10 | llnz tpserver-cpp * r46341fd2f385 /tpserver/playertcpconn.cpp: | 00:27 |
CIA-10 | Distinguish between recoverable and unrecoverable header decoding problems | 00:27 |
CIA-10 | namely, between no synch symbol and too large, vs wrong protocol version and | 00:27 |
CIA-10 | wrong frame type. Recoverable errors don't cause the connection to be closed. | 00:27 |
greywhind_ | mithro: is it possible for certain planets or systems to not have a listing of amounts for a certain resource? | 00:28 |
CIA-10 | llnz tpserver-cpp * rbb8e6b06f045 /tpserver/frame.cpp: Removed redundant code from frame.cpp, added missing return statement. | 00:28 |
mithro | greywhind_: yes | 00:28 |
mithro | infact most planets won't have most resources | 00:28 |
greywhind_ | mithro: ah. so i actually need to check each resource and compare its [0] value to my type, not just grab the resource in the slot equal to my type? | 00:29 |
mithro | yeah | 00:29 |
greywhind_ | that explains it | 00:30 |
greywhind_ | mithro: i think it may be working correctly now | 00:35 |
mithro | so what is it doing :P | 00:36 |
greywhind_ | mithro: showing only a specific type of resource if you select that type from the list | 00:36 |
mithro | greywhind_: cool, now you just need to be able to select multiple resources :P | 00:37 |
greywhind_ | mithro: hmm... that would take some fairly large changes. | 00:37 |
mithro | greywhind_: well your design was not particularly good then :P | 00:37 |
greywhind_ | mithro: well, i'll push what i have and you can see it | 00:38 |
mithro | okay | 00:38 |
mithro | jotham: soon greywhind will overtake your position as 9th top commiter :P | 00:39 |
greywhind_ | mithro: actually, all it would take would be a type of list that allows multiple selections and then a list of types to compare to rather than a single type | 00:39 |
mithro | greywhind_: sounds good | 00:40 |
* mithro waits for the commit | 00:40 | |
CIA-10 | noegnud tpclient-pywx-incoming * re054ab920a15 /windows/main/overlays/ (Proportional.py Resource.py): | 00:42 |
CIA-10 | Improved look of resources overlay, added ability to select single resource | 00:42 |
CIA-10 | types from a list to view rather than all at once. | 00:42 |
*** JLP has quit IRC | 00:46 | |
mithro | greywhind_: looking good - do you have a screenshot under mac? | 00:46 |
greywhind_ | mithro: i can take one | 00:47 |
greywhind_ | mithro: do you want the "all resources" or "single resource" or both displays? | 00:47 |
mithro | greywhind_: the pie-charts are a bit pixilated under Linux it seems.. | 00:47 |
greywhind_ | mithro: hmm... don't look pixellated to me | 00:48 |
mithro | mac uses a different canvas then windows/linux | 00:48 |
mithro | hence I would like a screenshot | 00:48 |
greywhind_ | mithro: creating and uploading now | 00:49 |
mithro | greywhind_: cool | 00:49 |
greywhind_ | mithro: http://free.prohosting.com/whind/stuff/allresources.png | 00:50 |
tpb | <http://ln-s.net/1F$W> (at free.prohosting.com) | 00:50 |
greywhind_ | mithro; http://free.prohosting.com/whind/stuff/oneresource.png | 00:50 |
tpb | <http://ln-s.net/1F$Y> (at free.prohosting.com) | 00:50 |
mithro | http://www.thousandparsec.net/~tim/piechart.png | 00:51 |
greywhind_ | mithro; i see. | 00:51 |
greywhind_ | looks like an antialiasing problem | 00:51 |
mithro | I do notice that the slices don't quite line up | 00:51 |
mithro | no mouse over yet either? | 00:52 |
greywhind_ | mithro: the real difference between the two screenshots is the antialiasing on the lines | 00:52 |
greywhind_ | mithro; no, have to add that next | 00:52 |
mithro | greywhind_: still need to chase up the broken button | 00:53 |
greywhind_ | mithro: indeed | 00:53 |
greywhind_ | mithro: i don't really know what to change to improve the line antialiasing... | 00:53 |
mithro | greywhind_: well this is where the floatcanvas list is helpful :) | 00:54 |
greywhind_ | mithro: suppose so | 00:54 |
greywhind_ | mithro: well, i have to sleep now | 00:56 |
mithro | greywhind_: okay cool | 00:56 |
greywhind_ | but we can talk more about what you want it to look like tomorrow | 00:56 |
greywhind_ | see you later | 00:57 |
jotham | haha | 01:21 |
mithro | jotham: so how goes your battleviewer :P | 01:26 |
jotham | same as always | 01:26 |
jotham | dead in the water, like my entire life | 01:26 |
jotham | on wednesday our product gets launched with the new zealand minister of sport | 01:26 |
jotham | it'll be on tv and crap | 01:26 |
jotham | so that's when it'll be all over | 01:26 |
llnz | cool | 01:27 |
llnz | jotham: fyi: i'll be in Wellington on the 19th | 01:27 |
jotham | cool | 01:27 |
mithro | jotham: cool, after that you'll have some time to do it? - That demo stuff you showed me a long while back was pretty cool | 01:27 |
jotham | lets try again | 01:27 |
llnz | yeah | 01:27 |
jotham | yeah mithro | 01:27 |
jotham | it has not left my mind | 01:27 |
mithro | jotham: cool | 01:29 |
mithro | my tshirt offer still stands :) | 01:32 |
jotham | i don't remember the offer | 01:32 |
mithro | working battleviewer == free Thousand Parsec tshirt :) | 01:33 |
jotham | i live in hope | 01:33 |
mithro | jotham: they are pretty cool :P | 01:37 |
mithro | anyway, heading out | 01:38 |
*** mithro has quit IRC | 01:47 | |
*** JLP has joined #tp | 01:58 | |
llnz | hi JLP | 02:11 |
*** JLP has quit IRC | 03:53 | |
*** nash has quit IRC | 04:03 | |
*** JLP has joined #tp | 05:43 | |
*** mithro has joined #tp | 06:02 | |
CIA-10 | kane * r42 media/promotion/calender/ (15 files): Check out the order I have suggested and the first of the iteration 2 drafts for July | 06:05 |
*** JLP_ has joined #tp | 06:06 | |
llnz | hi mithro | 06:06 |
llnz | wb JLP_ | 06:07 |
*** DTRemenak|RDP has joined #tp | 06:08 | |
*** JLP has quit IRC | 06:08 | |
CIA-10 | llnz tpserver-cpp * r24e7153157c1 /tpserver/ (player.cpp player.h): | 06:12 |
CIA-10 | Added ModTime, Score and IsAlive to Player. | 06:12 |
CIA-10 | IsAlive will be used by the TurnTimer (and maybe the game), Score is there | 06:12 |
CIA-10 | for the rulesets, and ModTime is there in case the protocol requires it in | 06:12 |
CIA-10 | future. | 06:12 |
CIA-10 | llnz tpserver-cpp * re461d9def0d5 /modules/games/minisec/minisec.cpp: Guest user in minisec doesn't need designs now, also set isAlive(false). | 06:22 |
*** Erroneous has joined #tp | 06:31 | |
*** DTRemenak has quit IRC | 06:35 | |
*** Erroneous is now known as DTRemenak | 06:35 | |
mithro | Epyon: ping? | 06:38 |
CIA-10 | kane * r43 media/promotion/calender/ (29 files): Next version up | 06:39 |
*** DTRemenak|RDP has quit IRC | 06:50 | |
*** Erroneous has joined #tp | 06:52 | |
CIA-10 | jezuch documents-origin * r03e833830a8b /protocol/protocol3.xml: Copy FinishedTurn frame description from protocol.xml (tp04) to protocol3.xml (tp03) as tpserver-cpp will accept it in both modes. | 06:55 |
* llnz wanders off | 07:00 | |
llnz | later all | 07:00 |
*** llnz has quit IRC | 07:00 | |
*** mithro has quit IRC | 07:02 | |
*** JLP_ is now known as JLP | 07:05 | |
*** DTRemenak has quit IRC | 07:09 | |
*** remaxim has joined #tp | 08:37 | |
remaxim | JLP, did you already write the posting? | 08:40 |
remaxim | and... another important thing... which license has the music to be licensed with? | 08:41 |
*** remaxim has left #tp | 10:48 | |
*** Demitar has quit IRC | 12:44 | |
*** DTRemenak has joined #tp | 12:45 | |
*** remaxim has joined #tp | 14:36 | |
remaxim | hi | 14:37 |
*** remaxim has left #tp | 14:43 | |
*** peres has joined #tp | 14:44 | |
*** guitsaru has joined #tp | 15:47 | |
*** Demitar has joined #tp | 16:03 | |
*** guitsaru has quit IRC | 16:03 | |
*** mithro has joined #tp | 17:29 | |
*** peres has left #tp | 18:22 | |
*** tuna has quit IRC | 18:59 | |
*** tuna-fish has joined #tp | 19:03 | |
*** tuna-fish is now known as tuna | 19:03 | |
mithro | TBBle: ping? | 19:38 |
*** tuna has quit IRC | 19:40 | |
*** tuna-fish has joined #tp | 19:51 | |
*** tuna-fish is now known as tuna | 19:51 | |
*** DTRemenak has quit IRC | 20:18 | |
greywhind_ | mithro: ping? | 20:47 |
mithro | greywhind_: pong | 20:47 |
mithro | just about to head to lunhc | 20:47 |
greywhind_ | mithro: sorry. just wanted to ask if the mouse-over popups on the starmap were working for you | 20:48 |
greywhind_ | on the systems overlay | 20:48 |
mithro | greywhind_: yes they are | 20:49 |
greywhind_ | mithro: even in the version with my overlay fully implemented? | 20:49 |
mithro | yeah | 20:49 |
greywhind_ | mithro: hmm.... it doesn't seem to be working on Mac. | 20:50 |
mithro | hrm | 20:50 |
mithro | heading out to lunch | 20:50 |
mithro | bblr | 20:50 |
greywhind_ | mithro: alright | 20:50 |
mithro | try the dev version? | 20:50 |
greywhind_ | mithro: will do | 20:50 |
greywhind_ | mithro: not working on development branch version either | 20:53 |
greywhind_ | mithro: i also can't select objects by clicking on them on the starmap | 20:53 |
greywhind_ | mithro: the problem seems to have been introduced by this patch: Commit: 8948f520b391b25cf7f3323c77a74757f05079ea | 21:18 |
greywhind_ | Author: Tim Ansell <[email protected]> Sun, 18 Nov 2007 16:50:50 +1030 | 21:18 |
greywhind_ | Always use the older method which doesn't seem to segfault. | 21:18 |
mithro | oh | 21:39 |
mithro | greywhind_: I know the cause then | 21:39 |
greywhind_ | mithro: ok | 21:40 |
mithro | look at line 2330 | 21:40 |
mithro | in FloatCanvas.py | 21:40 |
mithro | check of macos there | 21:41 |
greywhind_ | 2330 is: if wx.__version__ >= "2.8" and False: | 21:41 |
mithro | yeah | 21:42 |
mithro | change that False to some check for MacOS X | 21:42 |
greywhind_ | mithro: how do i check for Mac OS X? | 21:43 |
mithro | os.platform probably? or wx. something | 21:43 |
mithro | I've checked for it in other places in the code | 21:43 |
mithro | wx.Platform == "__WXMAC__" | 21:50 |
greywhind_ | mithro: thanks | 21:50 |
greywhind_ | mithro: i'm testing that it's not mac, right? | 21:51 |
mithro | greywhind_: no you are testing that it is a mac | 21:51 |
greywhind_ | mithro: so if wx.__version__ >= "2.8" and wx.Platform == "__WXMAC__": | 21:51 |
mithro | yeah | 21:51 |
mithro | that looks right? | 21:51 |
mithro | does it work | 21:52 |
greywhind_ | mithro: checking | 21:52 |
greywhind_ | mithro: nope... let me try checking if it's not mac | 21:52 |
greywhind_ | mithro: never mind... i already was | 21:53 |
mithro | ? | 21:53 |
greywhind_ | mithro: never mind. it works | 21:53 |
mithro | greywhind_: cool | 21:57 |
*** Epyon_ has joined #tp | 22:28 | |
mithro | Epyon: ping? | 22:30 |
*** Epyon has quit IRC | 22:45 | |
mithro | greywhind_: so where are you at? | 22:54 |
mithro | well, work's network just went down | 23:45 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!