Monday, 2009-06-01

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
tansellcherez, oh how do you have tp in your python library?00:02
tansellpackages?00:02
cherezI'm not sure, but there's an egg of it in my site-packages.00:02
CIA-46llnz tpserver-cpp-battlexml * r515f3ad61406 /tpserver/ (5 files in 2 dirs):00:03
CIA-46Added tinyxml to core tpserver-cpp.00:03
CIA-46Slightly modified version to tinyxml.00:03
CIA-46llnz tpserver-cpp-battlexml * r0e98aca42424 /modules/games/risk/ (9 files): Removed risk tinyxml, use tpserver-cpp version.00:03
tansellcherez, maybe you should checkout the scratchpad module and run python-cleanup.py00:04
cherezI'll look at that.00:05
alanpwe added tinyxml to base?00:06
alanpnice00:06
chereztansell: next on my agenda of files to work on is GenericRS, which doesn't exist. Should I use the one from libtpproto-py, or is there something wrong with that one?00:06
tansellcherez, why GenericRS?00:07
tansellcherez, I think the next thing to work on would be the Structures stuff00:07
cherezThat was right after GenericRS, but if you think so I'll do Structures first.00:08
tansellyeah00:08
tansellthe GenericRS stuff is pretty low priority00:09
llnzalanp: yes, only in the battlexml branch so far00:09
alanpahh00:09
alanpshould i add it to my branch then?00:09
llnzyou could merge from the battlexml branch00:14
alanpmy gitfu is not very strong00:15
alanpi'll check out the merging  feature00:15
llnzgit fetch; git merge origin/battlexml00:15
llnz(ymmv, untested)00:15
*** Greywhind has quit IRC00:16
*** Greywhind has joined #tp00:16
llnzit will in effect update your branch to current master, then the battlexml changes00:16
alanpah00:16
llnz(because the battlexml is an extension to current master)00:17
alanpa branch, right?00:19
llnzyes00:20
llnzafk, moving to warmer spot00:23
llnzthat's better00:25
tansellcherez, the Structure stuff will be the fundamental stuff which makes everything a lot easier00:41
chereztansell: So this will be everything in the structures directory?00:42
tansellyes00:43
tansellwhich is just a split out version of the structures.py file00:43
cherezIs any functionality missing right now, or will it just need testing?00:57
tansellprobably functionality missing01:08
tansellbut most of it is their01:08
Greywhindtansell: ping?01:26
llnzLandon: ping?01:28
tansell--laptopGreywhind, pong01:34
*** peres has left #tp01:35
Greywhindtansell--laptop: so my solution for the Media thread isn't quite threadsafe... what do you think i should do to try to improve it?01:35
tansell--laptopGreywhind, you need to put a lock around it01:36
Greywhindtansell--laptop: not sure how to do that in python. i'll look it up.01:36
tansell--laptoplook up threading.Lock01:36
Greywhindok01:36
*** alanp_ has joined #tp01:54
*** jnengland77 has quit IRC02:01
tansellGreywhind, remeber you don't want to keep the lock held for very long02:08
tansellas it will block media from downloading02:09
*** alanp has quit IRC02:10
Greywhindtansell: ok02:10
Greywhindtansell: http://codereview.mithis.com/200502:21
tpbTitle: Issue 2005: Added method to MediaThread to get the list of filenames with extensions for a given file prefix. - Code Review (at codereview.mithis.com)02:21
tansellPretty much LGTM02:25
Greywhindok02:30
CIA-46Greywhind libtpclient-py-tp04 * rad03d5bd4934 /tp/client/threads.py: Added method to MediaThread to get the list of filenames with extensions for a given file prefix.02:44
CIA-46Greywhind libtpclient-py-tp04 * rf12d8ab17f66 /tp/client/threads.py: Fixed extra print and connection URL, improved thread safety.02:44
Greywhindtansell: you wrote on 2002: "Why do you need the code below, you didn't need it for getOwner?"02:50
tansellyeah02:51
Greywhindtansell: it's there just in case the media structure actually has an extra level of wrapping around the media, like if there's a list of media instead of just one02:51
Greywhindowner shouldn't have such a thing, since there's only one owner02:51
Greywhindtansell: one thing i was thinking about for the problem of icon/media differentiation02:53
Greywhindmaybe we should add a forward/back button to panelPicture02:54
Greywhindso you can scroll through each image related to an object02:54
Greywhindi suppose we'd still need to differentiate the icon for the starmap and the systems panel though02:54
tansellMaybe you could look at the image size02:57
Greywhindhmm... maybe02:58
tansellWe want to make sure that the server doesn't have to deal to much with media02:58
Greywhindi asked llnz if he thought we could have a way to keep icons and other images separate somehow, and i think the name of the structure being "icon" was what he came up with.02:59
Greywhindbut image size would probably be a good way to tell. i'll look into that tomorrow.02:59
tansellopening a lot of images can be rather slow03:02
Greywhindwell, i should be able to check the sizes after i get only the specific URLs for the object03:03
*** nash has quit IRC03:03
tansellGreywhind, my suggestion was to have a different file ending03:04
tansellIE .icon.png03:04
Greywhindtansell: yeah... that would require a server change, though03:04
tansellGreywhind, why could there only be one owner?03:04
tansellI could imagine some rulesets would support co-ownership of a planet03:05
Greywhindtansell: i suppose... i might have to look into supporting that later.03:06
tansellthe server should not have to worry about how the client draws the stuff03:07
Greywhindwell, a file ending would definitely be server-side03:07
Greywhindwe could separate out ObjectParamMedia and ObjectParamIcon types, but that would also require a server change03:09
Greywhindit would probably be the most concrete way to do it03:09
*** zzorn__ has quit IRC03:12
llnzshould the icon be on the type, as opposed to the object?03:18
tansellllnz, possible03:19
llnzcould easily be added to the description of the mediaobjectparam03:21
tansellllnz, the server should not need to care about icons03:34
tansellthat is a media server/client problem03:34
llnztrue03:34
llnzwell... it's a media server setup issue really03:35
llnztansell: any thoughts on battlexml as it stands currently?03:38
tanselllast time I looked at it, it seem to be fine03:38
tansellwhy?03:38
tansellthe latest battle stuff split the media verse description stuff03:38
llnzthat is part of it03:39
llnzsome of it is ok, but i think it still needs a little work03:39
tansellsure03:40
tansellwhat do you think is missing?03:40
tansell(or wrong)03:40
llnzreferences to weapons are missing in "fire" element, for example03:41
tansellweapons?03:54
llnzok, for example, the fire element doesn't say if it's a missile fired, or a laser, etc04:01
llnzand the configuration of ship types, particularly in mtsec and other ship design rulesets04:05
tansellwell I don't think we really need to the ship types stuff04:16
tansellas it's just different media04:16
*** Greywhind has quit IRC05:08
*** peres has joined #tp05:17
*** peres has quit IRC05:33
tansellcherez, I'm assuming you have disappear noed05:51
*** mithro has quit IRC06:46
*** jmtan has left #tp06:47
*** mithro has joined #tp07:04
*** Noughmad has joined #tp07:14
*** Noughmad_ has joined #tp07:14
*** Noughmad has quit IRC07:15
*** Noughmad has joined #tp07:15
*** peres has joined #tp07:27
llnzLandon: I will try to catch up with you tomorrow07:46
llnzmithro: 15 signatures and $100 to register an incorparated society07:46
mithrollnz: whats an incorparated society mean?07:50
llnzoffically recognised club (like a model airplane club)07:51
llnztax rate for incorporated is 30% (same as company), unincorporated is same as individual (graduated from 19% to 36%), possible $1000pa tax exemption07:57
llnzin fact, unincorporated is 12.5% for the amount we get from GSoC07:58
llnzI'll have another talk with the accountant this week08:03
* llnz wanders off08:09
llnzlater all08:09
*** llnz has quit IRC08:09
*** zzorn_work has quit IRC08:14
*** Noughmad_ has quit IRC09:28
*** Noughmad_ has joined #tp09:29
*** bddebian has joined #tp10:53
bddebianHeya10:59
*** peres has quit IRC11:27
*** Greywhind has joined #tp12:28
*** alanp_ has quit IRC13:05
*** alanp_ has joined #tp13:06
*** Erroneous has joined #tp14:02
*** zzorn_ is now known as zzorn-afk15:14
*** greenlion has joined #tp15:52
*** llnz has joined #tp16:15
llnzmorning all16:15
*** Noughmad_ has quit IRC16:40
*** Noughmad has quit IRC16:40
*** alanp_ has quit IRC16:49
*** Khezar has joined #tp17:05
*** Greywhind has quit IRC17:19
*** jnengland77 has joined #tp17:24
*** bddebian has quit IRC17:25
*** Greywhind has joined #tp17:38
*** greenlion has quit IRC18:15
*** alanp has joined #tp18:42
llnz~seen Landon18:43
tpbllnz: Landon was last seen in #tp 2 days, 15 hours, 55 minutes, and 23 seconds ago: <Landon> so I think I'll fastforward next week to processing battle events18:43
*** tote has joined #tp18:45
Landonhey guys18:52
Landonllnz: pong?18:52
llnzhi Landon18:52
llnzi started to implement battlexml in tpserver-cpp yesterday and I think the spec needs improving18:53
Landonno idea how long this connection will stay strong, 3% signal strength as it is,, but I might not be on for the rest of today or at convenient times for you guys on the other side of the world :)18:53
Landonjust moved into my house, but I'm a little early (they weren't expecting anyone for a week, doh) so nothing is set up18:54
llnzi discussed some of the issues with mithro last night here on irc, you should read the log18:54
Landonah, great!18:54
llnzI will try to get some time to write an email about it to the tp-devel mailing list18:54
LandonI'll try to catch up on it all tomorrow at the library18:54
llnzbut that is unlikely before thursday18:54
*** nash has joined #tp19:14
* alanp just moved into his apt too19:19
* llnz wanders away to multi-hour meeting19:20
*** llnz has quit IRC19:20
* jnengland77 also moved into apt not too long ago19:24
*** jnengland77 has quit IRC19:26
*** mithro has quit IRC20:06
*** mithro has joined #tp20:29
tansellmorning people20:51
tansellGreywhind, ping?20:52
Greywhindtansell: pong20:53
tansellGreywhind, how goes today?20:54
Greywhindtansell: it's going alright20:57
Greywhindtansell: i thought a bit about the icon detection thing, and I realized that the problem with trying to figure out what's a full image by the size is that we can't get the dimensions of the image until after it's downloaded20:58
tansellGreywhind, true20:59
Greywhindif i had metadata about the dimensions of the image, not just the file size, it would work20:59
*** mithro has quit IRC21:08
*** mithro has joined #tp21:09
Greywhindmithro: is there a way to find an element in a wxOrderedTreeList by PyData?21:19
Greywhindoh. FindItemByData21:19
*** epyon_ has quit IRC21:25
*** tansell has quit IRC21:25
*** welterde has quit IRC21:25
*** Landon has quit IRC21:25
*** zzorn-afk has quit IRC21:25
*** marnanel has quit IRC21:25
*** tansell--laptop has quit IRC21:26
*** tote has quit IRC21:26
*** Landon has joined #tp21:26
*** zzorn-afk has joined #tp21:26
*** marnanel has joined #tp21:26
*** epyon_ has joined #tp21:26
*** tansell has joined #tp21:26
*** welterde has joined #tp21:26
*** tote has joined #tp21:27
*** tansell--laptop has joined #tp21:27
Greywhindtansell: i got media working in the system list21:27
Greywhindtansell: http://codereview.mithis.com/200221:42
tpbTitle: Issue 2002: Added functions to get media lists to objectutils, used these lists in panelPicture.py. - Code Review (at codereview.mithis.com)21:42
Greywhindoh. huh. it seems i didn't see some of the comments.21:49
Greywhindmaybe i forgot to refresh or something21:49
*** JLafont has joined #tp22:10
*** Erroneous has quit IRC22:34
*** alanp_ has joined #tp23:07
*** alanp__ has joined #tp23:21
*** alanp has quit IRC23:23
*** alanp has joined #tp23:26
*** alanp_ has quit IRC23:35
*** alanp__ has quit IRC23:40
*** alanp has quit IRC23:49
*** alanp has joined #tp23:49

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!