/srv/irclogs.ubuntu.com/2009/09/02/#launchpad-meeting.txt

=== cprov is now known as cprov-zzz
=== thumper is now known as thumper-afk
=== cprov-zzz is now known as cprov
=== thumper-afk is now known as thumper
=== salgado-afk is now known as salgado
barry#startmeeting15:00
MootBotMeeting started at 09:00. The chair is barry.15:00
MootBotCommands Available: [TOPIC], [IDEA], [ACTION], [AGREED], [LINK], [VOTE]15:00
barryhello and welcome to this week's ameu reviewer's meeting.  who's here today?15:00
sinzuime15:00
henningeme15:00
deryck_me15:00
noodles775me15:00
intellectronicame15:00
salgadome15:01
gmbme15:02
bacme15:02
barryflacoste: adeuring gary_poster leonardr bigjools ping15:02
abentleyme15:02
flacosteme15:03
leonardrme15:03
bigjoolsme15:03
adeuringme15:03
gary_posterme15:03
barrycprov: danilos mars allenap ping15:03
danilosme15:03
barry[TOPIC] agenda15:03
MootBotNew Topic:  agenda15:03
danilosbarry: thanks15:03
barrynp!  it's a full agenda today...15:04
barry * Roll call15:04
barry * Action items15:04
barry * UI review call update15:04
allenapme15:04
barry * On-call review responsiveness, [intellectronica]15:04
barry * cls.links should be a tuple, never a list (menu.py), [bigjools, barry]15:04
barry * `__iter__()` in model objects? [cprov, barry]15:04
barry * mkstemp()/open() combination leaks file-descriptors [cprov]15:04
barry * Guidelines changes for tests checking systems pre-requisites (specific umasks, app configurations) [maxb, cprov]15:04
barry * Peanut gallery (anything not on the agenda)15:04
barry 15:04
barry[TOPIC] action items15:04
MootBotNew Topic:  action items15:04
barry * beuno to add a 'ui' specialty to ReviewerSchedule15:04
barryhe did this, so if you have any questions about who can do a ui review for you, check the ReviewerSchedule page15:04
barry * gary_poster and barry will transfer review guidelines from the old wiki and old old wiki to the new wiki15:05
barrynot done :(15:05
gary_posterLet's set a time.15:05
gary_posterOr at least together make a list of what needs to be done15:05
barrygary_poster: +1 we can coordinate off-channel15:05
gary_posterso we can divvy it up15:05
gary_postercool15:05
barry * UI review call update15:05
barrybeuno's not here.  intellectronica do you or anyone else want to give an update on that c/c?15:06
intellectronicabarry: i wasn't on the last one, so not me15:06
barryah right15:06
barryi don't remember everything we talked about, but i will say that i am currently trying to fix the global issues with page titles, h1, h2 etc. headings15:07
flacostethat's the most important issue i think15:07
barryping me with any questions or problems in that area.15:07
barryyour pages will /not/ currently look right until i fix certain things15:07
flacostewe clarified the rules for that15:08
barryand then you may have to go back and adjust your pages (e.g. remove heading slots, etc)15:08
flacostedid you update the wiki?15:08
intellectronicaflacoste: is that written somewhere?15:08
barryflacoste: i did.  i have maybe one small round of corrections, but it's darn close15:08
intellectronicabarry: url?15:08
barryi sent an email to lp-dev with details, but here's the url:15:08
barryhttps://dev.launchpad.net/VersionThreeDotO/UI/Conversion#Heading%20rules15:09
intellectronicathanks15:09
barrylet's move on.  please read the email & wiki and respond to that thread with any feedback15:09
barry[TOPIC]  * On-call review responsiveness, [intellectronica]15:10
MootBotNew Topic:   * On-call review responsiveness, [intellectronica]15:10
intellectronicaon call reviews are wonderful, but i feel that sometimes people don't make the best use of them15:10
intellectronicaat best, on call reviews are an approximation of pair programming, not a queuing mechanism15:11
intellectronicait's hard to set any clear rules, because reviews are subject to variation in patch size and complexity, personal style, etc15:11
intellectronicabut i would just like to remind reviewers that there is a lot of value in having a very interactive reviews15:12
intellectronicaat the very least, it's important to communicate what the status of a review is15:12
danilosintellectronica: I think the main problem is that we are using them as queuing system as well; I can't come talk to an OCR person about something I just want to do since when I come back with the implementation, someone will be in the queue having their branch reviewed15:12
intellectronicaoccassionally ive had reviews where i didn't get a reply until after a few hours, or even a day later, and i think that's a shame15:12
abentleyintellectronica: There may be tension between wanting to capture everything in Code Review and doing it on IRC.15:13
intellectronicadanilos: in very busy times, that can be a problem, but in many cases, you can literally work on the changes together15:13
intellectronicadanilos: a really great way to ensure that is to do the review on the phone15:13
barryintellectronica: i agree that reviewers should let the dev know what's happening with their branch.  i try to follow up in irc with a "hey intellectronica, r=me" or whatever when i'm done, but maybe that's not enough15:13
bigjoolsthere is another problem - the OCR queue overrides the +active-reviews queue15:14
intellectronicaabentley: indeed, and for some patches a very thorough offline review is better than a very dynamic but potentially not exhaustive online review15:14
danilosbigjools: I think the idea is that people should do on-call reviews, so +active-reviews is a very last resort15:14
bigjoolsleave a branch in the latter and it can get left behind until much later15:14
abentleybigjools: Why is it a problem?  OCR is for interactive reviews.  A branch from a sleeping Australian shouldn't take precedence over someone who asked for a review in IRC.15:15
intellectronicayeah, i think of +activereviews as offline reviews, a different beast altogether15:15
danilosbigjools: well, if you don't want to be around for a review, then it will happen; otoh, you can go with an OCR through the branch together and it won't be left behind15:15
barrybigjools: it should always be possible to prod a reviewer into taking one of yours on +activereviews15:15
bigjoolsmy point is that often a branch will languish unless you get an OCR to look at it15:15
danilosbigjools: you seem to be saying that you don't like to use OCRs :P15:15
bigjoolshence the problem that intellectronica points out15:16
intellectronicabigjools: you could coordinate an offline review with a reviewer who isn't on call15:16
bigjoolssometimes an interactive review is totally inappropriate15:16
bigjoolsintellectronica: that's what I do15:16
intellectronicabigjools: absolutely, but i'm not talking about these cases15:17
bigjoolsI am just pointing out a possible reason for the behaviour you see15:17
barrybtw, asking questions and resolving issues on irc is a great way to do it.  very interactive and often, cuts down on needsfixing round trips.  just try to capture the conversation (in summary) on the review.  e.g. "you and i talked about your frobnification of baz, and you agreed on irc to frobnicate foo too"15:17
barryintellectronica: do you have any thoughts on improving the responsiveness, effectiveness, or throughput of reviews?15:18
intellectronicabarry: one thing that i take from this discussion, is that we should make the preference for an online review explicit15:19
abentleybigjools: I think that if there's a problem, it's that the OCR doesn't do +activereviews when the OCR queue is empty.15:19
barryintellectronica: instead of just taking a branch off the queue and disappearing for an hour or so?15:19
gary_posterI agree with abentley, and have been so guilty15:19
barryabentley: agreed.  let's make that explicit too15:19
intellectronicabarry: yes. i would go as far as say that the OCR's main responsibility is to do online reviews. if he has extra time, taking stuff off +activereviews is great, but these branches can also be scheduled for reviewing in other ways15:20
abentleygary_poster: I have also been so guilty.15:21
barryagreed.  i'll take an action item to communicate these two ideas to the team15:21
barry[ACTION] barry to communicate about +activereviews and doing on-line reviews15:21
MootBotACTION received:  barry to communicate about +activereviews and doing on-line reviews15:21
danilosI disagree with the concept that +activereviews should be the next resort, what happens when someone pops in and you are in the middle of the review?15:22
bigjoolsyou finish it15:22
danilosi.e. it's fine only if you should stop working on offline review, because people wanting to use OCR don't get the full benefit then15:22
barrydanilos: last resort.  i.e. when you have nothing else on the queue, there's an implicit off-line queue in +activereviews15:22
danilosbarry: yeah, but offline reviews are usually longer (I am not doing OCR anymore, but I remember spending over 2h on a complicated branch), and that means that there's no OCR for that time15:23
intellectronicadanilos: don't take an 800 lines branch for review from an author who is asleep if you're on call reviewer15:23
bigjoolsdanilos: citation needed ;)15:23
barrydanilos: channel your inner kiko and send a partial review.  do your ocr, then if you have time, follow up with the online review15:23
barryintellectronica: that too15:23
bigjoolsremember kiko's guide to reviewing ...15:24
barrybigjools: +115:24
danilosbarry: I am not worried as an OCR person (as I remember, I am not doing it anyway), but as an OCR customer15:24
bigjoolsI don't get nitpicky if it's a big branch15:24
barrydanilos: as on ocr customer, you should get preference over off-line reviews15:25
danilosbarry: that's exactly what I am saying, and that's exactly what I want communicated in the announcement: i.e. if someone pops up asking for OC review, drop work you've been doing on offline branch if at all possible (i.e. you are not halfway through or something)15:25
daniloss/offline branch/offline review/15:26
flacostei don't agree with that15:26
flacosteif you started a review, finish it15:26
flacostedon't interrupt for online review15:26
flacostenever interrupt work15:26
flacosteit leaves work-in-progress15:26
flacosteand that's bad15:26
danilosflacoste: I agree with that, but my point is, I want OCR to be OCR15:26
flacosteis it a problem15:26
barryflacoste: that's why i say, ask yourself WWKD15:27
danilosflacoste: if the only way to get that is to make people suffer before they understand why OCR is valuable, I'd be happy to do that15:27
barrydanilos: also, as deryck_ and i were discussing today, team leads are not official ocr's but they should be available to do reviews when the load gets too big for the ocr.  at least, i know sinzui and flacoste are almost always willing to jump in and help.15:27
bacWWKD about this discussion?15:27
barry:)15:27
flacostedidn't we have multiple OCR coverage15:27
gary_posterheh15:27
flacostethey can coordinate between them15:27
danilosbarry: I do reviews, and all I do I do OCR15:27
gary_posterdo be do be do?15:27
flacosteto make sure that one is available for interactive review15:27
noodles775On that note, thurs/euro is quite thin if anyone else is available.15:28
danilosflacoste: again, that's another requirement people have not been mentioning15:28
flacostei also think it's fine to say, i'll have time for an interactive review in x time15:28
flacostei need to finish this review15:28
barrydanilos: that is great. it really helps!15:28
abentleycommunication improves most problems.15:28
barrynoodles775: is not yourself and cprov on that slot?15:29
noodles775barry: cprov is no longer in Euro...15:29
* barry can't keep it all straight15:29
noodles775So he's around from about 2pm my time.15:29
danilosflacoste: I think our original idea behind OCRs was to have people you can sort of do pre-imp calls with as well... if developers have to break their workflow because there's noone to talk to, it's as bad as reviewers stopping to answer something else15:29
barryi guess we need to move cprov to thurs/west?15:29
flacostedanilos: i'm not sure we were successfull about the pre-impl with OCR15:30
danilosanyway, I'd say this: if there's sufficient OCR coverage for people asking for interactive reviews, please go for +activereviews15:30
abentleydanilos: It depends on the situation, but I usually want someone who knows the domain intimately for a pre-imp.15:30
flacosteand i've come to think that random pre-impl aren't that effective15:30
bigjoolsflacoste: I agree15:30
flacostebetter to have a pre-impl with somebody with some knowledge in the area15:31
danilosflacoste, abentley: I am only talking about rough "pre-imp"... sometimes you'd like to discuss a few things mid-implementation15:31
flacostei think it's fine not to put that responsability on OCR15:31
barryflacoste: agreed.  we've tried it enough that we should really re-think pre-imps and not keep trying what doesn't work15:31
flacostewell, pre-impl works if you do them15:32
danilosanyway, I am happy to try this out, but if I suddenly start seeing a lot more delay in getting reviews because people are working on branches from developers who weren't willing to spend their time to go through a branch together, I'd come back complaining :)15:32
flacostebut pre-impl is a separate topic15:32
flacostedanilos: sure, that is right15:32
intellectronicaflacoste: i guess that's a different subject, of how to optimize for collaborative work. it doesn't really have much to do with reviews per-se15:32
barryflacoste: right, but lots of branches don't pre-imp, or do mid-imps (which is okay with me).  so if people are often jumping into branches w/o pre-imps we should ask why that is and what problem we're trying to solve with a pre-imp15:33
barryflacoste: but yeah, this is off-topic and we're running out of time ;)15:33
danilossorry everyone for making this longer than everybody expected :)15:33
barrydanilos: yes, please do!15:33
barrythanks everybody for this excellent topic.  i think we can continue to discuss it but i'd like to move on now15:34
barry[TOPIC]  * cls.links should be a tuple, never a list (menu.py), [bigjools, barry]15:34
MootBotNew Topic:   * cls.links should be a tuple, never a list (menu.py), [bigjools, barry]15:34
barryseems so minor compared to the previous, but in a branch i reviewed for bigjools, i suggested that links = (...) is a better way to go than links = [...]15:35
barryclass attributes should not be mutable15:35
barrybut we've lots of established code that uses lists15:35
sinzuibarry: some do mutate. I was stung by that15:35
barrysinzui: right.  if you need an instance to override the class attribute, make a copy15:35
sinzuibarry: I advised tuples in documentation, but there are some subclasses trying to mutate I think15:35
danilosif some do, I'd go for the consistency over the minimal performance gains15:36
danilosor, if we can work them around like barry suggests, that's fine too15:36
barrydanilos: it's not about performance, it's about not getting bit by mutation15:36
barryso, i would suggest, always default to a tuple, and rs=me for any such changes in existing code15:36
barryif you /have/ to mutate in a subclass, make a copy15:36
barryand make the copy nonmutable15:37
barryif those rules don't work for a specific case, ping me and we'll try to figure something out15:37
barryany objections?15:37
sinzuiMenus have a lot of overlap. We are doing a lot of typing to make them work. I think we need a one-true-menu-design15:37
barrysinzui: indeed.  but that's a whole 'nuther tasty can of worms :)15:37
bacand after the migration will we change menu.py to enforce it, since it already makes a check for list or tuple?15:38
barrybac: yes, we should do that (and maybe add a deprecation warning for using lists)15:38
barry[ACTION] barry to update coding guidelines and look into deprecation warning in menu.py for using links = []15:38
MootBotACTION received:  barry to update coding guidelines and look into deprecation warning in menu.py for using links = []15:38
bigjools+1 for good error text if you use the wrong thing15:39
barrycprov: are you here?15:39
bigjoolshe's not around15:39
barry[TOPIC] cprov: are15:39
MootBotNew Topic:  cprov: are15:39
barryer15:39
barrybigjools: okay, the next three items are proposed by cprov, so i think we'll just carry those forward until next week15:40
bigjoolssounds good15:40
barrythat leaves 5 minutes for...15:40
barry[TOPIC] peanut gallery15:40
MootBotNew Topic:  peanut gallery15:40
bigjoolsmmm peanuts15:41
barryanything on your mind?  or if not, we can take up any previous discussion from today?15:41
henningejust saw that you were using "cls" for the class variable15:41
henningetaht is good15:41
barryhenninge: yep.  pep 815:41
henningeI have seen places where klass is still used15:41
henningejust mentioning15:41
barry(though i had misremembered it as class_ ;)15:41
abentleybarry: I actually thought intellectronica's topic was going to be about OCRs not giving priority to that activity and doing their own work instead.15:41
bigjoolswere they discriminating against KDE users? :)15:41
barryabentley: has that been a problem in practice?15:42
henningebigjools: no, against Germans15:42
henninge;)15:42
abentleybarry: Now and then.15:42
* sinzui incorporates pep8.py into his lint checker15:42
* sinzui removed pylint15:43
barryabentley: i think the ocr really has to make arrangements with another ocr if that's the case15:43
intellectronicaabentley: my advice is, be shameless. if you get bad service, complain. this shouldn't be a problem15:43
barryintellectronica: +115:43
abentleybarry, intellectronica: Okay.15:43
barrycool.  i think with 1 minute left, let's call it a day.  great discussions everyone.  and please feel free to bring issues up on the mlist or to me15:44
barry#endmeeting15:44
MootBotMeeting finished at 09:44.15:44
abentleybarry: Thanks.15:45
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== salgado is now known as salgado-afk

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