#metabrainz

/

      • opatel99
        Leo_Verto: "no different to [than] the other two members"
      • 2016-01-11 01136, 2016

      • Leo_Verto has quit
      • 2016-01-11 01102, 2016

      • D4RK-PH0ENiX has quit
      • 2016-01-11 01128, 2016

      • gcilou has quit
      • 2016-01-11 01131, 2016

      • gcilou joined the channel
      • 2016-01-11 01101, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-01-11 01108, 2016

      • D4RK-PH0ENiX has quit
      • 2016-01-11 01114, 2016

      • D4RK-PH0ENiX joined the channel
      • 2016-01-11 01149, 2016

      • gcilou has quit
      • 2016-01-11 01115, 2016

      • gcilou joined the channel
      • 2016-01-11 01159, 2016

      • LordSputnik
        opatel99: I've also voted
      • 2016-01-11 01111, 2016

      • LordSputnik
        (and left some minor comments)
      • 2016-01-11 01157, 2016

      • LordSputnik
        opatel99: it's only 1 week since the last change afaik, so we'll wait for Leftmost's vote
      • 2016-01-11 01119, 2016

      • LordSputnik thinks that Style Process should really mention that the style council vote is unanimous
      • 2016-01-11 01154, 2016

      • LordSputnik
        stanislas: default_alias is a property of entity_data, not alias
      • 2016-01-11 01144, 2016

      • yeeeargh has quit
      • 2016-01-11 01104, 2016

      • ariscop has quit
      • 2016-01-11 01158, 2016

      • opatel99
        LordSputnik: How would I use unicode for "o'Clock"
      • 2016-01-11 01108, 2016

      • ariscop joined the channel
      • 2016-01-11 01125, 2016

      • opatel99
        Anyone ^
      • 2016-01-11 01120, 2016

      • CallerNo6
        opatel99, o’Clock? Wait, what's the question?
      • 2016-01-11 01142, 2016

      • LordSputnik
        opatel99: the straight apostrophe (') should be a right single quote (curved apostrophe)
      • 2016-01-11 01122, 2016

      • CallerNo6
        do I get bonus points for saying that but being less helpful?
      • 2016-01-11 01152, 2016

      • LordSputnik
        CallerNo6: I actually misread what you said as using the straight one too :P
      • 2016-01-11 01121, 2016

      • CallerNo6 will take that as a "yes"
      • 2016-01-11 01100, 2016

      • CatmanIX joined the channel
      • 2016-01-11 01100, 2016

      • The_Catman has quit
      • 2016-01-11 01119, 2016

      • Leftmost
        Ahh, yeah, I misread that line. stanislas it's checking the incoming data for the default property, not the created data.
      • 2016-01-11 01101, 2016

      • CallerNo6
        er, a “yes”
      • 2016-01-11 01114, 2016

      • opatel99
        Like this "o’Clock"
      • 2016-01-11 01145, 2016

      • Leftmost
        So there's a style PR out right now? Is that what I'm understanding?
      • 2016-01-11 01108, 2016

      • opatel99
      • 2016-01-11 01121, 2016

      • LordSputnik
        opatel99: ypu that's right
      • 2016-01-11 01133, 2016

      • LordSputnik
        Leftmost: just got direct-database site search working :D
      • 2016-01-11 01104, 2016

      • Leftmost
        LordSputnik, nice!
      • 2016-01-11 01136, 2016

      • Leftmost
        LordSputnik, did you see my comments on rel revisions?
      • 2016-01-11 01156, 2016

      • Bookzombie
        LordSputnik pushed 2 commits to bookbrainz-sql: https://github.com/bookbrainz/bookbrainz-sql/comp…
      • 2016-01-11 01130, 2016

      • LordSputnik
        Leftmost: You wouldn't be able to have relationship changes in entity revisions, no
      • 2016-01-11 01116, 2016

      • LordSputnik
        I really think this new way is the cleanest way of doing things, and it's also easier to migrate to than the current new schema plan
      • 2016-01-11 01154, 2016

      • LordSputnik
        Also, moving to the "relationships on entity data" plan would still be possible, if we don't like the "relationship sets versioned" plan
      • 2016-01-11 01108, 2016

      • LordSputnik
        opatel99: if you claim the display bug task and submit, I'll check your PRs/JIRA tickets in about 12 hours
      • 2016-01-11 01123, 2016

      • Leftmost
        The set-per-pair notion seems really unintuitive to me, and the idea of fetching an arbitrary number of those sets, unioning their contained relationships, and then fetching those relationships seems no less complex than the scheme we decided upon.
      • 2016-01-11 01149, 2016

      • LordSputnik
        stanislas: similar to ^, please keep claiming testing tasks, because it pokes me to check your commits
      • 2016-01-11 01110, 2016

      • LordSputnik
        Leftmost: but the integrity of the system is much more reliable
      • 2016-01-11 01128, 2016

      • LordSputnik
        Since you have an individual relationship row for each relationship
      • 2016-01-11 01107, 2016

      • Leftmost
        I'm not sure I follow why that's different from the current setup.
      • 2016-01-11 01118, 2016

      • LordSputnik
        Set-per-pair is the only way of doing things, because set-per-entity means that you can easily get out of sync between two entities
      • 2016-01-11 01145, 2016

      • LordSputnik
        Which is my problem with what we have in the current plan
      • 2016-01-11 01113, 2016

      • LordSputnik
        On a database level, there's nothing stopping me updating the relationship set for entity A, and not for entity B, and now A authored B, but B wasn't authored by A
      • 2016-01-11 01158, 2016

      • LordSputnik
        Whereas with a RelationshipSet per pair, it's guaranteed that the forward and reverse directions of the relationship will be equivalent
      • 2016-01-11 01107, 2016

      • Leftmost
        That makes sense as a concern, but I think the complexity in fetching is problematic. To fetch entity A's rels, you have to fetch all sets for which it's source, fetch all sets for which it's target, union all of those results and then fetch the relationships.
      • 2016-01-11 01102, 2016

      • LordSputnik
        SELECT * FROM bookbrainz.entity_link WHERE entity1=<bbid> OR entity2=<bbid> LEFT JOIN bookbrainz.relationship_revision ... LEFT JOIN bookbrainz.relationship
      • 2016-01-11 01122, 2016

      • Leftmost
        Part of the problem I have with having separate rel revisions and entity revisions is that it also makes it more complex to consider a given entity as a snapshot at a given revision.
      • 2016-01-11 01118, 2016

      • Leftmost
        When you start splitting up different things into different types of revisions, you lose the holistic view of a revision.
      • 2016-01-11 01131, 2016

      • LordSputnik
        OK, but really the versioning of data and relationships is separate - no matter what changes happen to the data, the relationships should still be valid, and vice versa.
      • 2016-01-11 01124, 2016

      • LordSputnik
        And we can make them appear unified on the front-end, if we want to
      • 2016-01-11 01129, 2016

      • Leftmost
        I don't think that follows. No matter what changes happen to an edition's release date, the identifier sets should still be valid, and vice versa.
      • 2016-01-11 01149, 2016

      • Leftmost
        My preference at this point is to see if we can't find a solution that addresses both concerns.
      • 2016-01-11 01114, 2016

      • LordSputnik
        If they were valid before, they'll be valid after the change
      • 2016-01-11 01131, 2016

      • LordSputnik
        The change to release date doesn't change the validity of identifiers
      • 2016-01-11 01155, 2016

      • LordSputnik
        But I think we should keep identifiers on the <entity>_data table, since those *do* belong to the data
      • 2016-01-11 01103, 2016

      • LordSputnik
        well, the identifier set id, anyway
      • 2016-01-11 01142, 2016

      • Leftmost
        I'm using that as an example of why your statement doesn't follow to me; I can use the same logic to say that we need to version release dates separately from identifiers, or any arbitrary piece of data on an entity should be versioned separately from any other arbitrary piece of data.
      • 2016-01-11 01100, 2016

      • LordSputnik
        The thing is, if I create a revision which adds a relationship to an entity, I don't think its parent should be the last revision to that entity's data
      • 2016-01-11 01102, 2016

      • Leftmost
        In the end, I just don't agree that relationships aren't part of an entity's data.
      • 2016-01-11 01120, 2016

      • Leftmost
        Why?
      • 2016-01-11 01131, 2016

      • LordSputnik
        Leftmost: but they aren't part of an entity's data. They're part of the data of two entities
      • 2016-01-11 01104, 2016

      • Leftmost
        That doesn't mean it's less part of the data of one of those entities. They're just unique in that they are part of the data of multiple entities.
      • 2016-01-11 01139, 2016

      • LordSputnik
        Which is why they're so tricky to version
      • 2016-01-11 01131, 2016

      • Leftmost
        It is, but I disagree that a relationship isn't part of an entity's data. I don't, however, disagree that the way we're representing them is suboptimal.
      • 2016-01-11 01119, 2016

      • LordSputnik
        Alright, what if we have a RelationshipSet object, with an ID, but scrap the "source" flag
      • 2016-01-11 01154, 2016

      • LordSputnik
        The RelationshipSet has entity_data1 and entity_data2 attributes
      • 2016-01-11 01104, 2016

      • LordSputnik
        So it's linked to the entity data of two entities
      • 2016-01-11 01111, 2016

      • LordSputnik
        Hmm
      • 2016-01-11 01140, 2016

      • LordSputnik
        But that still leaves the problem of the Revision affecting two <Entity>Revisions at a time
      • 2016-01-11 01103, 2016

      • LordSputnik
        Unless we perform two revisions to update the entity datas one at a time to use the new RelationshipSet
      • 2016-01-11 01141, 2016

      • Leftmost
        Yeah. I haven't thought this through fully, but I'm wondering if we can place a constraint that ensures that deleting a relationship from one set deletes it from the other. (As I said, not fully thought-through.)
      • 2016-01-11 01117, 2016

      • opatel99
        LordSputnik: Doing it now.
      • 2016-01-11 01157, 2016

      • LordSputnik
        Leftmost: the problem I have with Revision having many <Entity>Revisions is that it means that it has several parent revisions, which is also exactly how we represent merging
      • 2016-01-11 01110, 2016

      • LordSputnik
        And I don't want to complicate merging any further :P
      • 2016-01-11 01133, 2016

      • Leftmost
        I'm not sure I follow how that complicates merging.
      • 2016-01-11 01139, 2016

      • LordSputnik
        it probably complicates the display of merging, because the way to tell if a revision performs a merge is to count the number of parents at the moment
      • 2016-01-11 01156, 2016

      • opatel99
        LordSputnik: Marked as Complete
      • 2016-01-11 01105, 2016

      • opatel99
        Sorry. ^ Submitted for Review.
      • 2016-01-11 01114, 2016

      • Leftmost
        Anyhow, it'll take me some time to process. I'll see if I have anything by Usual Meeting Time tomorrow.
      • 2016-01-11 01118, 2016

      • Leftmost
        I'll think about that as well.
      • 2016-01-11 01123, 2016

      • LordSputnik
        opatel99: You're not a mentor yet haha ;)
      • 2016-01-11 01131, 2016

      • LordSputnik
        Leftmost: OK :)
      • 2016-01-11 01137, 2016

      • LordSputnik
        Let's try to solve this tomorrow
      • 2016-01-11 01116, 2016

      • LordSputnik
        I want to be done with writing the migration script so we can finally start finishing the models and direct-database
      • 2016-01-11 01125, 2016

      • opatel99
        I got to finish this Facebook API project in the meantime. For a technical mammoth, their docs can definitely be better.
      • 2016-01-11 01146, 2016

      • Leftmost
        Same. Sorry I haven't been much use recently.
      • 2016-01-11 01147, 2016

      • LordSputnik
        opatel99: documentation quality is inversely proportional to the size of the project ;)
      • 2016-01-11 01127, 2016

      • LordSputnik
        opatel99: hmm, or maybe not, maybe it's more of a parabola with "number of employees" as a variable too
      • 2016-01-11 01131, 2016

      • LordSputnik
        :P
      • 2016-01-11 01138, 2016

      • CallerNo6
        division by zero error
      • 2016-01-11 01128, 2016

      • LordSputnik
        night all
      • 2016-01-11 01123, 2016

      • ariscop has quit
      • 2016-01-11 01125, 2016

      • ariscop joined the channel
      • 2016-01-11 01124, 2016

      • baykelper joined the channel
      • 2016-01-11 01111, 2016

      • baykelper has quit
      • 2016-01-11 01124, 2016

      • The_Catman joined the channel
      • 2016-01-11 01105, 2016

      • CatmanIX has quit
      • 2016-01-11 01115, 2016

      • typhoe has quit
      • 2016-01-11 01102, 2016

      • typhoe joined the channel
      • 2016-01-11 01116, 2016

      • dcentral joined the channel
      • 2016-01-11 01133, 2016

      • dcentral has quit
      • 2016-01-11 01138, 2016

      • The_Catman has quit
      • 2016-01-11 01103, 2016

      • The_Catman joined the channel
      • 2016-01-11 01148, 2016

      • JonnyJD joined the channel
      • 2016-01-11 01106, 2016

      • Lotheric has quit
      • 2016-01-11 01134, 2016

      • CatmanIX joined the channel
      • 2016-01-11 01115, 2016

      • The_Catman has quit
      • 2016-01-11 01141, 2016

      • CallerNo6 has quit
      • 2016-01-11 01120, 2016

      • JonnyJD has quit
      • 2016-01-11 01144, 2016

      • opatel99 has quit
      • 2016-01-11 01156, 2016

      • ruaok
        I wasn't ready to wake up to this edit: https://musicbrainz.org/edit/36798575
      • 2016-01-11 01112, 2016

      • ruaok has headphones on and will go make coffee now
      • 2016-01-11 01106, 2016

      • bitmap
        yup :( so much for getting sleep
      • 2016-01-11 01123, 2016

      • ruaok nods
      • 2016-01-11 01100, 2016

      • drsaunde has quit
      • 2016-01-11 01107, 2016

      • JesseW has quit
      • 2016-01-11 01141, 2016

      • ruaok
        So, Bowie started recording Black Star when he was diagnosed with cancer.
      • 2016-01-11 01103, 2016

      • ruaok
        I hope to be *that* bad ass when it is my time to go.
      • 2016-01-11 01119, 2016

      • jesus2099 joined the channel
      • 2016-01-11 01142, 2016

      • bitmap
        yeah it's hard not to read too much into the lyrics now
      • 2016-01-11 01103, 2016

      • ruaok
        yet so many are sooo fitting.
      • 2016-01-11 01122, 2016

      • bitmap
        I heard it a couple days ago and it's a different album now
      • 2016-01-11 01128, 2016

      • ruaok
        I think he became in touch with his own mortality a looong time ago.
      • 2016-01-11 01108, 2016

      • jesus2099
        ruaok:  :/
      • 2016-01-11 01104, 2016

      • dpmittal joined the channel
      • 2016-01-11 01144, 2016

      • dpmittal has quit
      • 2016-01-11 01132, 2016

      • dpmittal joined the channel
      • 2016-01-11 01100, 2016

      • jesus2099 has quit
      • 2016-01-11 01111, 2016

      • jesus2099 joined the channel
      • 2016-01-11 01155, 2016

      • typhoe has quit
      • 2016-01-11 01128, 2016

      • typhoe joined the channel
      • 2016-01-11 01144, 2016

      • reosarevok
        http://forums.musicbrainz.org/viewtopic.php?pid=3… anyone knows? (about CAA queries and 404)
      • 2016-01-11 01146, 2016

      • ariscop has quit
      • 2016-01-11 01155, 2016

      • ariscop joined the channel
      • 2016-01-11 01130, 2016

      • ruaok
        reosarevok: to get the front jpg, this url should work:
      • 2016-01-11 01132, 2016

      • ruaok
      • 2016-01-11 01144, 2016

      • ruaok shudders
      • 2016-01-11 01109, 2016

      • Freso
        LordSputnik: Is that why beets has such good documentation?
      • 2016-01-11 01152, 2016

      • dpmittal has quit
      • 2016-01-11 01101, 2016

      • dpmittal joined the channel
      • 2016-01-11 01117, 2016

      • UmkaDK
        Guys, is there a way to find a MEMCACHED key used for a specific entity (eg: an artist)??
      • 2016-01-11 01144, 2016

      • chirlu`
        Should be "artist:$mbid"
      • 2016-01-11 01159, 2016

      • chirlu`
        Plus possibly a namespace defined in DBDefs.pm, e.g. "MB:artist:$mbid".
      • 2016-01-11 01114, 2016

      • chirlu`
        (MEMCACHED_NAMESPACE entry in DBDefs.pm.)