/srv/irclogs.ubuntu.com/2013/02/12/#juju-gui.txt

=== Makyo is now known as Makyo|out
benjigary_poster: I would like to verify that the loading message branch is doing the right things.  We can have a call to discuss if you want.13:22
gary_posterbenji, I was trying to reply.  I had a security breach in my accounts yesterday, which made me actually start to use LastPass, which is slowing me down a bit as I try to understand it.  All I wrote was this:13:23
gary_posterapp/index.html:62: Trying to connect to the Juju environment.</span>13:24
gary_posterInitially this is about loading JS.  It's only about connecting once the app has13:24
gary_posterstarted.  The login shouldn't show until we've connected.13:24
gary_posterDoes that make sense?  Happy to call.13:24
benjigary_poster: I think I took that wording from the UI mockup.  I'm happy to change it.  How about "Loading the Juju GUI."?13:25
gary_poster+1 benji.  We can then use moxckup's wording once we are connecting13:26
benjigary_poster: I don't undestand that bit.  Should there be another box that pops up with a connecting message?  13:26
gary_posterbenji, I suggest changing text13:27
bacgary_poster: -1 on breach.  +1 on lastpass though!13:27
gary_poster:-) yeah13:27
benjiyeah, sorry to hear that; I hope it has been easy to clean up13:27
gary_posterso far not bad.  Takes time to get everything back using the new passwords, and I have so many google passwords, and so many places they are remembered that it is the most annoying bit13:28
benjigary_poster: by the way, I found a spinner generator and made a spinner that looks like the one in the mockup... <wink> <wink>, <nod> <nod>13:29
gary_posterbenji, heh, was that the one in the branch and I should have actually looked at it?  was about to do that when I went down a LastPass rabbit hole13:29
gary_posterwill look13:29
benjiyep, it's in there13:30
benjiI need coffee.  I'll be back in a sec.13:30
gary_posterbenji, spinner is not like js.  spinner js is also 1/6 the K weight if gif13:38
gary_posterof13:38
gary_posterbenji, also, in non-chrome browsers, should only show spinner message once "your browser is not supported" message has been clicked13:39
bacgary_poster: i could not reproduce that routing bug so i'm glad to see your comment on it.  i've marked it invalid.13:43
benjigary_poster: good info, thanks13:43
gary_posterthanks bac, benji13:43
bacgary_poster: preferences on next card i should grab?13:47
gary_posterbac, if you don't have a Go Juju dev environment, that would be good to make.  Otherwise I like bug 111788813:48
gary_posteror bug 111941213:49
hatchgood morning13:49
gary_postermorning hatch13:49
gary_posterdid you start that styling bug you mentioned or did it end up being a rabbit hole?  13:49
gary_posteryo _mup_.  You going to translate those bug numbers?13:50
hatchI 'started' on it but didn't get far, once the coffee hits I'll be resuming13:50
gary_poster:-) ok hatch.  If you want to pair I can help or someone else can13:50
hatchdid I put the task on the kanban in the right place?13:50
gary_posternah, it is a slack task, and you are working on it, so it goes in Slack -> Coding -> Active, hatch. I moved it13:51
hatchgot it13:51
hatchbazaar kind of feels like svn gone distributed with the way it handles branches13:52
gary_posterhatch yeah.  there are a bunch of ways to use it though.  This is the easiest entrance, I think.  There are other approaches that are more like git, though they are a bit clunky IMO in the bzr world13:53
gary_posterWe can explore at a sprint13:53
gary_posterBTW, speaking of sprint, everyone, hazmat sez that location is still not set, so that's why we have not had a grand ticket buying exercise13:54
gary_posterjujugui ^13:55
gary_posterooh, I could use that for my daily call pings!13:55
hazmatgary_poster, location close to set (atlanta), but haven't gotten final confirmation yet. trying to figure out accomodations.13:55
gary_postercool hazmat thanks13:55
hatchhmm I'll have to figure out what to do for cell data while traveling13:56
hatchI'd need a second job to pay for it if I didn't find a plan or buy prepaid heh13:56
hazmathatch, prepaid sim card from tmobile, att should do it13:56
hatch$5/MB13:56
hazmatassuming unlocked phone13:57
hatchyeah it's not....but I'm debating picking up a nexus 4, (or unlocking this one)13:57
hazmathatch, there are some co-located branch add ons (ie multiple branches in the same dir) .. cobzr is pretty popular in the juju-core aka backend team.13:57
benjigary_poster: isn't it "guihelp"?13:58
bacbenji: yeah.  i ding on both.13:58
hazmatbenji, we should have both.. one is meant for #juju13:58
gary_posterbenji, yeah, I could do both.  jujugui is our ping for customer service help in #juju. guihelp is our ping for getting attention locally.  By using jujugui I am making sure that we have the customer service one connected for everyone :-) .  I also realized a while ago that we could only have jujugui, so in my mind that's how I think of it13:59
benjiI hilight on one and make a sound on the other.  Making a sound on both seems a bit interruptful for a 10-person team13:59
hazmatjuju+gui there gui+help here..13:59
hazmatyeah.. collapse to one would work fine14:00
benji+1 on fewer if we are going to treat them as synonyms anyway14:00
gary_postercool, I'll mention it on call14:01
hatchdo we track time on tickets?14:01
gary_posterno hatch14:01
* benji practices Movie Voice: "Coming to a theater this summer... a space thriller like nothing you've seen before: No Hatch"14:02
gary_poster:-)14:02
hatchclearly that would be an awesome movie14:04
benji:)14:06
hatchso waht is the proper procedure for working with the less file? Do I run make after every change or can I just run less manually?14:08
hatchI see the make includes recess14:08
gary_posterhatch, make devel will automatically notice changes and regenerate14:09
gary_posterso edit and reload14:10
=== teknico_ is now known as teknico
frankbangary_poster: it seems we have a regression, both in trunk and uistage: "Uncaught TypeError: Cannot call method 'get' of null" while trying to destroy a service (from the svc menu or from the svc detail)14:21
gary_posterfrankban, :-/ ok.  bac, ^^ do you have bandwidth?14:22
gary_posterthanks frankban 14:22
bacgary_poster: yes.  i don't understand the context of your question though.14:32
bacgary_poster: oh, you mean "brad, look at this regression please."14:33
gary_posterbac, yes :-)14:33
bacgotcha14:33
* bac looks14:33
gary_posterthanks14:33
hatchneed.....more.....ram!!!!14:54
hatchI remember upgrading to 4MB14:54
hatchnow 8GB isn't enough :)14:54
bacfrankban, gary_poster: that regression has been around for 10 days or so.  :(14:58
gary_posterbac, :-/14:58
frankbanbac: :-(14:59
gary_posterbac, easy to fix?14:59
gary_postereasy to test? :-)14:59
bacgary_poster: dunno, just traced it back to the broken revision so now i'm trying to see what it did14:59
Makyo|outfrankban, gary_poster bac - Current landing branch may fix.14:59
=== Makyo|out is now known as Makyo
hatchI was just going to say...when you guys find things like this do you write a test for it? :)14:59
MakyoWhoops.14:59
gary_posterack cool Makyo 14:59
gary_posteryes hatch :-)15:00
bacMakyo: so a deleted service is still in the set of services but has no model.  does that sound like something you just fixed?15:00
Makyobac, yeah.15:00
frankbancool15:00
bacgreat15:00
Makyobac, but by accident.  Will do a quick test branch after lbox finishes.15:00
bacMakyo: do you want to write a test for it or would you like me to?15:01
Makyobac, if you'd be willing, that'd be excellent :)15:02
teknicohatch, how many VMs do you have in there? :-)15:02
bacMakyo: sure15:02
hatchteknico: just Ubuntu and Win 8 but I can't boot the win 8 one up because OSX Is using too much ram15:02
hatch"Used 7.98GB" - since I have paging turned off I better not use those extra 20MB or something is going to crash ;)15:04
gary_posterheh15:04
goodspudgary_poster, do you have 5 mins for me to "quickly" present the landscape integration designs I've just emailed you?15:05
Makyobac, branch merged.15:05
bacMakyo: thx15:05
gary_postergoodspud, sure!  was about to approve via email, with a mention that we will need "Unit Landscape" too15:05
gary_postergoing to jujugui15:05
hazmatgoodspud, the attachments didn't make it.. can you send a link15:14
goodspudhazmat, give me five and I'll upload them to Drive...15:15
gary_posterjujugui call in 215:28
goodspudhazmat, emailed you a link. The images have some further exploration of the interface but focus on the Landscape integration aspects 15:29
hazmatgoodspud, thanks15:29
gary_poster^^ that's the new version of bac bcsaller_ benji frankban goodspud hatch hazmat Makyo teknico announcement :-)15:29
gary_posterso please set up the ping if you have not already15:29
hatchoh it's dinging15:30
gary_posterhatch bac Makyo starting without you, come on by15:31
benjiMakyo: data point: I don't see the weirdness on trunk that you guys see.15:50
Makyobenji, thanks.  How is your workspace set up?  I have mine set up like http://doc.bazaar.canonical.com/beta/en/user-guide/organizing_your_workspace.html#feature-branches15:51
benjiMakyo: yep, mine is set up like that15:53
MakyoHmm, alright.  Just wondering given that our makefile touches bzr15:56
teknicohazmat, what juju IRC channel did you mention again (for asking about MongoDb), and on what server?15:59
teknicoI guess it's #juju here on freenode, right?16:01
hazmatteknico, #juju-dev16:02
teknicoI thought you mentioned that one, but could not find it16:02
teknicook, I'll try joining anyway :-)16:03
hazmatgary_poster, auth stuff was merged fwiw16:06
gary_postercool hazmat16:06
Makyobcsaller_, a new checkout of trunk works with make devel.  Tried it in a separate folder, though.  Will try replacing my existing one and see if that helps.  Not sure what would've gotten stale, though.16:21
bcsaller_Makyo: me either 16:21
Makyobcsaller_, also works just deleting and rebranching trunk in existing repo tree.16:25
Makyo^^^ guihelp - anyone else that had that issue with running trunk16:25
hazmatMakyo, does make clean && make devel work in old trunk?16:25
Makyohazmat, no :/16:25
bcsaller_hazmat: that didn't work for me16:26
bcsaller_I'd like to understand the cause here16:26
hazmatmeld the two directories16:26
hazmatre meld fwiw - if there isn't a sig delta there16:27
hazmatwhoops16:27
hazmat -> http://meld.sf.net16:27
hazmatbcsaller_, Makyo what's the symptom?16:28
hazmatback button broken?16:28
bcsaller_hazmat: no, Makyo posted the link before, an error and broken rendering16:28
bcsaller_the site just won't function16:28
teknicomake devel on trunk seems to be working fine here16:29
* hazmat joins the line stoppage16:29
hazmatanyone know this error.. http://paste.ubuntu.com/1639863/  looks like a nodejs inotify issue around the css watch?16:30
bcsaller_hazmat: yes, I started seeing that as well16:31
hazmatthat feels like a newer dep issue16:31
* hazmat does a make clean-all16:32
bcsaller_I *think* its not releasing the watch handle properly, but it could be that we just crossed some ulimit number on recent builds16:32
hazmatno reason we should be hitting that16:32
hazmatwe don't have that many files to compile..16:32
gary_posterhazmat, hatch points out for landscape work that session storage will be per tab, while session cookie would work across tabs.  This won't make a huge difference but could be nice for some stories, like gui -> landscape -> new tab for gui.  Only downside is we have to think a bit harder about security.  https should make most common concerns fine though.  I don't see any issues with shared domain bits.  thoughts?16:33
hazmatgary_poster, cookie from who?16:34
gary_posterhazmat stash cookie with auth bits16:34
gary_posterfrom ourselves16:35
hazmatgary_poster, is there an api that let's the browser set its own cookies?16:35
gary_postery hazmat16:35
hazmatoh. setCooke16:35
gary_posteralso hatch tells me sessionStorage in spec is per top-level domain16:36
gary_postercookie is per full domain16:36
hatchhttp://dev.w3.org/html5/webstorage/#the-sessionstorage-attribute16:36
gary_posterfull domain works better for us (e.g. aws)16:36
hatch""Each top-level browsing context has a unique set of session storage areas, one for each origin.""""16:36
hatchYUI has a cookie module as well if we choose to go this route http://yuilibrary.com/yui/docs/cookie/16:37
hazmattop level browsing context doesn't reference domains afaics16:38
Makyobcsaller_, make debug and make prod seem to be working in oldtrunk, so perhaps something with a stale file as served by node16:38
hazmatgary_poster, hatch  yeah.. the separate per document nature of session storage defeats the purpose of it. cookies or localStorage both work.. re cookies, the only concern is non-https gui usage.. 16:41
hazmatbut we're really trying to stop that usage for any real world usage in preference of minimally a self-signed cert16:41
gary_posteragreed hazmat.  16:41
hazmatlocal storage means client password potentially on disk16:42
hazmatgary_poster, so if i go to a new tab against the same domain do i get back my own cookie?16:42
gary_postery hazmat16:43
* hazmat explores a bit more16:46
hazmatgary_poster, only concern is that it seems quite strange to send the cookie out  with plaintext creds, at min we'd have to require ssl unless we're in.. if we have things like js error collection or analytics, it could easily accidentally sniff those, ditto is possible for logs on the static resource server16:51
hazmatgary_poster, the per domain nature of storage isn't nesc an issue, we can namespace creds using env uuid16:52
gary_posterhazmat, per domain: we may have misread.  agreed either way not an issue16:52
hazmatgary_poster, i think the per domain is accurate wrt to localstorage16:52
gary_posterif js runs on page, both approaches are flawed16:52
gary_posterI mean, foreign js16:53
hatchyeah any js from the same domain will have access to both16:53
hazmatgary_poster, not nesc.. but std browser env stuff can get pushed out..16:53
gary_posterdidn't follow last sentence hazmat sorry16:54
hazmatgary_poster, hatch re third party js, the common case is either analytics or error tracking js, typically from different domains16:54
hatchhazmat: so your worried that the user will access the page via http and the data will be sent clear over the wire?16:54
hatchthat's valid16:54
hatchsessionstorage won't have that issue because we explicitly need to send it16:55
hazmatgary_poster, things like cookies are common access for analytics, or error collection, storage is not and easily audited16:56
gary_posterack hazmat16:56
gary_posteragreed16:56
hazmathatch, we're trying to minimize http, i hope we can get farther along that road. but say we start hosting to the gui on cdn for better speed access, now we're at the mercy of a third party to complete the loop on security16:57
hatchyep good point16:57
hatchso then we should pop landscape open in a new window16:57
gary_posterwell, we will send the password in the clear over the websocket in that case16:57
gary_posterwe need https/wss16:58
hazmatgary_poster, cdn is independent of http/https.. we own the websocket code.. and we can promote https there16:58
hazmatgary_poster, even if the cdn is https, we'd still be dependent on the third party to close the security loop, because they could simply log the cookies, even by accident16:58
gary_postertrue16:59
gary_posterhazmat, convinced by sessionstorage.  hatch?16:59
hatchyep sessionstorage looks like the best approach16:59
gary_postercool, thanks both16:59
hazmati was wondering if we could get away with localStorage to avoid the tab issue.. but realistically we don't want the user to have multiple gui tabs open.. its a sig. waste..17:01
hatchgary_poster: remember that permission denied issue I had yesterday - I think it's because npm was installed via sudo :/17:01
gary_posteragreed hazmat.  so you agree tab/window for opening launchpad?  we can use same name so we don't open billions on repeated use17:02
gary_posters/launchpad/landscape/ 17:02
gary_posterhatch ^^ :-P17:02
hatchhaha17:02
gary_posterhatch, npm is supposed to be installed in system17:03
hazmatgary_poster, we'd always get two.. we can't control the name on the first one17:03
gary_postervia apt17:03
gary_postertrue :-(17:03
hazmathatch, via chris-lea node js ppa17:03
gary_poster(as in hacking doc, as you were looking at)17:04
hatchyeah I blindly copied that line17:04
hatchwhich installs npm under sudo17:04
hatchso every time I run make devel17:04
gary_posterthat line is fine17:04
hatchI need sudo17:04
gary_poster:-/17:04
gary_posternot me.  package just changed...17:04
hatchso I need to 'un sudo' npm :)17:05
gary_posterhatch, is this same for you?17:05
gary_poster$ ls -l /usr/bin/npm17:05
gary_posterlrwxrwxrwx 1 root root 21 Nov  5 14:52 /usr/bin/npm -> /etc/alternatives/npm17:05
gary_posterand17:05
gary_poster$ which npm17:06
gary_poster/usr/bin/npm17:06
hatchyep17:06
gary_posteruh.17:06
hatchI'm logged in as my user though17:06
gary_posteryeah, supposed to be17:06
hatchI can run npm without sudo17:06
gary_posteryeah, good, that's what I'd expect17:07
hatchbut running make devel throws an npm error about crypto something17:07
hazmathatch, can you pastebin the error17:07
gary_posterhatch, pastebin? http://pastebin.ubuntu.com/ commonly used fwiw but whatever works17:07
hazmathatch, incidentally there's a nifty cli for pastebinit.. apt-get install pastebinit17:07
hazmatyou can pipe a file into or pass a file as arg17:08
hatchoh that's cool, does it give you an option to delete these after? :)17:08
gary_posterwho wants to delet anything? In perpetuity, and beyond!17:08
hatchhttp://pastebin.ubuntu.com/1639976/17:10
gary_posterhatch ls -l output at top of branch?17:11
hatchhttp://pastebin.ubuntu.com/1639979/17:12
hatchI'll create a new branch and run make devel again to get the logs17:13
hazmathatch, you probably sudo make at some point..17:14
hazmatit seems like your perms aren't quite right17:14
gary_posterhatch, not clear.  you already tried make clean, I think, yesterday?  would be interesting to find what is owned by root or whomever.  You could try sudo chown -R pihach:jpihach .17:14
hazmati'd suspect some root owned files.. you could also adjust via chown -R <youruser_name>: checkout_root_dir17:14
gary_poster:-)17:15
hatchhttps://gist.github.com/hatched/171fd627c3f757d4111d17:15
* hazmat wanders back to the line stoppage17:15
hatchthat's thrown right at `npm install`17:16
hazmathatch, yeah.. definitely ran npm as root accidentaly..17:16
hazmathatch, chown -R jpihach: ~/.npm17:16
hazmatand then run again17:16
hazmatyou don't need to prefix make with sudo17:16
hazmatit will ask for sudo if it needs it17:16
hatchahh there we go - on osx I had to install npm without sudo for it to work properly17:17
hatchthanks17:17
gary_posterhatch, you are using makefile on OS X directly, not in vm?17:18
hatchno no I'm in VM now, I was referencing what I previously had to do on osx17:18
gary_posteroic17:18
gary_posterfwiw, make devel is working fine for me17:21
hatchlooks like I need 'shelltoolbox' for lbox propose -cr17:21
hatchgoing to have to add that to the HACKING doc17:21
hatchImportError: No module named shelltoolbox17:21
gary_posterthanks hatch.  python-shelltoolbox.  Actually, one sec17:22
hazmatbcsaller_, the emfiles on watch thing is concerning17:22
hazmatMakyo, bcsaller_, basically trunk make-devel is busted then afaics17:23
gary_posterwfm :-/17:23
hazmatgary_poster, make clean-all && make devel works?17:23
bcsaller_hazmat: yes, I can try to track it down later17:23
gary_posterhazmat was fresh checkout.  can try that too17:23
Makyohazmat, bcsaller_, it works for me with a fresh checkout, yeah.  Exploring more.17:24
gary_posterhatch, yes, go for python-checkout17:24
hazmatso the other local state we have is in ~/.npm 17:24
gary_posterah17:24
gary_posterpython-shelltoolbox hatch17:24
hatchboth? ok17:24
gary_posterline 53 of HACKING hatch.  no only python-shelltoolbox17:24
hazmathatch, later17:24
gary_postersorry17:24
hatchok gota find PPA for that17:27
hatchbefore I install.... https://code.launchpad.net/~yellow/+archive/ppa/17:28
hatchthat's the proper python-shelltoolbox ?17:28
gary_posterhatch, no, use juju ppa17:28
gary_posterhatch sudo add-apt-repository ppa:juju/pkgs17:28
hazmatthat belongs in the hacking doc as well17:28
gary_posteryou should use that version of juju anyway17:28
gary_posteragreed17:28
gary_posterhatch ^^17:29
gary_posterhazmat, bcsaller_ , Makyo, fwiw, all of following worked: fresh checkout, make devel, make clean-all, make devel .  Agreed that clean-all apparently misses some local state that is corrupt.  My trunk has been around for awhile and is ok17:30
gary_posterI mean I have a separate, older one17:30
gary_posterI think17:30
gary_posterdoublechecking17:30
* hazmat tries fresh checkout17:30
hazmatmy trunk is definitely feeling a bit busted17:30
hazmati still suspect we're getting different deps and possible caching in ~/.npm due to inexact version specs17:31
gary_posterwould prefer exact version specs msyelf17:31
hazmatstill working to verify though17:32
bcsaller_gary_poster: we might have found it, I think its app/templates.js17:32
bcsaller_some old version was still being used and wasn't sync'd with the current code, it should have been regenerated on server startup though and wasn't, even after a make clean17:33
hazmatgary_poster, we don't control transitive deps though17:33
hazmatalthough i would hope that's not the issue17:33
hazmatbcsaller_, did that also resolve the em watch error?17:33
gary_posterugh, true hazmat.  we could if we specified all of them17:33
gary_posteryuck17:33
bcsaller_hazmat: I don't get that everytime, only if the systems been running for a while17:34
hazmatbcsaller_, aha, thanks17:34
bcsaller_hazmat: which is why I think there is a descriptor leak17:34
* hazmat stops barking at the wrong tree17:34
hatchwow propose takes a long time17:35
hazmatbcsaller_, this is my first gui dev in a bit, so it could be a leak unrelated17:35
hatchneed more powa!!17:35
hazmathatch, i always run lbox commands with -v17:35
hatchoh that's a good idea17:35
MakyoYeah, tracked the error from console out to stale templates.17:36
MakyoShould clean get generated files like templates.js?17:36
gary_posterCool bcsaller_, Makyo thanks17:36
gary_posterMakyo, definitely17:36
gary_posterI thought it cleared out all build-*17:36
gary_posterwhich ought to do the trick?17:36
Makyotemplates.js is stored in app/17:36
gary_posterMakyo, that's old17:37
gary_postershould be anyway17:37
gary_posterI think...17:37
gary_posterchecking17:37
gary_posteryes Makyo that's old17:37
gary_posterapp/templates.js should not exist17:37
gary_posternothing builds it any more there AFAIK17:37
Makyogary_poster, yeah, but it did in mine and bcsaller_'s old trunks.17:37
gary_posterMakyo, used to be there17:37
gary_posterso new builds should never have this error17:38
bcsaller_and the system is still configured to read that file?17:38
gary_posterwe could try cleaning out old cruft too17:38
gary_posterI suspect that this was some build transition mistake17:38
MakyoStill loaded by modules-debug.js17:38
MakyoLine 11617:39
gary_posterMakyo but built in build- dirs17:39
gary_posterMakyo,  or served dynamically when in devel mode IIRC17:40
hatchOK can I get review 2x https://codereview.appspot.com/731208417:40
gary_posterI can't make my freaking index.html reste17:40
gary_posterreset17:40
* hatch hopes he did it right17:40
gary_posterI did a make appcache-force repeatedly, and cleared chrome cache repeatedly, but old index.html still there17:41
gary_posterMakyo forgetting anything?  Any other ideas ^^ ?17:41
Makyogary_poster, Yeah, I see that in the lib/templates.js script, but it doesn't jive with what devel's serving, because there's a catchall rule for /juju-ui/*-> app/{file}17:41
Makyogary_poster, Hmm, just a sec.17:42
hazmatbcsaller_, aha.. re em watch error.. its the inotify limit.. http://stackoverflow.com/questions/10086336/multiple-node-js-always-error-watch-emfile17:45
hazmatits 128 by default it seems17:45
hazmatfixed with echo 8704 | sudo tee /proc/sys/fs/inotify/max_user_instances17:45
Makyohazmat, bcsaller_: oh man, sorry, I should've looked at your pastebin earlier.  I ran into that a while back, too, fixed similarly. Sorry :/17:46
bcsaller_Makyo: heh, I increased my limit too already, but I'm still not sure why we are hitting it, maybe we crossed 128 files in the dir or something17:47
Makyogary_poster, I added a letter and it showed up with make appcache-force, then right click in the "Network" section of the console, clear browser cache.  17:47
gary_postertrying17:47
MakyoThen it takes a second to reload and the status bar says 'Waiting on AppCache...'17:48
gary_posterno luck Makyo 17:48
gary_posterI'll try restart chromium... :-/17:49
gary_posternope17:51
Makyogary_poster, In the network tab, for localhost, does it say (from cache) in the size column?17:54
gary_posterMakyo, yes17:55
gary_posterand timestamp of manifest is definitely changing17:55
gary_posterand I'm definitely clearing cache :-)17:56
MakyoSnagging Chromium.  Did you get yours from apt, gary_poster ?17:59
gary_postery Makyo thanks17:59
gary_posteron call but will return soon17:59
gary_posterMakyo back18:12
gary_posterYou install chrome from google rather than chromium from apt usually?18:13
Makyogary_poster, personally, yeah.  Just hadn't gotten around to installing chromium yet.18:15
Makyogary_poster, ctrl+shift+r help any?  That made it work on my end.18:15
Makyochanged index, appcache-force, clear browser cache - plain refresh didn't show a change, but ctrl-shift-r did.  Different behavior from Chrome.18:16
gary_posterno had tried that.  will retry.  I could also try touching index maybe...18:16
gary_postertouching index.html was the trick Makyo .  Thanks and sorry to bother18:18
Makyogary_poster, no worries, good to know!18:18
gary_posterhatch, if you link branch to bug that is nice.  Can do in command line with bzr commit --fixes=lp:1122706, or in Launchpad from bug or branch.  I just linked for you18:19
gary_posterIt helps people and kanban automation find related artifacts18:20
hatchok great, I just made note of that18:21
hatcham I doing these requests properly?18:21
hatchthey sure take a long time for small changes - are we able to group fixes in a branch?18:21
Makyohatch, lbox taking a long time?18:23
Makyohatch, if so, the reason is it's running tests and lint.18:23
gary_posterI think he is referring to all of the bug card branch stuff18:23
gary_posterhatch you can combine for very small things18:23
hatchok :)18:23
MakyoAh, alright.18:24
MakyoOkay, really  need to finish moving stuff outside, back in a few.18:24
gary_posterhatch, "land as is" for your branch for me.  You need one other person.  I would have either combined the HACKING changes into the same branch or just changed it without a card or bug, since it would take no time at all.18:28
gary_posterWhat you are doing is even nicer, to be clear18:28
gary_posterbut for your own annoyance, I mean18:28
hatchok sure thing18:29
hatchok finally cleaned up enough ram to boot up this windows 8 vm18:30
hatch*please don't crash...please don't crash*18:30
hatch;)18:30
hatchanyone here use 'Fitbit' ?18:30
hatchdo we have a Canonical fitbit team? :)18:31
gary_posterheh, I don't, heard good things about it though18:31
hatchit's proof of how lazy I can be some days18:32
hatch:)18:32
gary_posterlazily active?18:32
gary_posteractively lazy?18:32
hatchI'm going to go with actively lazy18:33
gary_poster:-)18:33
hatchthis is a longshot but has anyone here know how to access one VM from another via the network using parallels?18:43
gary_posterhatch, speaking generally, put ubuntu vm in bridged networking mode18:45
gary_posteryou might need the win one to be bridged too18:45
gary_posterthen find out the ip of ubuntu18:46
gary_posterand use that to connect from win to ubuntu18:46
gary_posterfor the gui, you will want to change a file: app/config-prod.js for make prod and app/config-debug.js otherwise18:47
gary_posterchange socket_url: 'ws://localhost:8081/ws' from localhost to the ubuntu ip18:47
hatchyeah I'm in bridged and have the IP but no luck - I probably need to punch a hole in ubuntu to open up the port18:47
gary_posterthen restart 18:47
gary_posterparallels more likely to be firewalled than ubuntu, is my guess18:48
gary_posterIOW, look for firewall on that side18:48
gary_posterfirst :-)18:49
hatchalrighty thanks18:49
gary_posterbac, you happen to have any experience with this ^^ ?18:49
bacgary_poster: yep.  reading back.18:49
hatchbasically I want to access the gui server on ubuntu18:50
bacgary_poster, hatch: the steps gary outlined are the ones i've used successfully.  never had any problems with firewall on the ubuntu vm18:50
hatchso all I am doing in windows is opening up the browser18:50
hazmathatch, yes re fibit18:51
hazmathatch, although mine busted.. so not anymore.. waiting for a new compeling device atm18:51
bachatch: so ubuntu vm and windows vm both have real DHCP addresses18:51
hazmathatch, there's a few folks with them18:51
hatchbac: yeah I shut down the windows vm to first get access from OSX (host) to ubuntu (vm)18:52
hatchsimply going {ubuntu's ip}:8888 doesnt work18:52
bacdoes it do anything?18:52
bacor there is just no answer?18:52
hatchunable to connect18:53
hatchok changed the networking from bridged and then back to it18:54
hatchand now I have the browser not supported warning18:54
hatchgreat18:54
bachatch: ah, cool18:54
hatchmust have been a parallels glitch18:54
hatchthanks18:55
hatchhazmat: maybe I'll fire a msg to see if there is a 'Canonical group' on there18:55
hatchI see there is a mailing list where people complain about things so that's probably the best place to ask18:57
hatch;)18:57
gary_posterheh, yeah warthogs is the place for that18:57
hatchexcellent now have juju in windows 819:01
hatchtime to get some work done!19:01
hatchoh websocket error....forgot to change the config19:02
hatchwoops19:02
gary_posterhatch, our CI tests are not liking IE or Firefox much :-( http://pastebin.ubuntu.com/1640314/19:03
gary_posterwell, soon-to-be-CI tests, for now merely selenium saucelabs tests :-P19:04
gary_posterthis is from frankban's branch in review: https://codereview.appspot.com/7307104/19:04
hatchwell now I know what happens when you try to use ram you don't have19:06
hatchcan you repost that link gary_poster? :)19:06
gary_posterheh19:06
gary_poster<gary_poster> hatch, our CI tests are not liking IE or Firefox much :-( http://pastebin.ubuntu.com/1640314/19:06
gary_poster<gary_poster> well, soon-to-be-CI tests, for now merely selenium saucelabs tests :-P19:06
gary_poster<gary_poster> this is from frankban's branch in review: https://codereview.appspot.com/7307104/19:06
hatchit looks like it can't even connect19:10
gary_postermm, actually, the "Your browser is not fully supported" breaks our selenium tests on FF andf chrome :-/19:13
hatchheh I was just going to check that19:14
gary_posterand ie10 does not accept the security cert :-(19:14
gary_posterbenji ^^ nothing to act on right now, but fwiw 19:15
hatchsecurity...who needs it!19:15
benjidarn19:15
gary_poster:-) well, selenium is supposed to be able to tell browsers to accept self-signed19:16
gary_posterit works for chrom and ff19:16
gary_posterbut not IE apparently :-/19:16
gary_posterbenji, for browser check we can just add some automation for that, yeah?19:16
gary_posterdon't know what to do about ie though19:16
hatchcurious - why do we stop the execution of the app to tell them that it's not supported?19:17
benjiyeah, we could attack that in several ways.  One candidate would be to add a ?shut-up-about-my-browser-already flag to the initial request URL19:17
gary_posterhttp://sauceio.com/index.php/2012/10/announcing-sauce-support-for-windows-8-and-ie-10/19:17
gary_poster"We’re still working out some of the kinks, such as making these compatible with our standard support for self-signed certificates."19:18
benjiwell, that certainly explains that19:19
gary_poster:-/19:19
* gary_poster needs some lunch19:19
gary_posterbiab19:19
hatchconfig-debug.js is loaded with `make devel` ?19:20
hatchusing bzr is there a way I can find who wrote a line?19:36
hatchgary_poster: is there someone who could give me a run through of the application code?19:39
hatchI'm mostly interested in topology/service.js19:39
hatchbut an application overview would probably be better :)19:40
BradCrittendenhatch: second review done on your alert style branch19:42
=== BradCrittenden is now known as bac
hatchoh great19:42
hatchso I'm free to `lbox submit` that now?19:43
bachatch: yes since there are no requested changes.19:44
bachatch: your other branch is in review but i don't see a merge proposal19:44
* bac suspects lp2kanban is on strike19:44
hatchhttps://code.launchpad.net/~hatch/juju-gui/1123291-update-hacking19:45
hatchthe 'ready for review' section?19:45
hatchoh you're saying the kanban thing is missing it19:45
hatch:)19:45
=== arosales1 is now known as arosales
hatchcan someone point me to the documentation for `getClientRect()` as used in app/view/topology/service.js #828 var width = label.one('text').getClientRect().width + 10;20:09
hatchI know of getClientRects() but not getClientRect()20:10
bcsaller_hatch: its a simple utility method from svg-layout in assets/javascript20:11
hatchoh pfft I guess I could have ack'd the dir20:11
hatch:) my bad20:11
bcsaller_np20:11
baclp2kanban working again20:27
bacdogwalk.  bbiab20:38
gary_posterbac, land with changes21:17
bacgary_poster: thanks21:24
gary_posterwelcome21:24
bachatch is your HACKING branch in review or are you still working on it?21:33
hatchreview - it shows as such in lp21:33
hatchbut maybe didn't get picked up in kanban21:33
bachttps://bugs.launchpad.net/juju-gui/+bug/112329121:34
bachatch: that's what i was looking at ^^21:34
bacah, i see your branch now.  it isn't linked to the bug.21:35
hatchsorry - linked21:37
bachatch: it the branch is linked to the bug then we have a cronscript (lp2kanban) that is supposed to do magic like link the kanban card to the rietveld review, etc.  without the linkage stuff is hard to find.21:37
bacnp21:37
hatchohh ok now I understand21:38
hatchI suppose how else is the script supposed to know :D21:38
gary_posterbenji, do you have a suggested way to qa the "loading" message?21:49
benjigary_poster: step one: wait a couple of minutes while a clean up the branch a bit more ;)21:49
gary_posterbenji lol ok21:49
benjigary_poster: step two through N: this is what I did: I tested devel, debug, and prod, against Chrome and FF to ensure the behavior was expected in each case21:50
gary_posterbenji, how did you make it so that js took forever to load?  hacked code?21:51
benjigary_poster: between my machine being slow and the app taking a while to initialize, I didn't have to simulate anything21:51
gary_posterheh21:52
gary_posterok21:52
gary_posterbenji, ping me when I should look again21:52
gary_posterthanks21:52
* benji checks lbox's progress21:52
benjigary_poster: it's ready: https://codereview.appspot.com/731408221:53
benjigary_poster: also, if you want to simulate a slow network the "tc" command can do that21:53
gary_poster'yeah I thought there was some trick like that21:53
gary_posterbenji http://www.commandlinefu.com/commands/view/11475/simulate-slow-network-connection-locally ?21:54
hatchbefore I do - I'd like to confirm that I can freely delete the folder which was successfully 'lbox submit' 'ed21:54
hatch?21:54
gary_posterhatch yes21:55
hatcheggcelent21:55
hatchnew alert list is on ui stage21:55
benjigary_poster: exactly21:55
gary_postercool thanks benji21:56
benjigary_poster: if you really want to torture the networking stack you can add "loss 50%" and half the packets will be dropped on the floor21:56
bacbenji: two reviews done21:56
gary_posterheh21:56
benjithanks bac21:56
gary_posterI have news on the golang thing but have not had time to write it up21:57
bacbenji: bah, who needs 'tc' when you have claro internet?21:57
benjiheh21:58
gary_postersummary: there are some things we can start with that are useful.  They are too few for all of us.  There are a few other things we can do that are less useful but that can get our feet wet.  With those two combined we should all have something to dig into tomorrow21:58
hatchto get this alert box QA'd by the designers do I need to do anything? or will they see it in the kanban list?21:58
bacbuenos noches mi compadres21:58
gary_posterbac, I hope you enjoy your nachos also21:58
* benji translates for non-spanish speakers: "Good nachos, in my compartments"21:59
bacummm, cheese product21:59
gary_posterlol, thanks benji21:59
* Makyo dogwalkinates21:59
gary_posterhatch what you have is fine.  if they haven't looked at it by daily call, ask them about it then or I will21:59
hatchalrighty21:59
gary_postersometimes wirth sending them (nick, greg) an email21:59
gary_posterworth21:59
baci saw the lady at "El Hamburger" load the bag of yellow mess into the nacho cheez dispenser the other day.  yuk.21:59
gary_posterheh22:00
bacgary_poster: that typo was almost a pascal reference22:00
* gary_poster tries to remember pascal and fails22:00
gary_posterblaise was a nice fellow...22:00
benjiI made a bet with him once... still don't know if I won.22:01
gary_posterheh22:01
gary_posterbenji spinner missing from make prod22:04
gary_posterhttp://localhost:8888/juju-ui/assets/javascripts/spin.min.js is 40422:04
benjidarn22:04
benjiI'll have to wrestle with the Makefile some more then.22:04
gary_postermake devel looking nice so far22:05
gary_posterwow, that's a nice slow fake internet I have here22:05
gary_posterbenji, make devel is also failing, in an intriguing way22:06
gary_posterit keeps on trying to connect to the ws22:06
gary_postersucceeding22:06
gary_posterand then letting go22:06
gary_posterI see this in my improv output22:07
gary_posterthe browser shows "Loading the Juju GUI" forever22:07
gary_posterbenji, that's with the tc info I gave you, and a large improv.  Trying a faster connection...22:10
gary_posteryeah that was the problem22:11
hatchbac: I'll integrate your comments on the HACKING doc22:16
hatchshould I reply on codereview?22:17
gary_posterhatch, yes.  As a rule, respond to each request in the review.  "I did everything you asked" is good enough, as long as it is accurate. :-)22:18
hatchsounds good!22:22
hatchwhat's the best approach to `git reset --hard HEAD` with bzr? (that resets the working branch to HEAD throwing out all changes)22:24
gary_posterIf you are using lightweight checkouts, which are a bit like git and a component of cobzr and other similar approaches, there are some parallels.  Otherwise...you just make a new branch.  I bet no one told you about init-repo22:27
gary_posterif you say bzr init-repo .22:28
gary_posterthat turns the directory into a cache22:28
gary_posterthen you bzr branch within that directory22:28
gary_posteryou can delete those branches22:28
gary_posterand when you branch the same source, virtually everything is still around22:28
gary_posterso very fast22:29
gary_postertrunk does not work for me in FF :-(22:29
gary_postersigh22:29
gary_posterIt's almost like we need CI!22:29
gary_posterhatch, ^^22:31
hatchsoo `mkdir juju-gui; cd juju-gui; bzr init-repo; bzr branch lp:juju-gui;`22:31
Makyohatch, or: `bzr init-repo juju-gui; cd juju-gui; bzr branch lp:juju-gui trunk; bzr branch trunk mine/<featurebranch>`22:32
MakyoForgot a `mkdir mine` in there.22:33
MakyoThen you can pull down others' branches to, say, makyo/feature1, gary/feature2, etc.22:33
hatchahh interesting - alright let me try that22:34
Makyohatch, http://doc.bazaar.canonical.com/beta/en/user-guide/organizing_your_workspace.html#feature-branches is I think how a lot of us work.22:38
Makyo(minus the send/push steps, what with lbox)22:38
hatchgary_poster: Makyo: wow that's fast compared to the way I was doing it before lol22:41
gary_posterhatch, hacking branch: land with changes 22:41
gary_poster:-)22:41
Makyohatch, Yeah, it pulls down most of the tree to trunk, then branching is local.22:41
hatchgary_poster: sure thing I'll add those changes tonight22:43
gary_posterthanks22:43
gary_posterFF is ok.  was some weird FF state. restarted and fine22:45
hatchI get every email from codereview x2 - is this normal?22:45
Makyohatch, Yeah.22:45
hatchok just checking :)22:46
gary_posterhatch sorry, lbox artifact.  rietveld talks to you and then launchpad talks to you.  maybe you can quiet LP down. haven't tried22:46
hatchit's alright - I was moreso curious if I did something wrong22:47
gary_posterbenji land with changes, though I have some important notes.  make prod works fine: it is a stale makefile thing23:08

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