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

TheMuemorning08:58
fwereadeheya TheMue09:03
TheMueHi fwereade, had a good flight back?09:03
fwereadeTheMue, not bad, thanks; and yourself?09:03
TheMueThis time I've been able to sleep a lot a the flight back. That helped. Today it's almost normal, but I think I'll get tired early today.09:05
TheMueBut those safety controls suck, had three this time. Will next time try to have a different flight with only one stop.09:06
fwereadeTheMue, heh, I totally haven't adjusted, I started at 4am this morning ;p09:24
TheMueUuuh, a bit early.09:24
wrtpfwereade, TheMue: morning!10:35
wrtp(just)10:35
* wrtp just slept for 14 hours straight.10:35
TheMuewrtp: Yo' man.10:35
TheMuewrtp: Hehe, fwereade started 4am this morning.10:36
Arammoin.10:36
wrtpAram: hiya10:36
wrtpTheMue: i think he probably had *some* sleep the night before :-)10:36
TheMuewrtp: I slept a lot during flight and so slept from 11pm to 7am this morning. We'll see when I get tired again.10:37
TheMueAram: Moin.10:37
wrtpTheMue: i didn't sleep at all in the flight. managed to do a little translator into a packet filter language, but didn't actually get it working quite.10:38
TheMuewrtp: I've yesterday not been able to concentrate on anything.10:38
wrtpTheMue: i came up with the neatest use for defer that i've yet found.10:38
fwereadeheya wrtp10:41
wrtpfwereade: how's tricks?10:42
fwereadewrtp, not too bad, my body still thinks it's in the wrong place10:42
wrtpfwereade: not sure how my technique of almost no sleep for days beforehand and then lots of sleep now will work for body-clock adjustment. experiment still in progress!10:43
Aramwrtp: what use of defer did you find?10:43
fwereadewrtp, not really sleeping on the flight and going to bed slightly early really didn't work at all for me10:43
wrtpAram: some code for generating virtual machine instructions. until you've generated the instructions, you don't know the destination for forward jumps. i use defer to do the late patching for me. here's some of the code (see the emit function) http://paste.ubuntu.com/986981/10:50
Aramah yes, this seems a really great use case.10:51
wrtpAram: it won't work if i start generating jump instructions inside subroutines though.10:52
Aramheh, yes, still.10:54
TheMuelunchtime11:15
wrtpTheMue: you're running ubuntu in a VM, right?11:17
wrtpoh, darn, too late11:17
wrtpi discovered i could crash my machine with one echo statement11:17
wrtpecho /dev/*/tun*11:18
wrtpdon't try it unless you don't care about an instant kernel panic11:18
Araminteresting.11:19
=== TheMue_ is now known as TheMue
TheMueHmm, strange, losing connection very often today.12:14
niemeyerHello everybody!12:32
niemeyerWelcome back home to those that were at UDS. :)12:33
Aramhi.12:34
fwereadeniemeyer, heyhey12:36
niemeyerHey folks12:36
fwereadeniemeyer, how's it going?12:37
niemeyerfwereade: Wonderfully12:37
fwereadeniemeyer, awesomd :D12:37
niemeyerfwereade: Good trip home, all worked out nicely, had a great rest, and glad to be back in action now too :)12:38
fwereadeniemeyer, jolly good :)12:39
fwereadeniemeyer, I'm a touch messed up on my sleep still so it'll be my EOD very soon12:40
fwereadeniemeyer, I was going to take a quick look at the review queue first and gently remind you that I'm waiting for 4 of my own when yu get a moment ;)12:40
niemeyerfwereade: Thanks for the reminder12:41
niemeyerfwereade: My day is a bit messed up by pending stuff too, but I definitely have all those reviews close to the top of my list12:41
fwereadeniemeyer, cool12:42
fwereadeniemeyer, btw, I was wondering what your thoughts were on caching stuff in the local provider12:42
niemeyerfwereade: Hmm12:43
niemeyerfwereade: How do you mena?12:43
niemeyermean12:43
fwereadeniemeyer, I have the impression you're -1 on released binaries; does this imply the same for charm-store charms?12:43
niemeyerfwereade: Sorry, I'm a bit out of context12:43
niemeyerfwereade: What was I -1 about again?12:44
fwereadeniemeyer, putting the jujud etc binaries into provider storage when they're the released versions that can be got from a canonical place12:44
fwereadeniemeyer, this is secondhand, perhaps via wrtp; I may have misunderstood12:45
niemeyerfwereade: Ah, yeah, I think it was partially misunderstood in one of the hops12:46
fwereadeniemeyer, my own heart says that we should stick everything in provider storage and always get it from the same place (with likely-to-be-lower bandwidth costs)12:46
fwereadeniemeyer, the disadvantage is that if we do it naively we round-trip through the user's machine12:47
niemeyerfwereade: My original idea around that was to indeed allow uploading released binaries, but only when --upload-tools is used12:47
wrtpniemeyer: the question was whether we should always copy the juju tools binaries into local provider storage AFAIR12:47
wrtpniemeyer: hi BTW!12:47
niemeyerwrtp: Heya!12:47
niemeyerwrtp: Ah, yes, for that my vote is -1..12:47
wrtpniemeyer: thought so12:47
wrtpniemeyer: so why aren't charms the same?12:47
fwereadeniemeyer, ok, the followup: does that imply that charm-store charms should also not be copied into provider storage?12:48
fwereadeniemeyer, we've always done it so far; but that may just be an artifact of not having had a charm store until very recently12:49
niemeyerfwereade: It's a great question12:49
niemeyerfwereade: and I suspect we may end up with similar answers for both12:49
niemeyerfwereade: which look unlike what we have right now in both cases12:49
fwereadeniemeyer, yeah, it feels like fundamentally the same question12:49
niemeyerfwereade: The issues is this:12:50
niemeyerfwereade: Downloading several MB from S3 to stick back onto S3 sounds quite silly12:50
niemeyerfwereade: Even more considering we may have to download several different versions, depending on which constrains we're satisfying12:51
niemeyerfwereade: There's also the issue that the environment stands on itself12:51
niemeyerfwereade: We may not be around by the time the environment decides to fire a machine for which we didn't yet upload the respective binaries12:51
niemeyerfwereade: I think the ultimate goal would be to indeed cache binaries locally onto the environment, but have it so that the *environment* is able to do that by itself12:52
niemeyerfwereade: and this sounds like a sane approach both for the toolset and for the charms12:52
niemeyerfwereade: In edge cases, such as with --upload-tools, we'll continue to upload though12:53
fwereadeniemeyer, cool, avoiding the round-trip sounds like a good thing to me12:53
fwereadeniemeyer, the question becomes relevant because I'm looking at juju deploy and thinking I have no reason to download cs: charms at all12:54
fwereadeniemeyer, because I can get the SHA256 and the bundle URL from the store anyway12:55
niemeyerfwereade: Right, that's indeed the original intention12:55
niemeyerfwereade: We didn't do that because it was cheap12:55
niemeyerfwereade: (to just continue to do the same)12:55
fwereadeniemeyer, ok, great, I'll do what's definitely needed for cs: charms to begin with, and defer the caching for now12:56
niemeyerfwereade: Sounds good12:57
niemeyermthaddon: ping12:59
wrtpniemeyer, fwereade, TheMue: i'm going to take the afternoon off as half swap day, if that's ok.13:06
niemeyerwrtp: Absolutely13:06
fwereadewrtp, fine by me13:06
TheMuewrtp: Understandable.13:07
wrtpthanks. i'll see y'all tomorrow!13:07
niemeyerwrtp: Have a good one13:08
niemeyerfwereade, TheMue: Please feel free to do the same and take some good rest today.. we need fresh brains! 8)13:08
fwereadeniemeyer, I'm still confused what time it is; woke up fresh as a daisy at 3 and started at 4, so I consider my day kinda over already ;)13:09
fwereadeniemeyer, I'm just picking up what easy reviews I can now13:09
niemeyerfwereade: Woah13:09
niemeyerfwereade: Indeed.. this has the sound of a great afternoon nap13:10
fwereadeniemeyer, yeah, I'm feeling it a bit now13:10
TheMueniemeyer: I'm currently fixing a local mail prob. Afterwards I want at least to finish the tests after the latest refactorings William and I discussed last week.13:10
TheMueniemeyer: But I'll be offline from Wednesday to Sunday.13:11
niemeyerTheMue: Super13:11
TheMueniemeyer: The changes for relations and endpoints really feel better. More simple.13:12
* TheMue this morning discovered that there's a plugin for his editor to directly jump into Godoc/GoPkgDoc.13:15
niemeyerTheMue: Sweet13:28
niemeyerTheMue: I tend to use the web page.. I really like the formatting and all13:29
TheMueniemeyer: Yes, so do I. And this plugin tells Firefox to open a browser tab there.13:29
AramI guess in acme one might come up with a plumbing rule that invokes either go doc or the browser.13:30
Arammight try it at some point.13:30
niemeyerTheMue: Yeah, I imagined this was the case since GoPkgDoc only works in a web browser13:32
niemeyerAram: Indeed13:33
TheMueniemeyer: A nice HTML rendering in an editor tab would be fine too. But that doesn't work.13:34
niemeyerandrewsmedina: Heya14:20
andrewsmedinaniemeyer: everything ok?14:41
niemeyerandrewsmedina: Yeah, all good14:41
niemeyerandrewsmedina: Back at home after two intense weeks14:41
fsouzahi14:45
niemeyerfsouza: Hey! Bye!14:53
niemeyerfsouza: Heya15:12
niemeyerLunch time here15:12
niemeyerBack in ~1h15:12
niemeyermthaddon: ping16:46
niemeyerStepping out for a doc appointment.. back later19:39
* niemeyer respawns21:08
* davechen1y waves21:52
niemeyerdavechen1y: Heya21:58
niemeyerdavechen1y: Will pick Ale up.. back in a few minutes21:59
davecheneyprotip: bzr remove-branch doens't do what I it did23:45
davecheneyafk: breakfast23:45

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