*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
tansell | cherez, oh how do you have tp in your python library? | 00:02 |
---|---|---|
tansell | packages? | 00:02 |
cherez | I'm not sure, but there's an egg of it in my site-packages. | 00:02 |
CIA-46 | llnz tpserver-cpp-battlexml * r515f3ad61406 /tpserver/ (5 files in 2 dirs): | 00:03 |
CIA-46 | Added tinyxml to core tpserver-cpp. | 00:03 |
CIA-46 | Slightly modified version to tinyxml. | 00:03 |
CIA-46 | llnz tpserver-cpp-battlexml * r0e98aca42424 /modules/games/risk/ (9 files): Removed risk tinyxml, use tpserver-cpp version. | 00:03 |
tansell | cherez, maybe you should checkout the scratchpad module and run python-cleanup.py | 00:04 |
cherez | I'll look at that. | 00:05 |
alanp | we added tinyxml to base? | 00:06 |
alanp | nice | 00:06 |
cherez | tansell: 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 |
tansell | cherez, why GenericRS? | 00:07 |
tansell | cherez, I think the next thing to work on would be the Structures stuff | 00:07 |
cherez | That was right after GenericRS, but if you think so I'll do Structures first. | 00:08 |
tansell | yeah | 00:08 |
tansell | the GenericRS stuff is pretty low priority | 00:09 |
llnz | alanp: yes, only in the battlexml branch so far | 00:09 |
alanp | ahh | 00:09 |
alanp | should i add it to my branch then? | 00:09 |
llnz | you could merge from the battlexml branch | 00:14 |
alanp | my gitfu is not very strong | 00:15 |
alanp | i'll check out the merging feature | 00:15 |
llnz | git fetch; git merge origin/battlexml | 00:15 |
llnz | (ymmv, untested) | 00:15 |
*** Greywhind has quit IRC | 00:16 | |
*** Greywhind has joined #tp | 00:16 | |
llnz | it will in effect update your branch to current master, then the battlexml changes | 00:16 |
alanp | ah | 00:16 |
llnz | (because the battlexml is an extension to current master) | 00:17 |
alanp | a branch, right? | 00:19 |
llnz | yes | 00:20 |
llnz | afk, moving to warmer spot | 00:23 |
llnz | that's better | 00:25 |
tansell | cherez, the Structure stuff will be the fundamental stuff which makes everything a lot easier | 00:41 |
cherez | tansell: So this will be everything in the structures directory? | 00:42 |
tansell | yes | 00:43 |
tansell | which is just a split out version of the structures.py file | 00:43 |
cherez | Is any functionality missing right now, or will it just need testing? | 00:57 |
tansell | probably functionality missing | 01:08 |
tansell | but most of it is their | 01:08 |
Greywhind | tansell: ping? | 01:26 |
llnz | Landon: ping? | 01:28 |
tansell--laptop | Greywhind, pong | 01:34 |
*** peres has left #tp | 01:35 | |
Greywhind | tansell--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--laptop | Greywhind, you need to put a lock around it | 01:36 |
Greywhind | tansell--laptop: not sure how to do that in python. i'll look it up. | 01:36 |
tansell--laptop | look up threading.Lock | 01:36 |
Greywhind | ok | 01:36 |
*** alanp_ has joined #tp | 01:54 | |
*** jnengland77 has quit IRC | 02:01 | |
tansell | Greywhind, remeber you don't want to keep the lock held for very long | 02:08 |
tansell | as it will block media from downloading | 02:09 |
*** alanp has quit IRC | 02:10 | |
Greywhind | tansell: ok | 02:10 |
Greywhind | tansell: http://codereview.mithis.com/2005 | 02:21 |
tpb | Title: 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 |
tansell | Pretty much LGTM | 02:25 |
Greywhind | ok | 02:30 |
CIA-46 | Greywhind 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-46 | Greywhind libtpclient-py-tp04 * rf12d8ab17f66 /tp/client/threads.py: Fixed extra print and connection URL, improved thread safety. | 02:44 |
Greywhind | tansell: you wrote on 2002: "Why do you need the code below, you didn't need it for getOwner?" | 02:50 |
tansell | yeah | 02:51 |
Greywhind | tansell: 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 one | 02:51 |
Greywhind | owner shouldn't have such a thing, since there's only one owner | 02:51 |
Greywhind | tansell: one thing i was thinking about for the problem of icon/media differentiation | 02:53 |
Greywhind | maybe we should add a forward/back button to panelPicture | 02:54 |
Greywhind | so you can scroll through each image related to an object | 02:54 |
Greywhind | i suppose we'd still need to differentiate the icon for the starmap and the systems panel though | 02:54 |
tansell | Maybe you could look at the image size | 02:57 |
Greywhind | hmm... maybe | 02:58 |
tansell | We want to make sure that the server doesn't have to deal to much with media | 02:58 |
Greywhind | i 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 |
Greywhind | but image size would probably be a good way to tell. i'll look into that tomorrow. | 02:59 |
tansell | opening a lot of images can be rather slow | 03:02 |
Greywhind | well, i should be able to check the sizes after i get only the specific URLs for the object | 03:03 |
*** nash has quit IRC | 03:03 | |
tansell | Greywhind, my suggestion was to have a different file ending | 03:04 |
tansell | IE .icon.png | 03:04 |
Greywhind | tansell: yeah... that would require a server change, though | 03:04 |
tansell | Greywhind, why could there only be one owner? | 03:04 |
tansell | I could imagine some rulesets would support co-ownership of a planet | 03:05 |
Greywhind | tansell: i suppose... i might have to look into supporting that later. | 03:06 |
tansell | the server should not have to worry about how the client draws the stuff | 03:07 |
Greywhind | well, a file ending would definitely be server-side | 03:07 |
Greywhind | we could separate out ObjectParamMedia and ObjectParamIcon types, but that would also require a server change | 03:09 |
Greywhind | it would probably be the most concrete way to do it | 03:09 |
*** zzorn__ has quit IRC | 03:12 | |
llnz | should the icon be on the type, as opposed to the object? | 03:18 |
tansell | llnz, possible | 03:19 |
llnz | could easily be added to the description of the mediaobjectparam | 03:21 |
tansell | llnz, the server should not need to care about icons | 03:34 |
tansell | that is a media server/client problem | 03:34 |
llnz | true | 03:34 |
llnz | well... it's a media server setup issue really | 03:35 |
llnz | tansell: any thoughts on battlexml as it stands currently? | 03:38 |
tansell | last time I looked at it, it seem to be fine | 03:38 |
tansell | why? | 03:38 |
tansell | the latest battle stuff split the media verse description stuff | 03:38 |
llnz | that is part of it | 03:39 |
llnz | some of it is ok, but i think it still needs a little work | 03:39 |
tansell | sure | 03:40 |
tansell | what do you think is missing? | 03:40 |
tansell | (or wrong) | 03:40 |
llnz | references to weapons are missing in "fire" element, for example | 03:41 |
tansell | weapons? | 03:54 |
llnz | ok, for example, the fire element doesn't say if it's a missile fired, or a laser, etc | 04:01 |
llnz | and the configuration of ship types, particularly in mtsec and other ship design rulesets | 04:05 |
tansell | well I don't think we really need to the ship types stuff | 04:16 |
tansell | as it's just different media | 04:16 |
*** Greywhind has quit IRC | 05:08 | |
*** peres has joined #tp | 05:17 | |
*** peres has quit IRC | 05:33 | |
tansell | cherez, I'm assuming you have disappear noed | 05:51 |
*** mithro has quit IRC | 06:46 | |
*** jmtan has left #tp | 06:47 | |
*** mithro has joined #tp | 07:04 | |
*** Noughmad has joined #tp | 07:14 | |
*** Noughmad_ has joined #tp | 07:14 | |
*** Noughmad has quit IRC | 07:15 | |
*** Noughmad has joined #tp | 07:15 | |
*** peres has joined #tp | 07:27 | |
llnz | Landon: I will try to catch up with you tomorrow | 07:46 |
llnz | mithro: 15 signatures and $100 to register an incorparated society | 07:46 |
mithro | llnz: whats an incorparated society mean? | 07:50 |
llnz | offically recognised club (like a model airplane club) | 07:51 |
llnz | tax rate for incorporated is 30% (same as company), unincorporated is same as individual (graduated from 19% to 36%), possible $1000pa tax exemption | 07:57 |
llnz | in fact, unincorporated is 12.5% for the amount we get from GSoC | 07:58 |
llnz | I'll have another talk with the accountant this week | 08:03 |
* llnz wanders off | 08:09 | |
llnz | later all | 08:09 |
*** llnz has quit IRC | 08:09 | |
*** zzorn_work has quit IRC | 08:14 | |
*** Noughmad_ has quit IRC | 09:28 | |
*** Noughmad_ has joined #tp | 09:29 | |
*** bddebian has joined #tp | 10:53 | |
bddebian | Heya | 10:59 |
*** peres has quit IRC | 11:27 | |
*** Greywhind has joined #tp | 12:28 | |
*** alanp_ has quit IRC | 13:05 | |
*** alanp_ has joined #tp | 13:06 | |
*** Erroneous has joined #tp | 14:02 | |
*** zzorn_ is now known as zzorn-afk | 15:14 | |
*** greenlion has joined #tp | 15:52 | |
*** llnz has joined #tp | 16:15 | |
llnz | morning all | 16:15 |
*** Noughmad_ has quit IRC | 16:40 | |
*** Noughmad has quit IRC | 16:40 | |
*** alanp_ has quit IRC | 16:49 | |
*** Khezar has joined #tp | 17:05 | |
*** Greywhind has quit IRC | 17:19 | |
*** jnengland77 has joined #tp | 17:24 | |
*** bddebian has quit IRC | 17:25 | |
*** Greywhind has joined #tp | 17:38 | |
*** greenlion has quit IRC | 18:15 | |
*** alanp has joined #tp | 18:42 | |
llnz | ~seen Landon | 18:43 |
tpb | llnz: 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 events | 18:43 |
*** tote has joined #tp | 18:45 | |
Landon | hey guys | 18:52 |
Landon | llnz: pong? | 18:52 |
llnz | hi Landon | 18:52 |
llnz | i started to implement battlexml in tpserver-cpp yesterday and I think the spec needs improving | 18:53 |
Landon | no 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 |
Landon | just moved into my house, but I'm a little early (they weren't expecting anyone for a week, doh) so nothing is set up | 18:54 |
llnz | i discussed some of the issues with mithro last night here on irc, you should read the log | 18:54 |
Landon | ah, great! | 18:54 |
llnz | I will try to get some time to write an email about it to the tp-devel mailing list | 18:54 |
Landon | I'll try to catch up on it all tomorrow at the library | 18:54 |
llnz | but that is unlikely before thursday | 18:54 |
*** nash has joined #tp | 19:14 | |
* alanp just moved into his apt too | 19:19 | |
* llnz wanders away to multi-hour meeting | 19:20 | |
*** llnz has quit IRC | 19:20 | |
* jnengland77 also moved into apt not too long ago | 19:24 | |
*** jnengland77 has quit IRC | 19:26 | |
*** mithro has quit IRC | 20:06 | |
*** mithro has joined #tp | 20:29 | |
tansell | morning people | 20:51 |
tansell | Greywhind, ping? | 20:52 |
Greywhind | tansell: pong | 20:53 |
tansell | Greywhind, how goes today? | 20:54 |
Greywhind | tansell: it's going alright | 20:57 |
Greywhind | tansell: 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 downloaded | 20:58 |
tansell | Greywhind, true | 20:59 |
Greywhind | if i had metadata about the dimensions of the image, not just the file size, it would work | 20:59 |
*** mithro has quit IRC | 21:08 | |
*** mithro has joined #tp | 21:09 | |
Greywhind | mithro: is there a way to find an element in a wxOrderedTreeList by PyData? | 21:19 |
Greywhind | oh. FindItemByData | 21:19 |
*** epyon_ has quit IRC | 21:25 | |
*** tansell has quit IRC | 21:25 | |
*** welterde has quit IRC | 21:25 | |
*** Landon has quit IRC | 21:25 | |
*** zzorn-afk has quit IRC | 21:25 | |
*** marnanel has quit IRC | 21:25 | |
*** tansell--laptop has quit IRC | 21:26 | |
*** tote has quit IRC | 21:26 | |
*** Landon has joined #tp | 21:26 | |
*** zzorn-afk has joined #tp | 21:26 | |
*** marnanel has joined #tp | 21:26 | |
*** epyon_ has joined #tp | 21:26 | |
*** tansell has joined #tp | 21:26 | |
*** welterde has joined #tp | 21:26 | |
*** tote has joined #tp | 21:27 | |
*** tansell--laptop has joined #tp | 21:27 | |
Greywhind | tansell: i got media working in the system list | 21:27 |
Greywhind | tansell: http://codereview.mithis.com/2002 | 21:42 |
tpb | Title: Issue 2002: Added functions to get media lists to objectutils, used these lists in panelPicture.py. - Code Review (at codereview.mithis.com) | 21:42 |
Greywhind | oh. huh. it seems i didn't see some of the comments. | 21:49 |
Greywhind | maybe i forgot to refresh or something | 21:49 |
*** JLafont has joined #tp | 22:10 | |
*** Erroneous has quit IRC | 22:34 | |
*** alanp_ has joined #tp | 23:07 | |
*** alanp__ has joined #tp | 23:21 | |
*** alanp has quit IRC | 23:23 | |
*** alanp has joined #tp | 23:26 | |
*** alanp_ has quit IRC | 23:35 | |
*** alanp__ has quit IRC | 23:40 | |
*** alanp has quit IRC | 23:49 | |
*** alanp has joined #tp | 23:49 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!