#metabrainz

/

      • QuoraUK
      • 2016-05-14 13559, 2016

      • QuoraUK
        so there is one here, the location should probably be different
      • 2016-05-14 13517, 2016

      • QuoraUK
        and its moved away from the achievement thing so it needs some revision
      • 2016-05-14 13542, 2016

      • Leftmost
        I think a profile box is a good way to go about it.
      • 2016-05-14 13552, 2016

      • Leo_Verto joined the channel
      • 2016-05-14 13556, 2016

      • LordSputnik
        Well I thought badges and achievements are combined now, and you unlock several achievements to unlock a title
      • 2016-05-14 13500, 2016

      • QuoraUK
        like the reddit system?
      • 2016-05-14 13501, 2016

      • LordSputnik
        Is that it?
      • 2016-05-14 13522, 2016

      • QuoraUK
        yes
      • 2016-05-14 13554, 2016

      • QuoraUK
        Leftmost: like the trophy case on reddit profiles?
      • 2016-05-14 13534, 2016

      • LordSputnik
        I'm thinking we could perhaps keep a bar displaying 3 badges like you have in the proposal, then maybe have a separate tab for the editor to manage which badges are displayed
      • 2016-05-14 13555, 2016

      • Leftmost
        That makes sense to me.
      • 2016-05-14 13506, 2016

      • QuoraUK
        yeah, that sounds good
      • 2016-05-14 13511, 2016

      • Leftmost
        Both, that is.
      • 2016-05-14 13540, 2016

      • Leftmost
        We could also link to a complete collection of the user's badges off the profile page.
      • 2016-05-14 13546, 2016

      • Leftmost
        "See all..."
      • 2016-05-14 13515, 2016

      • QuoraUK
        would that be another option in: profile | revisions | badges | ?
      • 2016-05-14 13528, 2016

      • LordSputnik
        QuoraUK: yeah
      • 2016-05-14 13552, 2016

      • LordSputnik
        In fact we could just have the badges tab for everyone as a way to see all the badges (and a link on the main profile page goes there as well)
      • 2016-05-14 13541, 2016

      • QuoraUK
        all achieved badges for a user or all available badges?
      • 2016-05-14 13557, 2016

      • LordSputnik
        Achieved by default at least I think
      • 2016-05-14 13520, 2016

      • QuoraUK
        yeah, that was my thinking
      • 2016-05-14 13525, 2016

      • LordSputnik
        Could have a dropdown to choose what to display (eg. Achieved, Locked, All)
      • 2016-05-14 13538, 2016

      • QuoraUK
        perhaps see all if its your own/how close to achieving them you are
      • 2016-05-14 13504, 2016

      • LordSputnik
        QuoraUK: yeah I was just thinking about that, sounds good
      • 2016-05-14 13533, 2016

      • LordSputnik
        So now something a little more difficult. How to store the achievements and the code for unlocking them
      • 2016-05-14 13501, 2016

      • LordSputnik
        We can store all the achievement/badge info in the database, but the logic for unlocking will need to be in the site code
      • 2016-05-14 13511, 2016

      • LordSputnik
        It'd be nice to not have these too closely coupled. Perhaps we could use some sort of event system, and then store which kind of events unlock which achievements (along with an associated threshold value) in the database?
      • 2016-05-14 13515, 2016

      • QuoraUK
        yeah, I'll need to be careful planning the unlocking
      • 2016-05-14 13546, 2016

      • LordSputnik
        Perhaps it's better to brainstorm the achievements we will/might want first? Should we do a google doc?
      • 2016-05-14 13502, 2016

      • QuoraUK
        that would be a good starting point yeah
      • 2016-05-14 13517, 2016

      • Leftmost
        Yeah, I think without knowing what kinds of interactions will trigger an unlock, it's difficult to know what the unlock will look like.
      • 2016-05-14 13553, 2016

      • QuoraUK
      • 2016-05-14 13519, 2016

      • LordSputnik
        QuoraUK: hmm might be better to do it in the BookBrainz drive
      • 2016-05-14 13538, 2016

      • LordSputnik
        if you PM me an email address I'll add you as an editor there
      • 2016-05-14 13539, 2016

      • QuoraUK
        ahh, ok thats ok
      • 2016-05-14 13532, 2016

      • LordSputnik
        OK, should get an email now
      • 2016-05-14 13552, 2016

      • QuoraUK
        got it :)
      • 2016-05-14 13529, 2016

      • LordSputnik
        Leftmost: MeB/Public/Gamification
      • 2016-05-14 13547, 2016

      • Leftmost
        Cool.
      • 2016-05-14 13548, 2016

      • LordSputnik
      • 2016-05-14 13500, 2016

      • Leftmost
        I'm concerned about trying to create what's essentially a DSL for expressing achievements. I'm not concerned about coupling provided we clearly define the semantics of a given badge.
      • 2016-05-14 13558, 2016

      • LordSputnik
        Leftmost: OK :) I think it'd be quite hard to do anyway
      • 2016-05-14 13540, 2016

      • QuoraUK
        i cant get into the relationship editor at the moment, is there an award system in place?
      • 2016-05-14 13545, 2016

      • QuoraUK
        like bestseller etc
      • 2016-05-14 13540, 2016

      • Leftmost
        Nothing currently.
      • 2016-05-14 13548, 2016

      • Leftmost
        That might be an identifier sort of thing.
      • 2016-05-14 13520, 2016

      • armalcolite
        alastairp, ruaok: Almost Finished migration to Postgres. Please have a look. (The code is working :))
      • 2016-05-14 13505, 2016

      • armalcolite
        ruaok: I used apscheduler to schedule job.
      • 2016-05-14 13550, 2016

      • armalcolite
        ruaok: and i did a lot of major changes. please have a look.
      • 2016-05-14 13552, 2016

      • LordSputnik
        Leftmost: QuoraUK: Ok, so most of these can be triggered by actions in the site, whether that's a threshold or an event
      • 2016-05-14 13507, 2016

      • QuoraUK
        yeah, I think that is a good sign
      • 2016-05-14 13533, 2016

      • QuoraUK
        and the ones that arent tend to be above and beyond what most people will do
      • 2016-05-14 13535, 2016

      • LordSputnik
        So we could have an "updateAchievements" function which gets called after each significant action performed
      • 2016-05-14 13554, 2016

      • LordSputnik
        And then that could handle all of the checking of various things
      • 2016-05-14 13555, 2016

      • kanha has quit
      • 2016-05-14 13513, 2016

      • QuoraUK
        yeah, how would uses be notified?
      • 2016-05-14 13522, 2016

      • QuoraUK
        I presume there isn't a notification system hidden
      • 2016-05-14 13504, 2016

      • Leo_Verto
        nice, my bouncer is back
      • 2016-05-14 13514, 2016

      • Leftmost
        LordSputnik, we could probably categorize achievements in such a way that we could either parameterize updateAchievements() or have separate functions depending on what the action is.
      • 2016-05-14 13556, 2016

      • LordSputnik
        Leftmost: I like the idea of everything just calling one function, it means that we're not going to have to touch non-achievements code to update achievements
      • 2016-05-14 13521, 2016

      • LordSputnik
        QuoraUK: no notification system, we're waiting for the outcome of the MB-messaging stuff for that (MBS-1801)
      • 2016-05-14 13547, 2016

      • LordSputnik
        Ahhhh I've had an idea
      • 2016-05-14 13514, 2016

      • LordSputnik
        *Upvoted* replies, rather than just replies (in terms of reputation)
      • 2016-05-14 13519, 2016

      • Leftmost
        LordSputnik, we'll want to make it pretty light, then, and we definitely want to parameterize. We don't want to check a whole bunch of edit statistics every time a user replies to a comment, for example.
      • 2016-05-14 13544, 2016

      • QuoraUK
        yeah, I was thinking the same thing
      • 2016-05-14 13510, 2016

      • LordSputnik
        Leftmost: Yeah, perhaps your way is better. I just think think we should try to make sure that interface is as unlikely to change as possible
      • 2016-05-14 13533, 2016

      • Leftmost
        I agree. It should be pretty stable, but it also needs to be performant since it will get called a _lot_.
      • 2016-05-14 13506, 2016

      • LordSputnik
        Mhmm
      • 2016-05-14 13526, 2016

      • Leftmost
        Alright, I need to bow out, but I'm confident that we have a pretty solid overview of what the work will look like. We should have another discussion next weekend and ensure that there's a general development plan.
      • 2016-05-14 13550, 2016

      • QuoraUK
        yeah, I should probably get back to revision
      • 2016-05-14 13508, 2016

      • LordSputnik
        OK
      • 2016-05-14 13512, 2016

      • LordSputnik
        Good meeting :D
      • 2016-05-14 13514, 2016

      • LordSputnik
        </BANG>
      • 2016-05-14 13515, 2016

      • QuoraUK
        I can work on a write up in time for next weekend we can discuss then
      • 2016-05-14 13528, 2016

      • Leftmost
        Sounds good.
      • 2016-05-14 13534, 2016

      • LordSputnik
        OK, next weekend we'll want to come up with a plan and timescale for implementing this
      • 2016-05-14 13534, 2016

      • QuoraUK
        good meeting yeah :D
      • 2016-05-14 13550, 2016

      • QuoraUK
        awesome
      • 2016-05-14 13501, 2016

      • LordSputnik
        I think we should aim to support all of these achievements at launch, with the exception of the merging one
      • 2016-05-14 13547, 2016

      • QuoraUK
        that seems reasonable
      • 2016-05-14 13539, 2016

      • LordSputnik goes to do assignments
      • 2016-05-14 13557, 2016

      • QuoraUK heads to the library
      • 2016-05-14 13514, 2016

      • QuoraUK has quit
      • 2016-05-14 13549, 2016

      • JesseW has quit
      • 2016-05-14 13528, 2016

      • mihaitish joined the channel
      • 2016-05-14 13538, 2016

      • Leo_Verto has quit
      • 2016-05-14 13500, 2016

      • mihaitish has quit
      • 2016-05-14 13504, 2016

      • bitmap
        ruaok: we'll have to remove one ticket from the schema change since there's no way it'll get done in time...should I just update the blog post or does it need to be announced more visibly?
      • 2016-05-14 13505, 2016

      • madmouser1
        so I am playing around with a idea to mashup and display AcousticBrainz and MusicBrainz data, is there anywhere a "current" or incremental data dump is available for AcousticBrainz data?
      • 2016-05-14 13509, 2016

      • Augustus is now known as Octavian
      • 2016-05-14 13527, 2016

      • ruaok
        which ticket?
      • 2016-05-14 13533, 2016

      • bitmap
      • 2016-05-14 13555, 2016

      • madmouser1
        I am only interested in high-level data.
      • 2016-05-14 13507, 2016

      • MBJenkins
        Project musicbrainz-server_schema-change-2016-q2 build #135: STILL FAILING in 17 min: https://ci.metabrainz.org/job/musicbrainz-server_…
      • 2016-05-14 13514, 2016

      • bitmap
        there's a working upgrade script, but it needs a lot of changes to the code and tests
      • 2016-05-14 13532, 2016

      • Gentlecat
        madmouser1: current dumps aren't published
      • 2016-05-14 13544, 2016

      • ruaok waits for the page to load
      • 2016-05-14 13510, 2016

      • ruaok
        zas and I are chatting about buying more bandwidth, but not actually raising our rate limits. that should make the sites faster, we hope.
      • 2016-05-14 13538, 2016

      • ruaok
        gah.
      • 2016-05-14 13549, 2016

      • ruaok
        that one was outward facing too. :(
      • 2016-05-14 13501, 2016

      • ruaok
        I sure hope no one down stream was banking on that.
      • 2016-05-14 13506, 2016

      • ruaok
        how is everything else?
      • 2016-05-14 13535, 2016

      • svenstaro joined the channel
      • 2016-05-14 13559, 2016

      • bitmap
      • 2016-05-14 13517, 2016

      • svenstaro
        I get lots of API problems today, timeouts and such. Is this something you guys know about or a problem on my side?
      • 2016-05-14 13530, 2016

      • bitmap
        MBS-8719 is finished other than tests, and chirlu was going to make a small change to the code
      • 2016-05-14 13543, 2016

      • bitmap
        I already fixed most of the tests, so I'm not worried about it
      • 2016-05-14 13523, 2016

      • bitmap
        and from what I hear MBS-8287 is easy, so I hope we'll see a PR today
      • 2016-05-14 13549, 2016

      • bitmap
        then I can kick off some more migration tests
      • 2016-05-14 13559, 2016

      • chirlu
        Yes, I’m on MBS-8287 right now.
      • 2016-05-14 13502, 2016

      • madmouser1
        ok thanks Gentlecat
      • 2016-05-14 13506, 2016

      • ruaok
        oy. I think next time we decide on a list of tickets to do, I'm going to cut it in half. Just so we can finish with time to spare.
      • 2016-05-14 13515, 2016

      • ruaok
        this is really too close for comfort. :(
      • 2016-05-14 13506, 2016

      • ruaok
        if we drop 6024, are you certain that you can get everything done and have migration tests pass?
      • 2016-05-14 13530, 2016

      • ruaok
        svenstaro: we're going to buy more bandwidth that should hopefully improve things. we think.
      • 2016-05-14 13534, 2016

      • bitmap
        99% certain, if that's close enough, heh
      • 2016-05-14 13546, 2016

      • bitmap
        a faster machine to run the migrations on would help a bit
      • 2016-05-14 13526, 2016

      • bitmap
        the migration + full export + full import on hobbes takes 9 hours
      • 2016-05-14 13522, 2016

      • svenstaro
        ruaok: how much traffic does musicbrainz use in a month, if I may ask? I'm curious
      • 2016-05-14 13558, 2016

      • ruaok
        maxxing out 30mbit/s right now.
      • 2016-05-14 13522, 2016

      • ruaok
        we're adding 4mbit/s very soon and will see how that impacts things
      • 2016-05-14 13525, 2016

      • svenstaro
        in a month in total in bytes?
      • 2016-05-14 13524, 2016

      • ruaok
        we don't track that since we don't get billed that way.
      • 2016-05-14 13547, 2016

      • ruaok
        best guess? 9-10TB a month.
      • 2016-05-14 13552, 2016

      • svenstaro
        how do you host?
      • 2016-05-14 13543, 2016

      • ruaok
        wooo! zas added 4mbits more. things feel better. :)
      • 2016-05-14 13501, 2016

      • svenstaro
        any way I can donate traffic and stuff?
      • 2016-05-14 13510, 2016

      • svenstaro
        you guys don't need much traffic at all
      • 2016-05-14 13518, 2016

      • ruaok
        svenstaro: see near the bottom: https://metabrainz.org/reports/2013
      • 2016-05-14 13533, 2016

      • ruaok
        problem is that we're hosted with ancient hardware.
      • 2016-05-14 13543, 2016

      • ruaok
        so, we're going to move to rented servers.
      • 2016-05-14 13554, 2016

      • ruaok
        likely in france with OVH, online.net or hetzner.
      • 2016-05-14 13559, 2016

      • svenstaro
        how much data storage and ram do you need?
      • 2016-05-14 13512, 2016

      • ruaok
        that will give us gobs of bandwidth and considerably more capacity.
      • 2016-05-14 13551, 2016

      • svenstaro
        yeah I recommend hetzner, I host plenty of servers with them
      • 2016-05-14 13554, 2016

      • ruaok
        have a look at this:
      • 2016-05-14 13555, 2016

      • ruaok
      • 2016-05-14 13508, 2016

      • ruaok
        that is our proposed new setup.f
      • 2016-05-14 13524, 2016

      • ruaok
        14 machines. each with 32-64gb or 64gb - 128gb.
      • 2016-05-14 13532, 2016

      • svenstaro
        now I just got here and I'm obviously in no position here to tell you guys anything, but that's a lot of hardware for such little traffic, how come?
      • 2016-05-14 13533, 2016

      • ruaok
        perl. :(
      • 2016-05-14 13543, 2016

      • svenstaro
        ooh.
      • 2016-05-14 13551, 2016

      • svenstaro
        I understand completely
      • 2016-05-14 13554, 2016

      • ruaok
        obviously more complex than that.
      • 2016-05-14 13559, 2016

      • svenstaro
        I know :P
      • 2016-05-14 13509, 2016

      • svenstaro
        time for a rewrite in rust!
      • 2016-05-14 13514, 2016

      • ruaok
        but our database structure is insanely intricate. and that requires a complex queries.
      • 2016-05-14 13515, 2016

      • svenstaro
        I'm kidding of coures
      • 2016-05-14 13520, 2016

      • ruaok
        oy. :)