#metabrainz

/

      • BrainzGit
        [musicbrainz-server] 14mwiencek opened pull request #2739 (03master…fix-type-constraint-genre-error): Add another missing Types module import for Genre https://github.com/metabrainz/musicbrainz-server/…
      • 2022-11-17 32104, 2022

      • wargreen has quit
      • 2022-11-17 32141, 2022

      • wargreen joined the channel
      • 2022-11-17 32129, 2022

      • matterharz joined the channel
      • 2022-11-17 32158, 2022

      • matterharz has left the channel
      • 2022-11-17 32131, 2022

      • chancey joined the channel
      • 2022-11-17 32135, 2022

      • chancey has quit
      • 2022-11-17 32135, 2022

      • chancey joined the channel
      • 2022-11-17 32118, 2022

      • chancey has quit
      • 2022-11-17 32135, 2022

      • daKu18 joined the channel
      • 2022-11-17 32143, 2022

      • kaine2 has quit
      • 2022-11-17 32103, 2022

      • daKu18 has quit
      • 2022-11-17 32107, 2022

      • kaine2 joined the channel
      • 2022-11-17 32108, 2022

      • chancey joined the channel
      • 2022-11-17 32130, 2022

      • chancey has quit
      • 2022-11-17 32120, 2022

      • chancey joined the channel
      • 2022-11-17 32125, 2022

      • chancey has quit
      • 2022-11-17 32123, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2739 (03master…fix-type-constraint-genre-error): Add another missing Types module import for Genre https://github.com/metabrainz/musicbrainz-server/…
      • 2022-11-17 32113, 2022

      • reosarevok
        yvanzo: I'd love to get https://github.com/metabrainz/musicbrainz-server/… finished and merged, since it's a minor change *and* a definite improvement. If you don't have time to do the same for Data::Editable, I'd happily merge this and send a second PR myself (or send a commit to yours, but I'm not sure I can push to your repo :) )
      • 2022-11-17 32127, 2022

      • reosarevok
        Thanks for working on refactoring and clarifying!
      • 2022-11-17 32132, 2022

      • reosarevok
        outsidecontext: did DNB ever answer?
      • 2022-11-17 32108, 2022

      • yvanzo
        O’Moin
      • 2022-11-17 32159, 2022

      • zas
        yvanzo: Mooooin
      • 2022-11-17 32117, 2022

      • outsidecontext
        reosarevok: no :(
      • 2022-11-17 32133, 2022

      • reosarevok
        Aww
      • 2022-11-17 32115, 2022

      • reosarevok
        yvanzo: given that, should we merge https://github.com/metabrainz/musicbrainz-server/… for now and improve it further if they end up answering? :/
      • 2022-11-17 32121, 2022

      • outsidecontext
        reosarevok: I can try it with some of their other contact addresses. I had written to their metadata services, because it seemed fitting
      • 2022-11-17 32123, 2022

      • reosarevok
        And also, I merged bitmap's hopeful selenium fix into master, so yvanzo, you should be able to rebase on master to see whether other errors appear now :)
      • 2022-11-17 32131, 2022

      • reosarevok
        outsidecontext: that would be lovely
      • 2022-11-17 32137, 2022

      • yvanzo
        reosarevok: Thanks for having fixed the warnings!
      • 2022-11-17 32143, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2738 (03master…fix-daologger-warning): Fix warnings in DAOLogger https://github.com/metabrainz/musicbrainz-server/…
      • 2022-11-17 32102, 2022

      • reosarevok
        No problem! Sorry, I never saw them just because I don't run DEBUG, or I would have fixed them the first time :)
      • 2022-11-17 32100, 2022

      • reosarevok
        bitmap: when you're back, please rebase https://github.com/metabrainz/musicbrainz-server/… and https://github.com/metabrainz/musicbrainz-server/… on master to test it again without the breakage, and https://github.com/metabrainz/musicbrainz-server/… while fixing the eslint issue - then maybe we can release them to beta? :)
      • 2022-11-17 32104, 2022

      • yvanzo
        reosarevok: Refactoring Perl code should be below our lowest priorities, I’d love to get your help with everything else, e.g. SEC-123, see the draft PR. Investigating the 5xx from this night right now. Will get back to PRs after that.
      • 2022-11-17 32105, 2022

      • BrainzBot
        SEC-123: [musicbrainz-server] CVE-2019-20149: kind-of < 6.0.3 https://tickets.metabrainz.org/browse/SEC-123
      • 2022-11-17 32120, 2022

      • reosarevok
        Well, I'm mostly working on that at the moment because I have a ton of React PRs open and I don't want to keep adding more of those until we review and merge some :)
      • 2022-11-17 32148, 2022

      • yvanzo
        So you are opening a ton of Perl PRs instead.
      • 2022-11-17 32153, 2022

      • reosarevok
        Yes, those are a lot easier to review and merge whenever we have time :)
      • 2022-11-17 32111, 2022

      • reosarevok
        And reviewing stuff as often as I can, too
      • 2022-11-17 32128, 2022

      • yvanzo
        If you are out of inspiration, just ask, there are a tons of things that can be done without conflicting with current changes.
      • 2022-11-17 32106, 2022

      • reosarevok
        I'm not out of inspiration, I just care about improving old code
      • 2022-11-17 32112, 2022

      • reosarevok
        What help do you want with the SEC one? Should I be researching the CI errors or?
      • 2022-11-17 32130, 2022

      • yvanzo
        There is a blocking Ecmascript error.
      • 2022-11-17 32147, 2022

      • yvanzo
        I copied the log in the last commit.
      • 2022-11-17 32148, 2022

      • reosarevok
        (and don't worry, my plan with those Perl ones is to merge your stuff, then adapt my stuff accordingly)
      • 2022-11-17 32103, 2022

      • reosarevok
        (not make you deal with all the conflicts)
      • 2022-11-17 32135, 2022

      • reosarevok
        FWIW, I tried to use Moose with properly on controllers and it broke, so we're doing shit wrong somewhere, I'll figure that out eventually :)
      • 2022-11-17 32102, 2022

      • reosarevok
        Ok, I'll take a look at those errors, see what I can figure out
      • 2022-11-17 32103, 2022

      • BrainzGit
        [listenbrainz-server] 14chinmaykunkikar opened pull request #2255 (03master…css-updates): css: Bump Bootstrap to 3.3.7 https://github.com/metabrainz/listenbrainz-server…
      • 2022-11-17 32129, 2022

      • reosarevok
        yvanzo: the issue is because of this line in init.js: /^[\p{White_Space}\p{Punctuation}]+$/u.test(self.rootField.editNote()) ||
      • 2022-11-17 32146, 2022

      • reosarevok
      • 2022-11-17 32130, 2022

      • reosarevok
        In theory that should be a solved issue? But I can't find where and how it's solved tbh
      • 2022-11-17 32138, 2022

      • reosarevok
      • 2022-11-17 32151, 2022

      • yvanzo
        reosarevok: I mentioned that RegExp set notation in the commit message, and took inspiration from https://github.com/babel/babel/issues/15193#issue…
      • 2022-11-17 32120, 2022

      • yvanzo
        reosarevok: However I don’t understand the first warning (maybe it is usual, I didn't check), I tried several alternative export/import notations unsuccessfully.
      • 2022-11-17 32103, 2022

      • reosarevok
        This one?
      • 2022-11-17 32104, 2022

      • reosarevok
        export 'DEVELOPMENT_SERVER' (imported as 'DEVELOPMENT_SERVER') was not found in './common/DBDefs-client.mjs' (possible exports: default)
      • 2022-11-17 32111, 2022

      • reosarevok
        I've been getting that locally for weeks
      • 2022-11-17 32156, 2022

      • reosarevok
        I expect https://github.com/mathiasbynens/regexpu-core/pul… is meant to fix that issue?
      • 2022-11-17 32144, 2022

      • yvanzo
        yes this one warning
      • 2022-11-17 32134, 2022

      • yvanzo
        we don’t use the 'v' flag which this PR is about
      • 2022-11-17 32119, 2022

      • Mineo has quit
      • 2022-11-17 32133, 2022

      • reosarevok
        Yes, but once it's easy we probably should, since it's a straight upgrade of u AFAICT
      • 2022-11-17 32139, 2022

      • reosarevok
        Anyway, left a comment on the PR
      • 2022-11-17 32122, 2022

      • Mineo joined the channel
      • 2022-11-17 32137, 2022

      • yvanzo
        reosarevok: you can totally push commits to others’ pull requests unless they unticked "Allow edits by maintainers"
      • 2022-11-17 32145, 2022

      • reosarevok
        I just didn't want to push without you checking the solution, in case you weren't happy with it :)
      • 2022-11-17 32158, 2022

      • reosarevok
        But thanks
      • 2022-11-17 32116, 2022

      • reosarevok
        Would you be ok with me doing that wrt Data::Editable? :)
      • 2022-11-17 32143, 2022

      • reosarevok
        (I know it's not a big priority, but it's a small, clear improvement on crappily-named packages)
      • 2022-11-17 32106, 2022

      • Mineo has quit
      • 2022-11-17 32156, 2022

      • Mineo joined the channel
      • 2022-11-17 32127, 2022

      • yvanzo
        reosarevok: Thanks, answered on the PR.
      • 2022-11-17 32128, 2022

      • yvanzo
        For the rest, I’d prefer to have your input on MBS-12552.
      • 2022-11-17 32129, 2022

      • BrainzBot
        MBS-12552: Define usage of the term “entity type” https://tickets.metabrainz.org/browse/MBS-12552
      • 2022-11-17 32147, 2022

      • lucifer
        zas: hi! can you please apply this same config to beta.lb and test.lb? https://github.com/metabrainz/openresty-gateways/…
      • 2022-11-17 32145, 2022

      • reosarevok
        Main seems fine to me
      • 2022-11-17 32156, 2022

      • reosarevok
        But I can also live with Central
      • 2022-11-17 32111, 2022

      • reosarevok
        I'll comment a bit later
      • 2022-11-17 32122, 2022

      • Mineo has quit
      • 2022-11-17 32100, 2022

      • Mineo joined the channel
      • 2022-11-17 32109, 2022

      • rozlav has quit
      • 2022-11-17 32120, 2022

      • mayhem
        moooin!
      • 2022-11-17 32147, 2022

      • mayhem
        lucifer: how did things go last night? did you restart the -web container? Did similarity data get generated?
      • 2022-11-17 32119, 2022

      • lucifer
        yes i updated the containers but didn't request new data because didn't know what params you wanted.
      • 2022-11-17 32119, 2022

      • mayhem
        ok, I'll put in more requests in a minute.
      • 2022-11-17 32127, 2022

      • lucifer
        👍
      • 2022-11-17 32132, 2022

      • mayhem
        https://listenbrainz.org/art/ is still broken, because the URLs do not point to api.lb.org -- some magic *is* needed.
      • 2022-11-17 32112, 2022

      • lucifer
        uh right, i just saw that as well. it worked on test.lb because gateways config was missing.
      • 2022-11-17 32152, 2022

      • lucifer
        i'll fix it by not using url_for like we do in all other places in LB
      • 2022-11-17 32146, 2022

      • mayhem
        when did we stop using url_for? I thought that was expected...
      • 2022-11-17 32134, 2022

      • lucifer
        we don't use url_for in frontend because its in react.
      • 2022-11-17 32135, 2022

      • rozlav joined the channel
      • 2022-11-17 32115, 2022

      • lucifer
        and the api is mostly queried by react parts, the jinja2 parts don't usually query apis directly
      • 2022-11-17 32143, 2022

      • mayhem
        ah, makes sense.
      • 2022-11-17 32107, 2022

      • rozlav has quit
      • 2022-11-17 32117, 2022

      • rozlav joined the channel
      • 2022-11-17 32121, 2022

      • lucifer
        https://test.listenbrainz.org/art/ works for now and is currently release group cover arts.
      • 2022-11-17 32155, 2022

      • lucifer
        weirdly that increases repetitions for akshaaatt's grid
      • 2022-11-17 32125, 2022

      • mayhem
        at least the page works now!
      • 2022-11-17 32119, 2022

      • akshaaatt wants to flaunt his cover arts now
      • 2022-11-17 32157, 2022

      • rozlav has quit
      • 2022-11-17 32107, 2022

      • rozlav joined the channel
      • 2022-11-17 32132, 2022

      • rozlav has quit
      • 2022-11-17 32141, 2022

      • rozlav joined the channel
      • 2022-11-17 32129, 2022

      • reosarevok
        yvanzo, bitmap: I'm going to update test with https://github.com/metabrainz/musicbrainz-server/… for kellnerd
      • 2022-11-17 32142, 2022

      • reosarevok
        Since test is already anyway loaded with an old relationship editors branch, it shouldn't be a problem
      • 2022-11-17 32121, 2022

      • yvanzo
        Thanks!
      • 2022-11-17 32153, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 opened pull request #2256 (03master…fix-caa): Hardcode urls in listenbrainz.org/art https://github.com/metabrainz/listenbrainz-server…
      • 2022-11-17 32115, 2022

      • mayhem requests a pile of new data
      • 2022-11-17 32148, 2022

      • mayhem
        lucifer: I truncated the similarity.recording table and am requesting piles of new data, but with higher thresholds, so each set should be considerably smaller.
      • 2022-11-17 32110, 2022

      • lucifer
        👍
      • 2022-11-17 32126, 2022

      • mayhem
        and as I was trying to brainstorm how to move forward with similarities and artist radio, my brain delivered a Picard AutoTag feature that might making tagging MUCH faster and acoustic fingerprints... useless. thanks brain. not what I needed.
      • 2022-11-17 32121, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2256 (03master…fix-caa): Hardcode urls in listenbrainz.org/art https://github.com/metabrainz/listenbrainz-server…
      • 2022-11-17 32136, 2022

      • mayhem
        lucifer: any idea why the prefetch_count thing works?
      • 2022-11-17 32140, 2022

      • lucifer
        mayhem: it ensures that only a fixed numbers of messages are sent to ts writer at time. without prefetch count, rmq/kombu will try to send as many as possible. when it was failing, this was as large as 10k at a time.
      • 2022-11-17 32127, 2022

      • lucifer
        why it silently crashes at 10k messages is not known though because logs were empty. probably a bug in kombu i'd assume.
      • 2022-11-17 32138, 2022

      • mayhem
        ok, that does kinda make sense then.
      • 2022-11-17 32154, 2022

      • mayhem
      • 2022-11-17 32125, 2022

      • mayhem
        for some reason the metadata viewer opted to show this scan as opposed to the more commonly used front, which is only the right half. huh.
      • 2022-11-17 32150, 2022

      • lucifer
        can you share the recording mbid of the listen?
      • 2022-11-17 32133, 2022

      • mayhem
        its listening now, so the listen hasn't been recorded yet.
      • 2022-11-17 32138, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2254 (03master…fix-ts-writer): Timescale Writer Fixes https://github.com/metabrainz/listenbrainz-server…
      • 2022-11-17 32101, 2022

      • lucifer
        ah ok
      • 2022-11-17 32108, 2022

      • lucifer
      • 2022-11-17 32119, 2022

      • mayhem
        yep
      • 2022-11-17 32116, 2022

      • lucifer
      • 2022-11-17 32142, 2022

      • lucifer
        where are you listening to this from? something that submits release mbids?
      • 2022-11-17 32156, 2022

      • mayhem
        spotify, daily jams.
      • 2022-11-17 32136, 2022

      • lucifer
        weird, that doesn't submit release mbids and the one returned by the api is the expected one
      • 2022-11-17 32114, 2022

      • mayhem
        the listens page shows the art I would expect:
      • 2022-11-17 32116, 2022

      • mayhem
      • 2022-11-17 32128, 2022

      • lucifer
        to confirm you are listening this on spotify and not on BP?
      • 2022-11-17 32112, 2022

      • mayhem
        correct. I just closed all LB tabs, music still playing.
      • 2022-11-17 32124, 2022

      • monkey
        Hm, The cover you see does have the "front" attribute: https://musicbrainz.org/release/c06d5b18-af19-41e…
      • 2022-11-17 32154, 2022

      • mayhem
        it may very well be an MB data issue, for sure.
      • 2022-11-17 32156, 2022

      • monkey
        We should probably filter ones that have front but also other attributes?
      • 2022-11-17 32102, 2022

      • monkey
        Or prefer only front
      • 2022-11-17 32123, 2022

      • monkey
        No, I don't think it's an issue in MB, the attribute is correct as it does show the front.
      • 2022-11-17 32126, 2022

      • lucifer
        hmm i see but MB website does show the correct cover.
      • 2022-11-17 32148, 2022

      • lucifer
        maybe an issue in the query I copied from CAA.
      • 2022-11-17 32151, 2022

      • monkey
        However my code for fetching the image from CAA json response probably doesn't do more than "get an image with 'front' attribute"
      • 2022-11-17 32127, 2022

      • lucifer
        iiuc, this mbid should have been resolved by the backend. frontend would be getting a caa id.
      • 2022-11-17 32134, 2022

      • monkey
        mayhem: This is displayed in the Listening Now standalone deb, yes?
      • 2022-11-17 32144, 2022

      • monkey
        Ah, odd
      • 2022-11-17 32145, 2022

      • monkey
        Well, maybe the same mistake I thought I had in the JS code exists in the python code, i.e. "get the first 'front' image" rather than get the first image with only 'front' attribute
      • 2022-11-17 32107, 2022

      • genpaku has quit
      • 2022-11-17 32133, 2022

      • lucifer
        uh yeah, the query is missing an order by.
      • 2022-11-17 32141, 2022

      • genpaku joined the channel
      • 2022-11-17 32103, 2022

      • mayhem
        monkey: yes