#metabrainz

/

      • reosarevok
        More entity naming?
      • 2023-03-16 07525, 2023

      • yvanzo
        reosarevok: I thought it was yesterday?
      • 2023-03-16 07530, 2023

      • reosarevok
        Oh. Was it? :D
      • 2023-03-16 07523, 2023

      • yvanzo
        Dunno, didn’t have any answer about Wed/Thu... And it seems that you already made the schema change discussion on Tuesday...
      • 2023-03-16 07544, 2023

      • reosarevok
        Yeah, because we had to put out the blog post last night at the latest
      • 2023-03-16 07555, 2023

      • reosarevok
        But I thought we were going to have the meeting about further naming issues today :D
      • 2023-03-16 07557, 2023

      • reosarevok
        Maybe not
      • 2023-03-16 07514, 2023

      • reosarevok
        I mean, I'm up for it if you and/or bitmap are too, anyway, but if not, no worries
      • 2023-03-16 07545, 2023

      • yvanzo
        Let’s plan next meeting at least.
      • 2023-03-16 07502, 2023

      • reosarevok
        Ok :) Any preferences?
      • 2023-03-16 07503, 2023

      • yvanzo
        Tue/Wed work for me.
      • 2023-03-16 07530, 2023

      • jasje joined the channel
      • 2023-03-16 07559, 2023

      • jasje
        akshaaatt: uh they dont?
      • 2023-03-16 07511, 2023

      • yvanzo
        I just found bitmap's answer about today's meeting in the backlog: https://chatlogs.metabrainz.org/libera/metabrainz…
      • 2023-03-16 07545, 2023

      • jasje
        all open PRs have failing tests
      • 2023-03-16 07508, 2023

      • reosarevok
        Yeah, that's why I thought we'd meet today, heh :D
      • 2023-03-16 07515, 2023

      • reosarevok
        Tue works for me too, I think :)
      • 2023-03-16 07526, 2023

      • reosarevok
        Let's see what bitmap thinks
      • 2023-03-16 07502, 2023

      • reosarevok
        Is there anything you want to talk before that? Or that I can help with short-term? :)
      • 2023-03-16 07506, 2023

      • monkey
        Yes yvanzo, you're right, just clicked in progress. As always, thanks for the help with SEC tickets :)
      • 2023-03-16 07526, 2023

      • yvanzo
        !m monkey
      • 2023-03-16 07526, 2023

      • BrainzBot
        You're doing good work, monkey!
      • 2023-03-16 07512, 2023

      • bitmap
        sorry reosarevok yvanzo my internal clock is still messed up from the DST switch, I can meet in 30 mins if you'd like
      • 2023-03-16 07543, 2023

      • yvanzo
        bitmap: no problem, I was not even expecting a meeting :P
      • 2023-03-16 07534, 2023

      • yvanzo
        But ok with meeting at 16:00 UTC :)
      • 2023-03-16 07538, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo reopened pull request #2173 (03master…dependabot/npm_and_yarn/jsdom-and-jest--removed): Bump jsdom and jest https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-16 07541, 2023

      • kellnerd
        yvanzo, monkey: As I was refreshing my memory why companies prefer using Objection.js (https://github.com/Vincit/objection.js/issues/1069 which also convinced me to select it instead of other TypeScript ORMs or query builders in 2021), I've found out some sad news:
      • 2023-03-16 07541, 2023

      • kellnerd
      • 2023-03-16 07556, 2023

      • monkey
        Gah !
      • 2023-03-16 07507, 2023

      • kellnerd
        Yet another open source project were the lead maintainer is no longer able to continue the development in their free time...
      • 2023-03-16 07507, 2023

      • kellnerd
        It looks as if the Knex.js maintainer was willing to continue doing maintenance releases but there were no status updates for a few weeks.
      • 2023-03-16 07524, 2023

      • monkey
        Better to find that out now though.
      • 2023-03-16 07534, 2023

      • monkey
        So what are our alternatives? Wait to see how objection fares? TypeORM? Prisma? Any other TS-oriented ORMs you know?
      • 2023-03-16 07550, 2023

      • iconoclasthero joined the channel
      • 2023-03-16 07557, 2023

      • iconoclasthero
      • 2023-03-16 07512, 2023

      • kellnerd
        Hmm, I already had a look at those (and others), and they're much heavier ORM frameworks whereas Objection is more like an enhanced query builder with support for lazy loading.
      • 2023-03-16 07523, 2023

      • iconoclasthero
        and since the boot i downloaded said it was an EC boot, i started there. then i looked at the cover and it's actually a BB boot.
      • 2023-03-16 07534, 2023

      • iconoclasthero
        so I went to BB and switched the view to Alll release groups
      • 2023-03-16 07536, 2023

      • iconoclasthero
        then filtered
      • 2023-03-16 07555, 2023

      • iconoclasthero
        and it the excluded unofficial release groups so https://musicbrainz.org/release/4fed047c-cfe2-425… is not displayed
      • 2023-03-16 07504, 2023

      • iconoclasthero
        why?
      • 2023-03-16 07517, 2023

      • iconoclasthero
        is that by design or an oversight?
      • 2023-03-16 07558, 2023

      • monkey
        kellnerd: I see. Yes, that would be ideal, especially in view of our ORM issues
      • 2023-03-16 07559, 2023

      • kellnerd
        Yeah, personally I'm not really a fan of these full blown ORMs and originally intended to go just with Knex (for my personal project) before I discovered Objection back then.
      • 2023-03-16 07509, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2396 (03master…dependabot/npm_and_yarn/braintree/sanitize-url-6.0.1): Bump @braintree/sanitize-url from 6.0.0 to 6.0.1 https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-16 07545, 2023

      • reosarevok
        bitmap, yvanzo: so, meeting or no meeting? :D
      • 2023-03-16 07536, 2023

      • bitmap
        what's on the agenda, entity naming?
      • 2023-03-16 07522, 2023

      • yvanzo
        yep
      • 2023-03-16 07549, 2023

      • bitmap
        I suppose I should address the comments in the Flow PR and we can merge that
      • 2023-03-16 07505, 2023

      • bitmap
        then continue looking at other CoreEntityT uses?
      • 2023-03-16 07533, 2023

      • kellnerd
        monkey: But I don't know whether that makes sense for BB. The ideal outcome would be that Objection continues to be maintained, IMO. Maybe there's still hope, according to https://www.npmjs.com/package/objection kibertoad has accepted the NPM  invitation at least.
      • 2023-03-16 07553, 2023

      • monkey
        There is hope
      • 2023-03-16 07556, 2023

      • kellnerd
        (Maybe we should move to #bookbrainz now)
      • 2023-03-16 07504, 2023

      • monkey
        Sure :)
      • 2023-03-16 07513, 2023

      • yvanzo
        iconoclasthero: it shows up in the latest page: https://musicbrainz.org/artist/dcb03ce3-67a5-4eb3…
      • 2023-03-16 07528, 2023

      • iconoclasthero
        Please go back and reread what i wrote.
      • 2023-03-16 07534, 2023

      • iconoclasthero
        That is not correct
      • 2023-03-16 07539, 2023

      • iconoclasthero
        it doesn't show up.
      • 2023-03-16 07556, 2023

      • iconoclasthero
        you need to filter after selecting all release groups
      • 2023-03-16 07559, 2023

      • iconoclasthero
        and then it doesn't
      • 2023-03-16 07502, 2023

      • yvanzo
        But the filters don’t mix with showing all RGs.
      • 2023-03-16 07516, 2023

      • iconoclasthero
        yes, that was my question.
      • 2023-03-16 07546, 2023

      • iconoclasthero
        why, and is that by design? if so, again, why?
      • 2023-03-16 07509, 2023

      • yvanzo
        It’s not deliberate, it’s just a rough implementation.
      • 2023-03-16 07516, 2023

      • iconoclasthero
        because if it isn't by design, it's implemented wrong
      • 2023-03-16 07523, 2023

      • iconoclasthero
        where do i put in tickets?
      • 2023-03-16 07539, 2023

      • yvanzo
        MBS, improvement suggestion, thanks!
      • 2023-03-16 07555, 2023

      • reosarevok
        IIRC I have a PR for that?
      • 2023-03-16 07526, 2023

      • reosarevok
      • 2023-03-16 07545, 2023

      • reosarevok
        iconoclasthero, yvanzo: is that what the discussion was about? :)
      • 2023-03-16 07510, 2023

      • yvanzo
      • 2023-03-16 07511, 2023

      • BrainzBot
        MBS-8186: Extend release group filtering to all sets of RGs, not just official by this artist
      • 2023-03-16 07533, 2023

      • iconoclasthero
        okie dokie
      • 2023-03-16 07538, 2023

      • iconoclasthero
        thanks
      • 2023-03-16 07501, 2023

      • yvanzo
        added you to followers
      • 2023-03-16 07506, 2023

      • iconoclasthero
        thanks
      • 2023-03-16 07553, 2023

      • bitmap
        reosarevok: yvanzo: should we try to resolve the discussion in that PR today? :)
      • 2023-03-16 07526, 2023

      • yvanzo
        yes
      • 2023-03-16 07528, 2023

      • yvanzo
        added a list of new types to the PR's description
      • 2023-03-16 07538, 2023

      • yvanzo
        bitmap: I thought that we would refine types depending on components’ needs (that is specifying need properties, what I tried to do with MergeLink) rather than hard-coding a list of entity types (as in MergeableEntityT/MergeableEntityTypeT).
      • 2023-03-16 07518, 2023

      • bitmap
        in that case I think it made the types a lot more complicated, because we needed the component to accept a type parameter IIRC
      • 2023-03-16 07501, 2023

      • bitmap
        I agree we don't need a list-of-types type in all cases
      • 2023-03-16 07517, 2023

      • bitmap
        the list-of-types is mainly useful if you need to refine the type to a more specific one using the entityType property, so that you can access other entity-specific properties.
      • 2023-03-16 07519, 2023

      • iconoclasthero
        TBH, if there was an option to filter by unofficial release groups, that would make my entries of bootlegs easier
      • 2023-03-16 07527, 2023

      • iconoclasthero
        @yvanzo
      • 2023-03-16 07547, 2023

      • yvanzo
        iconoclasthero: See MBS-12460 and MBS-12047
      • 2023-03-16 07549, 2023

      • BrainzBot
        MBS-12460: Allow filtering artist releases by status https://tickets.metabrainz.org/browse/MBS-12460
      • 2023-03-16 07549, 2023

      • BrainzBot
        MBS-12047: Support browsing release groups in /ws/2 by official status https://tickets.metabrainz.org/browse/MBS-12047
      • 2023-03-16 07500, 2023

      • iconoclasthero
        12460 seems to be aiming to do the opposite of what i want?
      • 2023-03-16 07513, 2023

      • iconoclasthero
        unless you can filter the other way too
      • 2023-03-16 07505, 2023

      • yvanzo
        it's aiming to allow both, excluding bootlegs is just an example
      • 2023-03-16 07511, 2023

      • iconoclasthero
        k
      • 2023-03-16 07554, 2023

      • iconoclasthero
        I don't understand what 12047 is ssaying. what is /ws/2? what does it mean by browse request via website
      • 2023-03-16 07554, 2023

      • iconoclasthero
        ?
      • 2023-03-16 07515, 2023

      • yvanzo
        It's to allow to do the same through the API, not the website.
      • 2023-03-16 07516, 2023

      • iconoclasthero
        regardless, the functionality for entering bootlegs isn't considered in the OP
      • 2023-03-16 07550, 2023

      • iconoclasthero
        I mean, just pick any random dead bootleg from archive.org and see if you can figure out if it's in there or not.
      • 2023-03-16 07519, 2023

      • yvanzo
        (OP)
      • 2023-03-16 07521, 2023

      • yvanzo
        ?
      • 2023-03-16 07544, 2023

      • yvanzo
        isn’t it already possible to enter bootlegs?
      • 2023-03-16 07528, 2023

      • iconoclasthero
        lol...
      • 2023-03-16 07536, 2023

      • iconoclasthero
        you've obviously never tried to do what i just said.
      • 2023-03-16 07550, 2023

      • yvanzo
        no
      • 2023-03-16 07511, 2023

      • iconoclasthero
      • 2023-03-16 07513, 2023

      • iconoclasthero
        ?
      • 2023-03-16 07527, 2023

      • iconoclasthero
        that should be since it's an oakland show around NYE
      • 2023-03-16 07546, 2023

      • iconoclasthero
        though prehaps not the etree 84986 version
      • 2023-03-16 07509, 2023

      • iconoclasthero
        Since until recently etree wasn't an option for label number
      • 2023-03-16 07528, 2023

      • iconoclasthero
        there's also no good place for torrent hashes or names
      • 2023-03-16 07547, 2023

      • iconoclasthero
        i usually put them in the disambiguation
      • 2023-03-16 07550, 2023

      • bitmap
        reosarevok: yvanzo: not sure what to do about the CoreEntityT usage in e.g. EntityHeader. since that uses EntityLink, it will have to be a union type. so, we could use RelatableEntityT, but it's not clear that EntityHeader is only for relatable entities.
      • 2023-03-16 07511, 2023

      • reosarevok
        Well, we should probably use it for whatever we expect to use it
      • 2023-03-16 07523, 2023

      • reosarevok
        So if it's only Relatable right now, use that, if not, make a union type?
      • 2023-03-16 07557, 2023

      • jasje_ joined the channel
      • 2023-03-16 07504, 2023

      • jasje_ has quit
      • 2023-03-16 07543, 2023

      • bitmap
        sure. RelatableEntityT works fine, so I may be overthinking it
      • 2023-03-16 07508, 2023

      • iconoclasthero
        Here's a 24-bit version of that same show: https://shnflac.net/index.php?page=torrent-detail…
      • 2023-03-16 07525, 2023

      • iconoclasthero
        etree id 120547
      • 2023-03-16 07529, 2023

      • yvanzo
        iconoclasthero: it isn't in MBDB
      • 2023-03-16 07547, 2023

      • iconoclasthero
        if you found it easy to figure that out, please tell me how you searched for it
      • 2023-03-16 07556, 2023

      • iconoclasthero
        because it is a PITA for me
      • 2023-03-16 07559, 2023

      • yvanzo
      • 2023-03-16 07501, 2023

      • jasje has quit
      • 2023-03-16 07554, 2023

      • iconoclasthero
        no it isn't
      • 2023-03-16 07503, 2023

      • iconoclasthero
        there's a 12-30 from 1979
      • 2023-03-16 07519, 2023

      • iconoclasthero
        and the 87-3-3 show
      • 2023-03-16 07528, 2023

      • iconoclasthero
        no 1987-12-30
      • 2023-03-16 07528, 2023

      • yvanzo
        we agree :)
      • 2023-03-16 07513, 2023

      • iconoclasthero
        BTW, look who entered the last entry
      • 2023-03-16 07533, 2023

      • iconoclasthero
        that has an etree id and the name of the boot
      • 2023-03-16 07542, 2023

      • iconoclasthero
        1990-12-31
      • 2023-03-16 07507, 2023

      • iconoclasthero
        oh it ISNT
      • 2023-03-16 07514, 2023

      • iconoclasthero
        sorry, misread the highlighted text
      • 2023-03-16 07555, 2023

      • iconoclasthero
        i guess the filter function is way easier than going to each page and hitting ^F and searching!
      • 2023-03-16 07516, 2023

      • bitmap
        an advanced search is another option at the moment: https://musicbrainz.org/search?query=artist%3A%28…
      • 2023-03-16 07542, 2023

      • bitmap
        you will still have to ctrl+f, but if it exists it should be on the first page
      • 2023-03-16 07542, 2023

      • yvanzo
        bitmap: Would it be possible to generate TaggableEntityT type declaration from entities.mjs?
      • 2023-03-16 07524, 2023

      • iconoclasthero
        is there any way that the entry box for annotations could be expanded rightward?
      • 2023-03-16 07541, 2023

      • yvanzo
        We have had issues with mismatch between entities.json and Perl code, we don’t want to have it again in JS code.
      • 2023-03-16 07522, 2023

      • bitmap
        it's technically possible, but no code exists to generate types like that yet
      • 2023-03-16 07536, 2023

      • yvanzo
        iconoclasthero: It is possible in the annotation editing form that can be accessed from “Edit annotation” link below the annotation display.
      • 2023-03-16 07535, 2023

      • bitmap
        but, if you tried to use SidebarTags or TagEditor etc. from an entity page that isn't in TaggableEntityT, it will error. so they shouldn't really silently become out of sync
      • 2023-03-16 07540, 2023

      • iconoclasthero
        yvanzo is that only after the entry's been submitted the first time?
      • 2023-03-16 07555, 2023

      • yvanzo
        iconoclasthero: yes
      • 2023-03-16 07503, 2023

      • iconoclasthero
        I don't know what those Tag things are so moot.
      • 2023-03-16 07534, 2023

      • yvanzo
        It's a different topic as we are having our weekly MB dev meeting atm.
      • 2023-03-16 07546, 2023

      • iconoclasthero
        ok, later
      • 2023-03-16 07549, 2023

      • iconoclasthero has left the channel
      • 2023-03-16 07534, 2023

      • yvanzo
        It still is code duplication.
      • 2023-03-16 07511, 2023

      • yvanzo
        It might be possible to add a type to Taggable*T that is not in entities.json.