/srv/irclogs.ubuntu.com/2014/04/29/#launchpad-dev.txt

haobughttps://dev.launchpad.net/Running here tells to dist-upgrade, what the hell.05:35
haobugafter lp-branches/temp/utilities/rocketfuel-setup, i got there: http://bpaste.net/show/IcMIAb7WlsuTtuyjG3M1/05:36
cjwatsonThat seems reasonable.  It's the simplest way to make sure you're current with the PPA you just added.05:46
cjwatsonThat looks like update-sourcecode hasn't been run.  Try utilities/rocketfuel-get.05:47
haobugcjwatson: i got the idea. it downlaod thing to ~/launchpad, not the working directory of running it.10:59
cjwatsonRight11:02
haobugcjwatson: it seems hard-coded...11:29
haobugcjwatson: i got another problem on start the web-server. it keep report "Adress already in use", even if i stop the apache.11:29
cjwatsonhaobug: I think you need somebody a bit more experienced than I am, sorry11:37
cjwatsonI trust you're doing all this in an LXC instance11:37
haobuger... | cjwatson11:37
cjwatsonIt isn't worth the pain of trying to do it in other environments, IME11:38
haobugLXC instance? what is that ?11:38
cjwatsonlinked from the top of the page you're following11:38
cjwatsonhttps://dev.launchpad.net/Running/LXC11:38
haobugoh sorry/11:38
cjwatsonUsing an LXC container means that you don't get things like server port clashes with other things on your system.11:40
haobugi didn't configured the LXC. i left out the `dist-upgrade` line from the guide.11:40
haobugDownloading ubuntu precise minimal ...11:43
haobugI: Retrieving Release  <-- it says, i noticed it installed qemu, does that means i am going to install another ubuntu within my current one?11:43
haobugcjwatson: can i use the offline iso image to speed up this process?11:45
cjwatsonNo idea11:45
cjwatsonAnd yes, an LXC container involves a nested installation11:46
cjwatsonIt's manageable even on my terrible internet connection so it shouldn't take all that long.11:46
haobugcjwatson: i am in a intranet with about 50K band-limitation...11:47
cjwatsonGosh, even worse than mine.11:49
haobugcjwatson: it's a bit annoying to install another ubuntu on top an already installed one.11:51
cjwatsonLXC containers are fantastically convenient once you have it set up.  Perhaps persuade your intranet administrator to give you a local mirror11:51
cjwatsonIt's probably possible to mangle /usr/share/lxc/templates/lxc-ubuntu somehow to get packages from an ISO but it might still take more effort than just setting it off and doing something else while it completes11:51
cjwatsonAssuming by 50K you mean 50Kbytes, my network connection is only about five times faster than yours, typically11:52
cjwatsonSo not like orders of magnitude better or anything11:53
haobugcjwatson: ..... are there another way or docs i can read through and figure out a way myself to solve the 'already in use' problem?11:53
cjwatsonI really can't recommend it.11:54
cjwatsonI tried to avoid the LXC setup for a while for similar reasons, and it was too much effort to be worth it.11:54
haobugwait a second, you are in this channel, you must be someone develop on it or just use it, okay i got that, you installed the LXC...11:55
cjwatsonI'm a Launchpad contributor, yes11:56
cjwatsonEven on an awful connection, in anything more than the extremely short term it's worth it to accept the one-time cost of setting up a container and save painful debugging effort later11:56
haobugthen should should be familiar with some 'internal' or hacks, that you can tell me to fix this ;)11:57
cjwatsonIt might be possible to set MIRROR=file:///path/to/unpacked/iso in the environment when creating the container11:57
cjwatsonI'm only familiar with what I've needed to do myself, which I've explained to you11:58
haobugcjwatson: can i mount the iso directly ?11:58
cjwatsonYes11:58
cjwatsonEven if that works for creating the container, though, you'll still need to set /etc/apt/sources.list back to a proper mirror later; the ISO won't have enough packages to actually run Launchpad11:59
haobugcjwatson: oh shit, my iso is amd64.11:59
cjwatsonIs that a problem?11:59
haobugis it ok to change the i386 to amd64?11:59
cjwatsonGosh, why does that say i38611:59
wgrantRAM usage12:00
wgrantBut if you're only running one instance it's not usually a problem.12:00
lifelessLXC ftw :)12:00
cjwatsonOh, I just changed it to amd64 ...12:00
cjwatsonRevert it if you think that was wrong :)12:00
cjwatsonIt's not like we test Launchpad on i386.12:00
wgrantAll my non-buildd installations are still i386 for that reason, actually. Though my desktop has 24GiB of RAM now so that's possibly less necessary than it once was.12:01
cjwatsonDo you think I should change the docs back and add an explanatory note, then?12:01
wgrantMeh.12:02
wgrantMost people aren't me, so they won't run several instances simultaneously, so it probably doesn't matter either way.12:02
haobugwow! the mounted iso works: http://bpaste.net/show/NASyuEoXKIH4iSrGwqHk/12:02
cjwatsonEh, might as well I guess, I've added a note12:03
cjwatsonSince otherwise I'll probably forget again later12:03
cjwatsonHah, turns out my container is i386 too, I'd entirely forgotten that12:03
haobugwgrant: does the i386 matters? i am using amd64; cjwatson: are you the one maintains that page?12:05
wgranthaobug: The page was basically written by the two of us, I think.12:05
wgrantThe architecture doesn't matter for functionality.12:05
wgrantBut i386 uses less RAM12:05
cjwatsonI think I tweaked it a bit but can't claim to have written it.12:06
haobugwgrant: okay that should be a question to right person ha?12:07
cjwatsonWell, you have an answer now anyway12:07
wgrantOh yeah, I thought you made more substantial changes than you actually did, it seems.12:07
haobugyes. i am perfer to use i386, i am now using amd64 because i got an iso of that from local network in my intranet.12:08
haobugi have asked question about the Karma mathematics modal, can you give me some explanation?12:10
wgranthaobug: There's not much to it. You can see the algorithm in cronscripts/foaf-update-karma-cache.py12:11
wgrantEach karma-granting action has a value assigned. An action's value decays linearly to 0 over the year after it was performed.12:12
wgrantKarma is categorised by app: bugs, code, translations, etc. The total value of the karma actions in each category is scaled to be roughly equal. So if there are 1000 points of actions in the last year in Code, but 10000 in Bugs, Code points are worth 10x as much as Bugs.12:13
wgrantThe karma value displayed on each user's page is just the sum of the scaled, decayed actions.12:13
haobugthe guy ask me to setup the launchpad told me the launchpad has the measurement system all of aspects of contribution. some LUG members and me discussed about a good way for measuring contribution of members. then i run into this :D.12:19
cjwatsonI hope you aren't planning to actually run LP for real on a system with 50KB network access; that doesn't sound like fun at all12:19
haobugcjwatson: the internat locally are connected at speed  about 100MB(1000Mb? i am not sure). i can download the internal file at speed of 90MB+.12:21
haobug"scaled to be roughly equal", i don't get that all. 1000 points in code, and the 10000 points in bugs are all contributed by one or the whole system sum up?12:23
wgranthaobug: System-wide.12:24
haobugoh yeah, that's a currency system as we discussed at LUG meeting.12:24
haobugwgrant: the points drops as time goes, because there are new contributions included. that's a clever idea.12:28
wgranthaobug: Each action's value decays to 0 over a year because karma is designed to show recent activity. Someone who hasn't participated in the project for a year will have no karma, so karma can to some extent be used to judge how active someone has been lately.12:30
haobugwgrant: what does that mean, i can't read python by now, the karma can drop without new contribution, just because time goes?12:32
wgranthaobug: Right. If all I've done in Launchpad is file a single bug, that might be worth 10 points. So I'll have 10 karma immediately after filing that bug. Six months later, I'll have 5 karma. Another six months after that, I'll have 0 karma. Each action only has value for a year.12:34
haobugwgrant: that sound strange. with the contributions grow as time goes, the point of each individual should drop. why do you introduce such decaying?12:37
cjwatsonIf contributions actually grow with time, then they will gain new karma.12:39
cjwatsonBut five-year-old contributions aren't as interesting as recent ones from the point of view of getting a basic idea of who's currently most active.12:40
haobugwgrant: the whole worth of the launchpad system is dropping too, if the contribution activity is steady.12:40
cjwatsonKarma isn't intended to be a total measure of all contributions ever.  It's meant to be a rough indicator of who's active at the moment.12:40
haobugoh..... i almost got the idea. it is not a currency system as i thought minutes ago.12:41
cjwatsonNo; or if it is, it's a highly deflationary one.12:42
cjwatsonBut you can't exchange karma for anything so it's not currency by any sensible understanding of the word.12:42
haobugthe whole worth of the system drops, how can that be a currency system?12:43
haobug>you can't exchange karma for anything12:45
haobugwe are planning to make it can do exchange with the reality world in our LUG, with some sponsors.  but it is just a plan in mind by now.12:45
cjwatsonDeflationary currencies are still currency, even if they're generally pretty awful ones.  But not being able to exchange it for anything definitely makes it not currency.12:46
cjwatsonKarma wasn't designed as a currency, so you'll need to make design-level changes if you want to try to use it as one.12:47
haobugcjwatson: er... is that changes big?12:50
cjwatsonI don't know12:51
cjwatsonThat would be your job to determine if you plan to do this :-)12:51
cjwatsonSince it kind of depends on what changes you want12:51
haobugi don't know exactly. but i think the total worth of the system should not drop.12:55
haobugdo you know some other alternatives system like launchpad manage all of this and has a ready to use currency system?12:56
cjwatsonI don't; it's not one of my interests.12:58
haobugSo do I...13:00
=== Ursinha is now known as Ursinha-afk
SpamapSHi! I'm making login.launchpad.net OOPS via OpenID .. wondering if anybody is up for trying ot fix it?17:05
SpamapSOOPS-a74e777c522c4ea69b4f537c946d667a17:05
SpamapScaused by17:05
=== Ursinha-afk is now known as Ursinha
SpamapSAUthOpenIDAXRequire email http://axschema.org/contact/email .17:05
SpamapSAuthOpenIDAXUsername email17:05
SpamapShm17:07
cjwatsonSpamapS: That's not an OOPS in Launchpad proper; you want SSO support17:10
cjwatson(Can't remember if there's an appropriate IRC channel, sorry; the support link just leads me to https://forms.canonical.com/sso-support/)17:11
SpamapScjwatson: Ah right.17:11
lifelesscjwatson: SpamapS: there was #canonical-isd at one point18:30
cjwatsonThat could be it, thanks, memory didn't serve18:31
SpamapSI sent an email18:33
SpamapSgot an rt response18:33
SpamapSI'll set the effort aside to see what they say18:33

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