Sunday, 2009-07-19

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** Greywhind has quit IRC00:09
*** mithro_ has joined #tp00:29
*** mithro_ has quit IRC00:29
llnzit's quiet01:44
*** llnz has quit IRC02:27
*** llnz has joined #tp02:27
*** JL has joined #tp03:24
*** JLafont_ has quit IRC03:41
*** verhoevenv has joined #tp05:40
*** verhoevenv_ has joined #tp06:10
*** verhoevenv has quit IRC06:10
* llnz wanders off08:01
llnzlater all08:01
*** llnz has quit IRC08:01
*** jmtan has joined #tp08:32
*** jmtan1 has joined #tp08:37
*** jmtan has quit IRC08:37
*** jmtan1 is now known as jmtan08:37
*** verhoevenv has joined #tp09:09
*** verhoevenv_ has quit IRC09:26
*** gau_veldt has joined #tp09:33
*** gau_veldt has left #tp09:33
*** bdefreese2 has quit IRC10:33
*** peres has joined #tp10:40
*** verhoevenv_ has joined #tp10:51
*** verhoevenv has quit IRC10:53
*** tansell-laptop has joined #tp11:04
*** jmtan1 has joined #tp11:31
*** jmtan has quit IRC11:31
*** verhoevenv_ has quit IRC11:33
*** jmtan1 is now known as jmtan11:34
*** mithro has quit IRC11:46
*** peres has quit IRC11:46
*** tansell-laptop has quit IRC11:58
*** zzorn has joined #tp12:04
*** Greywhind has joined #tp12:25
*** llnz has joined #tp16:05
*** greenlion has joined #tp17:25
*** Vadtec has quit IRC17:33
*** Vadtec has joined #tp17:53
*** greenlion has quit IRC18:20
*** nash has joined #tp18:54
tansellmorning19:27
Greywhindmorning, tansell19:28
tansellhow goes things?19:29
Greywhindtansell: pretty well19:29
tansellgreat19:29
Greywhindtansell: i'm currently working on the download viewer/canceler19:29
tansellyes I saw from your blog19:34
Greywhindtansell: i think i've got it pretty much done for an initial version, at least19:34
tansellokay19:34
*** mithro has joined #tp19:44
Greywhindtansell: http://codereview.mithis.com/900120:11
tpbTitle: Issue 9001: Improved media support by centralizing media calls and adding a download manager. - Code Review (at codereview.mithis.com)20:11
Greywhindtansell: i'll be back in about 45 minutes20:12
tansellGreywhind, are there any changes to libtpclient-py?20:13
Greywhindtansell: no20:14
Greywhindtansell: i don't think so, at least20:14
tansellokay20:14
Greywhindtansell: i'll be back20:15
*** Greywhind has quit IRC20:15
*** Greywhind has joined #tp21:37
tansellGreywhind, poke me when you get back21:45
*** mhilmi has joined #tp21:56
Greywhindtansell: i'm back22:01
tansellheading to lunch...22:01
Greywhindtansell: ok. let me know.22:01
tansellback now23:07
tansellGreywhind, ping?23:07
Greywhindtansell: pong23:07
tansellGreywhind, so - while this looks good - I think there are a few problems with this approach23:08
Greywhindtansell: ok... what problems do you see?23:09
tansellGreywhind, I really think you need to probably integrate the MediaLibrary and the Media stuff in libtpclient-py23:09
Greywhindtansell: why's that?23:09
tansellGreywhind, as without doing so, you can't do things like priorities23:10
Greywhindi didn't know priorities were planne23:10
Greywhind*planned23:10
tansellGreywhind, well this same code is likely to be needed to download things like battle data23:11
tansellLandon, ping?23:11
Greywhindtansell: well, where would you think this kind of thing would fit in libtpclient-py?23:13
tansellGreywhind, and obviously battle data is probably going to be needed before the pictures23:13
tansellGreywhind, well I think it's probably a case where the Media stuff should implement the basics and then your system should inherit from it for the pywx specific stuff23:14
Greywhindtansell: i think the stuff in MediaLibrary.py is generic, not pywx specific?23:15
Landontansell: pong23:18
tansellGreywhind, yes a lot of it seems that way23:18
tansellthe whole GetFile stuff in the Media.py is pretty horrible23:19
Greywhindtansell: it seems to work - what would you like to see done to it?23:19
tansellyou can't have multiple files being downloaded at once23:25
Greywhindtansell: oh, that's true. i noticed that.23:26
tansellit just seems horrible fragile23:28
tansellit's not really safe if there are multiple clients running at once23:28
tansellIt doesn't actually check the downloaded files23:28
tansellit doesn't actually do what the comments say :)23:28
tansellGreywhind, so - lots of stuff23:29
tansellit's probably worth just throwing it away and rewriting most of it23:29
Greywhindtansell: so i see23:29
Greywhindtansell: i'll see if i can do it23:29
Greywhindtansell: i don't know if i know enough about libtpclient-py to do it right23:30
Greywhindtansell: but i'll try23:30
Greywhindtansell: what file is the code mostly in?23:30
tansellmedia.py23:31
Greywhindk23:31
tansellwell now it a good time to learn as any23:31
Greywhindtrue23:31
tansellit's probably a good time to also think about porting some of your functions back into this library23:32
Greywhindthe objectutils ones?23:32
tansellyeah23:36
*** jnengland77 has joined #tp23:37
*** jmtan has quit IRC23:45
*** jnengland77 has quit IRC23:51
llnzmhilmi: have you got somewhere to upload the code so that we can see it?23:56

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