#metabrainz

/

      • bitmap
        I can't remember the last time one of our (ancient) deps broke due to a perl upgrade
      • BrainzGit
        [musicbrainz-server] yvanzo merged pull request #1984 (production…mbs-11446-trim-n): MBS-11446: Keep blank lines in annotation https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        bitmap: what about node, what to?
      • yvanzo
        latest LTS?
      • bitmap
        there's a new LTS release in april, should probably go with that.
      • reosarevok
        Ok
      • bitmap
        v16?
      • yvanzo
        yes
      • bitmap
        let's do that
      • reosarevok
        Perfect
      • bitmap
        does perl 5.32.x seem ok if all tests pass/deps compile?
      • reosarevok
        +1
      • Etua has quit
      • bitmap
        or I'm fine with 5.30.x if you prefer
      • Etua joined the channel
      • yvanzo
        bitmap: keep a perl version that we can have in our base image maybe? :P
      • reosarevok
        Is 5.32 available from debian / ubuntu?
      • yvanzo
        focal has 5.30
      • bitmap
        I doubt from the official repoos
      • lol repoos. stupid keyboard
      • reosarevok
        yvanzo: what's the highest still easy to get into the vm? 5.30?
      • yvanzo
        focal (ubuntu 20.04 - latest LTS)
      • bouhormq joined the channel
      • reosarevok
        Then maybe let's do 5.30, unless there's something very special added in between
      • yvanzo
        reosarevok: into the vm and into our images for production :)
      • bitmap
        I'm hoping there's a popular/well-supported apt repo we could use though
      • bouhormq has quit
      • ok, that's a good argument for 5.30 then
      • so perl 5.30, node v16 it is
      • yvanzo
        alright
      • reosarevok
        Neat
      • yvanzo
        perl 5.30 is in debian sid
      • bitmap
        anything else we should discuss from https://gist.github.com/mwiencek/8015985a5a9338... ?
      • reosarevok
        We should see what has tickets and add the missing ones
      • bitmap
        do we want/expect to support cardinalities other than 0/1?
      • reosarevok
        Maybe, but not higher than 255
      • Oh, postgres has no tinyint to begin with
      • Were you considering an ENUM or?
      • bitmap
        yeah. we could use a bit string if we only need a byte
      • smallint is two bytes
      • BenOckmore has quit
      • reosarevok
        You suggested possibly wanting a third type (shown for editing but not display IIRC?) recently
      • So maybe we should play it safe
      • yvanzo
        ratings/reviews for place? ^^
      • tripbrainz? :)
      • bitmap
        a byte would be 255
      • goldenshimmer joined the channel
      • SamThursfield[m] joined the channel
      • kepstin joined the channel
      • AkshatTiwari[m] joined the channel
      • bitmunch joined the channel
      • joshuaboniface joined the channel
      • lorenzuru joined the channel
      • Cyna[m] joined the channel
      • BenOckmore joined the channel
      • reosarevok
        Oh, now I got it
      • Sorry, I was thinking of "a bit"
      • yvanzo: place, not area :)
      • bitmap: I think it's safe to say we won't have 255 cardinalities
      • bitmap
        I'm not sure/don't think PG has column types below 1 byte, at least
      • yvanzo
        what is "root column to the link_type table" for?
      • bitmap
        (even boolean uses 1 byte last time I checked the docs)
      • yvanzo: like how link_attribute_type has a root column referring to the top-most type
      • we currently use a recursive query to calculate those
      • I can't imagine it's slow given the size oof the table, but having it stored is more convenient
      • reosarevok
        oof
      • yvanzo
        ooof
      • bitmap
        that's the eighth time I've oof'd today alone
      • ruaok
        oof
      • yvanzo
        bitmap: ok, there is no ticket associated to it, right?
      • bitmap
        not as oof yet
      • do either of you want to claim any of these?
      • then the owner can make their own tickets :)
      • yvanzo
        :D
      • ooof ;)
      • reosarevok
        !recall oh no.
      • BrainzBot
      • Etua has quit
      • Etua1 joined the channel
      • reosarevok
      • BrainzBot
        MBS-5423: Finish "Log Statistics" work other than schema changes, merge, integrate
      • reosarevok
        Or is that unrelated to drop statistics.log_statistic
      • bitmap
        that's related, so yes (unless we still have a planned use for this table)
      • yvanzo
        Any example of visible cardinality from the website? You seem to be very at ease with it :)
      • Etua1 is now known as Etua
      • reosarevok
        yvanzo: we don't show all recordings of a work in the relationship editor when editing a work (or a release) because of cardinality
      • bitmap
        yvanzo: I don't think the actual number is visible except from the attribute doc page / admin forms
      • reosarevok
        Oh, the number itself? Also from relationship type edits
      • bitmap
        but we use it to indicate if one side of a relationship has many or few relationships
      • CatQuest
        personally I wish a work/UUID/edit *did* show all those
      • yvanzo
        of a relationship or of a relationship type?
      • CatQuest
        well they do if you add them there :D
      • bitmap
        one side of a relationship type, sorry
      • CatQuest
        could be a separate lazy load tab?
      • bitmap
        CatQuest: that's something we were thinking about, yeah
      • using it to determine whether to use paging/lazy-loading rather than hiding it altogether
      • CatQuest
        oh!
      • yvanzo
        so 1 is many and 0 is few?
      • reosarevok
        we were?
      • I didn't remember, but that doesn't sound bad :p
      • CatQuest
        :o
      • bitmap
        yes, didn't you mention earlier that we did? :P
      • CatQuest
        wait if ya's listening to me I have other ideas too!
      • ..
      • yvanzo
        < reosarevok> oof
      • he did ^
      • CatQuest
        if I can remember :D
      • ashutosh3 has quit
      • yvanzo
        bitmap: last, edit_data_type_info is a current function, why replacing it with a script?
      • (or generating it with a script?)
      • bitmap
        that one wasn't clear, sorry
      • we never had a script to create the function on mirrors, I only added it to the prod DB
      • soo we should have it be created during the schema change. not that it's used anywhere
      • yvanzo
        ok, thanks.
      • Rohan_Pillai joined the channel
      • reosarevok
        bitmap: can't edit your gist, should we link created tickets to it somehow, or do we just put them into the fix version?
      • bitmap
        I could create a google doc instead if that helps
      • yvanzo
        I think I got it all but cardinality change, so I cannot take this one.
      • reosarevok
        The cardinality change would probably currently only involve changing the type of the column, no?
      • yvanzo
        let's just create tickets for each point.
      • reosarevok
        (we can later decide to do more stuff with it, but)
      • bitmap: if you want, that might help
      • bitmap
        right. the cardinality one is just about saving a few measly bytes
      • CatQuest
        ok. unpopular opinion. how hard would "dynamic attributes" be?
      • yvanzo
        I mean: the cardinality itself seems to be underdocumented.
      • CatQuest: that already is in current schema.
      • CatQuest
        yes reo jsut told me in a pm
      • reosarevok
        Yeah, that doesn't need a schema change, just... time
      • CatQuest
        i was so sure it was schema since it hadn't ben done :o
      • awww
      • honestly dynamic atributes and alt tracklists are the 2 most wanted tickets anyway for m
      • reosarevok
        (relatedly, those big unfinished things are why this list is "a lot of small, easy changes, often backend and not very relevant to users but make stuff work better")
      • CatQuest
        that and maybe merge vocal-tree into instruments
      • oohhh
      • reosarevok
        (to some degree it is "let's show we can actually *finish* a schema change for once" :p )
      • CatQuest
        making stuff work better is always a mega plus
      • espeically if it means the big unfinished thing will be easier to make later
      • loi
      • yvanzo
        reosarevok: that and react migration.
      • CatQuest
        it's on overtime for sure
      • reosarevok
        yvanzo: sure :)
      • CatQuest
        yep was gonna say
      • that damn react
      • :P
      • bitmap
      • reosarevok
        CatQuest: probably the most user-wanted change this year is recording year, but that's already in on the main site
      • CatQuest
        how is the ETA on react anyway? andy % on how much is left?
      • yvanzo
        CatQuest: damn helpful for the future of MB :)
      • Rohan_Pillai has quit
      • reosarevok
        Andy Percent sounds like a DJ