Wednesday, 2010-05-05

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** nash has joined #tp00:33
*** mithro has joined #tp00:54
*** tuna-fish has joined #tp01:12
*** tuna-fish has quit IRC01:28
*** StupidIncarnate has joined #tp01:43
*** Epyon has quit IRC01:48
*** Epyon has joined #tp01:56
*** glew has quit IRC03:20
*** StupidIncarnate has quit IRC04:10
llnzbbl04:36
*** llnz has quit IRC04:36
*** bisc has joined #tp05:19
biscmithro: ping05:23
tansellbisc, pong05:25
tansellbisc, sup?05:25
biscsorry for that silent period, have been fixing issues with my education issues. haven't got even enough time to sleep :)05:26
biscdon't worry, I won't be behaving in that way when coding period starts05:26
bischave a couple of questions.05:27
biscwhich tool do you use to work with xrc? xrced always shows errors at client's resources05:28
bisc2) there are classes with "Mixin" suffix. what does this suffix indicate?05:32
bisc3) how is functionality spread between libtpclient-py and tpclient-py? what this libtpclient for in global terms?05:35
tansellwe use a custom xrced05:36
tanselllibtpclient-py is code which is shared between all clients05:36
tansellnot sure what your second question is05:37
*** JLP has quit IRC05:39
biscabout second question -- classes like usernameMixIn, ShiftMixIn, winBaseMixIn -- what's their naming for?05:41
*** llnz has joined #tp05:45
tansellmixin classes are not whole implimentations in themselves, they need to be mixed with proper classes to work05:53
*** nash has quit IRC05:57
*** JLP has joined #tp05:57
*** JLP has joined #tp05:57
biscah, I see, like abstract classes in C++. thanks.06:01
bisctansell: is libtpproto-py used by this client?06:04
*** JLP_ has joined #tp06:06
tanselllibtpproto-py is used by libtpclient-py06:06
*** JLP has quit IRC06:06
biscso, when fixing bugs of tpclient-pywx, I'm not likely to edit code in libtpclient or libtpproto, as they should be client-independent?06:16
*** llnz has quit IRC06:17
tansellbisc, depends on what you are fixing06:20
biscthings related to displaying information, errors notification and gui logic.06:22
biscanyway, if I get into libtpclient-py code, I'll need to verify that all clients are still compatible with my changes?06:22
*** nash has joined #tp06:25
*** llnz has joined #tp06:27
llnzyes! full screen smooth video again! go nouveau!06:28
tansellbisc, pretty much06:33
tansellbisc, we probably need to sit down sometime and figure out what you are going to do first06:36
tansellbisc, probably sometime soon would be good06:37
tansellEpyon, ping?06:43
bisctansell: okay. when is it convenient for you?06:44
tansellbisc, what's your timezone again?06:51
biscgmt+4.06:51
tansellllnz, I would like to discuss how we proceed with Epyon's work as well06:51
llnzsure06:51
tansellbisc, does this look right?06:53
tansellhttp://www.timeanddate.com/worldclock/meetingtime.html?day=5&month=5&year=2010&p1=0&p2=240&p3=166&p4=-106:53
tpbTitle: The World Clock Meeting Planner - Results (at www.timeanddate.com)06:53
bisctansell: yes06:54
tansellgreat06:54
tansellbisc, how about 12:00 noon your time?06:55
tansellhttp://www.timeanddate.com/worldclock/meetingdetails.html?year=2010&month=5&day=5&hour=8&min=0&sec=0&p1=240&p2=16606:55
tpbTitle: The World Clock Meeting Planner - Details (at www.timeanddate.com)06:55
bisctansell: sounds good. how long will it take?06:55
tansellabout an hour and we should probably do it atleast once a week06:56
biscvery well then. meet you in an hour.06:58
tansellokay07:00
cahirwpzgood morning all07:41
bischi07:42
bisctansell: meeting time is coming. what I've been doing is wandering through code, reading docs for wxwidgets & python. I've seen several bugs and I can reproduce the one with not consistent error message for wrong password. Not that it was my direct goal; I tried to understand code and its structure.08:02
tansell-laptopbisc, currently in another meeting which is running overtime08:06
biscok, never mind08:07
*** Agon has joined #tp08:10
tansell-laptopbisc, okay08:14
tansell-laptopbisc, you still about?08:14
bisctansell-laptop: yes, I'm here08:15
llnzhi Agon08:15
tansellokay08:16
tansellbisc, so lets set some expectations first08:16
tansellbisc, I'm expecting that you'll work on the tp04 branch, the tp03 branch is dead08:16
llnzAgon: to answer your earlier question, definitely once coding start, when possible before hand08:16
Agonhello08:17
Agonllnz: okay08:17
tansellbisc, tpclient-pywx is pretty fragile and really hard to test - your going to run into many, many bugs08:17
tansellbisc, we need to support three platforms in order of priority - Linux, Windows and Mac08:18
tansellbisc, hand coding in pixel sizes and similar might seem like a good idea - but it'll drive you mad as they get ignored by various other platforms08:19
tansellplus you'll need to maintain three sets, one for each platform08:19
tansellso we have been making an effort to move away from needing any hard coding of sizes08:19
bisctansell, I see. I haven't met any hardcoding in pixels -- sizers are there.08:22
biscthe wxpython code should be platform-independent (in case of using sizers and other high-level stuff), right?08:24
tansellbisc, we also spent quite a bit of effort converting to using xrcd format as well08:24
tansell(rather then hand coded building of frames)08:24
tansellbisc, in theory wxWidgets is platform-independent08:25
tansellin practice you still end up with a lot of hard coding08:25
cahirwpztansell: I've just moved my sources to github: git://github.com/cahirwpz/tptests-py.git08:25
tansellcahirwpz, great08:26
tansellcahirwpz, we should organise a weekly meeting too08:26
bisctansell: what is xrcd like? what's difference between xrc?08:26
tansellsorry I meant xrc08:27
cahirwpztansell: sure08:27
bisctansell: ah, I see. And is there much to be converted to xrc? can you point out a class or two?08:27
tansellbisc, I'm pretty sure that greywhind got most of it - but if you do find some hand coded stuff, it should be converted08:28
tansellcahirwpz, how about this time yesterday?08:28
bisctansell: ok, if I find some hardcorded interfaces, we'll discuss it.08:29
biscI have access to linux and windows, but not mac.08:30
tansellbisc, that is a common problem sadly :(08:31
bisctansell: anything I can do with it, like creating a virtual machine?08:31
tansellbisc, I wouldn't worry to much at the moment while your just getting started08:32
bisctansell: do you have any docs in wiki or somewhere else, like "programmers reference", to get familiar with all these classes08:35
biscor, maybe, I can generate it?08:35
tansellbisc, nope!08:37
tansellbisc, there isn't much documentation08:38
biscand everything I can get is in source files?08:38
tansellyes08:39
biscwhat do you think about idea of writing a couple of wiki pages about programming structure of tp04 client?08:39
tansellI don't really have the time08:40
biscwell, I mean I could do that simultaneously to examining code08:40
tansellbisc, sure08:41
bisctansell: where should it be placed? somewhere in http://www.thousandparsec.net/wiki/Clients/Tpclient-pywx?08:42
tansellhttp://www.thousandparsec.net/wiki/Tpclient-pywx looks okay08:44
bisctansell: may I borrow some ideas or coding tricks from tp03 branch? it should theoretically be more stable08:46
tansellbisc, the tp04 branch was based on the tp03 branch08:47
tansellso there shouldn't be anything useful left in that branch08:48
bisctansell: yeah, understood.08:48
bisctansell: what's the ruleset, most suitable for developing and debugging this client?08:50
*** nash has quit IRC08:53
tansellbisc, your going to have to test will all the rulesets08:55
tansellbisc, sadly no easy way to do so08:55
biscI'll have to loop  "for each ruleset { start_server_for_ruleset; start_clients; play_and_note_bugs; stop_server }" ?08:57
tansellbisc, yeah09:07
tanselldinner time here I'll be back in an hour09:07
bisctansell: bon appetit09:07
bisctansell: added our weekly meeting to our calendar. please see if time for you is 18.0009:09
*** Epyon has quit IRC09:21
* llnz wanders off09:29
llnzlater all09:29
*** llnz has quit IRC09:29
*** null_000 has joined #tp09:47
cahirwpztansell: I'm busy at Tuesdays till the end of June10:14
tansellcahirwpz, so when is good for you?10:25
cahirwpztansell: I suppose Thursday or Friday would be better10:27
tansellI would rather not do friday, as I have things to do on 6:00pm on a friday :)10:27
cahirwpzahh - time shift :)10:28
cahirwpzok - let it be at Thursdays10:28
tansellIt'll have to be earlier on thursday10:30
cahirwpzthere's ~20:30 at your location now ?10:32
tansellhow about http://www.timeanddate.com/worldclock/fixedtime.html?day=6&month=5&year=2010&hour=16&min=30&sec=0&p1=24010:33
tpbTitle: The Fixed Time World Clock (at www.timeanddate.com)10:33
cahirwpz8:30 AM is too early as for me10:34
cahirwpzwhat about Wednesday ?10:37
tansellat what time?10:37
cahirwpzhttp://www.timeanddate.com/worldclock/fixedtime.html?day=6&month=5&year=2010&hour=10&min=30&sec=0&p1=26210:41
tpbTitle: The Fixed Time World Clock (at www.timeanddate.com)10:41
cahirwpzor later10:41
cahirwpzhttp://codereview.mithis.com/15001/show10:43
tpbTitle: Issue 15001: Header fix, iteration over GroupStructure, Enumeration to string. - Code Review (at codereview.mithis.com)10:43
tansellcahirwpz, can you please split that into 3 patches?10:47
tansellcahirwpz, your change to the Header stuff is wrong10:49
tansellself.objects.Header = objects_auto._makeHeader('TP\x04\x00')10:49
cahirwpzhmm... what about version field in protocol.xml file ?10:49
tansellTP <protocol version> <frame version>10:50
tansellcahirwpz, I'm not sure I can make that time very often10:50
cahirwpzok - I figured out how to upload diffs for single files10:55
cahirwpzok - patches are ready now to be reviewed11:02
tansellokay11:02
tansellplease link me11:02
cahirwpzumm... do you mean - I want you to send me links to patches ? :)11:04
tansellcahirwpz, link to the code reviews11:07
cahirwpzhttp://codereview.mithis.com/16001/show, http://codereview.mithis.com/17001/show, http://codereview.mithis.com/18001/show, http://codereview.mithis.com/19001/show11:08
tpbTitle: Issue 19001: EnumerationStructure can be now converted to string representing its value. - Code Review (at codereview.mithis.com)11:08
cahirwpzI've a few questions regarding libtpproto2-py11:08
cahirwpzI get "Features" response from server - it should be represented as list of enums, however it's list of integers11:10
cahirwpzis it proper behaviour or information about type is lost somewhere?11:11
cahirwpzalso I think it'd be a good idea to put timestamp (modtime) into separate type - for instance TimestampStructure11:12
cahirwpzoh... there's actually something called DateTimeStructure...11:15
tansellcahirwpz, it's no longer a modtime in tp0411:19
tansellit's a serial number11:19
cahirwpzhow about enumeration on lists?11:22
tansellhrm?11:24
tansellcahirwpz, comments published11:26
cahirwpzSending request:11:26
cahirwpz Version:  3.011:26
cahirwpz Sequence: 411:26
cahirwpz Type:     GetFeatures11:26
cahirwpz Length:   011:26
cahirwpzReceived response:11:26
cahirwpz Version:  3.011:26
cahirwpz Sequence: 411:26
cahirwpz Type:     Features11:26
cahirwpz Length:   4811:27
cahirwpz Features: [3, 5, 65536, 65537, 65538, 65540, 65541, 65542, 65543, 65539, 1000]11:27
cahirwpz"Features" field in response is list of integers instead of list of enumerations11:27
tansellcahirwpz, so that seems like a bug right?11:28
cahirwpzI suppose so... "Code" field in "Fail" response is EnumerationStructure:11:29
cahirwpzReceived response:11:29
cahirwpz Version:  3.011:29
cahirwpz Sequence: 10011:29
cahirwpz Type:     Fail11:29
cahirwpz Length:   2711:29
cahirwpz Code:     UnavailablePermanently11:29
cahirwpz Result:   "Service unavalible."11:29
cahirwpzwhich is what I expected11:30
cahirwpzmaybe iterator in ListProxy returns just values instead of structures11:33
cahirwpzwhat is the procedure with reviews - if I don't have any remarks and I reckon your comments reasonable then what should I do ?11:36
tansell-laptopcahirwpz, make the changes, upload the new patch over the old one ask me for a LGTM11:39
tansell-laptoponce you have a LGTM, you then commit the patch11:40
cahirwpzok :)11:40
cahirwpztansell: BB in ~2h11:48
CIA-29mithro libtpproto2-py * rf0f6c895a4b8 /tests/teststructureaccess.py: Test enumerations inside lists.11:48
tansell-laptopI'll probably be gone by then11:48
cahirwpzbye then11:49
*** cahirwpz has quit IRC11:49
bisctansell-laptop: see you11:51
*** mithro has quit IRC12:22
ezod~seen glew13:45
tpbezod: glew was last seen in #tp 1 day, 13 hours, 50 minutes, and 29 seconds ago: <glew> ezod: hey ezod13:45
*** bisc has quit IRC13:51
*** bisc has joined #tp13:51
*** cahirwpz has joined #tp15:09
*** null_000 has quit IRC15:28
*** null_000 has joined #tp15:33
*** null_000 has quit IRC16:01
*** cahirwpz has quit IRC16:26
*** bisc has quit IRC16:59
*** StupidIncarnate has joined #tp17:51
*** null_000 has joined #tp18:03
*** null_000 has quit IRC18:44
*** null_0001 has joined #tp18:44
*** Agon has quit IRC18:51
*** Agon-laptop has joined #tp18:57
*** StupidIncarnate has quit IRC19:33
*** hollunder has joined #tp19:36
hollunderevening. that ogre client doesn't work on Linux?19:36
*** glew has joined #tp20:31
*** llnz has joined #tp20:38
*** null_0001 has quit IRC20:58
*** hollunder has left #tp21:09
*** StupidIncarnate has joined #tp21:29
*** glew has quit IRC21:40
*** Agon-laptop has quit IRC22:11
*** StupidIncarnate has quit IRC22:19
*** Vadtec has quit IRC22:59
*** welterde has quit IRC23:01
*** Vadtec_ has quit IRC23:01
*** tansell-laptop has quit IRC23:01
*** tansell-laptop has joined #tp23:01
*** welterde has joined #tp23:14

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