/srv/irclogs.ubuntu.com/2014/08/19/#juju-gui.txt

rick_h__huwshimi: +1 to wht hatch said. Make the parent token deal with show/hide of the widget00:54
rick_h__huwshimi: also heads up, I added a card, there's supposed to be a 'more menu' on each unit on hover as well. 00:55
rick_h__huwshimi: I'm not sure how that works with this 'hover' thing though. it seems a bit messy00:55
rick_h__huwshimi: but the idea is that's how we expose the 'destroy unit' control for each unit in a machine/container.00:55
huwshimirick_h__: OK, np00:56
rick_h__huwshimi: also wanted to poke you about expenses01:16
huwshimirick_h__: Oh yes, thanks, I need to do that :)01:16
rick_h__:)01:18
hatchhuwshimi:  if you'd like I can take a look at what you've got so far01:41
huwshimihatch, rick_h__: So, if the click handler is on the machine view, how do I figure out what object to attach the more menu to? Just do a bunch of dom queries? The parent could be an unplaced unit, a machine token, a container token, a unit on a container token, a column header etc.02:40
huwshimiI guess on the dots icon I could attach a data-type="unplaced-unit" data-id='wordpress/0'02:42
hatchhuwshimi:  hey sorry I was outside02:45
hatchyep you're correct02:45
hatchthat information will go along for the ride with the click event so you'll have it all available in the handler02:45
huwshimiyuck02:46
huwshimiok :)02:46
hatchhuwshimi:  you can also query the parent02:46
hatche.currentTarget.ancestor('.token')02:46
hatchfor example02:46
hatchbut the former is much more performant02:46
hatchbecause you don't need to do any additional queries 02:46
huwshimihatch: That's true, but I'd have to run through a bunch of different DOM queries till it matched the correct type02:46
hatchthe tokens aren't all identical?02:47
huwshimi The parent could be an unplaced unit, a machine token, a container token, a unit on a container token, a column header etc02:47
huwshimiIt's not just tokens ^02:47
hatchright, but can't you tell what it is by querying the container of it? They don't all share a common class?02:47
huwshimiWhy would they?02:48
hatchin any effect the 'best' is to include the metadata on the element being clicked02:48
huwshimiyeah02:48
hatchit's not yuck, it's really the most performant way of doing it02:48
hatchat that point you can even instantiate the widget and render it all at once instead of instantiating when we render the machine view02:49
huwshimihatch: Well, it's going to require making sure we copy and paste the correct html all over the place02:49
huwshimi(can't even use a partial as we need to set the data attributes)02:50
hatchpartials can have fields02:50
hatchhandlebar properties that is02:50
huwshimiOh02:50
huwshimiLike a 'with foo=bar' kind of thing?02:51
hatchno just like normal handlebars templates02:51
hatchit would also be super easy to figure out if you forgot to add it to your respective template in the handler ` if (e.currentTarget.getAttribute('data-type') === '') { console.error('yo messed up dude'); }02:52
hatchhuwshimi:  http://yuilibrary.com/yui/docs/handlebars/#partials02:53
huwshimihatch: I guess on each view that will contain a more menu we could pass some standard attrs, 'more-menu-id' and 'more-menu-type' or something02:53
hatchI don't understand02:54
hatchthe ... will be rendered in the token02:55
hatchthe token knows what kind it is02:55
hatchand what it's id is02:55
hatchso it can pass that into it's template when it generates the ...02:55
huwshimihatch: Yes, but it's not always a token!02:55
hatchok so the only special case is the headers?02:56
huwshimino02:56
hatchwhat are the other areas where it needs to be shown that's not a token?02:57
huwshimiwell, there are three types of token to begin with02:58
hatchok that doesn't matter 02:58
hatcheach token will know what it is and what it's id is02:58
huwshimiI know, but what I'm saying is we need to pass parameters with standard names so the partial can use them02:59
huwshimiIt's not a problem, it's just something we have to do02:59
hatchoh right - but that can be within the token though02:59
hatchnothing special needs to be passed around02:59
hatchjust data it already has02:59
huwshimiI didn03:00
hatchthe header menus though could have individual listeners if that makes it easier03:00
hatchthere is only 2(3?) of them03:00
huwshimiI'm not talking about passing that around, I'm just saying when we render the html we have to set the params, that's all03:00
hatchohh right03:00
hatchwe keep a reference to the token collections in the MV, right?03:01
huwshimiyes03:02
huwshimiso a trivial lookup once you have all the data03:03
hatchexcellent03:03
rick_h__huwshimi: you can setup data on the init03:03
hatchrick_h__:  thought you'd be interested to know I'm looking at typescript for the gui...ooooooo...... :) I ran into some type related issues doing this stuff today, would have been nice if we had them defined03:05
hatch:)03:06
rick_h__want types, do Go :P03:06
huwshimirick_h__: Differently to have them set through data-id data-type?03:06
hatchrick_h__:  haha, go2js :D03:06
rick_h__huwshimi: sorry, was thinking that the widget is init from the View and it knows who it is. 03:06
huwshimiyeah :(03:07
rick_h__huwshimi: but sounds like you guys had a long chat about things03:07
huwshimi:)03:07
rick_h__I'd have each token deal with it's own responsbiilty myself (until we hit a scale issue)03:08
hatchI still think it should have a single menu which it just renders into the different spots so we only have to instantiate one :)03:08
rick_h__though I'm very nervous on all this 'hover' stuff03:08
rick_h__hatch: :(03:08
hatchbut I think I'm losing that battle lol03:08
rick_h__hatch: but now you've basically got a global03:08
* hatch hands out flyers 03:08
hatchwell in the mv, yes, but there will only ever be a single tooltip window open at once03:09
rick_h__hatch: I'm all for trying to cheat performance but I'm +1 on making it work in a clean way first and then optimize03:09
rick_h__hatch: yea, but the complexity of it having to know about all 'types' it could be/etc is just so messy to me03:09
* huwshimi has no idea what to do now :)03:10
rick_h__I'm going to talk with Luca about this hover stuff03:10
rick_h__I think that's going to be a disaster, click is the way to go03:10
hatchlol03:10
hatchhuwshimi:  do what you were already doing03:10
rick_h__just have to figure out something for units03:10
huwshimihatch: Except that you and rick have different opinions :)03:11
rick_h__huwshimi: sorry, don't mean to complicate this for you. 03:11
hatchI had already stepped down on my idea in favour of meeting in the middle on having 1M click event handlers 03:11
rick_h__heh, when we have the 1M machines/units we'll have other issues :P03:11
hatchlol03:12
rick_h__seriously though, we know how we'd optimize this stuff. It moves the same code up the stack one layer from token, to column, to MV itself. 03:12
rick_h__but each one gives us a trade off of debugging/complexity it seems to me03:12
hatchhuwshimi:  each token instantiates its own menu, one click handler for all ...'s, render the menu when the handler says so03:13
huwshimiOK, I'm going to abandon this for now and move onto something else03:13
rick_h__huwshimi: hatch call?03:13
rick_h__huwshimi: sorry, don't get frustrated with it :)03:13
hatch:) sorry huwshimi it was a discussion, didn't mean to change your mind03:13
rick_h__+103:13
hatchyou were doing the right way03:13
huwshimirick_h__: It's not a problem, I just don't want to keep re-coding it :)03:13
rick_h__this is just hatch and I going back/forth03:14
rick_h__huwshimi: understood03:14
rick_h__huwshimi: what are you implementing?03:14
huwshimirick_h__: I have not idea any more :)03:14
rick_h__huwshimi: I didn't make out the final decision in the back trace03:14
rick_h__https://plus.google.com/hangouts/_/gym44xuoo2zqrcqjpb2hdgfmhaa?authuser=103:14
huwshimirick_h__: Maybe I should leave it for today and tomorrow you and hatch can make a plan, and then I'll implement that03:14
hatchjoining03:15
hatchit was so nice and sunny there huwshimi03:23
hatchhaha03:23
huwshimi:)03:25
huwshimihatch: This is a webcam of the city: http://www.rosebay.tased.edu.au/webcam/medium.jpg03:26
huwshimihatch: Most of the snow has melted03:27
hatchhuwshimi:  you have green grass.....there was no snow03:27
hatchlol03:27
huwshimihatch: We really only have snow at the top of the mountain03:28
hatchand wow, maybe I'll move there, I bet the kiteboarding on that lake would be awesome03:28
hatchlake....ocean whichever :)03:29
huwshimithat's actually a river up from the sea :)03:29
hatchquite the river :)03:30
huwshimihatch: I live about the center of that shot03:31
huwshimiYou can kind of see my hosue03:32
hatchbetter watch out, come winter I may just show up at your house :D03:32
hatchI'll be on the news "some strange Canadian is going door to door asking for a huwshimi"03:32
huwshimi:)03:33
huwshimihatch: It's winter here now, about 12C03:33
hatch22 here now, but you can feel winter is coming in the mornings03:34
hatchthe crisp morning air is starting03:34
huwshimipleasant03:34
hatchyeah it's really nice, it's fly season though03:34
hatchbleh 03:34
hatchI think I prefer mosquitos 03:35
hatchmosquitoes 03:35
huwshimihatch: Are they mexican mosquitoes?03:37
hatchours are the size of your spiders....03:37
hatchlol03:37
hatchnot sure if that makes them mexican or not :)03:37
huwshimihatch: Every menu has a close-on-click-outside event, should I only attach this when the menu is opened and detached when it is closed?04:14
hatchhuwshimi:  yeah that would be best04:15
huwshimiok04:15
hatchhuwshimi:  since you're using widgets there is a bindUI method which you can call that you can use to attach your events, then you'll need to create an unBindUI method to do the opposite :)04:17
hatchit would normally be done on destroy but we aren't destroying them04:17
huwshimiyeah04:18
hatchhuwshimi:  I'm going to head out now, any q's or anything before I do?04:56
huwshimihatch: All good, Thanks for all your help!04:59
hatchnp, sorry to get you side tracked for a bit there :)04:59
hatchhave a good night04:59
hatchcya04:59
=== urulama-_ is now known as urulama
urulamafrankban: morning07:57
frankbanurulama: hi07:57
frankbanurulama: I replied to your last review comment, thanks for the review!07:57
urulamafrankban: the archive size is ok then. and URL.Reference is to be resolved on the API level?07:59
frankbanurulama: we expect the url to be already resolved at the time meta endpoints are invoked08:00
urulamafrankban: thought so, just checking. thanks for the PR.08:00
frankbanurulama: cool, landing it08:01
urulamafrankban: the /meta/bundles-containing is probably similar to this one08:02
urulamarogpeppe1: morning, sir :)08:03
rogpeppe1urulama: yo!08:03
frankbanurulama: yeah, it has some similarities, and I think it could live in relations.go as well08:03
urulamarogpeppe1: how was your extended weekend? 08:03
rogpeppe1frankban: hiya08:03
rogpeppe1urulama: very fine, thank you08:03
frankbanmorning rogpeppe1 08:03
urulamafrankban: exactly, i think it could go there as well08:04
frankbanurulama: cool08:04
rogpeppe1urulama: i'm in Whitby and there's a folk festival going on...08:04
urulamarogpeppe1: uuuuu, sounds nice! doing any performaces?08:04
rogpeppe1urulama: not really, a bit of playing for some sword dancers with one spot at the late night extra on friday night, but not too much08:05
urulamarogpeppe1: i would love to get a picture of that, if possible :) i'll tell my boy, he'll love it (huge Zelda game fan and fan of swords)08:06
rogpeppe1urulama: they're kinda strange swords08:06
rogpeppe1urulama: they've got a handle at each end08:07
* urulama automatically associates UK with knights (of the round table) :)08:07
rogpeppe1urulama: this kind of thing: https://www.youtube.com/watch?v=3WJKiMe-Czk08:08
urulamarogpeppe1: wow, so many hands!08:12
rogpeppe1urulama: it works well in small spaces - perfect for english pubs08:12
rogpeppe1urulama, frankban: i'm updating the charm API document to cover PUT to the bulk request endpoints08:14
urulamarogpeppe1: this one? PUT meta/$endpoint[$otherflags] 08:15
rogpeppe1urulama: yup08:15
rogpeppe1urulama: and the $id/any endpoint too08:16
urulamarogpeppe1: if we update meta enpoint, the revision should bump up automatically, right? 08:18
rogpeppe1urulama: my current thought is that is does not08:18
rogpeppe1urulama: i think the revision should pertain to the archive, not the metadata08:18
urulamarogpeppe1: but with changing the meta, one can change the interfaces that are required and exposed, which probably is a new version08:19
urulamarogpeppe1: or config08:19
rogpeppe1urulama: no, a PUT to the metadata cannot change any of the charm or bundle metadata08:19
rogpeppe1urulama: the only thing we're going to allow a PUT to, for the moment, is extra-info08:20
urulamarogpeppe1: aaaa, ok. then it makes sense08:20
rogpeppe1urulama: if you want to update the charm or bundle metadata, you will need to upload a new archive08:20
urulamajujugui: i'll be unavailable next hour as we have an induction session08:54
rogpeppe1urulama: ok08:54
frankbanrogpeppe1: for expand-id, I am not sure by reading the spec if we want to return a 404 in the case the given URL cannot be resolved09:04
rogpeppe1frankban: what do you think we should do?09:05
frankbanrogpeppe1: if we want to avoid changing the URL resolving in the router, then we can keep returning a 404. but we must change the second example in the spec09:06
frankban(wordpress-34)09:06
* rogpeppe1 looks09:06
frankbanrogpeppe1: if we return a 404, when you provide a fully qualified URL I'd expect that URL to be included in the results09:07
rogpeppe1frankban: interesting question09:07
rogpeppe1frankban: currently, that would work ok09:07
rogpeppe1frankban: as when the URL is fully specified, we don't make a round-trip to check that it's actually there09:08
frankbanrogpeppe1: yeah, so we have an inconsistency. precise/no-such-42 would return a 200-empty-list result, while just "no-such" a 404 not found error09:13
rogpeppe1frankban: i wonder if we should return a 404 for any expand-id request that expands to no ids09:15
frankbanrogpeppe1: one solution could be returning a 404 if the list is empty09:15
frankbanheh09:15
frankbanrogpeppe1: here is the result: https://github.com/juju/charmstore/pull/76 I need to be afk for a while, see you later09:40
rogpeppe1frankban: brilliant, thanks.09:40
rogpeppe1frankban: looking09:40
urulamarogpeppe1, frankban: wouldn't it make sense for expand-id on a fully qualified charm url to return 200 and the same url? why 404?09:46
urulamarogpeppe1, frankban: and for any "no-such-charm", either with series or without, would result in 40409:46
rogpeppe1urulama: what if the id is fully qualified, but there is no charm with that id?09:47
urulamarogpeppe1: what sense does it make to expand-id on an id that does not exist?09:48
urulamaget non-exitising-name should return 404, get non-exiting-name/expand-id as well09:49
rogpeppe1urulama: we need to define the API's behaviour in that case09:49
rogpeppe1urulama: so expand-id on a fully qualified charm url might return 404 when there are no results, right?09:49
urulamarogpeppe1: i would say so, because the ID itself in that url is not valid09:50
rogpeppe1urulama: ok. i think that was the plan, so i'm not quite sure what you're suggesting.09:50
urulamarogpeppe1: just jumping late into the conversation :) (and as i saw returning 200 on precise/no-such-42)09:52
rogpeppe1urulama: that was frankban talking about previous behaviour, i think.09:52
urulamarogpeppe1: regarding bson.M vs bson.D ... it is always better to use bson.M?09:54
rogpeppe1urulama: I always use bson.D except when I actually need the map-like capabilities of bson.M09:55
rogpeppe1urulama: creating a slice is cheaper than creating a map09:55
urulamarogpeppe1: ok, tnx, noted ;)09:55
rick_h__morning party people11:27
rick_h__urulama: rogpeppe1 but with extra-info can we update that sans-upload?11:28
rogpeppe1rick_h__: yes11:28
rick_h__urulama: rogpeppe1 we're looking at using that mechanism to update charms with test results, etc11:28
rick_h__ok cool 11:28
rogpeppe1rick_h__: that's the raison d'etre of extra-info11:29
rick_h__oh heh, needed to keep reading the history there you guys cover that :)11:29
frankbanrogpeppe1: should we use bson.D eve in the cases bson.M is more representative of the concept we are expressing? e.g. we need to map keys to values11:36
frankbanrogpeppe1: e.g. bson.M{"baseurl": id}11:36
rogpeppe1frankban: if bson.M is providing some actual program-construction value, then by all means use it.11:37
rogpeppe1frankban: but in general, bson.D is exactly equivalent in representation11:37
rogpeppe1frankban: it represents a mapping of keys to values just like bson.M does11:37
rogpeppe1frankban: but it's a little more efficient, so i prefer to use it, all other things being equal11:38
frankbanrogpeppe1: I read bson.M{"baseurl": id} slightly better than bson.D{{"baseurl", id}}, but perhaps it's just because I am used to express this kind of queries as a key/value, rather thank i[0]/i[1]11:40
rogpeppe1frankban: yeah, bson.M is cognitively closer to what we're trying to represent, but i don't think that means we have to use it.11:41
frankbanrogpeppe1: in this case the query is really easy to read anyway, so I'll just make the change for efficiancy11:41
rogpeppe1frankban: thanks11:41
frankbanefficiency even11:41
urulamarogpeppe1, frankban: would this apply to the PR75 as well? I guess bson.M and bson.D are properly used there, but maybe take another look11:43
* rogpeppe1 looks at PR7511:44
rogpeppe1frankban, urulama: yeah, i'd use bson.D there11:45
frankbanurulama: would you like to take a look at https://github.com/juju/charmstore/pull/76?11:55
rogpeppe1frankban, urulama: in a very quick-and-dirty benchmark, bson.D is about twice as quick as bson.M: http://paste.ubuntu.com/8088225/11:55
urulamafrankban: i think that you and rogpeppe1 already covered it, so, i think its +111:56
frankbanurulama: cool thanks11:56
frankbanrogpeppe1: I'd be interested in the meaning of "twice as quick" in the context of a full request/db query/response11:59
rogpeppe1frankban: sure, it's probably lost in the noiser11:59
rogpeppe1frankban: but it's nice to be efficient when there's no cost in doing so12:00
rogpeppe1s/noiser/noise/12:00
frankbanrogpeppe1: +1 except in the cases there is some other cost, like readability. but perhaps it's just me, perhaps I am just not used to things like "}}}}," ;-)12:01
rogpeppe1frankban: :-)12:02
rogpeppe1frankban: i don't think it's too bad.12:02
rick_h__frankban: can't you tell at a glance that's 5, no I mean 4 closing braces? :P12:03
frankbanheh12:04
rick_h__frankban: if you get some downtime, think you can help jrwren_ out and peek at his merge proposals on quickstart this week?12:04
rick_h__frankban: help clear out the slack stuff pending and might be good to see if it can land and make sure we get a final quickstart release for the cycle in the near future. 12:05
* urulama needs to grab some food12:07
* rick_h__ sends some leftovers to urulama 12:07
frankbanrick_h__: I remember I reviewed all those slack cards12:07
rick_h__frankban: oh did you? awesome, I'll maybe bug jrwren_ about them then. 12:08
urulamarick_h__: :D :D12:11
frankbanrick_h__: I did it before London. I did not receive other emails re those branches12:11
rick_h__frankban: ok, I was just looking at the board and figured it might be cool to move those forward. I'll check up on it thanks.12:11
frankbanrick_h__: thank you12:12
* rogpeppe1 grabs some lunch too12:13
jrwren_frankban: did you review them a second time? I've been delaying nagging you about them. I did address all 3.12:37
jrwren_but since rick_h__ is nagging for me, I should probably nag.12:38
jrwren_err, I mean asking ;]12:38
frankbanjrwren_: I reviewed them once, then did not receive any signal they are ready for re-review. If they are ready, I'll take another look at them asap12:39
jrwren_frankban: Yes, please do.12:39
frankbanjrwren_: ok12:39
rick_h__oh luca, o'buddy o'pal12:57
lucarick_h__: heya :)13:00
rick_h__luca: got time for a quick chat?13:01
lucarick_h__: in a meeting for the next 2 hours13:01
rick_h__I want to get your brain on it asap :)13:01
rick_h__luca: ok, if you get free ping me otherwise we can chat tomorrow13:01
lucarick_h__: will do13:02
rick_h__ty much13:02
jcsackettrick_h__: i see a bunch of cards in tracking for GUI, but they seem to be defects in our code (e.g we're not tracking another project) what's up with those?13:58
kadams54rick_h__: got a question for you when you have a moment.13:58
rick_h__jcsackett: I pulled them aside as I think they were worked on but not verified yet13:59
rick_h__jcsackett: working on the board, will update htem14:00
rick_h__kadams54: otp, will ping when off14:00
jcsackettrick_h__: so i can tell you the one for "dispatched urls" had some investigation done, but we concluded it's blocked until we release MV 1.0, so we're rid of the ghost inspector. happy to chat with you about details if you want.14:05
rick_h__jcsackett: ok cool, will move it back into the on deck14:06
rick_h__jcsackett: can you update the bug with any notes to help getting it started and the MV 1.0 reasons/etc?14:06
rick_h__kadams54: free, what's up?14:06
jcsackettrick_h__: sure.14:09
frankbanrick_h__, bac: I'd like your opinion on https://code.launchpad.net/~evarlast/juju-quickstart/which-juju/+merge/227238 . Do you have a minute to take a look? thanks14:18
rick_h__frankban: looking14:19
rick_h__frankban: oh hmm, interesting. *thinking*14:20
rick_h__frankban: jrwren_ so the issue is sudo $JUJU, so I'd just stop that. Don't allow it. It's an older scenario and we can say the feature isn't backwards compatible. 14:22
jrwren_frankban: I completely missed that first comment.14:22
rick_h__frankban: jrwren_ so if a user has $JUJU set and we need to 'sudo $JUJU' we output a warning and don't use it14:22
rick_h__frankban: jrwren_ bac thoughts?14:22
frankbanrick_h__: sounds reasonable, given we have a use case for this feature. use a compiled version of juju? I am still worried about point 2) in my comments14:25
rick_h__frankban: yea, I think with the call for testing and such we'll have to get past #2. For CI for instance, we'd easily use $JUJU=xxxx to test against upcoming Juju versions14:26
rick_h__frankban: I'd not shout the feature from the hill tops, but I think it makes sense to support it14:26
jrwren_I want the sudo feature for myself :)14:26
frankbanrick_h__, jrwren_, coll then +114:27
jrwren_I'd rather doc it with a giant warning or something.14:27
rick_h__jrwren_: what for? We don't need sudo in modern lxc, this will be released in utopic quickstart, not any earlier versions14:27
jrwren_rick_h__: quickstart local?14:27
jrwren_rick_h__: err, just bootstrap local.14:28
rick_h__jrwren_: yea, isn't the sudo requirement for local bootstrap gone?14:28
rick_h__well, at least quickstart doing it14:28
rick_h__juju deals with sudo now, we don't have to14:28
jrwren_rick_h__: oh, but I see. yes, that is the difference.14:28
jrwren_in that case I agree with all the concerns and I should update the PR.14:29
rick_h__jrwren_: ok, let me know if I'm off in my thinking. 14:29
rick_h__jrwren_: frankban ok, so we're +1 on ignore $JUJU on any sudo call paths, respecting it otherwise, and making sure we hide it from non-test users )14:30
rick_h__:)14:30
jrwren_rick_h__: No, I think the two points in frankban's initial comment are still important and shall be addressed.14:30
jrwren_rick_h__: s/No/Yes/ :)14:31
frankbanrick_h__, jrwren_: added a new comment summarizing this chat14:31
rick_h__ty frankban 14:31
rick_h__thanks for the updates jrwren_, sorry for the complication. 14:31
rick_h__and thanks for the good call/catch on sudo frankban!14:31
hatchI just used local yesterday and needed to enter my pw14:36
hatchon 1.20.114:36
jrwren_hatch: right. juju invoked sudo on your behalf. you didn't have to invoke juju with sudo, did you?14:37
hatchjrwren_:  no, but I did have to type my pw14:38
hatchso it still rquired sudo14:38
rick_h__hatch: yes, but it's not quickstart's issue so it's not an attack vector14:47
hatchevery time i see "attack vector" I think of a top down airplane game14:47
hatchpew pew14:47
rick_h__pew!14:47
frankban:-)14:48
frankbanjrwren_: https://code.launchpad.net/~evarlast/juju-quickstart/support-lxc-clone/+merge/227250 done14:49
jrwren_frankban: thanks!14:49
rick_h__jujugui call in 10, please update kanban14:49
lucarick_h__: I’m free for a call14:57
rick_h__luca: standup time14:57
rick_h__luca: can ping afterwards14:58
lucarick_h__: ok14:58
rick_h__jujugui call time in 214:58
rick_h__Makyo: kadams54 frankban ^14:59
rick_h__antdillon: ^14:59
kadams54joining14:59
rick_h__doh!15:13
rick_h__come on chrome, go go go15:13
rick_h__geeze, what's a guy have to do to run a meeting around here?15:15
urulamarick_h__: the FX are great :)15:15
rick_h__man, I wish I had a recording of how I sounded :P15:49
kadams54My inlaws had a problem with their landline phone awhile back. It would make them sound like a chipmunk, but only the person on the other end could hear it. It was also sporadic, so one minute you'd be having a normal conversation, the next, Alvin and the chipmunks.15:52
kadams54It was awesome.15:52
rick_h__hah15:52
jcsackettso, if we have a machine with the only uncommitted unit of an uncommitted service, and we delete that machine, should we just reset the unit as an unplaced unit, or should we clear the service?15:55
rick_h__jcsackett: I'd reset it as an unplaced unit15:56
rick_h__and then they can remove it from there if they like15:56
jcsackettrick_h__: ok, that was the way i was headed.15:56
frankbanjrwren_: reviewed the third branch, it looks good with minor changes, thank you16:09
hatchluca:  hey the svg rendering bug you reported - was the image you had stitched together? The only way I can reproduce it is if one icon straddles the bottom of the browser so that only part of it is rendered16:11
hatchso I can't get two icons to not render properly 16:12
lucahatch: I didn’t stitch them together, that just how they appear in the listing16:13
lucahatch: I’ll send you another pic of the same bug16:13
lucahatch: check you email16:14
hatchthx16:15
lucahatch: sent another too16:15
hatchwoah I haven't seen that one 16:15
lucahatch: it might show it a little better16:15
lucahatch: yeah, it all happened at the same time16:15
lucahatch: it started during the London sprint16:15
hatch*sigh* I've been researching chrome svg rendering bugs but I can't reproduce anything like this using any svg's that aren't ours16:15
jrwren_frankban: thanks again.16:15
hatchbut they also don't happen in any other browser....16:16
lucahatch: It seemed to happen when my browser updated16:16
lucahatch: and it can be consistently reproduced on other peoples browsers in the web team16:16
hatchluca:  yeah it's definitely a chrome bug, but nothing that matches this has been filed (and not subsequently fixed) and any other svg's but our icons don't exhibit the same problem16:18
lucahatch: ok16:19
lucahatch: so we can’t fix it?16:19
hatchluca it also seems to only happen with certain icons16:19
hatchthe wordpress icon for example is really bad, but the icon for ubuntu-repository-cache doesn't appear to exhibit the issue16:19
lucahatch: yeah, I couldn’t work out why it would effect some and not others16:19
hatchI'll put my notes in the bug and we can revisit, I'm guessing there is something wrong with how some of the svg's are created16:20
hatchand with how chrome's new rendering works16:20
lucahatch: the MySQL icon on the service block doesn’t respond the zoom, thats why it looks wrong16:20
lucahatch: sent you another img16:21
hatchodd I can't reproduce that one16:22
hatchluca can you add these images to the bug?16:22
lucasure16:23
hatchthanks, it's very odd, even in osx with the same version of chrome i can't reproduce what you see16:23
hatchI wonder if you have some extension which may be making it worse heh16:24
hatchoops, I ate too many nibs16:48
rick_h__hatch: I get it based on zoom levels sometimes. 16:49
rick_h__hatch: it's not an extension, it seems something in chrome/svg resizing or something16:49
hatchrick_h__:  right, I just can't reproduce the same issues so was just trying to find some reasoning behind that16:50
hatchyou'd think identical os's and browser versions would do the same thing haha16:50
rick_h__hatch: heh16:50
rick_h__I get it on linux in the dev edition16:50
hatchChrome in Ubuntu is such a mess16:50
rick_h__:)16:50
hatchwhen I drag a window it goes transparent16:50
urulamajujugui: have a nice evening17:00
hatchcya urulama17:00
hatchu 217:00
frankbanand you17:00
* rogpeppe1 is done for the day too.17:02
rogpeppe1g'night all17:02
rick_h__BradCrittenden: ?18:13
rick_h__BradCrittenden: I bailed out, going to get lunch. 18:14
BradCrittendenok18:14
=== BradCrittenden is now known as bac
rick_h__BradCrittenden: I think we should try to get some time with someone from #is18:14
bacrt18:14
rick_h__bac: I think you're right that the config and test fails, not sure if it ever passed tbh18:14
kadams54hatch: So… I need to query whether a radio button is selected. I know we *just* went through this a few months back, but I'm having a senior moment on the details.18:14
hatchkadams54:  you have to loop through each one18:15
hatchbecause phantomjs lameness18:15
bacrick_h__: in the bug i see tom has added: the application topology is apache2 -> squid -> haproxy -> charmworld-app18:15
kadams54hatch: Yeah, but it wasn't enough to check for the "checked" attribute because that doesn't change from what's set in the HTML.18:15
hatchkadams54:  not the attribute, the js property18:16
hatchinput.get('checked')18:16
kadams54Yeah, OK, that works…18:20
kadams54Seems like last time things weren't that clean, but for this case :-)18:20
* hatch hangs head18:21
hatchkadams54:  your modularization branch totally destroys my work from yesterday lol18:22
kadams54Yay!18:22
kadams54;-)18:22
kadams54What happened?18:22
hatchI rewrote the methods you moved18:22
hatchI just have to manually re-apply my commits18:23
hatchkadams54:  did you make any changes to these methods or just moved them?18:24
kadams54Just moved18:24
hatchphew18:24
hatch:)18:24
kadams54hatch: just did a diff to make sure. I made one change for readability: https://pastebin.canonical.com/115591/18:29
hatchahh ok thanks, well that space doesn't exist anymore :)18:30
hatchok taking lunch, I'll fix this later18:31
hatchbbl18:31
kadams54hatch: ping me when you're back.18:49
rick_h__bac: ok, that makes sense except that haproxy was exposed19:01
rick_h__bac: oh, but you exposed that right?19:01
bacrick_h__: yeah, i exposed haproxy myself which was a mistake19:05
rick_h__bac: gotcha19:11
rick_h__fabrice: !19:11
rick_h__fabrice: who let you around here :P19:11
fabriceit's public :)19:11
rick_h__fabrice: hey, you still coming over here the 15th right?19:11
fabriceyep !19:12
rick_h__urulama: isn't around right now but need to introduce you guys :)19:12
rick_h__fabrice: cool, you're the last one to join the party19:12
urulamarick_h__: i am :)19:12
rick_h__oh, he is 19:13
fabriceyes I wish I could joined early but french laws are a pain !19:13
rick_h__urulama: fabrice starts the 15 :P19:13
rick_h__fabrice: gotcha, all good. Nice to see you hanging around19:13
urulamafabrice: nice to meet you, and i understand you, i'm also from EU :)19:13
fabricewhere ?19:13
urulamafabrice: slovenia19:14
rick_h__heh, solvenia, france, UK, italy. The team's gone all internation19:14
rick_h__hatch: and canada don't count :P19:14
rick_h__international that is19:14
fabriceyou mean that american think Canada is a US state !19:15
rick_h__the 51st! we've just not claimed it yet19:15
rick_h__at least the good parts :P19:15
urulama:)19:15
rick_h__I hear toronto is kind of cool19:15
fabriceI lived there 3 years and it is 19:16
urulamafabrice: where in France do you live?19:18
fabriceFrench Riviera in Grasse 19:19
rick_h__man, france and italy. I need to get some wine shipments started from you and frankban :)19:19
rick_h__be the impartial comparison to see what is better!19:19
hatchrick_h__:  fabrice used to live in Canada :P so THERE!19:19
jrwren_as lone mercan in that group,I'm aiming for a good cowboy nickname.19:19
rick_h__hatch: he knew enough to get out!19:20
hatchrick_h__:  yeah and he sure didn't go south :P19:20
rick_h__jrwren_: I'm thinking something with john wayne in it19:20
jrwren_rick_h__: yee haw!19:20
hatchlol19:20
fabriceI really like Canadians really nice people19:20
hatchkadams54:  I'm back19:20
hatch*snicker* 19:20
fabriceurulama: Ljubljana?19:20
hatchthat can't be a real name19:21
urulamafabrice: close (as everything is close here), Novo mesto19:21
urulamahatch: it is, it's simple to say :)19:21
hatchurulama:  lol suuuuure19:21
fabricetell the name of your town :)19:21
rick_h__lol19:21
rick_h__here we go19:21
hatchSaskatoon Saskatchewan19:21
rick_h__he makes up this place19:22
hatchbahaha19:22
hatchlol19:22
rick_h__it's from a kids book, we're sure19:22
kadams54guihelp: what's the right way to trigger a nav event? I did some grepping but didn't find any obvious examples…19:23
hatchwhat's a nav event?19:23
hatchlike changeState?19:23
fabriceSaskatchewan vs Ljubljana who will win the pronounciation game ?19:23
hatchhaha19:23
kadams54In my card… clicking on "View machines" needs to navigate to the machine view panel.19:23
hatchyeah that's changeState19:24
hatchkadams54:  in the inspector there is a changeState call in the scale up to show the mv19:24
hatchlook there19:24
urulamafabrice: had to look up Grasse. I spent two weeks close, in the Sophia Antipolis Sciecnce Park, on a visit ... but was aaaages ago ... 19:24
hatchlooks beautiful there19:25
hatchI vote there for the next sprint in the summer :)19:25
fabricegreat idea !19:26
urulamahatch: remember, we had Lisbon, Budapest and Dublin, but ended up in Brussels. Don't suggest French riviera, we'll end up somewhere in Belarus :)19:26
fabricerick_h can take back some wine19:26
hatchurulama:  hahahaha19:26
kadams54Hmm, most of the changeState examples are setting stuff in sectionA… I'm guessing I need to set something for sectionB?19:27
rick_h__urulama: :/ you're making the idea of 2wks there hard to get my head around19:27
hatchkadams54: I wasn't kidding, it's right there :) https://github.com/juju/juju-gui/blob/develop/app/views/viewlets/scale-up.js#L15519:28
kadams54hatch: hah, OK, I found it just about the same time.19:28
kadams54Was temporarily put off by changeState stuff in service-inspector.js…19:28
kadams54Excellent, thanks19:28
hatchhttps://www.google.ca/maps/place/Grasse,+France/@43.523504,6.943188,3a,75y,90t/data=!3m5!1e2!3m3!1s7429787!2e1!3e10!4m2!3m1!1s0x12cc25fe3958edfb:0x117727988cf82e2d19:28
hatchit's a little far away from Grasse, but we should have our sprint right here19:29
hatchat this exact spot19:29
* hatch starts packing tent 19:29
kadams54As long as there's power and wifi.19:29
bacrick_h__: if you've got two weeks in brussels at least go to amsterdam for the weekend.  easy train ride.19:29
hatchkadams54:  who needs either of those, pen and paper - planning spring! ;)19:30
hatchsprint*19:30
urulamarick_h__: you sure it's two weeks and that the coding/lead stuff don't overlap?19:30
kadams54What's this about Brussels?19:30
kadams54Is that the October sprint?19:30
rick_h__urulama: so it's possible for me and maybe you it's two weeks, but TBD19:30
rick_h__kadams54: it's not 100% yet, but looking likely19:31
* urulama starts to shiver on the thought of being in Brussels for 14 days ... 19:31
rick_h__kadams54: working with 3 places to get space19:31
hatchurulama:  what's wrong with brussels?19:31
urulamahatch: you'll see :)19:31
rick_h__hatch: your branch up for review? Seems to have went boom?19:31
urulamahatch: or maybe you'll like it19:31
hatchrick_h__:  huge conflict with the code kyle landed19:32
hatchfixing now19:32
rick_h__hatch: cool lty19:32
urulamafabrice: anyway, happy that you'll join, fun times ahead19:32
kadams54I live my life according to HTCWJ…19:33
kadams54How To Conflict With Jeff19:33
fabriceurulama: Thanks ! I am quite eager now to start19:34
fabricefun is always better19:34
hatchkadams54:  it's clear you've been working with rick_h__ for too long then :P19:35
rick_h__I like to lead by example 19:35
hatchhahaha19:36
kadams54Michiganders have always had a… special… relationship with Canadians.19:36
hatchit's an 18h travel time for me to get to brussels .....oh boy19:36
hatchhopefully some better flights become available when it gets ironed out19:36
rick_h__hatch: time to get a tablet19:37
hatchrick_h__:  yeah - although Air Canada provides power plugs in their planes19:37
hatchso keeps the laptop all charged up19:37
fabriceBrussels is good I can speak French 19:37
hatchI speak enough French to introduce myself to everyone19:37
hatchthen walk away 19:38
hatchbecause that's all I have19:38
hatch:D19:38
hatchurulama: from a travel site """Wherever else you go in Belgium, allow at least a little time for BRUSSELS, which is undoubtedly one of Europe’s premier cities. Certainly, don’t let its unjustified reputation as a dull, faceless centre of EU bureaucracy deter you:"""19:39
hatchlol19:40
urulama:)19:40
urulamahatch: there are good sides of Brussels19:55
urulamahatch: this one http://deliriumcafe.be19:56
urulama:)19:56
fabricegood beer too !19:56
urulamajujugui: gn19:58
urulamafabrice: see you around, and on 15.9. latest :)19:58
=== urulama is now known as uru-afk
fabricehave a nice evening/night20:16
fabricettyt20:17
rick_h__jujugui I'm out. Have a good night all.20:35
hatchcya rick_h__ you too20:35
baclater rick_h__20:36
hatchjujugui they are working on the power again, and they said I will lose power soonish20:53
bachatch: don't you have a monster UPS?20:54
hatchjujugui I'll need two reviews for https://github.com/juju/juju-gui/pull/504 plz and thanks21:11
kadams54hatch: looking21:11
hatchthanks21:15
kadams54hatch: Oh this requires a real env. Sorry, my… um… keyboad is busted… yeah, that's it. Totally does not work.21:18
kadams54;-)21:19
hatchhaha21:21
hatchkadams54:  lxc env's are pretty fast21:21
kadams54Yeah…21:22
kadams54This will be less painful once I get around to setting up a dedicated Ubuntu desktop.21:22
kadams54But for now I have to run lxc within a VM21:22
kadams54Or go ec221:22
hatchso we r going to lose power again here so I'm just going to call it quits for a couple hours until these guys are done, I'll be back on later to pick up the hours21:26
hatchkadams54:  feel free to send me an email or just comment in the pr if you have any q's or anything21:27
kadams54OK21:27
kadams54Why are you losing power?21:27
hatchkadams54:  they are installing fiber into our neighbourhood21:28
hatchand the people drilled through all of the power lines when doing the directional drilling21:28
hatchso the power company is going bit by bit fixing them 21:28
kadams54Ah. This is what our area looks like right now: http://cl.ly/image/382F1E2v432O21:29
kadams54So I'm not sure if we're going to keep power either :-)21:29
hatchhaha21:29
hatchwell best of luck to you :)21:29
hatchbbl, cya21:30
=== mup_ is now known as mup
huwshimiMorning22:58

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