/srv/irclogs.ubuntu.com/2012/05/02/#juju-dev.txt

TheMuemorning06:45
TheMuedavecheney: Welcome to the team.06:46
davecheneyhey there!06:46
TheMuedavAlready officially started or has it been the 01.06.?06:47
TheMuedavecheney: Oops, forgotten to press tab. ;)06:47
davecheneyyes, i started on the 1st06:48
=== mthaddon` is now known as mthaddon
fwereadeheya wrtp07:50
wrtpfwereade: mornin'!07:50
TheMuefwereade, wrtp: Morning07:52
fwereademorning TheMue07:52
wrtpTheMue: yo!07:52
TheMuefwereade, wrtp: Will be funny in future, Dave just left the channel.07:53
wrtpTheMue: yeah, big time difference...07:53
wrtpTheMue: has he started now?07:53
TheMuewrtp: Yes, yesterday.07:53
fwereadewhere's he based?07:53
wrtpfwereade: oz07:54
* TheMue is preparing his 12.04 upgrade.07:55
wrtpTheMue: i did mine yesterday08:06
wrtpTheMue: it was *not* hassle-free!08:06
wrtpTheMue: but it finally worked08:06
TheMuewrtp: Tell me more (while my backup is running).08:07
wrtpTheMue: well, i set the upgrade process working. it got most of the way through, but at some point everything went blank. the machine wasn't down (i could switch to a terminal) but the window system was dead.08:17
wrtpTheMue: then the recovery console came up, but i couldn't log in, so i tried "shutdown now" in a terminal, which hung, so i had to do a hard power down08:17
wrtpTheMue: when i rebooted, all the installation process was borked half way through (the mouse didn't work and the resolution was about 640x480). then i had to run "apt-get install -f" and another command, which finally completed the installation, but again shutdown didn't work and i had to hard power down.08:19
wrtpTheMue: after that, it seems to work.08:19
wrtpTheMue: oh yes, when installing packages, it hung for an hour or two until i realised that i had to click on "Terminal" in the upgrade manager and press return to get through an interactive bit.08:20
TheMuewrtp: Aha, good hints. So I'll see what happens here.08:20
fwereadeTheMue, wrtp: yeah, that "terminal" business was annoying; I started my upgrade just before going out for the night08:25
wrtpfwereade: (yorkshire voice) it's a bloody disgrace!08:26
wrtpfwereade: honestly, if i'd been a naive user, my install would've failed there. i wonder what my neighbour did...08:27
TheMueHehe.08:27
Arammoin.09:01
TheMuewrtp: So far it looks like everything worked fine here.09:13
wrtpTheMue: cool, have you rebooted into precise then?09:14
TheMuewrtp: Yes, looks good so far. First a bit higher load, but now it's ok.09:14
wrtpTheMue: guess it's just my machine then09:15
wrtpTheMue: or my malign influence09:15
TheMuewrtp: There are enough influencing factors.09:16
TheMuewrtp: But you have to know that my Ubuntu runs in a VM, so always an optimal environment.09:17
wrtpTheMue: i didn't know that. what do you run it inside?09:18
TheMuewrtp: My machine is a MacBook Pro, and Ubuntu runs very good in VMware Fusion.09:18
TheMuewrtp: The Mac is large enough, i7-2720 and 8 Gig, so I can spend the half to Ubuntu. ;)09:19
wrtpTheMue: ah, i thought you were using an ubuntu laptop. i guess you just didn't want to bring a mac laptop to a canonical event :-)09:19
TheMuewrtp: I've been Apple user for a longer time now. Then I tried a Dell (you've seen it in January) but never really been happy with it. So I switched back.09:20
wrtpTheMue: carmen has stolen my macbook now :-)09:21
TheMuewrtp: Hehe, intelligent wife.09:21
=== chuck_ is now known as zul
wrtpfwereade: you've got a review13:30
wrtpfwereade: you might wanna have a look at https://codereview.appspot.com/6145043/13:30
fwereadewrtp, tyvm13:30
fwereadewrtp, btw, um, a review for what?13:31
wrtpfwereade: https://codereview.appspot.com/6163044/13:32
fwereadewrtp, thanks (sorry, mail just arrived)13:32
fwereadewrtp, LGTM13:36
wrtpfwereade: thanks13:36
* TheMue is happy to see that his Sublime Text works fine with HUD13:41
* wrtp will probably never use the HUD except when he hits "Alt" by mistake...13:41
* wrtp ordered a new phone this morning. indulgent i am.13:42
fwereadewrtp, cool, what are you getting?13:44
wrtpfwereade: HTC One S13:44
fwereadewrtp, oo, shiny :)13:44
wrtpfwereade: am a little concerned about battery life and it's annoying it won't take an extra SD card, but looks fairly good otherwise. it was a snap decision, might be a bad one!13:45
fwereadewrtp, objectively, everything you can possibly buy it crap: consider your decision a blow against the confusopoly13:45
wrtpfwereade: serves me right for not doing full research before calling vodafone ("we've got a good deal for you but only if you choose NOW")13:46
fwereadewrtp, grar13:46
wrtpfwereade: yeah. every phone i've ever got has been a snap decision. and i've mostly been happy (that nokia thing was dreadful though)13:46
wrtpfwereade: yeah, i do hate it when they do that. and maybe her "i'll just go and speak to my manager" was code for "i'll just put you on hold for a couple of minutes and then give you the standard deal"...13:47
TheMuewrtp: You don't think they talk to their manager especially for you? (wonder)13:49
wrtpTheMue: well, i *think* she probably did, 'cos she seemed quite reasonable and informed etc, but you just can't tell.13:50
TheMueReminds me when we bought our kitchen. To get the optimal deal she had to talk to her manager too. Afterwards you smelled the cigarette smoke, she just made a pause.13:51
TheMueThe listed prices for kitchens here are almost always about the double of the price you can negotiate.13:52
wrtpTheMue: yeah. not sure if that's true for IKEA though.13:54
TheMuewrtp: No, there it isn't.13:54
TheMuewrtp: But regular IKEA prices and negotiated trading prices are almoste the same. We designed our kitchen with the IKEA design application and got a part and price list. But then they changed the front design, so we took a look at a different trader (with that list in our hand).13:56
TheMuewrtp: And we got a better kitchen for almost the same price (including delivery and installation).13:57
wrtpTheMue: interesting. we're quite happy with our ikea kitchen actually. carmen spent long hours with that pretty crappy design app. i think she ended up with 19 possible versions!13:58
TheMuewrtp: Hehe, indeed, a crappy app. I also needed some time to enter Carmen and my ideas.13:59
TheMueAaaaargh!14:28
TheMueEnjoyed working on the veranda so far. Now a neighbor started his lawnmower.14:29
fwereadewrtp, TheMue: the hook commands which produce output default to a "smart" mode which basically just (python) str()s the result14:41
fwereadewrtp, TheMue: any thoughts on what we should be doing there?14:41
wrtpfwereade: is smart mode intended for readability or program parseability?14:41
fwereadewrtp: if it were meant to be parseable, I'd expect a repr()14:42
fwereadewrtp, but frankly str() of a big dict ain't all that readable itself14:42
wrtpfwereade: i suppose that we should really produce an identical version because people will be parsing the result and using in scripts14:43
fwereadewrtp, so... I have no idea what the point is really :(14:43
wrtpfwereade: but if it was up to me i'd provide a way to produce JSON ouput14:43
fwereadewrtp, that's already there14:43
TheMuewrtp: +114:43
fwereadewrtp, I have a lurking suspicion that nobody uses the default output mode for anything at all14:44
wrtpfwereade: it would be nice to be able to grep across all known charms...14:44
fwereadewrtp, hmm, does charmtools getall (or whatever it is) still work, I wonder14:44
wrtpfwereade: thing is, it's never going to be used interactively, so there's no really use for a pretty output AFAICS14:46
fwereadewrtp, well, there's always debug-hooks14:46
wrtpfwereade: ah, i'd forgotten about that14:46
fwereadewrtp, but I did indeed always wonder just how smart the "smart" formatting really was14:46
wrtpfwereade: it would be nice to do something that actually looks decent. but not if it breaks charms - i don't think it would be worth it for that.14:47
fwereadewrtp, well, the worry is that I'll end up sidetracking myself into writing "encodings/python_useless"14:48
fwereadeeffectively14:48
wrtpfwereade: yeah, i totally see that14:48
wrtpfwereade: i'd ignore it for now14:48
wrtpfwereade: it can be one of the last things we do before "feature parity" probably.14:49
fwereadewrtp, hmm, that sounds like a good idea to me14:49
fwereadewrtp, cheers :)14:49
wrtpfwereade: np14:49
wrtpfwereade: i was just contemplating the checkContext method15:57
fwereadewrtp, oh yes?15:57
fwereadewrtp, feels a touch clunky to me, improvements welcome :)15:57
wrtpfwereade: i wonder if it might be better to have newX functions to create commands.15:58
wrtpfwereade: then they can check the context for themselves15:58
fwereadewrtp, hmm, maybe... I can't really tell which is better tbh15:59
fwereademorning niemeyer15:59
wrtpe.g. func NewConfigGetCommand(ctx *Context) (cmd.Command, error)16:00
wrtpniemeyer: hiya16:00
wrtpfwereade: then all the commands could go into a table...16:00
fwereadewrtp, sorry, expand a little there?16:01
niemeyerfwereade, wrtp: Heya!16:01
wrtpfwereade: var commands = map[string]func(*Context)(cmd.Command, error) {"config-get": NewConfigGetCommand, etc...}16:02
fwereadewrtp, true, that's nice... I guess it saves a couple of lines of code :)16:02
wrtpfwereade: the table is static, so it's more obviously regular too, i think.16:03
fwereadewrtp, yeah16:03
fwereadewrtp, ok, SGTM16:03
wrtpfwereade: and it means the command type can go... for now :-)16:04
fwereadewrtp, I need to be off in a very short mo; I'll just -wip that and propose the followup, which should be independent16:04
fwereadewrtp, even better16:04
fwereadewrtp, cool16:04
wrtpfwereade: great16:04
fwereadeg'night all, happy coding; would appreciate your thoughts on https://codereview.appspot.com/616504416:09
wrtpfwereade: g'night16:23
SpamapShazmat: hey, whats the plan on landing strong ACL support in galapagos? I'd like to get it in sooner rather than later.17:36
andrewsmedinawhy does juju use local-hostname/public-hostname instead local-ipv4/public-ipv4 to get ip address metadata for ec2 provider?19:02
niemeyerandrewsmedina: Because the ec2 provider isn't the only one, and we may not have ipv4 for a machine19:04
andrewsmedinaniemeyer: But, In the OpenStack, hostname is not always resolved19:07
niemeyerandrewsmedina: How's that an issue?19:07
andrewsmedinaniemeyer: I'm using juju with openstack. And in my openstack setup I will use only private ips, with that hostnames, public ips, cant be resolved19:13
niemeyerandrewsmedina: How's that an issue?19:17
niemeyerandrewsmedina: IPs aren't resolved..19:17
niemeyerandrewsmedina: Charms can just use the private address to intercommunicate19:18
andrewsmedinaniemeyer: hmm19:22
SpamapSandrewsmedina: isn't it 'address'?19:43
SpamapSandrewsmedina: not "hostname" ?19:43
SpamapSSo its expected that it may be a host name or an IP19:43
SpamapSandrewsmedina: most charms use private address to do almost everything anyway19:44
andrewsmedinaSpamapS: nice, I will try use private address in my charms19:56

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