Friday, 2010-07-23

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** Agon has quit IRC00:49
*** Linkadmin has quit IRC01:40
*** nash has joined #tp01:45
*** Erroneous has quit IRC01:54
*** JohnSGalt has joined #tp01:55
*** StrangerDanger has quit IRC01:55
*** glew has quit IRC02:44
*** StrangerDanger has joined #tp03:19
*** JohnSGalt has quit IRC03:20
*** mithro has joined #tp03:55
*** mithro has quit IRC04:06
*** mithro has joined #tp04:21
*** Linkadmin has joined #tp04:35
llnzbbl04:49
*** llnz has quit IRC04:49
*** bisc has joined #tp05:09
tansellhey bisc05:09
bisctansell: hello. Are you available now?05:09
tansellkinda05:10
tansellI havn't had a chance to review your patches yet05:10
tansellcan you relist the ones you want me to look at05:10
biscwell, actually all of them. Lets start with 90001.05:11
*** DTRemenak has quit IRC05:13
*** DTRemenak has joined #tp05:14
tansellbisc, done05:15
bisctansell: ok. look at 91001, message window relayout.05:17
*** epyon-sakura has quit IRC05:19
tansellbisc, I think there is something strange going on with the update window05:21
tansellyour getting a lot of errors05:21
tansell"as not cache().has_key(id)" message doesn't seem right05:21
tansellotherwise looks good05:21
tansellbisc, what else?05:23
bisctansell: 59001, I've finished it05:24
biscok, I will check these error messages05:24
bisctansell: look only after "TO PATCH SET 3"05:26
tansellyeah05:27
tanselllooks good just one comment05:27
bisctansell: ok. What do you mean by "Looks like the order panel is not working in the same way." - do we need to hide everything inside it too?05:30
tansellbisc, well if nothing is selected it should behave like nothing is selected right?05:31
bisctansell: it's not about "nothing is selected". On the start, you have either your planet selected or Universe selected (for guests). It's a moment of loading, when panels are created. And yes, I agree that orders panel should be emtpy while loading, but I confront a problem there -- if I try to hide its internals, it shrinks to almost zero width05:33
tansellbisc, well looks like a problem to solve :)05:34
bisctansell: ok, I will try. Do you know, how panels are sized now? They have both hardcoded size (in their xrc) and some specification in GetPaneInfo method, where they all have different computations, but the result is strangely the same.05:38
tansellbisc, not really05:39
bisctansell: ok. Now, I'd like to discuss the cursors thing, My goal is to provide good cursor for the starmap waypoint mode. And I wonder whether I should do it like in extra/wxFloatCanvas/Resources.py ?05:42
tansellwhat do you mean "good cursor"?05:42
bisctansell: currently there's not cursor for it (mouse cursor looks like normal mouse cursor), because Cursor attribute of GUIWaypoint and GUIWaypointEdit classes (situated in panelStarMap.py) is not set. If I try to set it with png that is available there (after line 136 in panelStarMap.py) - then colors are somehow broken and the cursor is 100% opaque, which is bad.05:45
tansellbisc, you can't use png's for cursors - they need to be a special format05:46
tanselltake a look at the wxWindows documentation05:46
bisctansell: yes, they're set in another way. But can I modify files of wxFloatCanvas to put the cursor there? Or they should be unchanged?05:47
tansellyou shouldn't change the wxFloatCanvas code05:48
bisctansell: updated 59001, please have a look05:55
tansellbisc, comment added05:56
biscok, let me experiment for some time.06:03
*** mithro has quit IRC06:40
*** cahirwpz has joined #tp06:44
*** mithro has joined #tp06:55
*** nash has quit IRC07:06
*** bisc has quit IRC07:11
cahirwpzhi all07:13
cahirwpzmithro, ping?07:14
*** nash has joined #tp07:25
*** llnz has joined #tp07:30
*** nash has quit IRC07:38
*** nash has joined #tp07:38
tansellcahirwpz, I'm just about to head out - but I should be around sometime this weekend08:07
cahirwpztansell, I originally planned to leave the city for weekend, but the weather seems to be worsening - we'll see, eventually we can have a discussion at Monday08:09
cahirwpztansell, If I drop my plans I'll surely be available08:10
*** mithro has quit IRC08:15
*** tansell-laptop has quit IRC08:16
*** nash has quit IRC08:40
*** bisc has joined #tp09:02
*** welterde has quit IRC09:05
*** tpb has joined #tp09:08
*** ChanServ sets mode: +o tpb09:08
*** welterde has joined #tp09:17
*** verhoevenv has joined #tp11:08
*** Greywhind has joined #tp13:47
ezod~seen glew13:53
tpbezod: glew was last seen in #tp 14 hours, 30 minutes, and 2 seconds ago: <glew> ok, and just to make sure, the different managers that are written in the server keep the persistence database up to date if there is a persistence module loaded?13:53
*** peres has joined #tp14:11
*** bisc has quit IRC14:13
*** Agon has joined #tp14:53
*** null_000 has joined #tp15:24
null_000hey all15:24
*** welterde has quit IRC15:41
*** welterde has joined #tp15:54
verhoevenvHey TP, can we have a news post or something on how the students are doing halfway? Or is there an aggregated blog feed somewhere (assuming there are blogs)?16:01
*** alanp has quit IRC16:01
*** Linkadmin has quit IRC16:01
ezodverhoevenv: i don't think there's an aggregated feed, but in case it's needed: http://glew2010.wordpress.com16:21
tpbTitle: GSoC Weekly Update with Greg Lew (at glew2010.wordpress.com)16:21
*** Linkadmin has joined #tp16:39
null_000her's mine http://nullgsoc.blogspot.com/16:54
tpbTitle: Google Summer of Code (at nullgsoc.blogspot.com)16:54
*** tanoku has joined #tp17:05
*** glew has joined #tp17:18
*** epyon-sa2ura has joined #tp17:22
*** tanoku has quit IRC17:30
*** peres has quit IRC17:33
*** null_000 has quit IRC17:33
*** null_000 has joined #tp17:35
null_000damn laptop overheating...17:35
ezodglew: hey18:02
ezodgive me access to your libtpclient-py fork?18:02
glewezod: sure18:03
ezodthanks18:03
glewdone18:03
glewezod: and a quick question, I started a single player game by running python SinglePlayer.py18:04
glewdo I have to access that game with the client, and connect to it?18:04
glewbecause as far as I could tell it started the server running a single player game18:05
ezodno it just starts the server and AIs18:05
glewok18:06
ezodtechnically i guess you could connect to it from tpclient-pywx afterward18:06
ezodbut that's not really what it's for, since tpclient-pywx has a wizard for that18:06
glewok18:06
ezodit's just there for testing really18:06
ezodi'm on branch libtpclient-py-0.2.x by default on your fork btw18:07
ezodnot sure if that matters?18:08
ezodyou're going to work on tp04 you said?18:08
glewyes i changed my working branch to tp0418:08
ezodok18:08
ezodso just an observation that might be helpful to you18:08
ezodthe last 2 lines of SinglePlayer.py just stop the singleplayer game18:09
ezodif you comment those out, and import SinglePlayer in an interactive python shell, you should still have access to the "game" object18:09
ezodfor testing18:09
ezodthen just call game.stop() before you quit, to clean up server and ai processes and whatever18:10
glewalruight18:10
ezodwell, except that the if __name__ == "__main__18:11
ezodblock won't even be run, heh18:11
ezodso maybe comment that out too and replace with if True: or something18:12
ezodagain, only if you want to test stuff on the singleplayergame object in interactive shell18:13
glewok18:13
glewit makes sense, then i can check things in realtime, hopefully18:13
*** Agon has quit IRC18:16
ezodglew: fyi, the "load game" process should short circuit all the single player config, since it all has to be identical in the resumed game as when it was saved18:20
ezodwhich reminds me, we're going to have to think about how to not break save files across versions :o18:20
ezodcomaptibility info in the singleplayer xml maybe18:21
glewezod: right, my plan is to first find out if the user wants to load a game, then for loading it will get all the constraints from the "singleplayer" table or something (server, rulset, params, ai)18:21
ezodso you need to store version info for all the components18:21
ezodglew: cool18:22
glewezod:I"m not sure i'm completely following you on version, you mean if there are multiple save files, or multiple versions of like the ai or server?18:22
ezodai or server18:23
ezodsay i save a game under tpserver-cpp-0.7.018:23
glewok, that makes sense18:23
ezodand then i want to load it in a later version, there might be problems18:23
ezodversion of ruleset also18:23
glewright18:23
ezodand of course the AIs18:23
glewok, i'll make sure that version becomes a column in the "singleplayer" table18:23
ezodso i think we'll need a policy regarding breaking compatibility with save games / scenarios, and have that info in the singleplayer XML files18:25
ezodhttp://thousandparsec.net/wiki/Single_Player18:25
tpbTitle: Single Player - Thousand Parsec Wiki (at thousandparsec.net)18:25
ezoddunno if you've seen that, i think it might be really useful to you :)18:26
ezodeach component can have a field like, "minimum previous version whose save files i am compatible with"18:27
glewI think I've seen the page, but i'll read it more indepth this time18:27
ezodbrb18:29
*** null_000 has quit IRC18:40
*** alanp has joined #tp20:18
*** Greywhind has quit IRC21:00
*** tanoku has joined #tp22:33
*** Linkadmin has quit IRC23:45
*** cahirwpz has quit IRC23:48
*** tanoku has quit IRC23:59

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