Monday, 2010-05-03

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** jmtan has quit IRC00:11
*** ezod has quit IRC00:18
*** llnz has joined #tp00:18
*** ezod has joined #tp00:18
tansellezod, ping?00:22
ezodtansell: pong00:23
tansellezod, how did the thing on the weekend go?00:23
ezodit went well, decent turnout00:24
ezodwe talked about wombat ;)00:25
tansellahh00:31
*** jnengland77 has joined #tp00:31
ezodsome TP discussion as well, got a few people who are going to check it out00:33
ezodactually, a number of people asked about the shirt at other times during the day i was wearing it00:34
*** JLP has joined #tp00:34
*** JLP has joined #tp00:34
tansellezod, ha00:35
tansellit's almost time to do another run of tshirts I think00:44
ezodi could use one somewhat smaller ;)00:47
tansellI'll keep that in mind when I do an order00:49
*** nash has joined #tp00:52
*** glew has quit IRC01:06
*** glew has joined #tp01:17
*** glew has quit IRC01:36
llnzbbl, hopefully01:46
*** llnz has quit IRC01:46
*** mithro has joined #tp01:56
*** Epyon has joined #tp03:25
*** Epyon has quit IRC03:59
*** StupidIncarnate has joined #tp05:13
*** tradedaemon has joined #tp05:25
*** StupidIncarnate has quit IRC05:27
*** jnengland77 has quit IRC05:36
*** tradedaemon has quit IRC05:57
*** llnz has joined #tp06:03
*** cahirwpz has joined #tp06:53
*** nash has quit IRC07:29
cahirwpzmithro: ping?07:44
tansellcahirwpz, pong?07:44
cahirwpztansell: hi, I found another bug in Header.py07:45
tansellshoot?07:45
cahirwpzand managed to decode packets from server - so now I have working client07:46
tansellyay!07:46
cahirwpzwhere can I put a git diff for a review ?07:46
cahirwpzand I'd also want you to look into mentioned client as I found some other bugs (in libtpproto2-py) which I'm unable to fix for now07:47
tansellcodereview.mithis.com07:48
tansellor upload to github.com07:49
cahirwpzok - uploaded diff07:54
tansellto codereview?07:54
cahirwpzyes07:55
cahirwpzhttp://codereview.mithis.com/13001/show07:55
tpbTitle: Issue 13001: Packet length bug + enable packet creation from wire. - Code Review (at codereview.mithis.com)07:55
cahirwpzseems that git does not create diffs for new files that just have been added to repo...08:10
cahirwpzmaybe I'll send you the code by e-mail ?08:10
cahirwpzok - finally I managed to upload test client to code review08:14
cahirwpzhttp://codereview.mithis.com/14001/show08:15
tpbTitle: Issue 14001: Test client. - Code Review (at codereview.mithis.com)08:15
cahirwpzmithro: bug is triggered by tp.tests.protocol.PacketFormatter function08:18
cahirwpzmithro: if I had to guess I'd look for it somewhere in tp.netlib.structures.List08:24
tansellwhat is the08:31
tansell#{{{08:31
tansell#}}} for?08:31
cahirwpzvim folding08:32
tansellvim can fold in normal python formatting last time I looked08:36
cahirwpzgot used to this method - probably it's only a matter of taste08:37
tansellcahirwpz, I would prefer not to pollute the files with stuff specific to one client08:38
tansellcahirwpz, what is with this massive logging module?08:38
cahirwpzI learnt to use extensive logging while debugging network apps - it's partially copied from my private sources - lots of stuff was removed from this module08:40
cahirwpzwhat do you have in mind by "polluting" ?08:40
tansellcahirwpz, extra stuff which is not python08:40
tansellor useful comments08:40
cahirwpzahh... you're not the first person which has strong feelings against manual folding ;-)08:41
tansellI have no problems against manual folding - just needing comments in the file for manual folding :)08:41
tansellcahirwpz, have you seen the inbuilt logging module in Python?08:42
cahirwpzI'll look for another method08:42
cahirwpzyes - I've seen - this is Twistedish method for logging08:43
cahirwpzactually it's not recommended to use logging module with Twisted08:43
tansellcahirwpz, why?08:44
tansellthe logging module is nothing more then an interface really08:44
cahirwpzdon't know exactly - probably because of interaction with twisted.reactor08:47
cahirwpzgenerally it's Twisted way to do the logging - probably they had good reasons to reimplement logging08:48
tansellcahirwpz, can you wrap the twisted logging methods in something that looks like logging?08:48
cahirwpzhmm... Twisted has wrapper imitating logging module08:49
tansellcahirwpz, already?08:52
cahirwpzhttp://twistedmatrix.com/documents/current/core/howto/logging.html08:52
tpb<http://ln-s.net/6NCl> (at twistedmatrix.com)08:52
cahirwpzcan we focus on finding the source of bugs ;-)08:52
cahirwpzbrb08:52
tansellcahirwpz, probably not tonight, I'm still at work and I have plans after08:53
tansellI'll see how late it is when I finish up08:53
tansellcahirwpz, sorry about that08:54
cahirwpzok - I understand09:03
cahirwpzplease run tp-tests-client to reproduce bug(s)09:03
cahirwpzyou should get sth similar to:09:05
cahirwpzSending request:09:05
cahirwpz Version:  309:05
cahirwpz Sequence: 309:05
cahirwpz Type:     GETFEATURES09:05
cahirwpz Length:   009:05
cahirwpzSending binary: 5450303300000003000000190000000009:05
cahirwpzReceived binary: 54503033000000030000001a000000300000000b00000003000000050001000000010001000100020001000400010005000100060001000700010003000003e809:05
cahirwpzAttributeError: No value defined for length09:06
cahirwpzAttributeError: 'NewPacket' object has no attribute '__features'09:06
cahirwpzReceived response:09:06
cahirwpz Version:  309:06
cahirwpz Sequence: 309:06
cahirwpz Type:     FEATURES09:06
cahirwpz Length:   BUG???09:06
cahirwpz Features: BUG???09:06
* llnz wanders off09:20
llnzlater all09:20
*** llnz has quit IRC09:20
*** cahirwpz has quit IRC09:25
*** Agon-laptop has joined #tp09:28
*** mithro has quit IRC09:29
*** cahirwpz has joined #tp09:51
*** mithro has joined #tp10:26
*** null_000 has joined #tp13:30
*** mithro has quit IRC13:47
*** Epyon has joined #tp14:58
*** Epyon has quit IRC15:26
*** Epyon has joined #tp15:48
*** Agon-laptop has quit IRC16:34
*** StupidIncarnate has joined #tp18:45
*** tuna-fish has quit IRC18:48
*** StupidIncarnate has quit IRC19:23
*** Agon-laptop has joined #tp19:30
*** Agon-laptop has quit IRC19:36
*** Agon-laptop has joined #tp19:36
*** llnz has joined #tp20:17
*** Epyon has quit IRC20:32
llnzmorning all20:33
ezod~seen glew20:37
tpbezod: glew was last seen in #tp 4 days, 20 hours, 7 minutes, and 22 seconds ago: <glew> tansell, but other than that looking forward to gsoc20:37
ezodhi llns20:37
ezodllnz*20:37
llnzhi ezod20:38
*** Epyon has joined #tp20:39
llnzahh20:40
llnzthink i just found the cause of the bug20:41
llnzthe priority queue is sorted backwards to the way we want it20:44
*** glew has joined #tp21:38
llnzezod: ping21:51
llnzhi glew21:51
alanphrm22:23
ezodllnz: pong22:36
ezodhey glew22:36
llnz:-)22:39
*** null_000 has quit IRC22:40
llnzafk22:46
*** JLP has quit IRC22:58
*** JLP has joined #tp22:58
*** JLP has joined #tp22:58
*** Agon-laptop has quit IRC22:59
*** JLP has quit IRC23:21
*** JLP has joined #tp23:29
*** JLP has joined #tp23:29
glewllnz: hey llnz23:54
glewezod: hey ezod23:54

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