Tuesday, 2009-07-14

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
tansellcherez, poke?00:00
chereztansell: Hang on, I'm uploading the CLs.00:00
tansellokay great00:01
*** tuna-fish has joined #tp00:03
shenkiit's a patch, not a changelist. take your perforce using ways somewhere else :)00:04
chereztansell: http://codereview.mithis.com/8002 http://codereview.mithis.com/500400:11
tpbTitle: Issue 8002: Latest versions of protocol.xml from the documents repository. - Code Review (at codereview.mithis.com)00:11
tansellshenki, how do you shortend patch to two letters? :P00:12
tansellwhy did they have to write gerrit2 in java? :(00:13
tansellcherez, 8002 - LGTM00:13
shenkicoz they're googlers \o/00:13
shenkiwoah, this channel is like being in #chromium these days :) all these CLs and LGTMs00:13
shenkijust need a buildbot so the tree can go red all the time, then the transformation will be complete00:14
shenkihey, it would be a really good idea to get a summer of code student to set one of those up00:14
cherezI think you could get patch down shortened to 2 letters with IPA....00:15
shenkicherez: IPA? mmm beer00:15
cherezYou... drink alphabets?00:15
shenkiInda Pale Ale00:15
shenkiis also commonly known as IPA00:15
shenkis/Inda/India/00:16
shenkicherez: anyway, how does it shorten iwth the IPA?00:16
cherezI don't know IPA nearly that well. :P00:17
shenkiheh00:17
cherezBut you could probably get the phonemes you need to pretty clearly abbreviate it in 2 characters.00:18
tansellcherez, so... about the unpack/pack methods in 500400:24
tansellcherez, I thought we where keeping it so that xstruct was just handed the correct values?00:26
tansellcherez, pushed some comments on 5004 too00:27
chereztansell: Handing xstruct values won't work with DescStructures.00:29
*** tansell-laptop has quit IRC00:31
*** tansell-laptop has joined #tp00:31
tansell-laptopcherez, even with the callback method used by libtpproto-py's tp04 branch?00:31
tansell-laptopcherez, the reason I want it to be just handed to xstruct is that eventually someone is likely to write a C version of it00:32
cherezI'll look at how callbacks work and see if there's a good way to do it.00:34
llnzbbl00:35
*** llnz has quit IRC00:35
tansell-laptopcherez, it doesn't look like you have merged in the newer xstruct.py from libtpclient-py's tp04 branch00:38
tansell-laptop(that should be it's own CL)00:38
tansell-laptopcherez, oh - btw don't forget to close issues on codereview when they are submitted00:39
alanpwomp womp00:39
tansell-laptopalanp, ?00:40
alanpoh, nothing00:48
tansell-laptopalanp, so where are you at?00:52
tansell-laptopgot a working economy yet?00:53
alanpi'm working on missile/torpedoe stuff00:54
alanpi have working sendpoints, but it's using a temporary formula to calculate percentage lost00:54
alanpi need to fix that, and llnz recommended instead of using a vector and finiding a planet in the vicinity, i should make a list of owned planets00:54
alanpthose should both be easy to fix00:54
alanpso i'm going to try to finish up all economy stuff so i can move onto combat ASAP00:55
alanpany recommendtions on what kind of formula to use to calculate points lost based on distance?00:55
alanpi think it's going to be something that i will have to play with a bit00:56
tansell-laptopalanp, yes - a list of owned planets is much better01:16
tansell-laptopalanp, I would just say a linear formula01:16
tansell-laptopX point per parsec01:16
*** Greywhind has joined #tp01:17
alanptansell: ok, sounds good01:24
alanpi agree, list is better01:25
alanpit was my original idea, not sure why i changed it01:25
*** jmtan has quit IRC01:53
*** Greywhind has quit IRC02:24
mithro~seen llnz02:53
tpbmithro: llnz was last seen in #tp 2 hours, 17 minutes, and 54 seconds ago: <llnz> bbl02:53
tansellcherez, poke?02:59
chereztansell: Yeah?02:59
tansellcherez, sooo... any luck?03:00
cherezI'm figuring out how the call would work, but it should work.03:04
*** llnz has joined #tp03:21
tansellI think that would be preferrable03:24
tansellsometime in the future it's likely that xstruct will also gain a C implementation03:25
tansellmainly important for the server side03:25
tansellllnz, poke?03:26
tanselltote, poke me when you are around03:27
llnzbbs03:37
*** greenlion has joined #tp03:37
*** jmtan has joined #tp03:41
tansellbrb03:50
*** tansell has quit IRC03:50
* Landon notes that was _not_ an hour04:04
Landonmust have been more exhausted than i thought o.O04:04
*** tansell has joined #tp04:27
Landonjmtan: ping05:14
Landonohh nevermind05:14
jmtanhey landon, still awake?05:14
jmtani was going to send you an email instead05:15
Landonyeah05:15
LandonI'm going to be up for a few hours more as well05:17
jmtani've got to rush off somewhere at the moment though, only be back 3-4 hours later :(05:17
Landonoh, I'll be asleep then :P05:18
jmtanif you've got any immediate problems send me an email, i'll see if i can answer them while you rest :)05:18
Landonalright05:18
LandonI think I've got most oof them figured out05:18
Landonwas stuck for a bit because both sides were drifting towards the origin :\05:19
Landonbut that's fixed now05:19
CIA-22landon tpclient-pyogre * rba1235d5a8d4 /src/battleviewer.py: Entities are now attached to their intended locations and will drift back if necessary05:20
tansellLandon, so.. blog posts?05:27
LandonI'll get one up before I go to sleep for good05:28
*** verhoevenv has joined #tp05:32
*** JLP has joined #tp05:33
* llnz wanders off05:58
llnzlater all05:58
*** llnz has quit IRC05:58
*** mithro has quit IRC06:36
*** Landon has quit IRC06:48
*** peres has joined #tp06:54
*** verhoevenv has quit IRC06:58
*** mithro has joined #tp06:59
mithrotote: ping?07:10
mithroepyon: ping?07:10
totemithro: hey07:11
mithroyour dns server having problems?07:11
mithroJul 14 07:00:16 verbal named[2295]: unexpected RCODE (SERVFAIL) resolving 'jbohman.se/AAAA/IN': 195.74.37.250#5307:12
totei had some computer problems a few days ago, but no it should work07:12
toteweird :/07:12
toteit works for me tho :/07:13
mithrotote: so how goes the web client?07:15
mithroI haven't seen any progress updates or code pushes recently07:15
totemithro: i had some computer problems last few days and also happened a few things in real life, but everything is sorted, so im resuming the work today07:16
mithroso where are we at?07:16
mithrocan you issue orders?07:16
totenope, thats on schedule for this week and the next (with a few other things)07:17
mithrowhat can we do?07:17
toteeverything else? :)07:17
mithroand how are you checking you don't break things when adding new features? :)07:17
mithrotote: view designs?07:17
totemithro: well everything is kinda isolated, so it shouldn't break (i know, still not a reason not to use unittesting :P), and testing a ui is kinda hard with unittesting07:19
totemithro: i havent planned for designs, how vital are they?07:20
mithrotote: they are for mtsec07:20
toteok, will have too look into that too07:21
mithroI had a link for you07:23
mithrobut my computer is playing up07:24
toteok, what was it about?07:26
mithroscheme2js converter07:27
totewhat is scheme used for? ive seen it in the source07:33
mithroit's for the design component calculation07:35
toteok, seems more like a server-side thing? or is it used on the client-side too?07:36
mithroit's client side07:40
mithroso you don't have to send a packet on each change07:42
mithrobrb I'm going to try a reboot07:46
*** mithro has quit IRC07:46
totewhat kind of component calculation? seems like a easy way to cheat?07:46
*** mithro has joined #tp07:49
totemithro: if you didnt get it: what kind of component calculation? seems like a easy way to cheat?07:50
mithroeasy way to cheat?07:50
totedepends on what is actually calculated? :)07:51
mithrooh07:51
mithrothe server verifies all the answers07:51
toteah :)07:52
mithroit's just a latency thing07:54
mithrohaving to ask the server every time you add a component to a design would suck07:54
matthewdBut the server could pre-identify which components could be added to the design, couldn't it?07:56
matthewd(Erm, I'm talking web server, acting on behalf of the client; not the TP server)07:57
*** verhoevenv has joined #tp07:57
mithroyes08:00
mithrobut if there is an easy way to transform scheme into JS08:00
mithrothen that seems like the best way08:00
toteah well, designs and components is something ill have to look into after i added order issuing :)08:00
mithroas you can do the transform on the client in the web browser08:01
mithrosomething is really screwed with my laptop :(08:05
mithrohttp://www-sop.inria.fr/mimosa/scheme2js/08:15
tpbTitle: Scheme2Js (at www-sop.inria.fr)08:15
*** Landon has joined #tp08:23
mithrotote: you might want to think about tp04 tooo08:24
toteyeah, its on my schedule, look into it in the end, maybe using the new lib08:25
mithroGreywhind is the person to talk too08:26
totei thought cherez was working on the new pylib? what is greywhind working on?08:28
mithrogreywhind is working on tp04 port of tpclient-pywx08:28
mithrocherez is rewriting the libtpproto-py08:29
mithrowhich you don't really deal with much08:29
totetrue :)08:29
mithroshould make it much easier to track down bugs08:29
mithroas you won't be able to assign a string to the wrong part of a packet08:32
mithroand then get an error in a totally unrelated area08:33
*** peres has quit IRC09:25
*** tansell_laptop has joined #tp09:40
*** tansell-laptop has quit IRC09:42
*** bddebian has joined #tp09:47
bddebianHeya09:48
*** gau_veldt has quit IRC10:07
*** krytzz has quit IRC10:10
*** Greywhind has joined #tp10:30
*** krytzz has joined #tp10:42
*** krytzz has quit IRC11:05
*** tuna-fish has quit IRC11:06
*** gau_veldt has joined #tp11:14
*** krytzz has joined #tp11:50
*** jmtan has quit IRC13:04
*** verhoevenv_ has joined #tp13:52
*** verhoevenv has quit IRC13:52
*** verhoevenv_ has quit IRC14:12
epyonmithro: pong14:13
*** verhoevenv has joined #tp14:13
*** verhoevenv_ has joined #tp14:21
*** verhoevenv has quit IRC14:22
*** alanp_ has joined #tp14:33
*** JLP_ has joined #tp14:37
*** JLP has quit IRC14:37
*** tansell_laptop has quit IRC14:39
*** tansell_laptop has joined #tp14:40
*** alanp_ has quit IRC15:05
*** Erroneous has joined #tp15:25
*** greenlion has quit IRC15:29
*** epyon has quit IRC15:29
*** JLafont_ has quit IRC15:29
*** epyon has joined #tp15:29
*** JLafont_ has joined #tp15:29
*** greenlion has joined #tp15:30
*** llnz has joined #tp15:58
*** verhoevenv_ has quit IRC15:59
llnzmorning all16:09
*** verhoevenv has joined #tp16:25
*** bddebian has quit IRC16:43
*** tansell_laptop has quit IRC16:58
*** reac has joined #tp17:04
*** greenlion has quit IRC17:25
*** alanp has quit IRC18:15
*** alanp has joined #tp18:15
*** alanp_ has joined #tp18:37
*** alanp has quit IRC18:41
CIA-22Greywhind tpclient-pywx-tp04 * ra394bbadcaa2 /libtpclient-py: Updating libtpclient-py to fix errors with looking up empty files.18:48
CIA-22Greywhind tpclient-pywx-tp04 * rbb685414936d /windows/main/panelInfo.py: Fixed missing import of graphicsdir in panelInfo.18:48
CIA-22Greywhind tpclient-pywx-tp04 * r0ae22bed7cd4 /windows/ (5 files in 2 dirs): Design window now looks and works better, with all buttons having a function and proper scaling.18:48
*** peres has joined #tp18:48
*** Vadtec has joined #tp18:51
*** mithro has quit IRC19:02
epyonls19:19
epyonD:19:20
llnz:-)19:20
*** tansell-laptop has joined #tp19:32
tansell-laptopepyon, ping?19:34
tansell-laptopalanp_, ping?19:38
*** CIA-22 has quit IRC19:41
*** peres has quit IRC19:55
*** CIA-21 has joined #tp19:56
*** reac has quit IRC19:57
*** CIA-21 has quit IRC20:23
*** CIA-21 has joined #tp20:28
*** mithro has joined #tp20:34
*** bddebian has joined #tp20:36
Greywhindtansell-laptop: ping?21:11
tansellcherez, ping?21:11
chereztansell: Pong.21:11
Greywhindtansell: whenever you have time,  http://codereview.mithis.com/800321:11
tpbTitle: Issue 8003: Made a popup for all SystemLevelOverlays containing panelPicture. - Code Review (at codereview.mithis.com)21:11
tansellGreywhind, screenshot?21:11
tansellcherez, meeting time!21:11
tansellcherez, you got a blog post about this week?21:12
cherezAlmost done writing it up.21:12
tansellcherez, your not really doing daily blog posts either....21:12
Greywhindtansell: i'll screenshot it now21:12
tansellgreat21:14
Greywhindtansell: http://img154.imageshack.us/img154/544/panelpicturepopup.png21:16
tpb<http://ln-s.net/3Xj-> (at img154.imageshack.us)21:16
tansellGreywhind, this patch seems too short21:16
Greywhindtansell: if you click on the star system and select its children that way, the image changes21:16
Greywhindtansell: no, it's correct21:17
tansellGreywhind, I was suggesting putting the picture in the corner rather then when hovering over it21:17
Greywhindtansell: well, i can move it elsewhere, but i thought it looked good there.21:18
tansellWhen does it appear?21:18
tansellwhen you hover or when you click?21:19
Greywhindtansell: on hover21:19
Greywhindtansell: it changes images if you click, though21:19
tansellhrm21:19
chereztansell: Also, http://codereview.mithis.com/500421:22
tpbTitle: Issue 5004: Structure bug fixes and improved flexibility of container structures. - Code Review (at codereview.mithis.com)21:22
Greywhindtansell: oh, also, i'm not sure you ever saw: http://codereview.mithis.com/500321:23
tpbTitle: Issue 5003: Re-added 'object type' column to winIdleFinder.py, now works with tp04. - Code Review (at codereview.mithis.com)21:23
tansellGreywhind, done21:27
tansellcherez, replied21:27
tansellGreywhind, I think we should fix the arrow buttons on the system window21:28
tansellGreywhind, I think we should either move them up and to the right, or move them as part of search box21:28
tansellcherez, soo....21:28
*** Erroneous has quit IRC21:30
chereztansell: Blog post published and I replied again.21:31
tansellcherez, so your doing something wrong then21:36
Greywhindtansell: so you want the left/right/up buttons moved to the upper right of the panel?21:36
Greywhindor do you want them put next to the search box?21:36
tansellthe blank space is the problem21:36
cherezblank space?21:38
Greywhindtansell: so probably next to the search box would fix that more appropriately21:38
tansellcherez, talking to greywhind there21:38
cherezOh good.21:38
tansellcherez, you need to be able to access the structures using the class21:39
tansellcherez, we really need to get a move on if we are going to be finished by the end of GSoC21:42
tansellcherez, so I would like to see you keep doing daily updates21:42
cherezAlright.21:43
tansellso how did the new xstruct break the unittests?21:43
tansellit should have been a simple merge right?21:43
cherezProbably in the same ways the original one broke them.21:43
Greywhindtansell: so... the wxSearchControl doesn't seem to want to move into anything, since xrced doesn't recognize it21:43
*** nash has quit IRC21:44
Greywhindtansell: should i just edit the XML manually21:44
tansellGreywhind, up to you21:44
tansellcherez, but you just merge the two files with meld right?21:44
tansellcherez, okay - tracked down your problem21:45
cherezOh?21:45
tansellhttp://pastebin.com/m55b54f4621:47
tpbTitle: Python pastebin - collaborative debugging tool (at pastebin.com)21:47
tansellthat should fix the issue you where having21:47
tansellI didn't realise that __get__ is also called on the class21:49
cherezAhh, that's a bit easier than what I was expecting to need to do.21:49
tansellcherez, so that should have taken you twice/three times as long to do - so like 30 minutes21:50
*** nash_ has joined #tp21:51
tansellcherez, right?21:51
cherezRight.21:52
*** nash has joined #tp21:52
tansellso I would like to see the xstruct.py stuff merged ASAP21:52
tansellit should take you a couple of hours21:52
tanselland then a couple of hours to add tests to get your coverage back up21:53
tansellso it should be about a day's worth of work?21:53
cherezSounds about right.21:54
*** nash has left #tp21:54
cherezNew __get__ method looks fine.21:55
tansellcherez, okay21:56
tansellso testing common.py stuff should be the next target21:56
tansellthat's going to be very tricky to test21:59
tansellbut the first thing to start on is the stringqueue stuff22:00
*** nash_ has quit IRC22:00
tansellthen on to22:00
tansellclass ConnectionCommon(object):22:00
tanselldo you think you can get to that by next week?22:01
Greywhindtansell: ok, buttons moved next to the search bar. i assume i should just commit it, since it's just an XRC change?22:01
cherezI think so.22:01
tansellgot a screenshot? does it look better?22:01
cherezStringQueue should not be much work.22:01
Greywhindtansell: it looks better, let me screenshot it22:01
tansellcherez, you need to check the threadsafety and any time you start dealing with threads things become sucky22:02
cherezStringQueue doesn't look like it actually implements thread safety.22:02
cherezIt has a few mutexes but they don't look to be used.22:02
*** nash has joined #tp22:03
tansellcherez, which probably means it's borked :)22:03
cherezDoh.22:03
tansellcherez, you shouldn't be able to read/write unless you are holding the lock22:04
tansellso that should be added22:04
Greywhindtansell: http://img196.imageshack.us/img196/2541/buttonsmoved.png22:04
tpb<http://ln-s.net/3Xjh> (at img196.imageshack.us)22:04
tansellcherez, so I was saying that you should be well into the testing of the CommonConnection stuff22:05
tansellGreywhind, now there is a big empty block?22:05
Greywhindtansell: well, there's a little space at the bottom, not sure why it's not going away22:05
tansellwant to fix that?22:06
Greywhindtansell: working on it22:06
tansellanyway heading to lunch22:06
tansellcherez, so that's all okay?22:06
tansellwhen I get back from lunch I'll look at the patches again....22:06
*** verhoevenv has quit IRC22:07
cherezI think so.22:08
alanp_tansell: ping, just woke up22:27
*** epyon has quit IRC22:39
*** tuna-fish has joined #tp22:55
Landonhttp://lfowles.org/images/battleviewer/dontcross.png Don't cross the beams!22:58
alanp_nice23:06
llnzhehe23:09
CIA-21landon tpclient-pyogre * r9d2db2dcc448 /src/battleviewer.py: Fixed some timing issues where time % 5000 wasn't exactly 0, now there's a 100ms window for round progression23:13
tansellLandon, so this gives me no idea which way is doing the shooting?23:17
Landonstill cleaning up lasers, but I'll add some particle effects at the receiving end23:18
tansellwe need things like explosion23:18
tansells23:21
alanp_tansell: pong23:22
*** alanp_ is now known as alanp23:22
tansellalanp, so we got a working economy yet?23:22
alanptansell: shooting for fully working wed23:22
tanselltoday is wednesday :)23:22
alanpsorry, canadian wednesday :-)23:23
alanplol23:23
Landontansell: I'm going to put in some minor improvements suggseted by jmtan and then get back to the pretty effects :) (stuff like choosing a battlexml file to load, putting actual honest to goodness icons in the controls :D)23:23
tansellLandon, okay23:23
alanppretty much within 24 hours from now23:24
alanpsorry, i guess i should be more specific with my dates with this large timezone difference23:24
tansellit's 1:25pm on Wednesday here23:25
tansellbeen Wednesday for a long time :)23:26
alanp1130 tues here :-)23:26
tansellpm I'm assuming?23:27
alanpyes23:28
tansellso you have like 30 minutes then? :P23:28
tansellcherez, ping?23:28
chereztansell: Pong?23:28
tansellcherez, so... you got an update of that CL yet?23:29
tansellcherez, and you never did update your mid-term summary with the extra information I requested23:29
alanphehe23:30
alanpi was thinking more like 12hrs 29 mins :P23:30
tansellcherez, http://www.thousandparsec.net/~irc/logs/%23tp.2009-07-08.log.html#t2009-07-08T23:19:5223:31
tpb<http://ln-s.net/3XkX> (at www.thousandparsec.net)23:31
llnzhehe, timezones...23:36
alanpstupid sun... :P23:37
llnzi can bet you all!!! 15:37 Wednesday here23:37
* llnz goes back to work23:37
tansellcherez, if you push the fixed CL I'll check it over23:45
Greywhindalanp: did you notice that i pushed the design changes, so you can change categories on the newest tp04 branch's design window?23:46
CIA-21landon tpclient-pyogre * r97880be9e55e /src/ (battleviewer.py laser.py): All the lasers of a round now show up23:49
alanpGreywhind: no, i'll check it out tonight, sounds cool!23:51
chereztansell: http://codereview.mithis.com/500423:53
tpbTitle: Issue 5004: Structure bug fixes and improved flexibility of container structures. - Code Review (at codereview.mithis.com)23:53

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