Monday, 2008-01-14

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
mithrono greywhind :(00:26
*** Epyon has quit IRC00:32
mithrowelp, heading home now01:27
mithrosee ya!01:27
*** llnz has joined #tp01:41
*** mithro has quit IRC01:47
*** mithro has joined #tp02:59
mithroheyo people02:59
mithrohey llnz02:59
llnzhi mithro03:07
* mithro is currently tossing up what he should do about the orders stuff03:07
mithroI have two options03:07
mithro 1. go the "it always worked" route03:08
mithro 2. rework the order stuff to use the new structure I have figured out03:08
mithrothe first one is much quicker meaning that I'm more likely to be able to release ASAP03:08
mithrowhile the second one will have to be done anyway03:08
llnzthis is libtpclient-py, correct?03:16
mithrollnz: well it's part of both tpclient-pywx and libtpclient-py03:16
llnzdo 1, release, do 203:17
llnzyou might note that is kinda what I do with tpserver-cpp (and to a lesser extent, libtpproto-cpp)03:17
mithrodoing 1 would leave quite a few bugs in the client :(03:18
mithrowell, I guess I should try and close of all the other bugs and see how much time I have left03:18
mithros/of/off03:19
llnzi'm not sure if i'm going to get to my 0.5.0 deadline before lca :-(03:20
mithrollnz: :(03:21
mithronot even an alpha/beta ?03:21
llnzwell, i could, but then maybe have to redo objectview and related persistence over again03:22
llnzwell... i'll keep going and see where i get to03:23
llnzif i can get objectview done tonight/tomorrow, then I might have 0.5.0 by LCA (just)03:23
llnzit's hard to guess the interfaces needed03:26
llnzand also having to deal with not clear semantics for the turn number03:27
llnz(ie, beginning of turn or end of turn for increment)03:28
llnzthe nice thing is that in minisec that all this is logically a null operation03:29
llnzactually, objectview needs to go on the backburner until i have history support for objects (and especially parameter groups)03:33
* llnz ponders completely rewriting object, objectdata and objectmanager....03:43
llnzhummm.... maybe just making ObjectParameterGroup a smart point might be enough....03:45
mithrollnz: does tpserver-cpp use exceptions at all?03:50
llnzmithro: only very limitedly03:51
llnzi expect it to have more in future03:51
llnzespecially about frame decoding03:51
llnzso, yes, it does use exceptions03:52
llnz(look in main.cpp for some overall try/catch blocks)03:52
llnzi'm also thinking of spliting out the "event loop" (ie, network select and timers) into a new library03:53
mithrollnz: don't you think that such a thing already exists?03:53
mithroafter writing C++ code for a living, I don't know why you are not using like 20 libraries to make your life easier :P03:54
llnzi've been looking, the only thing that is remotely close is qtcore and kdecore, and there are kinda large (even without the UI bits)03:54
llnzactually, i should have another look at qtcore03:55
llnzhummm... that wouldn't be a bad option actually04:02
llnzi'll leave that until after lca04:03
llnzerr... 0.5.004:03
mithroboost is quite useful04:04
mithroso is tinyxml++04:05
llnzi have never (and unless something comes along, will never) touch boost04:10
llnzi could be on the lookout for a c++ xml library in debian for tpserver-cpp for battlexml support04:10
mithroI've been using things like static asserts04:11
mithro(from boost)04:11
mithroand a bunch of the string helpers04:12
mithrosmart pointers look kind of cool04:12
mithrooh and the hashmap04:12
mithroboost  python is pretty good too04:14
mithrollnz: I could use some help with testing tpclient-pywx's statetracker branch04:16
llnzok, i'll have a look04:16
llnzneed some thoughts as to how to implement history support04:17
CIA-46mithro tpclient-pywx-statetracker * r915008174b52 /extra/wxFloatCanvas/FloatCanvas.py: Added a DrawOrder attribute to the FloatCanvas to try and fix my ordering problems.04:18
CIA-46mithro tpclient-pywx-statetracker * r095f2d0c302d /windows/winUpdate.py: Update the window even when callbacks are streaming in.04:18
CIA-46mithro tpclient-pywx-statetracker * rae8b1a8125ef /windows/main/overlays/ (Overlay.py Path.py): Use the DrawOrder stuff to always make the Path overlay draw below the Systems overlay.04:18
mithrollnz: I wish I had some time to test out my theories on tpserver-py04:18
llnzhumm....04:21
llnzso how are move orders suppose to work?04:22
mithrohave I forgotten to commit something?04:22
mithroyou select the thing you want to move04:22
mithrothen right click where you want it to move to04:22
llnzah, ok04:23
llnzon removing an order:04:23
llnzTraceback (most recent call last):04:23
llnz  File "./extra/decorators.py", line 52, in w04:23
llnz    function(self, *args, **kw)04:23
llnz  File "./windows/main/panelOrder.py", line 309, in OnOrderDelete04:23
llnz    self.RemoveOrders()04:23
llnz  File "./extra/StateTracker.py", line 368, in RemoveOrders04:23
llnz    self.application.Post(self.application.cache.CacheDirtyEvent("orders", "remove", self.oid, slots=slots), source=self)04:23
llnz  File "./tp/client/cache.py", line 69, in __init__04:23
llnz    raise TypeError("A slot value is required for compound types.")04:23
llnzTypeError: A slot value is required for compound types.04:23
llnzcool, waypointing does appear to work, waiting for eot04:24
mithrollnz: oh, did you not update libtpclient-py too?04:24
* llnz needs to figure out a good way to store multiple objects for the same id04:25
llnzi'll do that too04:25
mithrollnz: use a guid to id mapping scheme?04:25
llnzok, only bug so far is that the orders frame is not updated04:27
llnzhumm... feature request: allow waypoints anywhere04:28
mithrollnz: that is comming in the near future04:29
* llnz thinks he needs to improve the order result code a bit, so its more accurate04:30
* llnz ponders massive changes to the Object classes in tpserver-cpp04:31
llnzactually, could be quite good04:34
llnzmove ObjectData to ObjectType and push the parameters into IGObject, make ObjectParameterGroup a smart pointer04:36
llnztpserver-cpp would no longer support TP02 or TP0304:37
llnzkinda a downside...04:38
llnzbut would make history support reasonably easy04:39
llnzand therefore ObjectView easy04:39
mithroTP03 will probably still be important for about 6 months04:40
llnzhumm... ok04:41
llnzi wonder if i can still apply some of the concepts04:41
* llnz notes he shouldn't stay up too late, google phone interview tomorrow morning04:42
mithrollnz: I have to be at work by 7:30 tommorrow04:43
mithro:(04:43
mithrobtw tpserver-cpp really needs an intercept order05:03
mithro(or move to)05:04
llnzi know05:06
llnznot tpserver-cpp as such, more like the rulesets on tpserver-cpp05:06
mithroyeah05:08
llnzahh.... figured out a way to keep TP0[23] compatability05:11
llnzgoing to touch all objectstypes in all games05:12
mithrollnz: I would drop tp02 support really05:25
mithronothing uses it05:25
llnzi know, but the cost is zero currently05:26
mithroI don't believe that05:26
mithroit might be only small - but it's still effort05:26
mithrowhy would anyone even use tp02? tp03 is sooo much better06:23
CIA-46mithro tpclient-pywx-statetracker * re5fc5cafcfbf /extra/StateTracker.py: Fixed a typo.06:23
CIA-46mithro tpclient-pywx-statetracker * r41f9e3d66678 /windows/main/panelStarMap.py: Added a WaypointMode.06:23
CIA-46mithro tpclient-pywx-statetracker * rafa45ef7d372 /windows/main/overlays/ (Overlay.py Systems.py): A very hacky way to impliment the waypoint mode stuff.06:23
CIA-46llnz tpserver-cpp * r0d1c0ef47ca3 /tpserver/ (5 files):06:24
CIA-46Added ObjectParameterGroupDesc (and ParameterDesc), and ObjectType.06:24
CIA-46This is the start of a refactoring of the ObjectData/IGObject code, both to06:24
CIA-46make the instance objects smaller, and to make future work possible, including06:24
CIA-46ObjectView and Object History. This will not compile.06:24
CIA-46llnz tpserver-cpp * r653ff410ff3b /tpserver/ (objectparametergroupdesc.cpp objectparametergroupdesc.h):06:44
CIA-46Nicer way to add ObjectParameterDesc to ObjectParameterGroupDesc,06:44
CIA-46since the ParameterDesc only has type, name and description.06:44
mithrollnz: shouldn't you be heading to bed :P07:07
llnzyes :-)07:08
llnzi've nearly completed converting minisec Fleet to ObjectType07:23
llnzand now it's time to go07:24
* llnz wander off07:24
*** llnz has quit IRC07:24
*** mithro has quit IRC07:50
*** jotham has quit IRC09:16
*** DTRemenak|RDP has quit IRC09:16
*** Demitar has quit IRC09:16
*** CIA-46 has quit IRC09:16
*** zzorn has quit IRC09:16
*** tuna has quit IRC09:16
*** TBBle has quit IRC09:16
*** zzorn has joined #tp09:17
*** DTRemenak|RDP has joined #tp09:17
*** tuna has joined #tp09:17
*** jotham has joined #tp09:17
*** CIA-46 has joined #tp09:17
*** Demitar has joined #tp09:17
*** TBBle has joined #tp09:17
*** zzorn has quit IRC09:46
*** Epyon has joined #tp12:40
*** Erroneous has joined #tp12:41
*** Erroneous has quit IRC15:10
*** Erroneous has joined #tp15:10
*** mithro has joined #tp15:46
mithro~seen nash15:47
tpbmithro: nash was last seen in #tp 3 days, 21 hours, 46 minutes, and 58 seconds ago: <nash> something like that15:47
CIA-46jezuch libtpproto-java-experimental-xml * r1d93e4591aec /src-generator/net/thousandparsec/netlib/generator/PropertyHandler.java: Fix supposedly a typo in error message ("without an unknown type"?...)16:21
CIA-46jezuch libtpproto-java-experimental-xml * r368b4e0f73c5 /src-generated/net/thousandparsec/netlib/tp03/TP03Visitor.java: Regenerate tp03 files from slightly updated protocol3.xml with FinishedTurn frame copied from tp04 ("tp03+" protocol) - on master branch too.16:21
CIA-46jezuch libtpproto-java-experimental-xml * rc6e6cf3ee9b5 /src-generator/net/thousandparsec/netlib/generator/ (4 files): Propoagate UseparametersTypeField type upwards and don't try to get useparameters@typefield attribute (which does not exist on this branch).16:21
CIA-46jezuch libtpproto-java-experimental-xml * rf5dc0b54ab2b /src-generator/net/thousandparsec/netlib/generator/UseparametersTypeField.java: Simplify UseparametersTypeField extensively to not parse the description itself but just accept pre-prepared values.16:21
CIA-46jezuch libtpproto-java-experimental-xml * r3ef05878869a /src-generator/net/thousandparsec/netlib/generator/ (StructureHandler.java UseparametersHandler.java): Implement UseparametersHandler.16:21
CIA-46jezuch libtpproto-java-experimental-xml * r514a43470412 /src-generator/net/thousandparsec/netlib/generator/ (3 files): Complete and fix useparameters handling on experimental-xml branch.16:21
CIA-46jezuch libtpproto-java-experimental-xml * r4f7ac87da640 /src-generated/net/thousandparsec/netlib/tp03/TP03Visitor.java: Fix a mis-merge by git.16:21
CIA-46jezuch documents-experimental-xml * 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.16:31
CIA-46llnz documents-experimental-xml * r694041a51fcf /protocol/protocol.dtd:16:31
CIA-46Added failtype to dtd for showing what failure codes can be returned16:31
CIA-46and why. Note, this field should be consided inherited.16:31
CIA-46llnz documents-experimental-xml * rffb56d5efc7a /protocol/protocol.xml:16:31
CIA-46Added failure types to Header, will do others later, added direction tags16:31
CIA-46to those that needed it.16:31
CIA-46llnz documents-experimental-xml * r547717059775 /protocol/protocol3.xml: Merge with git+ssh://[email protected]/var/lib/git/documents.git16:31
CIA-46llnz documents-experimental-xml * rfee151e7eb7c /protocol/protocol.xml:16:31
CIA-46The OrderParemeter of type object now has a list of acceptable object types.16:31
CIA-46As per discussion in late November 07.16:31
CIA-46midorikid documents-experimental-xml * rfb66843de3d7 /protocol/protocol.xml: Changed protocol version to TP0416:32
CIA-46jezuch documents-experimental-xml * r07f73a9d3c4b /protocol/protocol3.xml: Remove ObjectParameters from protocol3.xml as they are unused (at least not as parameters) in TP03.16:32
CIA-46jezuch documents-experimental-xml * r9ee640ea5183 /protocol/ (protocol.dtd protocol3.xml): Remore <descstruct> elements in protocol3.xml where they are empty and tweak DTD to allow it to not exist.16:32
CIA-46jezuch documents-experimental-xml * rc2d67d9e88bf /protocol/protocol.xml: Update protocol.xml too.16:32
CIA-46jezuch documents-experimental-xml * rff695ecf33ba /protocol/ (protocol.dtd protocol.xml protocol3.xml): Turn useparameters and descparameter into a property just like others - with a name, longname and optional description.16:32
CIA-46jezuch documents-experimental-xml * r230bc257da07 /protocol/ (protocol.dtd protocol.xml protocol3.xml): Add a @typefield attribute to useparameters and descparameter that points to a field of the enveloping structure holding the id of parameter type or indirect parameter set type (as in {Order,Object}Desc; this is TBD).16:32
CIA-46jezuch documents-experimental-xml * rab17699addb6 /protocol/protocol.xml: Restore descstruct elements in ObjectParams parameterset in protocol.xml, because if there's for one parameter, there should be for all (that's polymorphism :)).16:32
CIA-46jezuch documents-experimental-xml * r332c496f04c3 /protocol/protocol3.xml: Reintroduce ObjectParams into protocol3.xml as a parameterset describing TP03 objects in terms of "direct" object parameters.16:32
CIA-46jezuch documents-experimental-xml * r24a80e9ed515 /protocol/ (protocol.dtd protocol.xml protocol3.xml): Define and use the syntax of magical useparameters@typefield attribute.16:32
CIA-46jezuch documents-experimental-xml * r0f6d20a33a8c /protocol/protocol3.xml: Re-remove descstruct elements from object definitions in protocol3.xml.16:32
CIA-46jezuch documents-experimental-xml * r0683193b41cb /protocol/ (protocol.xml protocol3.xml): Some cleanups from indent police and for property names.16:32
CIA-46jezuch documents-experimental-xml * rffd6c218b787 /protocol/protocol.xml: Rename a property named "int" to "intvalue", because generated code doesn't like it ;)16:32
CIA-46jezuch documents-experimental-xml * r8df294fb2227 /protocol/protocol.dtd: Forgot that dot has a special meaning in regexps ;)16:32
CIA-46jezuch documents-experimental-xml * r01571e12f86b /protocol/protocol.xml: Remove descparameter for OrderParams in protocol.xml, as there are none for orders.16:32
CIA-46jezuch documents-experimental-xml * rd72673bed1c0 /protocol/ (protocol.dtd protocol.xml protocol3.xml): XML-ifise the "typefield" descriptors. No need for special description laguage, but parsing that will be much, much more difficult.16:32
CIA-46jezuch documents-experimental-xml * r05cc4523a1dc /protocol/protocol.dtd: Fixed one typo and one wrong attribute datatype.16:33
CIA-46jezuch documents-experimental * 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.16:33
CIA-46llnz documents-experimental * r694041a51fcf /protocol/protocol.dtd:16:33
CIA-46Added failtype to dtd for showing what failure codes can be returned16:33
CIA-46and why. Note, this field should be consided inherited.16:33
CIA-46llnz documents-experimental * rffb56d5efc7a /protocol/protocol.xml:16:33
CIA-46Added failure types to Header, will do others later, added direction tags16:33
CIA-46to those that needed it.16:33
CIA-46llnz documents-experimental * r547717059775 /protocol/protocol3.xml: Merge with git+ssh://[email protected]/var/lib/git/documents.git16:33
CIA-46llnz documents-experimental * rfee151e7eb7c /protocol/protocol.xml:16:33
CIA-46The OrderParemeter of type object now has a list of acceptable object types.16:33
CIA-46As per discussion in late November 07.16:33
CIA-46midorikid documents-experimental * rfb66843de3d7 /protocol/protocol.xml: Changed protocol version to TP0416:33
CIA-46jezuch documents-experimental * r07f73a9d3c4b /protocol/protocol3.xml: Remove ObjectParameters from protocol3.xml as they are unused (at least not as parameters) in TP03.16:33
CIA-46jezuch documents-experimental * r9ee640ea5183 /protocol/ (protocol.dtd protocol3.xml): Remore <descstruct> elements in protocol3.xml where they are empty and tweak DTD to allow it to not exist.16:33
CIA-46jezuch documents-experimental * rc2d67d9e88bf /protocol/protocol.xml: Update protocol.xml too.16:33
CIA-46jezuch documents-experimental * rff695ecf33ba /protocol/ (protocol.dtd protocol.xml protocol3.xml): Turn useparameters and descparameter into a property just like others - with a name, longname and optional description.16:33
CIA-46jezuch documents-experimental * r230bc257da07 /protocol/ (protocol.dtd protocol.xml protocol3.xml): Add a @typefield attribute to useparameters and descparameter that points to a field of the enveloping structure holding the id of parameter type or indirect parameter set type (as in {Order,Object}Desc; this is TBD).16:33
CIA-46jezuch documents-experimental * rab17699addb6 /protocol/protocol.xml: Restore descstruct elements in ObjectParams parameterset in protocol.xml, because if there's for one parameter, there should be for all (that's polymorphism :)).16:34
CIA-46jezuch documents-experimental * r332c496f04c3 /protocol/protocol3.xml: Reintroduce ObjectParams into protocol3.xml as a parameterset describing TP03 objects in terms of "direct" object parameters.16:34
CIA-46jezuch documents-experimental * r24a80e9ed515 /protocol/ (protocol.dtd protocol.xml protocol3.xml): Define and use the syntax of magical useparameters@typefield attribute.16:34
CIA-46jezuch documents-experimental * r0f6d20a33a8c /protocol/protocol3.xml: Re-remove descstruct elements from object definitions in protocol3.xml.16:34
CIA-46jezuch documents-experimental * r0683193b41cb /protocol/ (protocol.xml protocol3.xml): Some cleanups from indent police and for property names.16:34
CIA-46jezuch documents-experimental * rffd6c218b787 /protocol/protocol.xml: Rename a property named "int" to "intvalue", because generated code doesn't like it ;)16:34
CIA-46jezuch documents-experimental * r8df294fb2227 /protocol/protocol.dtd: Forgot that dot has a special meaning in regexps ;)16:34
CIA-46jezuch documents-experimental * r01571e12f86b /protocol/protocol.xml: Remove descparameter for OrderParams in protocol.xml, as there are none for orders.16:34
*** nash has joined #tp17:18
mithromorning nash17:32
mithrobusy day yesterday?17:34
nashHeyo mithro17:34
nashNo, motor racing yesterday17:34
mithrowell that explains your absense :)17:35
nashIndeed it does17:36
mithrohow goes everything?17:44
nashOkay, catching up on things as usual.17:44
nashA day behind, and teh day is monday so you know what it's like17:45
mithronash: lots of tp mail to deal with too ;)17:48
nashmithro: I noticed17:48
nashIt's on the list17:48
mithroI'm going to reply to the Object Arguments thread in the near future17:49
nashmithro: Don't wait for me until at least this afternoon17:50
mithronah17:50
mithrohopefully with a bit a big effort I can get a tpclient-pywx-dev release ready by mid next week17:51
*** llnz has joined #tp18:01
mithrohey llnz18:07
llnzhi mithro18:07
mithrowhat are you doing around? working from home again?18:07
llnzyes, and just had 3rd google phone interview18:07
nashllnz: So have you got the fast power-of-two question yet?18:08
llnznope, did get something not exactly similar in the first interview though18:10
*** zzorn has joined #tp18:29
mithrohey zzorn19:19
*** Erroneous has quit IRC21:03
*** mithro has quit IRC22:08
*** greywhind_ has joined #tp22:17
*** bddebian has joined #tp22:20
greywhind_mithro: ping?22:34
*** greywhind_ is now known as greywhind22:34
*** mithro has joined #tp22:42
mithromeetings meetings meetings :(22:43
mithrohey greywhind22:43
greywhindmithro: just fixed the drawing order bug in the Resources overlay22:43
mithrogreywhind: cool, how? :)22:43
greywhindmithro: sorted the keys in UpdateAll()22:44
mithrohey bddebian22:44
mithrogreywhind: oh, you could also use my new DrawOrder stuff22:44
greywhindmithro: however, i accidentally submitted the bug to the tracker as anonymous, so you'll have to mark it as closed22:44
bddebianAh mithro, hi.  Well it looks like apt-ftparchive is broken on GNU/Hurd so I can't create a repo on my website22:47
mithrodang22:47
mithrogreywhind: okay22:48
mithrogreywhind: link me22:48
bddebianIf anyone wants to try the binary or source packages, they are here though: http://www.bddebian.com/packages/debian/thousand_parsec/22:48
tpb<http://ln-s.net/1Pn6> (at www.bddebian.com)22:48
greywhindmithro: https://sourceforge.net/tracker/index.php?func=detail&aid=1871713&group_id=132078&atid=72309922:50
tpb<http://ln-s.net/1Pn8> (at sourceforge.net)22:50
mithrogreywhind: I have assigned the bug to you now22:52
greywhindmithro: thanks22:53
greywhindmithro: doesn't seem to have gone through...23:05
CIA-46mithro tpclient-pywx-incoming * r591b03017662 /windows/main/panelOrder.py: Fixed an exception in the cache update.23:11
CIA-46mithro tpclient-pywx-incoming * r69673b3f3c12 / (9 files in 4 dirs): Merge with git://git.thousandparsec.net/git/tpclient-pywx.git#incoming23:11
CIA-46mithro tpclient-pywx-incoming * r7ec716dd9a56 /tpclient-pywx:23:11
CIA-46Fixed the Event stuff so it calls people bound for the parent classes of the event.23:11
CIA-46(Still needs more cleanup.)23:11
CIA-46mithro tpclient-pywx-incoming * rd8ad3ff27a1c /windows/main/overlays/ (Overlay.py Systems.py): Added a right click menu for quickly choosing a new selection.23:11
CIA-46mithro tpclient-pywx-incoming * rd1c53325e752 /windows/main/overlays/Systems.py: Fixed the ID mapping stuff so that it won't cause BadStuff(tm) in some cases.23:11
CIA-46mithro tpclient-pywx-incoming * re05e5c3153a4 /windows/main/ (4 files in 2 dirs): First attempt at getting the right-click path stuff actually working. Still needs quite a bit of work.23:11
CIA-46noegnud tpclient-pywx-incoming * r829865017eeb /windows/main/ (overlays/Overlay.py overlays/Proportional.py panelStarMap.py):23:11
CIA-46Fixed drawing order of items on the Resource overlay so that systems with23:11
CIA-46small amounts of resources will not be obscured by larger ones.23:11
CIA-46noegnud tpclient-pywx-incoming * r93c0ee76f2e6 / (6 files in 3 dirs): Merge with development branch.23:11
*** mithro has quit IRC23:12
*** mithro has joined #tp23:15
mithroso greywhind23:24
mithroit would be good if you where syncing to the statetracker branch now23:24
mithrobddebian: what are the debs built from?23:28
bddebianmithro: The tarball plus the patch for chmod() :-)23:29
mithrookay - the stable branch pretty much23:30
mithrobddebian: the stable and development branches are quite different23:30
mithro(and need to me packaged differently23:30
mithrogreywhind: ping?23:57
greywhindmithro: pong23:59
mithrogreywhind: so - it seems the sf change didn't stick the first time23:59
mithroit should actually be fixed now23:59

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