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

huwshimihatch__: I don't think so, I just have all sorts of apps floating around.00:00
hatch__oh heh00:00
hatch__well I'd probably pick that over the constant system error report dialogues00:00
=== hatch__ is now known as hatch
hatchthey are probably because of something apple hardware related heh00:01
rick_h_sorry, sent to huwshimi but meant hatch00:02
rick_h_hatch: what did you need to do? Just install the packages mentioned in the bug report?00:02
hatchrick_h_ I created a livecd using dd but didn't convert the iso, just used dd 00:03
hatchthen rebooted00:03
hatchin rEFInd I picked the usb option which has 'EFI' in the text that popped up00:03
hatchthen it installed and works.....almost.....like a charm00:03
hatch:)00:03
rick_h_hatch: from the mac iso?00:03
hatchI'll try and put together a blog post tonight, but it was really fast/simple00:04
hatchnope used the desktop one00:04
hatchthe kernel guys use the desktop one they said00:04
hatchI'm not really sure what the mac version does considering you can't dl the mac version except for as a daily00:04
huwshimihatch: it has a different boot setup, I think with modern macs you want the standard image00:05
hatchhuwshimi ahh ok00:06
hatchwell if it wasn't for these darn system errors....it doesn't even give me the ability to view the error00:06
hatchI'll have to figure out how to read these00:06
hatchit must store them somewhere00:06
hatchI'll also need to investigate multi touch00:08
hatchthree finger drag doesn't work00:08
hatchbut two finger scroll does00:08
hatchMOAR multitouchy00:08
hatch:)00:08
hatchrick_h_ more than 900 http://venturebeat.com/2014/04/03/microsoft-azure-portal/ :-)00:09
hatchhuwshimi are you running on metal or in a vm?00:10
hatchI thought you were on a vm00:10
huwshimihatch: Metal. Always have.00:11
hatchoh interesting - well you clearly know more than rick_h_  and I because we coudln't get it to run lol00:11
huwshimihatch: Well, I booted from a usb disk and clicked install.00:12
hatchlol ok yeah that didn't work for us haha00:12
hatchwell I'm just happy it works now, bugs and whatnot can be resolved00:14
hatchI mean, it's not even released yet hah00:14
huwshimihatch: This has been the smoothest upgrade experience for me in a long time.00:15
hatchyeah? That's good, this is an important release for us00:15
huwshimihatch: Not good you're having a bunch of issues two weeks out from release though00:17
hatchwell...I guess I give them some slack being that brand new apple hardware is probably a little finicky  00:18
rick_h_hatch: well I don't have the new dashboard yet I guess. 00:19
huwshimihatch: Oh, you got a new mbp then?00:20
hatchhuwshimi yeah late 2013 MBP 15"00:21
huwshimiNice!00:21
hatchI got all the options but stuck with the 500GB drive00:21
hatch$500 more for 1TB was not a good value proposition for me00:21
hatchhaha00:21
huwshimiyeah00:21
huwshimihatch: What's not working?00:22
hatchI switched back to OSX now, but it all appears to be working well00:22
hatchit feels a little laggy00:22
hatchthere is a system error for 'something' that keeps poping up every few minutes00:22
hatchand I need more multi touchies00:23
hatchbut other than that it seems to be working well00:23
hatchit can even handle the retina screen decently00:23
hatchoh and that shutdown bug00:24
hatchthe laggyness I'm guessing is a driver issue00:24
huwshimihatch: Could be worse.00:24
hatchoh yeah I'm not complaining00:24
hatchI am a little curious who to get in touch with to get a 'better' video driver if that is what's causing the laggyness00:25
hatchand just to be clear, we aren't talking laggy, just not as smooth as osx00:25
huwshimihatch: What driver are you currently using?00:30
hatchwhichever one came with it00:30
huwshimiIf you go to System Settings > Software & Updates > Additional Drivers tab, you can install a new driver.00:32
hatchoh I just assumed noone would have come out with one yet00:33
hatchI'll have to switch back and give it a go00:33
hatch:)00:33
huwshimikadams54: Not sure if it's just an old build that's just finished up, but it looks like a couple of lint errors in your branch.00:39
hatchnow the question is...which irc client to use00:43
huwshimihatch: Were there new drivers?00:45
hatchno idea00:45
hatchstill in osx land00:45
huwshimiAh00:45
hatchok switching00:45
kadams54*sigh* bit by the Selenium bug01:38
rick_h_kadams54: :(01:40
rick_h_huwshimi: do you use something to disable the trackpad when typing?01:51
huwshimirick_h_: Only the checkbox in the Mouse & Touchpad settings01:54
rick_h_huwshimi: k01:54
huwshimirick_h_: I don't have tap-to-click on though01:54
huwshimirick_h_: Only the physical press01:55
rick_h_ah01:55
huwshimirick_h_: I prefer the physical press01:57
rick_h_huwshimi: yea, I hate the force level of the click01:58
rick_h_I prefer physical buttons on my thinkpad 01:58
rick_h_I must have wimpy fingers and get annoyed with the click sounds too easily :)01:59
huwshimihaha01:59
rick_h_it is cool to finally have it working on metal though. installing all my normal deps02:00
rick_h_should be fun to try out my tiling window manager setup on here and see how it feels with a touchpad02:00
huwshimirick_h_: I just wish I could boot osx as a vm for safari testing.02:06
rick_h_huwshimi: yea, I think it's actually possible, but not legal02:06
rick_h_ugh, slow repos means installing takes for ever02:07
kadams54I dug into the Selenium failure more02:11
rick_h_kadams54: yea? we've had runs of this before but seemed selenium based. It's seeming to be an issue starting up the firefox selenium tests. 02:12
kadams54It's happening when Selenium gets an HTTP status code between 300  and 30402:12
kadams54When that happens, it triggers this line of code:02:12
kadams54return self._request('GET', resp.getheader('location'))02:12
kadams54It seems like our location header in the response is None02:13
rick_h_yea, it's a simple http server. So the question is why is it getting a 300/304? It loads an html file directly without redirect02:13
* rick_h_ ponders setting up apache on there to proxy these ports out to sauce02:14
kadams54http://0.0.0.0:8889/test/index.html02:17
kadams54Is that right?02:17
kadams54It's port 8888 locally02:18
rick_h_right02:18
rick_h_no, port 8888 is for the test run02:18
rick_h_and 8889 is for the merge run02:18
kadams54Ah02:18
rick_h_so the two jobs can test/merge different branches at once02:18
rick_h_lol, and then npm issue02:22
rick_h_kadams54's branch is not meant to land02:22
rick_h_CI doesn't like it02:22
kadams54:-b02:22
kadams54Hmm. 304's for me locally, which makes sense. The code is 300 <= statuscode < 304, so a 304 isn't going to trigger it.02:22
rick_h_oh hmm, well 302 is a redirect02:23
rick_h_which some things might throw, but I can't see what would do it02:23
rick_h_would have to track the network tab and see if anyone throws a 302 redirect for some reason02:23
kadams54Ah, yeah02:24
kadams54I was only looking at the initial request for index.html02:24
rick_h_yea, I wonder if something of the initial deps throws something that it doesn't care for02:24
kadams54Well in 3 minutes I'm heading to bed.02:29
rick_h_all good, thanks for poking at it some02:29
kadams54CI build success or not.02:29
rick_h_I should be taking my meds and heading to bed myself02:29
rick_h_kadams54: oh yea, it's well past EOD, please don't feel like you have to watch it02:29
kadams54Fret not. Catching up on my hulu queue on the big monitor ;-)02:30
bcsaller*602:35
hatchhuwshimi yeah so a bunch more bugs came up with one critical one that I haven't found a solution for ye02:41
hatcht02:41
rick_h_chrome is core dumping on me, still installing my base package suite02:44
rick_h_and done, time to link configs and reboot and hopefully be close to normal02:45
rick_h_other than the fn/ctrl keys and meta/alt keys both being backwards :/02:45
huwshimihatch: Oh, no good02:48
huwshimihatch: Did the sluggish go away?02:48
hatchhuwshimi well when I try to change any of the drivers and click save it just reverts to the old one02:48
huwshimi*ness02:48
huwshimihatch: Oh02:48
hatchso because of that i have no wifi02:48
rick_h_the only driver I could get was the broadcom one02:48
rick_h_there wasn't anything else02:48
hatchand there is no network control over VPN02:49
hatchother than...02:49
hatchrick_h_ you were able to select the broadcom one and it worked?02:50
hatchDid it enable wifi?02:50
rick_h_hatch: it seems to but I don't have permissions to edit the wifi02:50
rick_h_so had to change a group and need to reboot in a sec02:50
hatchI also found that unless I boot with the ethernet dongle in then I have no internet because there is no 'Network' control02:50
hatchhmm, seems like it's a little unstable still02:51
rick_h_yea, something in the hardware has to pick up the dongle on boot to expose it02:51
rick_h_ok, reboot time to see how well it all went02:51
rick_h_woot, on the wifi and working02:53
rick_h_will have to fix these keybindings doh02:54
hatchnice I'll have to look into the wifi stuff02:54
hatchit's odd that I couldn't change the driver02:54
rick_h_oh sucky, you can't remap the fn key as it's not exposed02:55
rick_h_$#@$@#02:55
rick_h_and chrome still seg's ugh02:56
hatchhmm02:56
hatchthere 'has' to be some way to remap the fn key02:56
hatchthis keyboard format has been around for so long someone must have written something :)02:57
rick_h_no, it's isolated at the hardware level02:58
rick_h_it doesn't even show up in xev02:58
rick_h_woot, meta/alt keys fixed03:09
rick_h_now just have to figure out how to deal without middle click03:09
hatchohh really? I swap it using software in OSX03:13
rick_h_hah, can't figure out how to paste the link into this terminal 03:15
rick_h_how the $#@$@# do people live without middle click?03:15
hatchright click?03:15
hatchlol03:15
hatchI have never used middle click03:15
rick_h_paste.ubuntu.com/7201599/03:15
rick_h_fixes my control, meta, and alt keys for me03:15
rick_h_well my terminal doesn't have copy/paste commands built into it03:16
rick_h_so you just always middle click into it03:16
rick_h_I could normally use shift-insert, but no insert key on this keyboard either03:17
hatchhmm the only key I actually want to change is the fn and control buttons03:17
rick_h_heh, and fn is hardware controlled and you can't change it03:18
rick_h_at least not with xmodmap or any normal mapping things I know of03:18
hatchyeah I'm just wondering why it can be done in software with windows and osx03:19
rick_h_oh maybe it can03:19
rick_h_I'm floored it doesn't register in xev, never seen that before03:20
hatchKeyRemap4MacBook is what I use to swap them in OSX03:20
hatchWindows can apparently use something called Sharp Keys03:21
hatchrick_h_ http://cyberdork33.wordpress.com/2008/11/04/swap-fn/ does this mean anything to you?03:23
rick_h_I would if I could open it03:24
rick_h_I can't middle click the link to auto open in a browser, and can't copy/paste it out lol03:24
hatchhaha aren't you using gnome-terminal?03:25
rick_h_nope, urxvt...03:25
rick_h_which is getting painful quick03:25
hatchahh-03:25
hatchI'm going ot miss iterm03:26
rick_h_I disagree lol03:26
rick_h_pos03:26
hatchoh right, it has a GUI for settings :P03:26
rick_h_right, this is what I was talking about03:27
rick_h_you can use this to force the hardware to send FnX by default vs the hardware keys for lights/volume/etc03:27
rick_h_but this does not swap the fn key with the ctrl next to it03:28
hatchohh hmm03:28
hatchhttp://askubuntu.com/questions/193529/how-to-swap-between-fn-and-ctrl-keys thinkpads say it's a bios option heh03:30
rick_h_yea, what I mean. It's more at a bios level03:32
rick_h_hardware that is03:32
rick_h_oh hell, can't scroll right with 2-finger scroll?03:32
hatchthat works for me03:32
rick_h_I can scroll up/down but not side to side03:33
hatchoh hmm I didn't try that03:34
hatchI'm back in OSX land right now03:34
rick_h_heh03:34
hatchwell now how the heck does the keyremap work in osx03:35
hatcheventType:keyMod          code:0x3f       name:Fn              flags:Fn                                 misc:characters:    KeyCode::FN03:36
hatcheventType:keyMod          code:0x3f       name:Fn              flags:                                   misc:characters:    KeyCode::FN03:36
hatchthat's what it says it's doing03:36
hatchhttp://www.nongnu.org/xbindkeys/xbindkeys.html03:38
hatchthat's what the keyremap4macbook author suggested03:41
hatchnot sure if it'll actually work though heh03:41
=== lazyPower-travel is now known as lazypower-conf
bacfrankban: i didn't need to but i re-reviewed your patch.  thanks for the changes.12:20
frankbanbac: thank you!12:20
bacfrankban: for your reading pleasure, here is the bug i filed regarding joyent and ssh keys:  bug 130256112:28
_mup_Bug #1302561: Joyent gives decode error on SSH key with passphrase <juju-core:New> <https://launchpad.net/bugs/1302561>12:28
frankbanbac: cool12:30
* frankban lunche12:46
frankban(s)12:46
=== tvan-afk is now known as tvansteenburgh
luca___rick_h_: showed mark the demo’s, he said it looks great :)14:17
rick_h_luca___: woot woot14:17
luca___:)14:17
hatchparty...on14:20
hatchrick_h_ did you get a chance last night to give http://www.nongnu.org/xbindkeys/xbindkeys.html a go?14:27
hatchit looks like it might work using the 0x3f code from KR4MB14:27
rick_h_luca___: we're working on the machine view and the representation of the unit, machine, and container in each column14:28
rick_h_luca___: so if there's an update from spencers folder of shots we could use that asap14:28
luca___rick_h_: the latest can be seen here: https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu14:28
rick_h_kadams54: ^14:29
luca___rick_h_: I’m in a wrap up meeting at the moment14:29
rick_h_luca___: rgr, have fun14:29
luca___rick_h_: but Spencer should be free for a call if to talk you through them14:29
rick_h_luca___: all good, it'll be an initial stab that's not fully functional so just want to make sure we're closer vs farther14:29
luca___ah ok14:30
luca___rick_h_: I’ll move the images over to the gdrive and share the link with everyone14:30
rick_h_kadams54: so from that, #13 - #18 are the keys to what you're working on14:30
rick_h_kadams54: and we should chat, because I'd like to work together on these toksn to share common bits and follow a bit of the charm token pattern we used before that worked well14:30
hatch:'(14:31
kadams54Yeah, will definitely need pre-impl chat for this14:31
rick_h_hatch: why the :'(?14:33
rick_h_serious, the charm tokens are some of the most reusable, no problems to us, code in the codebase14:33
rick_h_what possible complaint can you have on it?14:33
rick_h_kadams54: look through the shots. I'll head back to the house from the coffee shop here and we can chat pre-stand up14:34
hatchjuuuuuuust jokin14:35
hatchmy only 'issue' with them is that they should be views14:36
hatchbut that's just because I don't really know where widgets fit into the ecosystem anymore14:37
luca___rick_h_: I shared the MV with juju-gui-list….is that ok?14:38
hatchthe other option is to just use a template rendering....I'm not sure there is any 'contained' funcitonality with the machine tokens14:38
hatchI could be wrong though14:38
hatchwell too late now :P14:38
hatch^ luca___  lol14:38
luca___hatch: yeah but I can’t remember if that just shared mv with people outside of the company....14:39
hatchohh that I'm not sure about14:39
hatchis there no way to see inside the groups?14:40
luca___I think it’s private14:42
luca___hatch: if you click the “mailing list” link at the bottom of the email it takes you here:14:42
luca___hatch: https://launchpad.net/~juju-gui-peeps14:42
hatchyeah that's private14:42
hatchwas....14:42
hatchlol14:42
hatchoh man.....friday14:43
jcsacketthatch: don't you *dare* shit talk the tokens. :)14:43
hatchlol14:44
hatchhmm the machine view tokens need to be draggable, better make them views14:44
rick_h_luca___: sure thing14:44
rick_h_luca___: you used peeps?14:45
luca___rick_h_: juju-gui-peeps@lists.launchpad.net14:45
rick_h_hatch: please join in the call then if you've got architecture ideas14:45
rick_h_luca___: that's private and cool14:45
luca___rick_h_: nice, had a mini heart attack14:45
hatchrick_h_ linky?14:45
hatchluca___ haha I hate it when that happens14:45
rick_h_kadams54: can you setup a link please?14:46
kadams54Yup14:46
hatchthis almond milk is vile14:46
luca___yeah, hatch14:46
luca___don’t you date bad mouth tokens!14:46
hatch#lifestylechange14:46
hatchhaha14:47
kadams54rick_h_: https://plus.google.com/hangouts/_/7acpinhuclebv09kb1or515ac414:47
rick_h_hatch: ^14:48
hatchhmm14:48
hatchkadams54 it says I'm not allowed to join14:49
rick_h_hatch: connect from canonical account14:49
rick_h_use a private browser tab if required14:49
hatchahh ok14:49
rick_h_jujugui call in 5 kanban please14:55
rick_h_jujugui call now15:01
frankbanrick_h_: we are in https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso15:02
hatch__Makyo so how is your coffeescript coming? Are you finding that you're actually more productive with it?15:18
Makyohatch, yeah, I'm liking it.  It feels more expressive.  There's a quirk with order of operations with regards to parens which took some getting used to, but that's about it. Once I started thinking of it as a compiled language, it made sense.15:19
=== hatch__ is now known as hatch
hatchinnnteresting15:21
MakyoIt's like working with Java in a way (the concept, not the language).  You write something that compiles down to very succinct byte code.15:22
hatchwhat is this order of operations thing?15:25
hatchmy google fu is failing me15:25
MakyoParens are optional for function calls, so you can do foo bar, baz and it calls foo with bar and baz as arguments.  But if you have foo(bar(a, b), baz) and try to do foo bar a, b, baz, that reduces to foo(bar(a), b, baz), so if you have function calls as arguments, it's best to just use parens.  It's a language design thing.  Sometimes it's good (I'm looking at you, d3 chaining), but sometimes it increases confusion rather than increasing15:28
Makyo readability.15:28
hatchahhh yeah that would be a tough bug to find too15:33
hatchrick_h_ is ~charmers/precise/mysql-9 supposed to work the same as precise/mysql-9 ?15:40
hatchat the moment it just gives an empty details tab15:40
rick_h_hatch: depends, it may/may not be the same charm15:40
hatchoh I thought that for it to be promoted it had to be charmers15:40
rick_h_http://bazaar.launchpad.net/~charmers/charms/precise/mysql/trunk/files yea it should because it is a ~charmers branch15:41
rick_h_hatch: it's not always true, see the juju-gui promulgated charm15:41
rick_h_hatch: the ~charmers rule is ONLY always true for bundles15:41
hatchoh ok so it's a bug in....charmworld? 15:42
hatchhttps://manage.jujucharms.com/api/3/charm/~charmers/precise/mysql-38 404s15:42
rick_h_hatch: yea, so bug we dont' see much because we intentionally drop the user for promulgated charms15:43
rick_h_hatch: feel free to file on charmworld15:43
hatchI'm just trying to figure out if I should parse ~charmers out of the url in the GUI15:43
rick_h_no, if it's specified by the user then it should be there15:44
rick_h_however, internals might do that when generating links using logic15:44
hatchok sounds good, I'll file the charmworld bug then15:44
MakyoWoo plumbers15:44
rick_h_so links to a promulgated bundles might generate a link without it, but if a user enters it, it's valid15:44
rick_h_Makyo: lol15:44
hatchyay plumbers!15:45
hatchkadams54 wrong G+ account :)15:52
hatchthat was my work one15:52
MakyoThis is gonna be ugly.  Oh well.  At least we'll have it fixed.16:10
rick_h_Makyo: heh, heavy machinery leaves marks 16:10
MakyoYep.16:10
MakyoAlso having to run the line in along the ceiling to avoid having to either bore through or tear up the concrete pad.16:11
MakyoUnforunately, the studs run the wrong way, so that means outside the drywall.16:11
rick_h_Makyo: can you confirm for me which browser returned "" and which one was null?16:12
hatchman we have a lot of urls16:12
rick_h_Makyo: re: the friday talk for a blog post on it16:12
rick_h_hatch: more coming16:12
Makyorick_h_, firefox was null, chrome was ""16:12
rick_h_Makyo: ty16:13
bachey jcastro, i'm investigating the discrepancy between your bundles on m.j.c (http://manage.jujucharms.com/search?search_text=bundle%3A+jorge&op=) and on staging (http://staging.jujucharms.com/search?search_text=bundle%3A+jorge&op=)16:15
bacjcastro: i assumed the extras on staging were 'stale' ones, removed from launchpad, that were not deleted from staging, but that does not seem to be the case.  any insight?16:15
rick_h_jujugui off to dr biab16:21
kadams54Makyo, hatch: Just catching up on the coffeescript discussion. We started to write our tests in it on my last job.16:21
kadams54Things got much easier once our resident coffeescript expert told me, "Oh yeah, it's kinda of an unwritten convention to just be explicit about parens"16:22
kadams54That was the most confusing thing for me: just because Coffeescript allows certain syntactical laziness/shortcuts doesn't mean you should actually use them.16:22
hatchso they fixed some javascript oddities and created new ones for kicks16:22
hatchlol16:22
kadams54I think everything works out once you get a handle on the conventions16:23
kadams54I just wish the language had more balls to be opinionated16:23
hatchI figure it's going to go away come ES6/716:23
rick_h_<3 python and pep8 pep257, etc16:23
kadams54Yup16:24
kadams54If you just use the syntax conventions of python, you'll be fine16:24
kadams54Except for the whole underscore vs. camelcase thing16:24
kadams54DON'T DO THAT IN COFFEESCRIPT!16:24
kadams54;-)16:24
hatchlol what?16:24
kadams54var my_variable_is_cool16:25
kadams54Instead of:16:25
kadams54var myVariableIsCool16:25
kadams54I told rick_h_ you can always spot python devs writing JS code16:25
hatchyep16:25
hatchwe had many discussions about that when rick_h_ started on the team16:25
hatchhaha16:25
hatchcamelCaseForTheWin!16:25
kadams54I don't think one is inherently better than the other16:26
kadams54I just hate mixing16:26
kadams54And camelcase is standard in the JS world16:26
hatchyeah it is16:27
hatchsomeone did a study once that proved that snake case was better16:27
hatchI think if I'm going to use vim I'll need to remap caps lock to escape16:30
hatchswitching modes sucks so much reading for escape all the tiome16:30
hatchok we have about 50 different url formats....I think16:33
hatchI might have missed some16:33
kadams54?16:34
hatchkadams54 which one?16:36
hatchI made two statements :)16:36
kadams5450 different URL formats… not sure what you mean by that.16:36
hatchohh like /bundle/hadoop/3/demo16:36
hatch /bundle/hadoop/demo16:36
hatch...16:36
hatchit wouldn't be as bad if we dropped support for old urls heh16:37
hatchbut that's not a good idea16:37
kadams54Ah16:37
MakyoOnly took them 10 minutes to knock out the internet.  Record time.16:40
Makyojujugui going to conserve data from tethering and run offline; still have charmworld set up.  Will have phone if you need me.16:50
hatchlol16:50
hatchcya16:50
MakyoWell, no Internet until Tuesday, so no sense in conserving.17:31
MakyoWill have to work from the coffee shop Monday anyway.17:32
hatchdid they put a backhoe through the phone line or something?17:34
frankbanguihelp: I need two reviews + QA for https://codereview.appspot.com/84630043 (python/quickstart). Some QA steps need compiling the juju-core 1.18 branch. Anyone available?17:51
frankbanthanks a lot and have a great weekend!17:51
Makyohatch, yeah17:51
bacfrankban: i can do qa, since i have everything in place from yesterday17:51
frankbanbac: yeah it would be great, thanks17:52
bacjcastro: did you see my question here about an hour ago?18:19
jcastrobac, been slammed one sec18:20
bacjcastro: no rush, just would like five minutes of your time today, whenever18:20
jcastronow is the time!18:20
jcastrook so I keep a bunch of bundles in ~jorge18:20
jcastrobut all the ones that are important got promoted to ~charmers18:21
BradCrittendenjcastro: yeah, but staging and m.j.c show different ones for ~jorge.  so i'm trying to figure out why the difference.  my theory about you deleting them off LP is wrong.18:29
BradCrittenden(sorry, i lost connectivity)18:30
jcastroI have no clue why they are different, heh18:30
jcastromaybe some of them pass proof but some don't?18:31
hatchrick_h_ when you return, in your experience did the router parse hashes for you?18:32
BradCrittendenjcastro: thanks.  i'll keep looking18:32
=== BradCrittenden is now known as bac
rick_h_hatch: yea we had to update it to do that18:51
hatchrick_h_ alright I didn't think it did it by default18:52
hatchthx18:52
rick_h_hatch: map jj to esc18:53
rick_h_" Maps for jj to act as Esc18:53
rick_h_ino jj <esc>18:53
rick_h_cno jj <c-c>18:53
jcastroCharm school at the top of the hour, The topic is Juju Plugins:  http://ubuntuonair.com, we'll be taking questions in #juju18:53
hatchinteresting....why jj vs caps?18:53
rick_h_hatch: because caps lock is ctrl18:54
rick_h_hatch: and because jj is on home row18:54
rick_h_and almost never used in real typiung18:54
rick_h_typing18:54
rick_h_so your hands stay where they already are18:54
hatchahh ok that makes sense18:54
kadams54rick_h_: Looking through the Token class, I see some stuff that's charm-specific19:52
kadams54_charmIconSetter, utils.determineEntityDataType(cfg) === 'charm', charmIcons attr, etc.19:53
kadams54Wondering if the first task should be to refactor Token into something more generic19:55
hatchkadams54 imho they are a little too different that the shared parts would be minimal19:58
hatchit might be pre optimization 19:59
kadams54I can understand that for machines, but deployed units (my card) are basically charms attached to a container/machine, right?20:06
hatchhmm those are the ones in the first of the three columns in the machine view?20:07
hatchthose will need to be expanded to create new machines and whatnot20:08
hatchso much more complex than the charm tokens20:08
kadams54The first column is undeployed units20:08
hatchohh20:08
hatchhmm lemme take a look at the design again20:08
kadams54The third column is containers and the units deployed within them20:08
kadams54i.e., charms that have been deployed to a specific machine and/or container20:09
rick_h_kadams54: no, the token is used here20:10
rick_h_just the general idea as a model20:10
rick_h_kadams54: no, because unit tokens will have these mix ins for the constraints, machine selector, etc20:10
rick_h_I think it's a totally different thing than the charm token which is static, never updates, no new metadata/data entry on it20:10
hatchyeah any shared functionality will be minimal20:11
kadams54OK. I started off coding up a DeployedUnit class that was based conceptually on Token20:11
kadams54Then started to reconsider20:11
rick_h_kadams54: and tokens are currently charms/bundles and you'll have many unit tokens for a given service20:11
kadams54But sounds like I was on the right track…20:11
rick_h_kadams54: and tokens are widgets and we want to try to use views as they'll give us a nicer event design for this20:11
rick_h_kadams54: there's still to look at, getting the right icon, etc20:11
rick_h_but the interactions and such will be vastly different and more complicated with one only 'size' or version to be drawn vs many for charm tokens20:12
kadams54Yeah, I've spent most of the afternoon perusing through View and Widget docs, as well as watching that Luke Smith presentation20:12
rick_h_did that presentation help some?20:12
rick_h_as far as designing YUI classes and structure20:12
kadams54Yes20:13
hatchrick_h_ if you have an inspector open with charm details and you have the relations tab selected AND the code tab selected in the details20:17
hatchthat's two hashes20:17
hatchdo we maybe drop the idea of using hashes20:18
hatchbecause they aren't scalable with the multi url story20:18
rick_h_hatch: no, we have to have only one hash, so I don't think we support hashes for tabs in the inspector20:27
rick_h_hatch: I dont know that the case of tabs in the inspector are as strong a user story20:28
rick_h_I can see wanting to show you the code or readme of a charm20:28
rick_h_the config tab on a service? there's the config tab in the details. 20:28
rick_h_hatch: so I think we keep the existing functionality, wrap it into service details, and skip it on the inspector, what do you think?20:29
hatchyeah that's fine - thinking a little further ahead, are there other instances where we would have the charm details open and something else which would require a hash?20:29
rick_h_on top of that, it's not something we've supported to date and I don't recall seeing any feature requests for it so far. 20:29
hatchthinking of when they have the charm details in the 'sidebar' view20:29
rick_h_hatch: yea, we'll have to look into that at that time20:30
hatchok dumb hash parsing it is!20:30
hatch*phew*20:30
rick_h_yea, if we can support something now that we didn't support before I'm +1 (like charm details tabs and service details tabs)20:31
rick_h_but not going to break out back trying to support all things20:31
rick_h_ /out/our20:31
rick_h_obviously let me know if you find a case where you disagree and we can look into it more20:32
hatchyeah I can't think of any beyond the one I mentioned first...but if we drop the inspector hashes then all's good20:32
rick_h_hatch: how goes it overall? 20:32
hatchgood good I'm just trying to write a thing for router to return a request object form a url string20:33
rick_h_going to EOD soon, dinner with folks tonight, so let me know if you want to have any chat/etc before the weekend hits20:33
rick_h_hatch: can we just use the YUI router code to do that for us? Something already takes the url to req, resp, next20:34
rick_h_and we're just messing with the req part20:34
hatchyou'd think! Nick wrote a method for an old version of YUI that I'm going to repurpose - it still requires the router but the router doesn't have a good access point for that20:34
hatchit builds the url all over the darn place20:34
rick_h_ah, sucky20:34
rick_h_well I could hope :)20:34
hatchit has one nice method _getRequest()20:35
hatchwhich unfortunately requires something totally different passed in than a url20:35
hatchheh20:35
rick_h_well yea, I mean it's just got to be close as the route thing isn't parsing a ton, just the few routes20:35
rick_h_so easy enough to hardcode 20:35
hatchyeah I have about 50 routes20:36
hatchonce this is done it'll make testing them super easy20:36
rick_h_but the router bit isn't parsing those, the new code will. Mocking YUI router is just the three?20:36
rick_h_or am I misunderstanding? the complicated code handling 50 combinations is in the state.loadRequest right?20:36
hatchthe parseUrl method that I made takes a request object. I need to get from the url to the request object20:36
rick_h_right, the request object will be one of 3 routes (ok, with a querystring or hash on it?)20:37
rick_h_it seems it should be a huge subset of the 5020:37
hatchright, but right now you add a url and a state object to a 'urls' object in the test and it runs through them all20:38
hatchsuper easy to add/remove/modify the tests then20:38
rick_h_right, but I'm worried the parsing code is going in the wrong place at the moment. 20:38
rick_h_because it's doing more than YUI will do when you put it in place20:38
hatchnope the parseUrl takes the request object from the router20:38
hatchI just need to get to that request object from the url in the tests20:39
rick_h_hatch: call? 20:39
hatchyeah sure20:39
hatchhttps://plus.google.com/hangouts/_/76cpir8rpegm2m1llno864gvog?hl=en20:39
rick_h_jujugui have a great weekend all. I'm out20:46
bacyou too rick_h_20:47
kadams54seeya21:12
bacjujugui: frankban still needs one more review.  i've done the qa.  https://codereview.appspot.com/84630043/21:19
bachave a nice weekend21:19

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