Tuesday, 2007-08-21

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
nashDOn't have one of them00:01
nashBesides, I'd prefer a shot glass00:01
nashmithro: Thoughts: What is more important: An AI for RFTS or human usuable client for same?00:01
nashThe magnets are cool too00:02
nashA couple have been placed round my office00:02
mithroxdotx: oh?00:03
nashxdotx: Your thoughts on my question there?00:04
mithronash: I think human usable client is the first step00:04
mithroalthough an AI would help xdotx do more debugging00:04
nashxdotx: ?00:04
nashheh00:04
nashAI is damn good for debugging00:04
xdotxnash: hmmm. mithro makes good points00:05
nashAnother useful thing (this is for you xdotx) is being able to set the random seed for teh game - so you can reproduce bugs00:05
mithrooh, xdotx why do I sometimes have other planets in my home system and somtimes not?00:05
nashWhen we test, we set the random seed to various things, then send it as part of the ug report - same AIs + same server random = same game - hopefully00:05
nashmithro: That's part of RFTS00:05
mithronash: oh okay00:06
nashYour home planet is always a Primary I assume00:06
* xdotx nods00:06
mithroI started a rfts branch of tpsai-py00:06
nashcool00:06
nashRFTS sounds like the main game for a while then ;-)00:06
xdotxit won't say primary or anything, but i think it's size 3, and it'll have high population, and environment00:06
nashOh - can you set a property of some sort to say "primary"00:07
nashFor advanced games it makes a difference (for ind improvements)00:07
xdotxwhich reminds me, i think i need to tweak down the population calculation - it can get really high really fast00:08
xdotxnash: planet size currently indicates which class00:08
nashxdotx: I understand, but they are quite different things from a game perspective, so it would be nice to be able to see directly00:09
mithronash: it does indeed00:09
nashTHink of an AI perspective... if (size == 3) // I want this planet, else if (size == 2) // somewhat00:10
* xdotx used an enum to define class names to a num00:10
xdotxi just saved it in size because i 1) wanted some way to tell (for me) and 2) wasn't using size for anything else00:11
nashEven worse00:11
nashSize is probably not relevant in the game00:11
nashxdotx: Add it to the todo list then ;-)00:11
xdotxnash: add what? a planet class param?00:13
nashYeah - something direct00:14
nashRather then overloading something else00:14
nashMaybe a future version someone will use size for size...00:14
xdotxi don't think i have any other options within tp0300:14
nashxdotx: That's cool - just make it a tp04 item todo ;-)00:16
nashtp03 should be gone soon ;-)00:16
* xdotx can't wait for tp0400:16
mithroxdotx: why do my ships sometimes disappear?00:17
xdotxnash: RFTS should be quite a bit cleaner in tp0400:17
xdotxmithro: x.x magic?00:17
xdotxmithro: besides moving, they should only disappear after combat00:17
nashxdotx: Did you implement visibiliity?00:18
xdotxnash: yes00:18
mithrothe disappear during moving is a little annoying00:18
mithros/little/alot/00:18
nashSo is mithro seeing what he should see?00:18
xdotxmithro: ah ha! i found your segfault00:19
nashxdotx: I assume hyperspace works the same?  Can't see ships in hyperspace?00:19
xdotxnash: that's right00:19
mithroxdotx: I told it to move to the same place in the universe and it disappeared00:19
xdotxhahah00:19
xdotxyeah.. known bug00:19
* xdotx ducks00:19
xdotxi like that one though so i hadn't fixed it ;P00:19
xdotxsorry! :P:P00:19
xdotxit'll be back00:19
xdotxsomehow the calculation i did makes it take 4 turns to move to it's current location. i'm pretty sure i know where & why the bug is, and so that takes the fun outta debugging. plus i just found it hilarious00:21
nashxdotx: Add dust clouds so teh ships can take even longer...00:23
xdotxmithro: you don't happen to have the server log from that seg fault do you?00:23
* nash notes that tpserver-cpps minisec has the same stupid rule - 1 turn to go to current location00:23
mithroxdotx: not anymore00:24
xdotxmithro: don't remember seeing any debug info right before the segfault?00:24
mithroxdotx: no, sorry :/00:24
nashmithro: Where is the best place for media examples?00:25
* nash plans to try and implement that first ;-)00:25
mithrowell something went wrong00:25
nashHopefully start today00:25
mithroI now have two fleets!00:25
mithroand they are both empty00:25
xdotxthat sounds like a good thing ;)00:25
xdotxoh, i've got a fix for those kinda things locally00:26
xdotxi'll push soon00:26
mithroxdotx: oh, I think I found a bug00:27
xdotxmithro: i'm pretty sure i found the segfault - it's caused by a split fleet order, without splitting the fleet00:27
mithroxdotx: each turn you change the possible order types right?00:28
xdotxfor planets00:28
mithrodo you update their modtime each turn?00:29
xdotxhmm, they should update in their doTurn if they do anything00:29
mithroxdotx: but every turn you change the order-types hence you have to update the modtime00:29
xdotxmithro: that should count as a change with my logic.. i'll check00:30
mithrootherwise tpclient-pywx won't download the planet again and see the order-types have changed00:30
xdotxah yeah, planets update mod time every turn because they update order types every turn00:30
xdotx   setOrderTypes();00:31
xdotx   touchModTime();00:31
mithrohrm....00:31
mithroxdotx: on a Move turn, a planet which had a BuildFleet order, seems still to have a "BuildFleet" as an order type00:33
xdotxmithro: the first 2 turns are build turns? (and all turns are currently move turns)00:34
xdotxi think i'm going to take away move from the first turn to make it more RFTS-like00:35
nashheh00:35
nashSo build is done at the _end_ of a move turn now?00:36
xdotxnash: it goes: build & produce, build, move only. and everything it done at the 'end' of turn00:38
nashokay00:38
xdotxnash: sound good?00:38
nashxdotx: Sure ;-)00:38
nashSo kinda backwards... but makes sense00:39
mithrookay, definately found a bug00:43
mithro<Planet @ 116> [4294967295L]00:43
CIA-23fr33.em4il tpserver-cpp-rfts * r930269c22d98 /modules/games/rfts/splitfleet.cpp:00:43
CIA-23split fleet did not remove fleet from parent after discarding. closes00:43
CIA-23177745200:43
CIA-23fr33.em4il tpserver-cpp-rfts * rc216981e622e / (4 files in 2 dirs): minor cleanups00:44
CIA-23fr33.em4il tpserver-cpp-rfts * r13932216d85c /modules/games/rfts/fleet.cpp: ignore adding zero ships to a fleet00:44
mithrothat is the "valid orders" on that object00:44
*** xdotx_ has joined #tp00:44
mithroxdotx: btw, why do we need these seperate turns?00:45
* xdotx_ shakes fist at router00:45
mithroxdotx: on turn 6400:46
mithrothe planet has the following "order_types"00:46
mithro<Planet @ 116> [0, 4294967295L]00:46
mithroWARNING: Unknown order type with id 429496729500:46
xdotx_o_O00:46
xdotx_underflow?00:46
mithrofrom what I can see, that is what you are sending00:47
mithroa list with two values00:47
mithro(which are the above)00:47
mithrothen on turn 6500:48
mithrothe list only contains the large number00:48
mithro<Planet @ 116> [4294967295L]00:48
mithroWARNING: Unknown order type with id 429496729500:48
xdotx_whoops!00:49
xdotx_i bet fleets have the same one ;)00:49
xdotx_wait nope, fixed on fleets.00:49
mithrothen the next turn00:49
mithro<Planet @ 116> [0, 1, 4294967295L]00:50
mithroWARNING: Unknown order type with id 429496729500:50
mithrolooks like an off by one error :P00:50
CIA-23fr33.em4il tpserver-cpp-rfts * r17d4452855d2 /modules/games/rfts/planet.cpp: planets still using imaginary NOp order00:50
xdotx_most likely tpserver-cpp was returning a -1 for an invalid order type00:51
nashheh00:53
nashI like that commit message00:53
xdotx_:)00:54
* mithro ponders food00:54
nashmithro: Quick question: Where does the media file come from?00:55
*** xdotx has quit IRC00:55
mithronash: the web! :P00:55
nashyes, but which file00:55
nashHow do you get planet27[.ext] from object #332100:56
mithronash: currently I just choose one at random really00:57
xdotx_heh, i thought so00:57
mithronash: proper media association will appear in tp0400:57
nashDamn it00:58
mithrosome info in http://www.thousandparsec.net/wiki/Media.gz00:59
tpbTitle: Media.gz - Thousand Parsec Wiki (at www.thousandparsec.net)00:59
nashmithro: Yeah read that00:59
nashWas curious how you actually do the association00:59
* mithro just added a bit to it00:59
mithroI actually just mod the ID00:59
nashmithro: BTW: Just tried to wget hte media so I can test... robots.txt stops me00:59
mithroimage = images[object.id % len(images)]01:00
mithronash: you can tell wget to ignore robots01:01
nashmithro: HOw?01:04
* nash just got round it by multiple invocations of wget01:05
CIA-23mithro tpclient-pywx-development * r1876189fe82b /windows/winPicture.py: Download ship images too.01:06
CIA-23mithro tpclient-pywx-development * r1d276df12016 /windows/ (winOrder.py xrc/panelOrder.py xrc/panelOrder.xrc):01:06
CIA-23Quite a few small changes to the order panel.01:06
CIA-23If you can not issue orders, the panel goes blank.01:06
CIA-23Prints a warning if there are unknown order types.01:06
CIA-23Allow the name to be on top or on the side of an argument.01:06
mithrowget -erobots=off http://your.site.here01:07
mithrofirst hit on google :P01:07
* nash has looked for that before and never found it - what did you google for?01:08
* nash notes it is NOT documented in the wget man page01:09
*** xdotx_ is now known as xdotx01:10
xdotxemergency grocery trip. back later01:10
mithrowget ignore robots.txt01:11
mithronash: probably for political reasons :P01:11
nashI'm sure01:12
nashBTW: Some of these files are like 3Meg in size!?01:12
mithronash: the gif's are pretty big01:15
mithronash: you can checkout the media repository using svn01:15
nashmithro: That's against my religon ;-)01:16
mithrohe he01:20
nashWhat the hell is a jng?01:24
mithromng with jpegs01:24
nashouch01:24
mithroand alpha mask01:25
mithrowhy is that an ouch?01:27
nashDoes it have differential encoding, or only per frame?01:29
mithrodunno01:29
nashAnyway - it's ouch as it's just a strange format.01:30
mithroconvert is your friend01:36
mithroshould allow you go get more "compatible" formats back01:38
CIA-23mithro libtpclient-py-development * rba4b8d792e65 /tp/client/threads.py: Make EOT work again.01:44
CIA-23mithro libtpclient-py-development * ra1a4a28a1c47 /setup.py: Allow someone to ignore depdencies.01:44
mithronash: what is your thoughts on using filters for languages?01:51
nash?01:53
nashWhich languages?01:53
jothamSo, a functional, compatible, widely used open 3D format walks into a bar01:53
jotham>ba-dum tsshhh<01:53
mithronash: as in human languages01:54
mithroso you can tell the server you want all messages to be in polish or something01:54
nashMessages should be paramatised and translatiosn left to the client01:54
nash:-)01:54
mithronash: there is no way clients could do the translation01:55
mithroeach ruleset could have hundreds of messages01:55
nashWhy not?01:55
mithronash: How are you going to know that my ruleset has the message, "Pigs fly, but you can't - order failed."01:56
jothamso i interviewed another shit person :\ we badly need someone with a clue01:57
jothami've interviewed a good 10 people over the last few weeks01:57
nashjotham: People with clues don't need jobs ;-)01:57
jotham:\01:57
nashmithro: Hence the message from the server becomes '04,33,3321' which is 'Failed' 'Object create' 'Pigs Flying'01:58
mithronash: so then we have to include every possible message in the protocol01:59
mithrowhich is practically infinite01:59
nashSo are messages in general ;-)01:59
mithronash: ?01:59
nashWell the translation has to be done sometime.02:00
nash<aybe the server should do a gettext implementation and clients query the particular strings02:00
mithronash: why not have the server use gettext when returning the strings to the clients?02:01
nashtrue02:02
nashJust seems right to do it in the client02:02
mithronash: why?02:02
nashBecause the clients are responsible for getting text on teh screen.  If it's a brail or a voice client it needs to translate anyway02:03
mithrobrail/voice is different from language translation02:05
nashPlus the other advantage is that messages from the server that are paramatiesd are easier for smart clients to deal with.   Smart clients include AI02:06
nashVoice isn't02:06
nashIt's all a case of mapping X -> Y in translation Y is text, in voice Y is audio files02:06
nashRemember you need context to know the difference between wound and wound.  (one is an injury, one is for clocks)02:07
nashAnywya - as for filters... not sure if it is the right level02:07
nashfilters are about protocol, not about UI elements02:08
mithrothe two options are really02:08
mithro 1. Filters02:08
mithro 2. Set once02:08
nashSet it - I think it should be different - even at the risk of expanding protocol02:09
mithronash: when I say "set once" I mean on user creation02:11
nashblerg02:11
nashOr course since users are limited to as ingle game anyway it probably dpoesn't matter02:11
mithroingle?02:12
nashs/ingle/s&02:12
nashmithro: Don't forget the client still has to deal with language issues such as character sets, direction, fonts and layouts.  So the issue needs to be both on the server and client02:18
mithronash: yes02:18
mithroalthough character sets should be easily dealt with (yay utf!)02:18
nashmithro: Umm.. only if you are willing to assume the world is unix02:19
mithronash: Mac and Windows have good UTF support02:19
mithrowho else is there?02:19
mithroall tp protocol messages are in UTF802:20
nashSmaller devices... windows uses UCS202:20
mithrowhat is UCS2?02:21
nashBTW: Are string lengths in bytes or characters?02:21
nash16 bit encoding02:21
nashAs does java02:21
mithronash: bytes02:21
nashWhich uses UCS2 as it's native encoding02:21
nashIs that spelt out?02:21
mithronash: if not, it should be02:22
mithronash: string "length", means how many bytes the string takes up02:22
nasheven ignoring the issues of encoding, still leaves fonts, direction, UI layout for clients to deal with02:24
nashAlso more subtly font sizes, styles and families need to be considered.02:24
nashAll issues that need to be dealt with by the client - hence my thought that it _All_ should be done on the client02:25
mithronash: well, fonts and direction should be delt with by Pango/wx when I finally get around to doing that probably02:30
nashSo how are you going to know when to reverse widget direction?02:31
nashSeriously it's a bloody hard problem ;-)02:37
mithronash: what do you mean "reverse widget direction"? You only have to reverse the text in the widget?02:45
nashUmm.. no02:45
nashScrollbars go on the left, buttons are arranged right to left etc02:45
mithroahh02:46
mithrodon't see why you would need to do that - the choice of scrollbar location is pretty arbitary?02:47
mithro(right to left buttons I could see)02:47
*** JLP has quit IRC02:50
nashNormally it's on the right02:52
CIA-23mithro tpclient-pywx-development * r28344ceee19d /windows/ (winPicture.py xrc/panelPicture.py xrc/panelPicture.xrc): Only show the download progress bar when actually downloading.02:53
mithronash: I'm assuming it's an issue you have to deal with in fancypants?02:53
nashYep02:53
mithrohow does one deal with vertical writing?02:54
nashAnd we did a lot of work for internationalisation for another company on another product02:54
* nash notes FancyPants doesn't ;-)02:54
nashGenerally speaking you don't02:54
nashFor instance for the CJK languages LTR is used for modern text02:54
nashI've never had to deal with it myself - but I'd imagine it's fun ;-)02:55
mithroCJK?02:55
mithroChinese Japanese Korean?02:55
nashBTW.. also remember you need to deal with player sending 'Hello World' [English - LTR] to a player with a client in hebrew [RTL] and need to mix strings02:55
nashYes, CJK is what you said02:56
mithrogreywhind: ping?02:56
CIA-23mithro tpclient-pywx-development * r358fc4a0d441 /TODO: Cleaned up the TODO doco a bit.02:59
mithrogreywhind: you never did add the rest of those todo items03:00
CIA-23mithro tpclient-pywx-development * r5981da6ae966 /tpclient-pywx.spec: This file is generated. Should not be added.03:02
CIA-23mithro scratchpad * rd993817cd203 /setup.sh: Removed dangerous command.03:06
mithronash: what is the "pack" command for git again?03:08
nashgit-repack -a -d03:09
nashWell that will hurt http users03:10
nashgit-repack03:10
* mithro ponders what he should work on now03:21
nashTP0403:24
mithronash: well, I think making the client more playable with RFTS would be more helpful03:28
mithrowhich means finally fixing up the starmap03:28
nashalso good03:28
mithrobut fixing the starmap pretty much means throwing away most of the starmap code and rewriting it :/03:29
nashthen work on timtrader03:29
mithrohrm.. that is an idea03:30
mithroI almost had a basic economy working03:31
nashBTW: You may want to give factories money - so that dropping lots of stuff sitting waiting to be sold doesn't help03:38
jothamwhats up mithro03:50
mithrojotham: nothing much03:51
nashAnyway - I'm about bail03:51
nashnight all03:51
mithroany progress?03:51
*** nash has quit IRC03:51
jothamjust got home from work03:55
jothamam on it now03:55
* mithro is waiting to watch that beacon explode :P03:56
jothamoh yeah03:57
jothami could do that if you want instant satisfaction03:57
jothami was looking at implimenting the battle xml files into it03:57
jothamhttp://imagebin.org/1003803:57
tpbTitle: Imagebin - A place to slap up your images. (at imagebin.org)03:57
jothamhttp://imagebin.org/1003903:57
tpbTitle: Imagebin - A place to slap up your images. (at imagebin.org)03:57
jothamanother ship by that guy03:57
jothamthat's his freighter03:57
jothamwork in progress03:57
jothamhe's fine with GPL03:57
jothambtw03:57
mithrojotham: cool!03:58
mithrojotham: cool03:59
mithrojotham: what ever you prefer03:59
jothami need a script or something for svn that creates a nice distribution tar of my svn repo04:11
jothamand only includes certian files etc04:11
mithrojotham: for python?04:12
jothami don't know, for whatever, right now when i want to send someone any project i have in my repo they either need an svn client, or i need to manually sort through my repo and figure out what i should put in the archive and what not04:12
jothami figure there is some semi automatic system i could use04:13
mithrohrm04:13
mithrosvn help export04:14
mithro  1. Exports a clean directory tree from the repository specified by04:14
mithro     URL, at revision REV if it is given, otherwise at HEAD, into04:14
mithro     PATH. If PATH is omitted, the last component of the URL is used04:14
mithro     for the local directory name.04:14
*** llnz has joined #tp04:14
mithro~seen niphree04:14
tpbmithro: niphree was last seen in #tp 2 days, 10 hours, and 38 seconds ago: <niphree> good night all04:14
mithrohey llnz04:14
llnzhi mithro04:14
mithrodont forget to submit the SoC surveys04:18
llnzi know, will probably do it shortly04:20
CIA-23mithro tpserver-py * r0c4457f67eba / (4 files in 3 dirs): Make TIMTrader's Planet loadable.04:22
CIA-23mithro tpserver-py * r4cea9029fda7 /tp/server/rules/timtrader/__init__.py: Added the Universe object to TIMTrader.04:22
CIA-23mithro tpserver-py * rb34670b8bf5c /tp/server/rules/minisecplus/objects/__init__.py: Missing __init__ file.04:23
*** niphree has joined #tp06:12
niphreehello06:12
llnzhi niphree06:12
niphreehi llnz06:13
llnzhow is it going?06:14
niphreegood, I'm finishing code cleaning now06:15
llnzcool06:16
* llnz finishes his surveys06:29
xdotxoh, barely beat me to it!06:30
llnzhehe06:30
llnzhi xdotx06:30
xdotx:) hey llnz06:30
llnzhave you made a tarball of you final SoC work to be submitted later?06:32
xdotxnot yet06:32
llnzit wouldn't be a bad idea to do it now, save trying to do it later06:34
llnzthen you can keep going :-)06:34
llnzand i will have to think about how/when to merge your branch06:35
xdotxk, done06:35
llnzcool06:35
xdotxhmm, i'll probably write a quick readme06:36
llnzyou need to06:36
llnzhttp://groups.google.com/group/google-summer-of-code-announce/web/how-to-provide-google-with-sample-code06:38
tpb<http://ln-s.net/q+p> (at groups.google.com)06:38
xdotxi don't see a -required- readme06:39
llnzFAQ #106:41
xdotxsays: if you want them to know about further development, add a link in a readme06:45
llnzI believe you are supposed to mention the license in the readme as well06:46
llnzeasy enough to tidy that up later anyway06:46
* xdotx nods06:48
*** JLP has joined #tp07:02
llnzhi JLP07:12
JLPllnz: ahoy07:14
* llnz wanders off07:37
llnzlater all07:37
*** llnz has quit IRC07:37
*** Demitar has quit IRC07:38
xdotxi'm off. prolly won't be on much tomorrow - flying out to visit family07:45
* xdotx waves07:45
*** xdotx has quit IRC07:46
mithroniphree: ping?09:16
jothamok09:35
jothamafter fighting with my repo for an hour09:35
jothamand reorganising it all09:35
jotham(it was 118mb)09:35
jothami think i'm about ready to resubmit it to git09:35
mithrojotham: cool09:36
mithrojotham: you should have push access09:36
jothami'm not entirely sure the best way, you suggested i could just use some svn gateway you have09:36
mithrowhat format is it currently in?09:36
jothami use svn here at home09:36
mithroif you tar-up the svn repository - I will use tailor to convert it to a git repository09:37
jothamok09:37
jothamwell right now i moved all the graphics resources out of the trunk09:37
jothamso my root looks like09:37
jothamtags /09:37
jothamresources /09:37
jothamtrunk /09:37
mithrogit repositories generally 1/10th the size of a SVN repository09:38
mithrojotham: I need the repository - not a checkout09:38
jothamyeah i know09:38
jothambut that's what i'm saying09:38
mithrookay cool09:38
jothami'm thinking i might just restart my repo from scratch though09:38
jothamsince there is a ton of legacy crap in it now that is totally unessasary09:38
jothama lot of this has been experimenting with version control for me09:39
jothamyour battle xml files09:40
mithrojotham: well, what ever you think it best - I prefer to preserve revision history09:40
jothamall reference minisec09:40
jothamfor graphics resources09:40
jothamis that set in stone, or what09:40
jothamright now i have at least 2 graphics 'sets' in the cooker09:41
jothamand maybe 3 is all09:41
jothambetween Epyon, tuck, and jon09:41
jothamwith their different ship designs09:41
mithrowell, the idea is that there are various "definitions"09:43
jotham?09:43
mithrowhich define the media and weapon points and such09:43
jothamthere is a types.xml09:43
jothamreferenced by a given battle xml09:43
jothamand they all point to minisec right now09:43
jothamthe battle xml's are generated by your software09:43
jothamit seems kind of restrictive to me, because it means someone can't use their prefered graphics theme with battleviewer09:44
jothamsince it's governed by the battle xml comming out of your app09:44
jothamit = the graphics choice (i.e. minisec)09:44
mithroyes, that "types.xml" defines all the ship types09:44
jothamyes but you might have 4 'scout'09:44
jothambecause there are 4 scout graphics sets09:44
jothamonly the battelviewer can know what graphics set the user wants to use09:45
mithrojotham: well, the idea is that eventually each person with have their own set of graphics09:45
jothamthat's why i don't understand why the battle xml files from your application are even defining graphics09:45
mithros/with/will09:45
mithrojotham: because you want to see the other persons graphics against yours09:46
jothamyes but the battle xml only defines one graphics set09:46
jothamlike a theme, rather than a per race (say) graphics set09:46
jotham<battle media="minisec" version="0.0.1">09:46
jothamall ships in that battle will have 1 graphics set, regardless of their 'side'09:46
jothamand that graphics set will be 'minisec' (the way the files are made at the moment anyway)09:47
jothamthough i think i'm jumping the gun a bit here, it's not a problem that needs to be solved/explored immediatly09:47
mithrothe idea is eventually have "per race graphics"09:48
jothamyes you said that09:48
jothamand that isn't consistent with how it's currently implimented09:48
mithroso eventually the types.xml might also be generated09:48
jothambut i don't think there is any point in exploring the best way to do this until my code is back in the git repo09:48
jothami was just trying to understand the design choices that had been made09:49
mithrojotham: for every minisec battle it seems silly to redefine all the ship types09:49
jothamthat isn't what i'm proposing09:49
jothamuntil i've done more and until my code is in the git repo i don't think i can clearly articulate exactly what i think is wrong with the current situation09:50
jothambecause you need to be looking at the same files as me =)09:50
jothamso yeah, i'll come back to this09:50
mithrookay09:50
jothami also don't have much knowledge of the wider tp project09:51
mithrothat is fine09:51
jothamok i am going to get some sleep, hopefully we will have fleet formations coming out of the xml files on the weekend09:52
jothamusing my new engine09:52
mithrojotham: that would be cool09:52
jothamunfortunatly most of my time tonight was spent fucking around with svn and figuring out what to do with all the media i have collected09:52
jothami need to find a guy to make some explosions09:53
jothami'd like an animation that looks like a shield being hit, with alpha channel, so i can put it over any ship09:53
mithrojotham: hrm.... I thought I had one somewhere09:53
jothamanyway, bed09:55
jothamnight09:55
niphreemithro: pong09:56
mithroniphree: how does it go?09:57
niphreegood - backconnect should be working - but it should be tested with real data09:58
mithroniphree: how goes the code cleanup ?09:59
niphreein progress09:59
niphreenow I'm changing all function/variables names10:02
niphreeI should finish all today10:02
*** guitsaru has joined #tp10:04
mithroniphree: okay10:05
mithrodon't forget to commit often10:05
niphreeok10:05
*** guitsaru has quit IRC10:11
mithroniphree: I'm about to head to bed11:05
mithroanything you wanna check/ask before then?11:06
niphreehmm... metting 10:30 tomorow ?11:07
mithroyes11:07
niphreeok11:07
mithroniphree: don't forget to commit11:07
*** guitsaru has joined #tp14:09
*** daxxar has quit IRC16:09
*** daxxar has joined #tp16:09
*** daxxar has quit IRC16:29
*** daxxar_ has joined #tp16:29
*** daxxar_ is now known as daxxar16:29
*** daxxar has joined #tp16:37
*** Demitar has joined #tp16:41
*** guitsaru has quit IRC17:52
*** nash_ has joined #tp18:05
CIA-23niphree /tmp/DEcERD9gXW/A2dE7NSH3q-rewrite * r3750bcd41aaa /connect.php:18:37
CIA-23added back connect and comparing data from GET and FRAME18:37
CIA-23via git-CVS emulator18:37
CIA-23niphree /tmp/JiNSRtwr6w/JjeniSP3bv-rewrite * ra086bc510656 /index.php:18:38
CIA-23added backconnect and changes from code cleaning (function names, and comments)18:38
CIA-23via git-CVS emulator18:38
CIA-23niphree /tmp/JQc1PXEW5V/s8UWGYDwpc-rewrite * re9b4b51cfaaf /class/ (8 files):18:40
CIA-23changes from code cleaning - function and variables names, and comments18:40
CIA-23via git-CVS emulator18:40
*** xdotx has joined #tp18:59
Epyonnash_, mithro, so how has the GSoC been to you?21:30
mithroEpyon: not to bad21:32
mithroI'm kind of disapointed that we didn't end up with a web client21:33
mithroxdotx: hey, how has your testing been going?21:33
EpyonSo what *did* you get?21:33
xdotxmithro: been busy packing/cleaning. i'm actually about to leave for the airport21:35
mithroxdotx: okay, have fun21:35
mithroEpyon: a pretty cool ruleset dev environment, some improvements to the metaserver and a RFTS ruleset21:36
mithroand hopefully 3 new developers which stick around21:41
* xdotx notes this as a good time to leave21:46
xdotx:P seeya, prolly tomorrow. headin' out to the airport21:47
greywhindmithro: any idea why the patch file for my minor comment change shows 360 insertions, 354 deletions?21:47
xdotxgreywhind: heh, probably because it see the pattern in your adding 4 lines?21:48
* xdotx waves21:48
greywhindbye xdotx21:49
mithrogreywhind: you can look into the patch21:49
*** xdotx has quit IRC21:49
mithroand see what is adding/removing21:49
greywhindmithro: it shows almost all of the file being deleted, then the exact same lines being added in again...21:49
mithromy guess is that something converted tabs to spaces21:49
mithroor reverse21:49
greywhindmithro: no, seems to be all tabs21:50
mithrosend me the patch and I'll look at it21:50
greywhindi'm sending it to tp-devel now21:50
mithrogreywhind: if you are worried about it, send to me first21:51
greywhindmithro: i'm not worried about it, since it seems to be correct, i'm just wondering why it included so much useless info.21:52
mithrogreywhind: it probably means that your editor is doing something behind your back21:52
mithrogreywhind: what editor do you use?21:52
greywhindmithro: probably... oh... it could be windows/linux/os x line feeds21:52
mithroyeah21:53
mithroit's change the line endings21:53
mithromake sure your editor uses Unix line endings21:53
greywhindi have mine set to use crlf21:53
greywhindshould i change that?21:54
mithroyes21:55
mithroyou'll have to resend the patch21:55
greywhindk - no problem21:56
mithrobtw, do you understand OOP?22:03
mithrogreywhind: you can used "cg-commit --amend" to fix up the commit22:03
greywhindmithro: i'm just restoring the file to the last commit before i started and then re-committing - will that work?22:04
mithrogreywhind: should do22:04
mithrocg-admin-uncommit22:04
mithrothat will remove the last commit22:04
greywhindmithro: yes, i understand OOP22:04
mithrogreywhind: okay cool, so do you see that the tpclient-pywx Application class inherits from the one in libtpclient-py?22:05
greywhindyes - i knew that22:05
greywhindbut when i first looked at it, i wasn't sure where to find the base clas22:05
greywhindso the point of the comments is to make it less difficult to find22:06
greywhindk - that patch looks much better22:08
mithrookay22:08
mithrogreywhind: maybe also move the import statement to closer to the class?22:08
mithroand split it up a bit?22:09
greywhindmithro: hmm... i personally am used to having all imports at the top of a file, but that's because i'm used to Java and C++22:09
mithroIE just above the network thread have the "from tp.clients.threads import NetworkThread"22:09
greywhindmithro: if python usually has imports near where they're used, i'd say that would be a good move. but i'm used to knowing exactly what's used in a file by looking at the imports at the very beginning.22:10
mithrogreywhind: well, you can have imports anywhere in python22:11
greywhindmithro: yeah, i noticed that... i'm just not sure about the conventional placement in python as opposed to Java or C++22:11
mithrogreywhind: generally things are at the top of the file, but generally thats for things which are used globably22:12
greywhindmithro: well, it's your decision... i'm just going to submit the comment patch for now.22:13
mithrogreywhind: to me it's fine, but I wrote the code :P22:14
mithroso what ever makes it easier for anyone22:14
greywhindmithro: well, i'm not sure what's easiest for everyone, since i'm a special case in that i'm not used to python22:15
greywhindi think the comment takes care of it though22:15
greywhindfixed patch is sent22:17
greywhindhave to eat now22:17
mithronash_: ping?22:26
mithroJLP: ping?23:05

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!