/srv/irclogs.ubuntu.com/2012/11/27/#juju-gui.txt

=== Makyo is now known as Makyo|out
benjiI can't find any general practitioners open yet.  I guess doctors don't like to get an early start.13:02
gary_posterheh, yeah, I find 9 AM is the magical starting time typically13:07
gary_posterfrankban, just approved "tests mutate/break uri" branch13:33
gary_postergood to land13:33
gary_posterthank you!13:33
frankbangary_poster: cool, thanks13:37
gary_posterwelcome.13:37
frankbangary_poster: hum... the merge is full of conflicts, do we now use "describe" inside "YUI(GlobalConfig).use..." in tests?13:42
gary_posterfrankban, ah :-( yes, we do that in some and we are due for a discussion about the pattern this Friday13:50
gary_posterI think it is the right change to make13:50
gary_posterbut we should talk about it13:50
gary_postermeanwhile, reconciling with the conflicts is the right practical thing to do I think13:50
frankbangary_poster: yes, I am going to do that. 13:51
gary_postercool13:52
gary_posterbcsaller, yo14:10
bcsallergary_poster: hey, want to talk through things at 9:30?14:22
gary_posterbcsaller, sounds good thanks14:22
frankbangary_poster: this may or may not be related, but test filtering (?grep=) does not seem to work with new style tests (those wrapped by YUI)14:33
gary_posterfrankban, :-(14:33
gary_posterfrankban, thank you for discovering and reporting that.  GO ahead with the merge now14:33
gary_posterWe might have to revert the overarching change after discussion14:34
gary_posterBUt that can be separate14:34
frankbangary_poster: landed14:43
gary_posterfrankban, yay thanks14:43
=== Makyo|out is now known as Makyo
bachi gary_poster, you have a minute?14:55
gary_posteron call bac.  will take awhile.  need something soon?14:55
bacgary_poster: just wanted to chat about approaches to charm panel testing14:56
gary_posterbac bcsaller benji frankban goodspud (?) hazmat jovan2 Makyo mattuk1972 (if you wanna?) teknico call in 215:58
gary_posterbcsaller, gonna have lunch then will check back in with you16:30
bcsallergary_poster: sounds good16:30
benjigary_poster: is there a way I can signal that I have done the UX review?  (artifact-wise, other than just telling the people involved)16:43
MakyoWindow guys are coming by today, I guess?  Out for just a few to get things ready for them...17:07
gary_posterbenji no.  I added my name as a tag after I did the review, but you already had your name there17:45
benjigary_poster: ok; for what it's worth, I have done my review17:45
gary_posterok thanks benji17:46
gary_posterbcsaller, you available at 1:00PM to continue?  1:30?17:46
bcsallergary_poster: lets say 1:3017:46
gary_postercool, talk to you then17:46
benjigary_poster: I have come to believe that bug 1078978 does not exist.  Have a moment to discuss?17:50
_mup_Bug #1078978: CSS is not minified in static deployment <juju-gui:Triaged> < https://launchpad.net/bugs/1078978 >17:50
gary_posterheh, sure benji17:50
gary_posterjuju-ui benji17:50
* benji drags himself off to the doctor's office.19:21
Makyogary_poster, good news: the serving-css-from-wrong-path seems to have been a problem with merging with trunk and a previous change causing strange behavior.  Should I just mark the bug as invalid?19:30
gary_posterMakyo, yes, cool and sorry you encountered that annoyance19:30
Makyogary_poster, Good that it was something so simple. 19:31
gary_posteragreed :-)19:31
benjiIs "You have big puss pockets." a compliment?20:40
bacbenji: depends on where they are20:41
benjilol20:41
bacbenji: are you likely to pull through?20:42
benjibac: it is touch and go, but the codine should improve things20:42
bacgary_poster, benji: either of you have time for a quick call?20:43
gary_posterbac, I can20:44
baccool20:44
benjibac: sure20:44
benjioh, Gary wins20:44
gary_posteryou have puss pockets.  I'm pretty sure those are like cooties20:44
bacgary_poster: normal hangouty place?20:45
gary_posterbac, yeah juju-ui20:45
benjiheh20:46
gary_posterbenji, I don't think that the bzr ignore approach will work for what Matt wants21:11
gary_posterCould be wrong21:11
gary_posterSorry s/Matt/Makyo21:11
benjihmm, I wonder if I misunderstood the intent of the branch21:11
* benji looks again21:11
gary_posterThis changes the watch function21:11
gary_posterwhich the debug server uses21:11
gary_posterto always keep generated files up to date21:12
gary_posterI think?21:12
gary_posteryeah21:12
benjioh, you're right21:12
gary_postercool21:13
benjiin that case my comment is a subset of the comment I want to make: i.e., the only things that should be watched are those that bzr knows about21:13
benjithat's the approach we take in the Makefile, and it is reasonable21:14
gary_posterthat sounds nice.  OTOH, changing that involves more work21:14
gary_posterI think this is a nice incremental improvement21:14
gary_posterThough maybe if I knew how to call out to shell from JS I'd feel differently ;-)21:14
benjirequire('child_process').exec('rm -rf /')21:16
benjioh, and there is a second argument that is a function that is called for each line of output generated by the subprocess21:17
benji(or something like that)21:17
gary_postercool21:18
gary_posterMakyo ^^^21:18
gary_posterthanks benji21:18
benjimy pleasure21:18
Makyobenji, gary_poster, with vim, there are 10 files total that the watcher sees: 3x 4913, 3x stylesheet.less~, 4x stylesheet.less.  The files are created/deleted/modified within a few milliseconds and node does something for each of them.  Given bzr's speed, I don't know how well that'd work, because by the time it got done checking whether the first 4913 file existed, the other two would've been created and removed, and ditto the backup~ fi21:22
Makyole.21:22
MakyoI don't know if the watcher queues the rest.21:22
benjiMakyo: interesting21:23
gary_posterspeed is an interesting question, fair enough21:23
MakyoI'm not quite sure how/when emacs' #stylesheet.less# works21:23
benjiit sounds like a file change should place the file name in a list of pending files and schedule a regeneration for a short time in the future (e.g., 1 second)21:24
gary_posterI'm not sure that is necessary21:24
benjiany more file changes will push the regeneration further out; when the alarm finally goes off we can consult bzr to see if any of the changed files are under its management, and if so, do the work21:25
MakyoI was originally thinking a whitelist would work, but then we'd have to update that list every time we add a new file...21:25
gary_posterbzr ls -V is not *that* slow21:25
gary_poster.064s for me21:25
benjiyeah, it may be an unneccesray optimization21:25
Makyogary_poster, true, and I suppose it will return false both if the file exists and is not under vc, and if the file doesn't exist.21:26
gary_posterit is not a matter of checking, I don't think Makyo . You'd use that to get your list of files21:26
Makyogary_poster, I see.21:26
gary_postermay not work well with fs.watch though...21:27
gary_posterlooking...21:27
benjiif speed is a problem, the first optimization would be to cache the results of "bzr ls -V" for, say, a second; that would eliminate several runs in the flurry-of-temp-files scenario21:27
gary_posterI think if we are really running into this, we should land what Makyo has as a nice improvement of the status quo and move on21:28
gary_posterMakyo, I was wrong that you would get your list of files that way, I think.  But I still suspect that shelling out to bzr ls would be fine21:29
benjiI'm a big fan of not letting the perfect be the enemy of the good.  I'm also somewhat fuzzy on where the line is between good and ok-but-will-hurt-you-in-the-future.21:29
gary_posterheh, fair enough21:30
MakyoI think that, in this case, the only future difficulty we'd have to worry about would be a different editor creating different files (and even then, it's on the editor's user whether or not they care enough - this was bugging me while debugging LESS)21:31
benjiMakyo: what is the failure mode?21:31
gary_posterThe bigger worry is that we are not including something in the compilation that should be included21:31
gary_posterthat would be surprising21:32
gary_posterbigger worry IMO21:32
benjiI also suspect the magic filename "4913" is likely to vary over time, neccesitating frequent upkeep.21:33
gary_posterMakyo, maybe a good way to do what we want here: https://lists.ubuntu.com/archives/bazaar/2008q3/047134.html21:33
Makyobenji, It's been in there since 2009, but yeah, I get that.  I can try gary_poster's suggestion, though, see how that works21:34
gary_postersame speed as ls, but more direct answer21:35
gary_posterbzr ls I mean21:35
gary_posterspeed is all in Python's VM I suspect21:35
gary_posterstartup cost21:35
benjiheh, if the file 4913 exists vim will then try to create a file named 5036, and keep adding 123 until it finds an unused file name21:36
gary_posterheh21:37
MakyoOoh, good catch, just found the source for that.21:37
MakyoOh, vim...must you be so coy? 9.921:38
benjiok, I'm getting dizzy now, probably from the codine; I'll (likely) see you guys tomorrow.21:42
gary_postergood luck benji.  feel better21:42
Makyogary_poster, I have it working with using bzr to check.  Like me to reproprose?22:04
Makyo-r22:04
gary_postersure Makyo 22:04
MakyoReproposed (will remove the commented out bit if we go down this path)22:25
gary_posterMakyo, Iapproved with some important changes22:45
gary_posterhave a good evening22:45
Makyogary_poster, thanks, you too22:45

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