/srv/irclogs.ubuntu.com/2013/03/01/#juju-gui.txt

hatchbcsaller_, it doesn't look like namespaced url variables work00:04
hatchhttp://localhost:8888/:scaffoldSubApp:/part/7 doesn't match '/part/:id' 00:04
hatchbut  http://localhost:8888/:scaffoldSubApp:/part does 00:05
hatchwe can discuss tomorrow I just wanted to put that out00:05
hazmatbac, strange.. don't know.. i'm not a user of cobzr00:27
hazmatbac, the ? might be better suited for #juju-dev00:27
=== jovan2_ is now known as jovan2
frankbanhi rogpeppe: if you have time, could you please take a look at https://codereview.appspot.com/7421045/ ?11:03
rogpeppefrankban: will do, thanks.11:06
frankbanrogpeppe: thanks11:06
rogpeppefrankban: LGTM11:28
frankbanrogpeppe: great, thanks!11:28
frankbanrogpeppe: re api methods, when returning a structure, are pointers automatically dereferenced by the api machinery? if so, is it considered a good practice to include pointers in the returned struct, or is it better to always return values?12:31
rogpeppefrankban: the top level structure must be by-value. anything inside will have pointers automatically dereferenced as necessary.12:32
rogpeppefrankban: so it's at your discretion. it's usually a judgement call.12:32
rogpeppefrankban: if you've already got a pointer, a pointer probably makes sense. or (particularly) if the item in question is optional.12:33
rogpeppefrankban: the by-value restriction is rpc's alone. in general there's no issue with returning pointers.12:33
frankbanrogpeppe: the top level is a value, one field of the struct is a charm.Config instance, returned as a pointer by charm.Config(). This leads to the second question: is it ok to use such juju_core structs at the API level, or do we need to build other structs specific for the api?12:35
rogpeppefrankban: i think that where appropriate, it's fine to use juju-core structs for the api12:36
frankbanrogpeppe: cool, thanks a lot12:36
rogpeppefrankban: and in particular i think charm.Config is a good candidate12:36
rogpeppefrankban: because all its fields are exported and appropriate for json use12:37
rogpeppefrankban: (although i had to look quite hard at Default)12:37
frankbanrogpeppe: ack, what happens when you try to export a struct containing provate fields? are they just ignored?12:38
rogpeppefrankban: yeah12:38
frankbans/provate/private12:38
frankbanrogpeppe: ok, and I guess if you still require those, then the path to follow is to define a struct specific for the api, maybe...12:39
rogpeppefrankban: maybe. we'd have to take it on a case-by-case basis. there are other possibilities that don't require a new struct definition.12:39
frankbanrogpeppe: have not looked yet, but I'll have to export Meta.Requires, Provides and Peers.12:40
rogpeppefrankban: they're all exported already12:41
rogpeppefrankban: Meta looks like a good candidate for direct use too12:41
frankbanrogpeppe: cool, I am implementing a CharmInfo api call, required by the GUI, I am trying to only pass things required by the GUI, trying to mimic what's already provided by the pyjuju api. Does it make sense?12:42
frankban(in pyjuju that's called "get_charm")12:43
rogpeppefrankban: i guess so. although i suppose it doesn't matter much if you get more info. none of it is private AFAIK.12:43
rogpeppefrankban: (and none is particularly bulky)12:43
frankbanrogpeppe: cool, I'll also ask gary_poster when available, thanks12:44
bacfrankban, teknico, benji, Makyo: see my warning at the end of http://bit.ly/Wln4KR -- it happened to me yesterday.12:45
frankbanbac: thanks, I usually "bzr pull" to update a branch. I guess tests warning can be avoided by manually "go install"ing required packages, but it's still uncomfortable12:48
bacfrankban: yeah, there are work-arounds but 'get -u' seemed to be the easiest12:49
frankbanbac: agreed12:50
* gary_poster reads backlog12:59
gary_posterfrankban, hi.  what's the question?  sounds like you are on the right track for get_charm13:02
frankbangary_poster: quick hangout after my lunch with teknico too?13:05
gary_posterfrankban, cool sounds good13:05
frankbangary_poster: thanks13:05
* frankban lunches13:05
gary_poster:-)13:05
gary_posterhatch, hi.  when you get in, please ping me for strategizing what you work on today (basic idea: can we get subapp work in a position that orange squad can use it Monday morning at the sprint? Do we need to add some of this to sprint goals?  Should that affect other induction sprint goals?)13:11
gary_posterbac are you working on the JS side of expose now?13:37
bacgary_poster: yes13:37
gary_postercool bac.  I want to move your Go card to daily and make a new card for that.  ok with you?13:38
bacoh, sure13:38
gary_postercool thx13:38
baci thought i had made a card13:38
gary_posteron it13:38
gary_posterbenji, btw bbcmicrocomputer landed your charm-tools card13:39
gary_posterI moved it to done13:39
bacgary_poster: yes, 'hook up juju-core expose' with my face on it13:39
gary_postergot it thx13:39
bacgary_poster: it is cleaner in the future if those tasks have two different bugs, since kanban will only allow one card per LP bug13:41
bacdoing two bugtasks was my idea but didn't turn out well13:41
benjicool13:43
gary_posterbac, cool.  Let's have that discussion once we have two or three of the JS-side branches under our belt.  I'm inclined to agree with you, but I'd like to see.  For now, though, am I right that we need GUI-side support for unexpose, set-config, and get so far, not including your expose?13:45
bacgary_poster: yes13:45
gary_postercool thanks13:45
gary_posterhatch, hi.  when you get in and settled, please ping me for strategizing what you work on today (basic idea: can we get subapp work in a position that orange squad can use it Monday morning at the sprint? Do we need to add some of this to sprint goals?  Should that affect other induction sprint goals?)13:54
gary_postertoday == getting my laptop ready...13:56
hatchgood morning13:56
hatchgary_poster, it might be....I came across, what I'm assuming, is a asmall bug in the new router code13:57
gary_posterI saw that hatch, yeah13:57
hatchso as long as that can be ironed out and I can fully test the subapps .navigate() then they should be good to go13:57
gary_postertoday you mean?13:57
hatchyep as far as I can tell it's all good to go besides that13:58
hatchoh....I have one small patch13:58
gary_posterok great13:58
hatchbut it's already done just no ticket yet13:58
gary_posterhatch how should we hand this over to orange squad?  maybe some docs?13:59
hatchthrow it at them and run!13:59
gary_poster:-)13:59
hatch;)13:59
rick_h_hatch: gary_poster cool, toss it this way13:59
gary_posterrick_h_, cool :-)13:59
hatchI started writing some intro docs yesterday so I'll expand on those14:00
rick_h_hatch: just toss a (STR) on there (Some Tinkering Required) 14:00
hatchrick_h_, well right now there is a router bug which will cause nothing but headaches for you guys so I'd like to hold off until we get that solved if that's O K14:01
rick_h_hatch: all for reducing headaches14:01
gary_posterhatch, agreed with you.  that said, what do you think of getting rick_h_ on a call with us now-ish also?  I think he's raring to go, and he might give us valuable insight as well as some very experienced JS hands if he's available and we have anything we can push off to him14:03
bcsaller_hatch: what is the issue?14:03
gary_posterOK proposal:  (1) hatch and bcsaller_ talk about issue. (2) hatch gary_poster and rick_h_ talk about next steps for today and Monday.14:03
gary_poster(3) we all move to cancun14:03
rick_h_gary_poster: hmmmm...14:04
hatchcan I vote for Montego Bay?14:04
hatchI'm not a fan of Mexico14:04
hatch:P14:04
gary_posteryeah ok, I';m flexible14:04
rick_h_gary_poster: so I'm ok for now working on a Charmworld API wrapper if it makes sense to hold off until EOD or even first thing Monday14:04
hatchhaha14:04
rick_h_so I guess fewer calls == a get-it-done friday from my POV14:05
gary_posterrick_h_, ok, got it, cool14:05
hatchbcsaller_, I am attempting to match http://localhost:8888/:scaffoldSubApp:/part/7 with the route '/part/:id' but the only way it matches is with http://localhost:8888/:scaffoldSubApp:/part14:05
bcsaller_did you try making the path expression end in a '/' in the route and in the url? w/o the slash its hard to assemble components14:06
hatchchecking14:06
hatchbcsaller_, thanks that was the trick14:08
hatchsounds like we should split on ? and then append a / if there isn't one14:09
bcsaller_hatch: that was described on the call and in the merge proposal but maybe not in the route comments.14:09
bcsaller_hatch: its not just the last one, its to aid in the assembly of the parts14:09
hatchahh so the url doesn't need it, only the path14:10
hatchok I'll note that in the documentation14:10
bcsaller_hatch: w/o switching to real regex (which is an option) in the paths, yes, but switching requires a change to all the handlers/callbacks as the :id placeholds get replaced by indexed param arrays, so I didn't go there 14:11
hatchyeah that's fine - from a usability standpoint there is no difference - which at this point is all I'm concerned about14:12
hatchwell....minor difference ;)14:12
teknicogary_poster, frankban, either now or in half an hour. what do you say?14:12
gary_posterteknico, up to frankban.  I'm fine either way14:13
gary_posterhe's probably still lunching14:13
teknicogary_poster, ok, then I'll move to the other place and resurface in 30 minutes14:14
gary_postercool teknico ttyl14:14
hatchOK everything functions as expected with namespaced subapps14:30
hatchnow to test for charmstore14:31
rogpeppegary_poster: ping14:39
gary_posterhey rogpeppe 14:40
rogpeppegary_poster: just wanted to quickly check something14:40
gary_posterok14:40
rogpeppegary_poster: i'm trusting that all the information that you're going to be wanting from the megawatcher is a subset of the data contained in these structs: http://paste.ubuntu.com/5576427/14:41
rogpeppeis that reasonable?14:41
gary_posterrogpeppe, gimme a sec to verify :-)14:41
gary_posterrogpeppe, we will eventually want annotations on everything, including an environment object, but you knew that already...still looking14:43
rogpeppegary_poster: the annotations would be added to those structs14:45
gary_posterrogpeppe, assuming unit Status == agent_state14:45
gary_posterrogpeppe y (plus we'd need a new struct for the env itself)14:46
rogpeppegary_poster: yes, i'm pretty sure14:46
rogpeppegary_poster: of course. what data do you need from the environment object, BTW?14:46
gary_posterannotations, rogpeppe.  that should be it14:46
hatchok it looks like using the fallback to the default namespace is working as well14:47
hatchrick_h_, expect to have this thing and the documentation this afternoon14:47
rick_h_hatch: awesome14:47
rogpeppegary_poster: cool. i'm glad for the confirmation - i'm well into the implementation and realised that everything kinda hinged on this :-)14:47
gary_posterrogpeppe, for relation we have type, scope, and display_name14:48
hatchgary_poster, bcsaller_ - am I to understand that if you are using the 'charmstore' namespace (no prefix in the url) you shouldn't specify routes for '/' ?14:49
gary_posterrogpeppe, for machine, we have public_address, instance_state, agent_state14:49
teknicoback14:50
rogpeppegary_poster: hmm, that's a good point about relation actually. i need to look into that a bit more14:50
gary_posterrogpeppe, for machine we barely use that, so if what I describe is a problem, let me know and I'll verify whether we can ignore them.  they are available in our data though14:52
gary_posteraccording to the JS model14:52
rogpeppegary_poster: and machine too. i think we can probably retro-fit public-address.14:52
gary_posteror cool rogpeppe.  That's the only missing info I see.  Everything else looks goof14:52
rogpeppegary_poster: and instance-state if necessary.14:52
gary_postergood, even :-P14:52
rogpeppegary_poster: i thought it was new street slang i was previously unaware of :-)14:53
gary_posterlol, that's me, hip to the street14:53
rogpeppelol14:53
benjirogpeppe: question: I am writing a test in state/api/api_test.go and I need to set a unit to an error state but I do not see a way to get ahold of the unit to do so.  st.Unit("wordpress/0") does not work because the kind of state "st" is isn't the kind of state that has a Unit method.14:54
rogpeppegary_poster: the type and scope attributes are inside Endpoint, but i'm not sure what display_name is14:55
gary_posterok, looking14:55
rogpeppebenji: you've got access to the underlying state.State too14:56
rogpeppebenji: s.State14:56
benjihmm, I /thought/ I tried that14:56
rogpeppebenji: for instance, all the stuff in setUpScenario operates on the underlying state, not api.State14:57
benjirelatedly, what is the best way to figure out the attributes/methods of a struct?  for the most part my grepping has worked, but for the life of me I couldn't find the definition of api.State14:57
benjirogpeppe: this is one of the "table"-driven tests (opClientResolved) so I don't have an "s" (as far as I can tell)14:58
rogpeppebenji: why do you need to set the unit into an error state in that test?14:58
gary_posterrogpeppe, I think display_name is actually derived from endpoints too.  (Maybe we are choosing one of the two? :-/ )14:58
gary_posterone of the two endpoints' display names I mean14:58
benjirogpeppe: so I can call Resolved on it14:58
rogpeppebenji: i made a tool to make that easy for *me* (but you'd have to integrate it into your editor somehow to make it as easy for you). looking for a type, usually grep 'type Foo' does the job.14:58
rogpeppebenji: presumably you could call Resolved anyway - it would just give an error...?14:59
frankbangary_poster, teknico: call now? juju-gui?15:00
gary_posteryes, sounds good thanks15:00
benjirogpeppe: I suppose I could.  For my education's sake, how would I do so if I were so inclined?15:00
rogpeppebenji: yeah, you could just check for "already resolved"15:00
rogpeppebenji: you'd change the test to pass in a state.State to each function. so far there hasn't been a need to.15:01
benjiI figured.15:01
rogpeppebenji: *or*....15:01
rogpeppebenji: you could change setUpScenario so that one of the units was in the required error state15:02
Makyogoodspud, ping15:02
benjiI strongly suspect that would break one or more existing tests (which is of course why big, shared state setups are a pain in tests)15:04
gary_poster"The computer needs to restart to finish installing updates."15:10
gary_posterbrb15:10
goodspudMakyo, ping back15:11
Makyogoodspud, got a sec to look at the service page?15:11
goodspudCertainly do15:11
Makyojujugui's free.15:12
MakyoOr I can just do a screenshot, I guess.15:12
=== gary_poster|away is now known as gary_poster
jcsackettcan someone help me with a strange make lint error?15:27
jcsackettwhen it gets to the bin/test-filtering stage, it dies like so: http://pastebin.ubuntu.com/5576565/15:27
jcsackettthis is in trunk.15:27
jcsacketti dont' really understand why it's looking at assets in the first place, but even so, the permissions on mocha.js shouldn't be throwing any denies.15:28
jcsackettgary_poster: ^15:28
gary_posterjcsackett, will do, after call15:29
gary_posterjujugui call in 215:29
gary_postercall in 115:29
jcsackettgary_poster: ok.15:29
gary_posterteknico, bcsaller_ starting soon15:30
gary_postergoodspud, ping for you too15:32
hatchrick_h_, I wrote a scrollview based carousel if you are looking for a touch based carousel15:56
hatchthat also works with mouse15:56
rick_h_hatch: cool yea send my way 15:56
rick_h_hatch: we're looking at the top left widget in the 07 Narrow_Home.html in the mockup15:57
rick_h_jcsackett: is looking at it next15:57
rick_h_jcsackett: ^^15:57
jcsackettrick_h_, hatch: dig. i would be interested in seeing it.16:01
Makyojcsackett, bcsaller_ http://pastebin.ubuntu.com/5576652/16:04
MakyoThat should help with the lint error.16:04
hatchrick_h_, can you pm me the link? I am sure I have it somewhere in my email but who knows where :)16:06
bcsaller_Makyo: looks good, I hadn't seen that for some reason, but makes sense 16:07
jcsackettMakyo: ah, cool. glad to know the script needed fixing, not my install. thanks!16:20
rick_h_hatch: sorry, was otp16:22
hatchon the potty ?16:22
hatchlol16:22
rick_h_hatch: yea, and most people don't like me tablet-ircing from there :P16:22
hatchoh sometime I crack myself up16:22
hatchlol16:23
rick_h_hatch: https://docs.google.com/a/canonical.com/file/d/0B1IM--9A1RkTbFV5aTNZLUlOQ1E/edit16:23
gary_posterbcsaller_, could you help jcsackett ?  I actually have to run16:24
jcsackettgary_poster, bcsaller_: Mayko's patch sorted my problem.16:24
bcsaller_jcsackett: great16:24
gary_posterjcsackett, great! thanks Makyo q16:24
gary_posterthat's your new name, Makyo Q.  Sounds good.16:25
MakyoQ for...Quentin?  Quetzalcoatl?16:25
hatchrick_h_, ahh the thing that says 'wordpress' 'apache' 'glance' etc etc16:27
rick_h_hatch: right, so we've got work into a widget to display a single charm, and then we need a second widget that does the slider around a set list of them16:28
hatchdoesn't it just scroll vertically?16:28
hatchohh nm16:28
hatchi missed the dots16:28
rick_h_hatch: no, look at the dots under it16:28
rick_h_hatch: right16:28
rick_h_hatch: so yea, we're assuming that represents a nice slider of charms that would need to be touch/slide friendly16:28
hatchok so for that you should extend ScrollView16:28
hatchI can help you with that, I've done a lot of work with it16:29
hatchmy other code won't really help much16:29
hatchwell that's not entirely true16:29
hatchsec I'll get the repo16:29
hatchrick_h_, https://github.com/hatched/flickr-carousel16:29
rick_h_lmao! I just put together hatch with #yui hatch16:29
hatchhaha yup that's me16:30
rick_h_that's awesome, now I feel like I know you for a long while. very cool16:30
rick_h_hatch: but yea, I figure jcsackett will look through anything good in the gallery and the like to start from for sure. 16:30
hatchI wanted to use scrollview because it natively supports pagination AND gestures16:31
hatchso overlaying some type of page indicator shouldn't be difficult16:31
rick_h_right, ok that's cool. Not used scrollview for anything yet16:31
hatchas far as carousels go it's pretty heavy weight but it provides for some cool interactions 16:33
rick_h_hatch: hmm, well weight might matter as we build things up. We're going to have a lot of moving parts all told I think16:33
rick_h_but worst case refactor and steal the best bits16:33
benjiall three of the Reitveld reviews for landed command api branches that I know of have been added to https://docs.google.com/a/canonical.com/document/d/1n8rhYuj7YvTcz_HdKV1tLVj9cfSbkHTCzks1_9BZEdI/edit16:38
hatchbcsaller_, I'd like it if you could take a look at this code, I feel like its something obvious but I'm just missing it heh16:39
bcsaller_hatch: how do you want to do this, a screenshare?16:39
hatchI can push the branch, you'll probably want to inspect the logs16:40
bcsaller_k16:40
hatchhttps://code.launchpad.net/~hatch/juju-gui/1132943-scaffold16:41
hatchonce you got it up and running I can talk you through the execution order if you like16:42
hatchjcsackett, I'm going to review your branch16:45
hatchis it ready?16:45
hatchready for review I mean16:45
rick_h_hatch: let us go over it once first please. I think it'll get tweaked a lot at first16:48
rick_h_we'll make sure to bug you for when we think it's ready 16:48
hatchsounds good :)16:49
bcsaller_hatch: that branch still doesn't have the callingContext stuff merged in?16:50
hatchbcsaller_, I'm sure it does, one second16:51
hatchyep it does16:51
hatchhttp://bazaar.launchpad.net/~hatch/juju-gui/1132943-scaffold/view/head:/app/app.js#L47216:51
hatchwhat you're seeing is it calling the superclass router-debug.js file16:52
hatchs/you're/you're probably16:52
bcsaller_hatch: ahh, yeah, seeing a null callback in a method we shouldn't see16:53
hatchMakyo, I'm about to install Win8 in a virtual box - do you remember if there were any special virtualbox packages you needed (before I get started)16:54
Makyohatch, Not that I remember, just installed virtualbox from apt, and ran the ISO.  I suggest grabbing a product key first, as the install can really slow down the machine too much to use a browser.16:55
hatchpfft not on this 3 year old i3 monster!16:55
hatchlol16:55
hatchI haven't used virtualbox in probably 2 years so this should be interesting17:00
benjiWhile debugging and developing incrementally go's insistance upon avoiding unused varaibles/imports is counter-productive.17:02
bcsaller_hatch: its what I was warning about, "scaffold-sub-app" is a subscriber to the history:change event, which is fired when we trigger url replacement. It responds by dispatching in the subapp, this is the non-spacespace aware routing happing there. It shouldn't be subscribed to or using that behavior at all for this to work 17:05
bcsaller_hatch: it comes from the Pjax base17:05
hatchpoop17:06
hatchalrighty17:06
bcsaller_not sure what the best path forward is from here17:07
hatchyeah I'm reading the code right now17:07
bcsaller_The stack trace at the point of error is revealing (and very deep)17:08
bcsaller_I'd try defined html5:false on the subapp before going too far17:08
hatchlooks like the offending event handler is in router17:18
hatchbcsaller_, fixed it17:20
hatchthanks a bunch for pointing that out :D17:20
hatchgive me a few minutes to flesh out the fix and then I can detail it17:20
bcsaller_hatch: ha, no problem. I expect we'll still see something of this nature again though17:21
hatchshush you17:21
bcsaller_ha17:21
bcsaller_fair enough17:21
hatchlol17:21
benjirogpeppe: have a second to look at something for me?  I have a test assertion and I thought "err" was a string but when I run the tests I get the error at the top of http://paste.ubuntu.com/5576866/17:23
benjihowever, if I switch the assertion to look at err.Message I get the build error at the bottom of that paste17:23
rogpeppebenji: you want to use ErrorMatches17:24
benjirogpeppe: ok... why is that?17:24
rogpeppebenji: no errors are plain strings17:24
rogpeppebenji: (string does not implement the Error method)17:24
rogpeppebenji: you could do, c.Assert(err.Error(), Equals, "....")17:25
rogpeppebenji: but that would panic if err was nil, which isn't very helpful17:25
benjirogpeppe: I don't understand "no errors are plain strings"; does that mean "no, the last thing I said is not tru (that I should use ErrorMatches), because errors are plain strings" or "there are no errors that are plain strings?"17:27
benjis/tru/true/17:27
rogpeppebenji: the latter17:28
benjiok; in that case why does the error describe error as being a struct with a Message member, but if I attemt to access it I get the build error?17:29
bcsaller_is it being downcast back to plain Error when it shouldn't be? losing access to the additional info17:30
benjiinteresting hypothesis, bcsaller_.  I wasn't aware that go did autmatic type casting.17:31
bcsaller_eh, what do I know :)17:31
bcsaller_just seems like the base language elements that throw err can't know about the extension type17:32
hatchMakyo, Its been sitting at 'Creating process for virtual machine' 0% for a while now - do you remember if it took this long?17:37
Makyohatch, no..17:37
hatchalright I'll leave it for a while longer17:37
hatchI'm pretty sure it's hung up thought because it's not using any cpu17:38
hatchoh well 17:39
benjirogpeppe: ok; in that case why does the error describe error as being a struct with a Message member, but if I attemt to access it I get the build error?17:39
rogpeppebenji: because you need to convert it to the concrete type first. the error interface has no Message members - you can't look inside an interface (other by calling methods defined on the interface) until you've asserted it to some non-interface type17:41
rogpeppebenji: e.g. err.(*api.Error).Message17:41
rogpeppebenji: that will panic if the error is not of type *api.Error17:42
benjirogpeppe: thanks, that makes a modicum of sense to me at this point in my go journey17:43
rogpeppebenji: see http://golang.org/ref/spec#Type_assertions17:43
benjithanks17:43
rogpeppebenji: also http://golang.org/ref/spec#Type_switches17:43
bcsaller_sounds like I was on the right track there17:44
rogpeppebcsaller_: yeah.17:45
rogpeppebcsaller_: the missing piece is that the gocheck package is passing around the return value as an interface{}, and has forgotten that it was once an "error" value.17:46
bcsaller_makes sense, interface{} feels a bit like void * in C, up to the developer to cast it to something more meaningful17:47
rogpeppebenji: and, yeah, go does automatic type down-casting (a value is assignment-compatible with any interface that it implements) but not up-casting17:47
rogpeppebcsaller_: that's right17:47
rogpeppebcsaller_: the nice thing is that after the dynamic type conversion, you know exactly what you've got and can access all fields and methods of the concrete type without fear.17:48
bcsaller_that is a solid advantage 17:49
rogpeppebcsaller_: if you see a ".()" operator somewhere, that's a good sign that you should look very closely at the code...17:50
hatchMakyo, you weren't kidding this install is putting this thing into limp mode haha18:04
Makyohatch, right? :P18:04
MakyoWorks alright once it's running, at least.18:04
=== deryck is now known as deryck[lunch]
rogpeppegary_poster: FYI here's the initial linked list implementation (i'm just writing the first tests for it now) http://paste.ubuntu.com/5576993/18:14
rogpeppegary_poster: that implements all the operations needed by the higher level watcher, i think18:14
rogpeppegary_poster: of *course* it will all work first time :-)18:16
gary_postergreat rogpeppe, awesome! I'll dig into it this afternoon for a few minutes18:17
gary_poster:-)18:17
gary_posterof course!18:17
rogpeppegary_poster: yay! first test passed. (newAllInfo) the rest will have to wait for the plane.18:30
gary_posterrogpeppe, :-) awesome thanks for your work, have a safe trip, and look forward to seeing you in ATL18:31
rogpeppegary_poster: all that to you too!18:31
gary_poster:-) thx18:31
=== deryck[lunch] is now known as deryck
hatchhey Makyo so I installed win 8, had it up and running, now after shutting it down when I try to boot it back up it goes right into the installer again19:18
Makyohatch, Do you still have the installation media mounted?19:18
MakyoIn virtualbox, I mean.19:19
hatchunder Storage there is the IDE which has the iso19:19
hatchI'm assuming that's the issue?19:19
MakyoYeah, it's still booting to that.19:19
hatchahh ok19:19
hatchthat did it19:20
hatchthanks19:20
hatchfor some reason it's in 4:3 resolution19:22
BradCrittendenbenji have you launched an instance from juju-core lately?19:34
=== BradCrittenden is now known as bac
benjibac: nope19:35
bacbenji: bootstrap works for me but 'juju status' returns 'error: cannot log in to admin database: auth fails'19:35
bacthus i can't do anything19:36
benjihuh; I haven't seen that one.  Shot in the dark: maybe a fresh control bucket would help.19:36
bacbenji: good idea19:40
bacbenji: nope, changing the control bucket had no effect...19:54
benjihrm19:54
hatchMakyo, did you have to do anything special to get anything other than 4:3 resolutions? Even after installing the guest tools I'm still only seeing the same old ones19:56
MakyoNever gotten that working, sorry :/19:56
hatchalright no problem I've tried a couple techniques with no luck and have a few more19:57
hatchjust thought I'd ask19:57
hatchI'll let you know :)19:57
hatchMakyo, I figured it out20:08
Makyo\o/20:08
hatchVBoxManage setextradata "Windows 8 Pro" CustomVideoMode1 1366x768x3220:08
hatchshit down vbox and run that command20:08
hatchsubstitute the "Windows 8 Pro" for your vm name and the 1366x768x32 for the resolution you want20:09
hatchthen that resolution will be available in the windows 8 display settings20:09
bacbenji: my problem was i just didn't use 'bootstrap --upload-tools'20:10
benjiah!  sounds like one for the failure mode list (if that's still a thing)20:11
gary_posterbenji, make it so :-)20:14
Makyogary_poster, ping.20:33
gary_posterMakyo hey sorry almost20:33
Makyogary_poster, np, ready when you are.20:33
bacbenji: does that list exist somewhere?20:34
benjiwe had something like it in the early going; in fact ,i thought you put it together20:35
bacbenji: hmmm20:36
bacbenji: oh, this: https://docs.google.com/a/canonical.com/document/d/1OEOzDu9lh4ko8oSgl_tjQlk98x_rgtiiSSJYBRopic8/edit20:37
benjibac: right!  Maybe now that we're in a (more) steady state we could convert that to a wiki document, dropping any that don't apply any more (I am think of the one about test failures on trunk)20:39
baca good idea20:40
baci just made it a google doc since we had so much stuff there and we all knew where to look20:40
benjiyep, I think google docs are good for transient stuff like that20:41
* bac -> dogwalk. bbiab.20:57
hatchit looks like it's ~ a 10min walk to the closest at&t store for me to go and buy a prepaid data sim for my phone21:15
hatchOr thats just an office building21:15
hatchdamn lol21:15
hatchdo places like CVS sell sim cards?21:16
hatchhas anyone ever run into an issue with spritegen? I am getting https://gist.github.com/hatched/7d420804ce849d97449f this error21:33
hatchno idea why, trunk builds fine and I've only changed a couple files21:34
benjihatch: I have never seen a sinle sim card for sale at a retail location in the US (although I have never looked very hard, either)21:34
benjihatch: it doesn't know how to read the file identify.im621:34
hatchwell I got that lol21:34
benjiheh21:35
hatchI wonder what that file is21:35
hatchor where it came from21:36
benjisince I have never heard of an .im6 file I figured you'd say something like "Silly me, putting my instant messager v6.0 log files in the sprite directory" ;)21:36
hatchhaha not this time :) odly enough when I goto that dir there is no such file21:37
hatchI guess I could delete the branch and try again21:38
benjihmm, does the sprite generation use ImageMagick?  Does it produce temporary files with a .im6 extension?21:38
MakyoOr diff against trunk?21:38
hatchMakyo, yep I've diffed against trunk and only my js has changed21:39
MakyoHuh!  It's repeatable, too?21:40
hatchyep - I'll try making a new branch and see what happens21:40
hatchoh I did run lbox propose without running make devel first21:40
hatchnot sure if that matters21:40
benjithis mailing list message seems to be related, but I can't see how, exactly: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=65267521:40
hatchhmm, well I'll just make note of my changes and try a new branch21:41
hatchno big deal, just a very odd error21:41
bachatch: had you asked last week i would've suggested straighttalk.com ... even though they are owned by walmart but use the at&t network.21:43
hatchahh well it looks like even if I prepay it's going to cost me quite a bit....like $7521:43
hatchso I'll just keep data off when roaming21:44
hatchsuch is the life I suppose :)21:44
bachatch: you need a microsim or a full size?  i think i have an extra full-size you could use to activate21:44
hatchfullsize - but wouldn't I need a contract on that sim?21:44
bachatch: no.  but it woudl be $48 for voice+data for a month21:45
benjihatch: I think you got that error because imagemagick was being installed by the spritegen package and the temporary files were picked up.  Which seems like an insane thing to be happening, but it is the only hypothesis that I have that matches the evidence.21:45
benjithis is the code that I think is responsible: node_modules/node-spritesheet/scripts/imagemagick.sh21:45
hatchbenji, yeah it might be a side effect of not running make devel first21:46
hatchhmm nope21:46
hatchjust created a new branch and got the same error21:47
hatchwth21:47
benjistrace is your friend (especially the -f option, in this case)21:47
hatchhttps://github.com/rsms/node-imagemagick/issues/22 ....fail response 21:48
benjiright, it can't recognize the file as an image; the real question is where the file is coming from21:50
hatchyeah I just ran make clean and make devel on trunk and it's fine21:51
bcsaller_-    "node-spritesheet": ">=0.2.3"  +    "node-spritesheet": "0.4.0"21:51
benjithe only hint I can find for a file named identify (one of the imagemagick executables) with an extension .im6 is that debian bug asking for the v6 version of image magic to have .im6 tacked onto the executable names21:51
bcsaller_benji: ^^21:51
bcsaller_the new version has an error21:52
bcsaller_0.4.1 was broken for me21:52
benji"an error" or "the error"?21:52
bcsaller_with 0.4.0 it was working21:52
bcsaller_ahh, it was hatch that was asking. 21:53
hatchdamn we really need to specify concrete version numbers - these guys keep breaking their packages lol21:54
bcsaller_current is good until it isn't 21:54
hatchthat's been 3 packages in 2 weeks haha21:54
hatchmaybe it's a conspiracy 21:54
bcsaller_and that makes it better or worse than golang? ;)21:55
hatchhaha21:55
hatchok I'll update the package.json :)21:55
hatch'0.4.1': '2013-03-01T15:44:46.490Z' }21:55
hatchI'm not sure a bug fix release is supposed to break things21:56
hatchjust sayin...21:56
hatch;)21:56
hatchbcsaller_, thanks for pointing that out21:57
hatchthat fixed it21:57
* Makyo walkadoggy.22:03
hatchjcsackett, you mentioned you were having issues getting your new code into codereview...was it a spritesheet issue?22:08
hatchI'm sure most are done for the day but if anyone is still around a review on https://codereview.appspot.com/7448047/ would be awesome :)22:15
gary_posterhatch will look later in weekend but need to go now22:18
hatchsure no problem22:18
jcsacketthatch: no, it was the network i was on. just got home and sent it off again and it worked this time.22:30
hatchohh ok :) 22:32
hatchI just ran into the spritesheet version issue so I thought I'd point it out if you missed it22:32
hatchwould you like me to review?22:33
jcsacketthatch: if you have time sure; i'm heading out though and probably won't be able to return to this till monday, so no rush.22:45
hatchalrighty well have a good weekend22:46
jcsackettyou too. :-)22:46

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