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

rick_h_morning party people12:04
lucafrankban: Hey, Sorry for not replying yesterday, I was sidetracked when you asked me a question, did you need anything from me?13:05
frankbanluca: doing something different now, I was asking about how the sidebar message should be hidden: once per session, per model or once forevere13:07
lucafrankban: I think it should be once per model for the time being13:08
lucafrankban: though I can imagine it getting really annoying quite fast lol13:08
lucafrankban: though it would be good to test13:08
frankbanluca: ok, good to know, could you add this info to the bug?13:08
lucafrankban: sure13:08
frankbanthanks13:09
rick_h_Makyo: or frankban can you do a second review of https://github.com/juju/juju-gui/pull/623 qa already done13:54
frankbanrick_h_: sure13:54
rick_h_ty frankban 13:54
kadams54On my way to the dentist. May not be back in time for standup.14:20
rick_h_kadams54: rgr14:20
rick_h_kadams54: let's sync up when you get back then14:21
hatchjrwren: when we were ragging on Go syntax yesterday you said that it was because the gcc compiler is slow so we need to help it - do you have any references for that?14:22
jrwrenhatch: one of Rob Pike's early go presentations. I think from google io 201014:26
hatchohh yeah I remember that one - unfortunately he doesn't give any examples14:26
jrwrensure he did.14:26
hatchdid he? 14:27
hatchhmm14:27
jrwrenhe said they have C++ projects which take minutes or into the hours to compile and the same thing in go is seconds.14:27
hatchright - but how does the ugly syntax have anything to do with that14:27
jrwrenhatch: maybe we think different thing are ugly?14:27
jrwrenhatch: the language was designed wiht parsing and compilation as a top concern, hence, ugly syntax to help the parser be fast.14:28
jrwrenI swear he went into some details, but admittedly parsing is pretty fast and easy. Its more the package reference system that speeds it up.14:29
hatchyeah14:29
hatchmaybe my issue with the syntax is gofmt14:29
hatchif I have to horizontally scroll github....the line is too long ;)14:29
jrwrenoh! I totally agree. we should still follow 79 column limit.14:33
jrwrenbut that is a nit.14:33
jrwrenDo you follow that in js?14:33
rick_h_jrwren: yes14:33
rick_h_jrwren: I think the only exception is html and that we try hard to but sometimes the nesting goes too far where it's less readable14:34
jrwrenyou can't exactly extract a function in html to fix that.14:34
rick_h_right14:35
rick_h_so we're a bit more lenient on that side, but there will still be review comments sometimes to indent/break up the html a bit14:35
hatchrick_h_:  so when doing a charm with deploy-target it needs to be comitted and the machine auto placed?14:48
rick_h_hatch: yes14:48
rick_h_jujugui call in 8 kanban please14:54
rick_h_Makyo: standup?15:00
hatchjujugui have we ever programatically auto-committed anything from the browser.js portion of the app? The deployer bar doesn't appear to be passed into the browser.js nor can I find any events15:17
rick_h_hatch: don't think so. The times we've had to communicate like that we've event chained up through app and down into browser like the inspector "page takeover" event stuff15:18
rick_h_hatch: does it have to happen from browser.js? Can it not just be from state?15:18
hatchbrowser.js is the only component which handles the state dispatches15:18
hatchbut the deployer bar is rendered in the app.js15:18
hatchI can fire an event from browser.js and listen in app.js15:19
hatchjust didn't want to duplicate work15:19
rick_h_hmmm, yea I think that'd be the best path15:19
rick_h_off the top of my head15:19
hatchstate instantiation should probably be moved into the app layer15:19
hatchbuuuuuuut15:19
hatchyeah15:19
hatchno15:19
hatch:P15:19
rick_h_hah, one thing at a time. 15:19
hatchMakyo: bring me back some good beers!15:26
hatchoh wait....15:26
hatch:P15:26
MakyoI think we've got better beer in Colorado, personally, but I'm biased.15:29
hatchonly a little :)15:30
hatchplus I'm not sure if CA has any water to make beer15:30
hatchboo yeah, charms deploy15:35
hatchjrwren: grep for switch :'( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let15:37
jrwrenhatch: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-switch-statement-static-semantics-lexicallyscopeddeclarations15:44
hatchwell then...15:44
hatchgive it time15:45
hatchthey have time to wreck it yet15:45
hatch:P15:45
jrwrenhatch: This is why having beers is good. I had beers with semjs group last Monday and learned about exactly this :)15:46
hatchI am really not sure why we can't have more 'statement switches' like 'use strict' to avoid javascript turning into php with run away operators15:47
hatch'use strict bools' 'use lexical scope'  ex15:47
jrwrenhatch: I said the same thing. I got a reasonable answer, but I don't recall what it was.15:47
hatchthey will break with old browsers15:48
hatchso yes actually i am sure I know why - not that I agree :)15:48
hatchit's purely acceptable to have your page break on certain browsers if they don't support certain features15:49
hatchs/purely/perfectly 15:49
jrwrenhatch: not to mention, i was told there are compilers to go to ES3 to target old browsers.15:51
hatchyeah they are not perfect but they do exist15:52
hatchjrwren:  https://twitter.com/FromAnEgg/status/524589297643835393 maybe I'll get a real answer :)15:53
jrwrenhatch: that page doesn't exist.15:54
arosalesrick_h_: in the readme for bundles15:55
hatchoops sorry I had to fix a typo, thought it would just update it https://twitter.com/FromAnEgg/status/52458960087941120115:55
arosalesluca would like more human readmable bundle name15:55
hatchfinally!15:55
lazyPowerhatch: *eyeballs suspiciously*15:55
hatchlazyPower: wutulookinat??15:56
hatchwillis15:56
lazyPoweri'mlookinatyouethel15:56
hatchwutulookinatwillis15:56
arosalesrick_h_: so my question is you mentioned in the new charm store you would be able to parse more metadata15:58
arosaleswhat are those fields, can we assume the same as charms?15:58
arosalesif same as charm does the name field have to match the parent directory?15:58
hatchlazyPower: did you see http://techcrunch.com/2014/10/20/crate-lets-developers-set-up-big-data-backends-in-minutes/15:59
rick_h_arosales: description and tags right now16:00
rick_h_arosales: if we need more we can work on that16:00
=== alexpilotti_ is now known as alexpilotti
* hatch waves at teslanick16:07
lazyPowerhatch: that'll generate some buzz, i'll be watching this closer16:08
lazyPowerhatch: we saw a fwe other companies presenting similar tech @ hadoop world that go as far as dropping a slick dashboard on top of it when you're done16:08
hatchlazyPower: I was thinking we should respond with a blog post *caugh* onyourblog *caugh*16:08
hatchcough even 16:08
lazyPowerhatch: what i see as a problem with this - is it has an end of the sidewalk effect with your deployment tooling16:08
hatchyeah I agree16:08
lazyPoweras you only deploy/scale your big data stack with it, which segments your deployment tooling16:08
hatchbut they are getting at least a bit of traction 16:09
lazyPowerusing juju you could wrap this and get teh best of the universe16:09
lazyPowerbut i dont want to chase buzz - i want to chase solutions. If this gets any kind of adoption i'll respond with a bundle that wraps crate, because its *so* easy to use, they claim. Shouldn't take more than a few weeks to charm up.16:09
lazyPowerhatch: i'm already scheduled this week to interview hazmat and talk about his rudder/flannel density story + an emerging kubernetes story next week16:10
lazyPowerand as far as i can tell that'll attract a lot of attention because... docker docker docker16:10
hatchI don't really see the point of kubernetes with juju16:10
hatchbut that's just me16:10
lazyPowerbuzzword/buzzfeed16:10
lazyPowerinb4 google announcement16:11
hatchlol16:11
lazyPowergoogle compute engine + kubernates = "the future of now" according to some.16:11
* hatch rolls eyeballs into neck16:11
hatchthat's how far they rolled back....right into my neck!!16:11
lazyPowerpersonally, i'm kind of sick of hearing about docker and how a delivery mechanism is going to make everything amazing. I still think a hybrid CM+IBW = the winner. There's enough out there you just *dont want* to image up and ship as immutable.16:12
jrwrenhadoop is over for 99% of its use cases now that azure launched their G-series. Just run it on a Standard_G5 :p   16:12
lazyPowerbut thats me and my opinions again16:12
lazyPowerjrwren: actually the prediction of hadoop is its going to 'go away' - and turn into invisible plumbing that nobody talks about anymore16:13
jrwrenlazyPower: i'm sick of hearing about hadoop & docker, but... yeah, opinions :)16:13
lazyPowernow that off teh shelf solutions are starting to mature on top of hadoop.16:13
jrwrenlazyPower: its still a waste. avoid the jvm.16:13
lazyPowerjrwren: java = enterprise. Good luck winning that battle.16:13
lazyPowerits like trying to convert a .net shop into a ruby shop ;)16:14
lazyPowerit can be done, but its uphill both ways16:14
jrwrenlazyPower: didn't you already do that? :)16:14
lazyPower^16:14
jrwrenlazyPower: why go backwards like that? :)16:14
lazyPowerMy eyes opened to so much @ hadoop world16:14
jrwrenlazyPower: oh no, drinking the kool-aide?16:14
jrwrenlazyPower: did you write a report?16:14
lazyPowerit cracks me up that people vendoring stuff @ the conf still have no idea what 'big data' really is.16:14
hatchjrwren: rofl16:15
lazyPowerjrwren: sure did, sent it out the first day. it's on canonical-tech and clodus16:15
lazyPower*clouds16:15
hatchoh I read that as a joke on enterprise and writing reports :D16:15
hazmathatch, its like openstack or any other platform for workloads..16:15
hazmathatch, part of the story there is going into the docker community, and being like hey.. dog.. i heard you like orchestration frameworks ;-)16:15
jrwrenlazyPower: ah, I read that. I didn't read too much koolaide in it.16:15
hazmathatch, a little more seriously they have dozens.. and we can position juju as the easy way to collect/try them all16:16
lazyPowerjrwren: because i didn't drink it. i challenged what they were telling me and found there's more just under the surface16:16
hazmats/dog/dawg16:16
hatchhazmat:  right, but why use any of them at all and instead just use juju?16:16
lazyPowerhazmat: did you read my response to crate? thats how i'm looking at all of this IBW buzz - we're gonig to find the sweet spots and enable them16:16
lazyPoweri'm working a pittsburgh client to upgrade their chef-server opscode hosted infra to juju powered chef-solo charms. 16:17
lazyPowergive me anotehr month and i bet i have them in our pocket16:17
hazmathatch, because they do more things than we do wrt to some aspect of a workflow.. or because their docker centric instead of charm centric.. docker image authoring is falling off a log.. good charm authoring.. a bit harder.16:17
arosalesrick_h_: sorry, my network got dropped16:17
hatchhazmat: true true16:18
hazmathatch, ie. kubernetes will do round robin image upgrades etc, and persistent storage.16:18
rick_h_arosales: description and tags right now, we can do more if needed16:18
arosalesrick_h_: I think we talked about author and name16:18
arosalesor at least author16:18
lazyPowerrick_h_: was thsi outlined in that doc you sent me @ brussels?16:18
lazyPoweri'll read the spec and update our bundles accordingly16:18
arosalesas they branch owner is not always the author/maintainer16:18
rick_h_lazyPower: yes16:18
lazyPower<3 ty for giving me more info than i knew i needed early16:18
hatchhazmat: yeah those are two features we would be nice to have16:18
arosalesrick_h_: good example is ~charmers16:18
arosalesright now the charm store is calling ~charmers the author/maintainer when in fact that is not correct16:19
rick_h_arosales: right, that's part of juju publish16:19
arosalesand currently pulling the name from the directory structure too16:19
lazyPowerwhat the... can anyone else get to google drive atm? mine is throwing errors at me16:20
lazyPowerrick_h_: we're going to see juju publish 1q of next year right? or is that coming sooner?16:20
arosalesrick_h_: I think regardless of publish though the bundle should state who is the author/maintainer16:20
hatchdefinitely - i've always hated that with ~charmers16:21
lazyPowerarosales: sending you a link to the bundle spec in private16:21
arosalesrick_h_: we'll run into the same problem with publish when a charmer "reviews" a charm16:21
arosaleslazyPower: still dont' see author or name in that spec16:23
lazyPowerrick_h_: if its buried in the struct code, i'm too ignorant to parse it out. where do we define this?16:23
jrwrenapache-spark... because 138MB jar files are awesome. *sigh*16:24
lazyPowerjrwren: then use HPCC16:24
jrwrenlazyPower: i don't know anything about this stuff. I only know I don't like it :p 16:24
lazyPowerjrwren: you're not the data scientist target for these tools ;)16:25
jrwrenbrew search hpcc says no formula. it doesn't exist :p16:25
jrwrenlazyPower: data scientists aren't the target for these tools either.16:25
lazyPowerjrwren: http://hpccsystems.com/16:25
lazyPoweri beg to differ16:25
hatchjujugui could I get a wip review before I go fix/write all the tests on the deploy-target stuff https://github.com/juju/juju-gui/pull/624/files16:26
rick_h_arosales: lazyPower otp atm back in a sec16:27
lazyPowerack16:27
rick_h_arosales: yes, we talked about that in brussels. We need to get work done to not call the ~charmers the author/maintainer and it's part of fugure work and won't be available for the release next week16:31
rick_h_arosales: putting anything in the bundles.yaml is just like metadata.yaml. It lies on first fork and so we don't trust it and we have a path to a better way but it's work to do 16:31
rick_h_lazyPower: yes, it's on the todo starting in Nov16:31
rick_h_lazyPower: we'll get docs updated in the bundles docs here shortly. As we're working towards the release next week, docs are always last sorry16:32
rick_h_lazyPower: but adding a card to update bundle docs for our post-release updates to do16:32
lazyPowerarosales, rick_h_: so what i'm parsing from our conversation is that we're not ready for me to just stuff in metadata, and should work towards a solution that 'works today' and monitor this story as it emerges?16:32
arosaleslazyPower: ya for luca's charm store lauch it sounds like the new bundle format with any meta data won't be available.16:33
rick_h_lazyPower: correct, new fields in metadata need to be 100% good across forks (like tags/description) and any more we need we can support. However, the authoship problem is a bigger problem with a known solution that's planned in work upcoming in Nov16:33
lazyPowerthat will satisfy luca's needs, and get us 3/4 of the way for when the new bundle spec lands - when we can update with a complete spec 16:33
lazyPowerok. Thanks for the heads up rick_h_16:34
rick_h_arosales: the new bundle format is available for launch, just not the owner stuff. The placement updates need an update to deployer as well that'll be part of that follow up work. 16:34
arosalesrick_h_: but we should certainly add the maintainer field and name to the bundle metadata (weather that lives in the bundles.yaml or someplace else I leave to the implementors)  -- do you agree?16:35
rick_h_arosales: the idea is that with identity that's automatically figure-out-able other than the promulgated in which case we allow charmers to specify during the cli to promulgate something16:35
rick_h_arosales: lazyPower let me know if jumping on a hangout would help explain this better 16:36
lazyPowerrick_h_: i think it would settle this up quicker16:36
lazyPowerarosales: do you have time to join or do you want me to spear head this and re-educate at standup?16:36
arosaleslazyPower: sorry I may have missed a invite, join which meeting?16:38
arosalesrick_h_: but that doesn't live in source16:38
rick_h_arosales: yes, that's what we want. For it to not live in the source code. 16:38
arosalesrick_h_: and we still have a naming issue, specifically where do we pull a bundle name from?16:39
kadams54rick_h_: Back, though the left side of my face is numb :-\16:39
arosalesrick_h_: well my feedback is the author name should live in source in the metadata.yaml16:39
rick_h_arosales: huh? what's the issue with that?16:39
arosalesnot just in the store16:39
arosalesname currently just gets pulled from the dir structure, correct?16:39
rick_h_arosales: and our feedback on that is that having it in the source code, unless we go in and update it on the fly, tells users completely false information. 16:39
rick_h_arosales: no, the bundle has a name in the top of the yaml format16:40
rick_h_arosales: but we agreed that when we download it we'll name the zip/directory created with the bundle name16:40
arosalesrick_h_: ok. I think luca may be pulling the dir name . .  . we should confirm on that but agree the bundle top-level should be the correct name.16:40
rick_h_arosales: https://manage.jujucharms.com/api/3/bundle/~charmers/mongodb/5/cluster/file/bundles.yaml 'cluster' is the name16:41
rick_h_arosales: +116:41
arosalesrick_h_: agreed in manage, but looks different on new-jujucharms qa site16:41
rick_h_arosales: link?16:42
arosalesrick_h_: take it fwiw but I really feel in-source we should have the author named specifically16:42
arosalesjust to try to get  attribution correct when downloading source16:43
arosalesunless you ae going to inject that somehow when folks download16:43
rick_h_arosales: so for every upload of the bundle, at the top, you want to put the 'owner' as the source in that file?16:43
rick_h_arosales: if it has to be in the source like that I'd just propose we have a server generated CONTACT or OWNER document that we do on download/etc 16:43
lazyPowerrick_h_: i'm missing the purpose of de-coupling this information... and i apologize if you've already covered this.16:44
rick_h_lazyPower: arosales https://plus.google.com/hangouts/_/gyt4mcw4h3dci67wr243sbdkaea?authuser=1&hl=en16:44
lazyPowerwhen we say identity thats auto-figure-outable - is this so juju publish stamps the charms you push?16:44
hatchjujugui still looking for someone to take a look at this wip https://github.com/juju/juju-gui/pull/62416:54
kadams54hatch: I'll take a look16:54
hatchthanks16:54
hatchcoding is done, working on tests now - but would rather catch any oddities before I finish these tests :)16:55
lazyPowerrick_h_: quick question about current store display - did this meet some kind of wrapping line length to shift display? https://jujucharms.com/bundle/~lazypower/big-data-logger/4/hortonworks-logging-demo/?text=hdp17:08
rick_h_lazyPower: it just didn't fit, it's wrapped bug below the icon image17:09
lazyPowerhttp://i.imgur.com/uufBi9P.png - is what i see. and it looks like wrapping.17:09
rick_h_lazyPower: right, it is too long to fit between the icon and the deploy button17:09
lazyPowerthats what i figured. Ok - ta.   new store display will make this go away.17:09
rick_h_lazyPower: we should trunkcate it I guess. 17:09
rick_h_lazyPower: well, it will in teh store but not the GUI17:09
lazyPoweroooo17:09
lazyPowergood point17:09
lazyPoweri'll file a bug report17:09
rick_h_+117:09
rick_h_thuogh I'm nervous about truncating as well as many bundles might start out with less important text, guess we should try to auto shrink the font size or something better17:10
lazyPowerhttps://bugs.launchpad.net/juju-gui/+bug/138381617:10
mupBug #1383816: line wrapping alters bundle name display <juju-gui:New> <https://launchpad.net/bugs/1383816>17:10
hatcheww that's ugly17:12
* rick_h_ goes to find some lunch now, biab17:17
kadams54hatch: just finished looking over https://github.com/juju/juju-gui/pull/624 - everything looks good.17:58
hatchkadams54: thanks18:03
kadams54guihelp: is there any easy way to snag all unrelated services (i.e., deployed services that are NOT related to a given serviceName)?18:54
hatchkadams54: at the moment I don't think there is an inverse method for that18:55
kadams54hatch: kthnx18:55
hatchyou could use the related services method and then take the ones which it doesn't return18:55
hatchmight be the easiest 18:56
hatchrick_h_: after looking at using immediate: true it doesnt really get us any further because then i'd have to create the machine and place the unit on it anyways18:59
hatchso it's 6/1 6/12 of another18:59
rick_h_hatch: right, ok that's what I figured. at the start I had hoped it would be useful here18:59
hatchyeah I had blanked on it and thought MAYBE we'd get lucky :)19:00
jrwrenlol @ 6/119:01
hatchhaha u like that?19:01
hatchjrwren: rick_h_ wow your govt is corrupt too http://jalopnik.com/michigan-governor-signs-anti-tesla-bill-into-law-164897804819:08
kadams54hatch: yeah, can't say it's all that surprising in a state that's home to the Big Three.19:11
hatchfrom an outsider these ban's seem very anti-usa19:12
hatchbeing such a pro capitalism country and all19:12
jrwrentoo?19:13
hatchjrwren: along with every other state that's banned it19:13
jrwrenhatch: the USA is super corrupt. Every politician is bought and paid for by special interests.19:13
jrwrenhatch: oh, Michigan.  Yes, them too.19:13
kadams54jrwren: I'd say our corruption levels are on par with most of the world ;-)19:13
hatchoh i thought you were in michigan jrwren19:14
jrwrenhatch: I refuse to say 'us'.19:14
hatchohh lol19:14
jrwrenhatch: i didn't vote for these jerks.19:14
kadams54hatch: you find that sort of ideology kind of goes out the window when special interests (i.e. the people who vote you into office) come into play.19:14
kadams54hatch: "I'm for small, efficient government! Just don't close the military base in my home state."19:15
hatchlol19:15
hatchthis tesla thing is just baffling though19:15
jrwrenThe law is almost certainly unconstitutional under the interstate commerce clause, but this is law until it is challenged. 19:15
hatchif they had franchise dealerships then it would be ok? It doesn't make any sense19:16
hatchwho cares who owns the dealership19:16
kadams54hatch: What's baffling? It's the old guard protecting the status quo.19:16
kadams54That's what the old guard always does.19:16
hatchkadams54: true but if I moved to michigan and opened a tesla dealership then it would be ok?19:16
hatch(assuming tesla would do that)19:16
kadams54Yeah, I think so. Tesla wouldn't do that, but yes.19:17
kadams54The best option Tesla has is to sell a buttload of cars in non-restricted states19:17
kadams54Depriving the restricted states of tax revenue19:17
hatchright so if that's the case then I don't see how this changes anything19:17
jrwrengas prices are so low now, who wants a tesla? I'll stick with a vette :p19:17
hatchElon could just open up a dealership chain of tesla dealers19:18
hatchthat's not owned by tesla19:18
hatchessentially skirting the bs law19:18
kadams54Yeah, I have no clue what sort of corporate shennanigans are possible.19:18
hatchso this is why it's baffling, I dont' see how anyone benefits from this ban - if only to delay the inevitable 19:19
kadams54I know Gordon Food Service's trucks were leased to GFS by another company, which was also owned by the Gordon family. The whole thing was to limit GFS' liability in case of an accident. So those sort of things do happen.19:19
hatchoh yeah for sure - tons of airlines are actually many small companies being hired by the big ones 19:20
hatchto do the same19:20
kadams54Dragged kicking and screaming into the 21st century.19:20
hatchlol19:20
kadams54hatch: Ok, I'm not finding a related service method.19:21
hatchkadams54: hmm it definitely exists because that's how it knows what it can relate to19:21
kadams54I'm pretty sure one exists and I'm pretty sure I've seen it used elsewhere, but my ack skills are not turning up anything.19:22
kadams54I'll poke around in code19:22
hatchwell doesn't the 'fade service' use it?19:22
hatchthat fades the service and it's relation lines19:22
kadams54utils.getRelationDataForService() is the winner.19:23
hatchthere we go19:23
kadams54hatch: for highlight, we need to fade all unrelated services, in addition to highlighting the selected service and its relations.19:23
hatchohh ok19:24
hatchthat's interesting19:24
urulamajujugui: anyone needing mycomiclife CS running? I see some activity ... can it go down for 5min?19:34
rick_h_kadams54: did that branch get up for WIP eyeballs?20:53
kadams54rick_h_: not yet… hit a dead end, had to backtrack, getting close again.21:27
huwshimiMorning22:02
kadams54huwshimi: morning22:06
huwshimikadams54: Hey :)22:06
hatchhey huwshimi22:07
huwshimihatch: Hey22:07
kadams54Whoa. Google Canary: if you long click on the reload button, a menu pops up that lets you choose which type of reload you want to do.22:14
kadams54Normal Reload, Hard Reload, or Empty Cache and Hard Reload.22:15
hatchnice22:20
hatchstepping away for a bit, I'll bbl to get this branch finished and up for review22:21
kadams54guihelp: https://github.com/juju/juju-gui/pull/625 needs QA. Right now the code is a mess, which is why it's a WIP, so just stick to the QA.22:49

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