#metabrainz

/

      • akshaaatt
        Looks great to me yellowhatpro! Have you made a post on community.meb?
      • 2022-07-25 20622, 2022

      • akshaaatt
        The bottom nav for BP player screen sounds doable and worth it to me yellowhatpro.
      • 2022-07-25 20615, 2022

      • yellowhatpro
        No not yet, I will create a post till today or tomorrow, as I will be natively adding the figma file into the app for the demo.
      • 2022-07-25 20612, 2022

      • yellowhatpro
        Ok so I will be creating another bottom nav bar for BP as well.
      • 2022-07-25 20629, 2022

      • yellowhatpro
        (/≧▽≦)/
      • 2022-07-25 20613, 2022

      • akshaaatt
        Amazing!
      • 2022-07-25 20603, 2022

      • elkiensad[m] is now known as elkiensad
      • 2022-07-25 20609, 2022

      • elkiensad has quit
      • 2022-07-25 20624, 2022

      • elkiensad joined the channel
      • 2022-07-25 20606, 2022

      • rdswift has quit
      • 2022-07-25 20607, 2022

      • void09 has quit
      • 2022-07-25 20607, 2022

      • everdred has quit
      • 2022-07-25 20622, 2022

      • everdred joined the channel
      • 2022-07-25 20628, 2022

      • void09 joined the channel
      • 2022-07-25 20610, 2022

      • -- BotBot disconnected, possible missing messages --
      • 2022-07-25 20651, 2022

      • BrainzBot joined the channel
      • 2022-07-25 20610, 2022

      • MRiddickW has quit
      • 2022-07-25 20621, 2022

      • rdswift joined the channel
      • 2022-07-25 20604, 2022

      • skelly37 joined the channel
      • 2022-07-25 20600, 2022

      • chinmay
        Moin!
      • 2022-07-25 20609, 2022

      • Pratha-Fish
        Moin!
      • 2022-07-25 20654, 2022

      • yvanzo
        O’Moin
      • 2022-07-25 20634, 2022

      • skelly37
        moin
      • 2022-07-25 20626, 2022

      • rain0r joined the channel
      • 2022-07-25 20653, 2022

      • trolley has quit
      • 2022-07-25 20635, 2022

      • trolley joined the channel
      • 2022-07-25 20658, 2022

      • akshaaatt
        moin!
      • 2022-07-25 20620, 2022

      • mayhem
        moin!
      • 2022-07-25 20644, 2022

      • ansh
        moin!
      • 2022-07-25 20652, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #446 (03master…CB_440): CB-440: Recording entity [unknown artist] https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20614, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #447 (03master…dependabot/npm_and_yarn/terser-4.8.1): Bump terser from 4.8.0 to 4.8.1 https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20629, 2022

      • BrainzGit
        [critiquebrainz] 14alastair opened pull request #448 (03master…docker-merge): CB-407: Unify docker setup for production, development and test https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20654, 2022

      • alastairp
        ansh: hi, could you please review CB#448? And if it works for you, please rebase your existing PRs with it (I'm having trouble doing a docker build with node 12, so have upgraded it to v16)
      • 2022-07-25 20655, 2022

      • BrainzBot
        CB-407: Unify docker setup for production, development and test: https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20647, 2022

      • ansh
        alastairp: Sure! I'll review this.
      • 2022-07-25 20610, 2022

      • alastairp
        I already deployed it to beta and it seems to work fine, so I just want to test that you can run it locally too
      • 2022-07-25 20616, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #442 (03master…master): Adding Guidelines and link to CoC https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20618, 2022

      • alastairp
        ansh: CB#444 is good, just 2 small changes
      • 2022-07-25 20618, 2022

      • BrainzBot
      • 2022-07-25 20630, 2022

      • alastairp
        I'm just looking at CB#441 one more time now
      • 2022-07-25 20630, 2022

      • BrainzBot
        CB-437: Add entity metadata to review get endpoints: https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20649, 2022

      • alastairp
        Pratha-Fish: hi, good morning. how are you?
      • 2022-07-25 20603, 2022

      • Pratha-Fish
        alastairp: Hi! I'm doing fine :)
      • 2022-07-25 20613, 2022

      • Pratha-Fish
        Also, the mapper is ~complete
      • 2022-07-25 20617, 2022

      • alastairp
        great
      • 2022-07-25 20655, 2022

      • Pratha-Fish
      • 2022-07-25 20609, 2022

      • alastairp
        amazing!
      • 2022-07-25 20628, 2022

      • Pratha-Fish
        ^ That's the output from running the mapper over 1000 rows!
      • 2022-07-25 20615, 2022

      • alastairp
        a quick question, what mapper endpoint are you using? https://labs.api.listenbrainz.org/mbid-mapping or https://datasets.listenbrainz.org/mbc-lookup (the 2nd one is used in the link to '(lookup)' that you have
      • 2022-07-25 20642, 2022

      • Pratha-Fish
        I kept the mbc-lookup as it is
      • 2022-07-25 20647, 2022

      • Pratha-Fish
        But I can replace it if required
      • 2022-07-25 20604, 2022

      • Pratha-Fish
        *MBC only for the HTML output
      • 2022-07-25 20636, 2022

      • Pratha-Fish
        for lookups, I am using /mbid-mapping
      • 2022-07-25 20648, 2022

      • alastairp
        let's add both lookups, and have a flag in the code to switch between them. At the moment I think that the MBC lookup will give better results
      • 2022-07-25 20611, 2022

      • alastairp
        in fact, for a handful of the nan values that I checked, the mbc lookup does give a result
      • 2022-07-25 20636, 2022

      • Pratha-Fish
        Interesting. I'll add the option to switch then
      • 2022-07-25 20617, 2022

      • alastairp
        sweet
      • 2022-07-25 20651, 2022

      • alastairp
        Pratha-Fish: when that's done, I have a few potential PRs for you to do. let me know if you're interested in them
      • 2022-07-25 20614, 2022

      • Pratha-Fish
        alastairp: definitely, getting used to the OSS workflow is a must for me
      • 2022-07-25 20606, 2022

      • alastairp
        perfect - it'll require you to set up listenbrainz on wolf (not the whole infrastructure, but the code is there). I can help you step through it, but I have a lunch meeting in ~1 hour. so up to you - we can do it, now, or we can do it when I'm back in 3-4h
      • 2022-07-25 20635, 2022

      • ansh
      • 2022-07-25 20634, 2022

      • alastairp
        ansh: 👍 thanks, will do. I think the lock file might be because I generated the updated lock file locally with node 17 instead of the 16
      • 2022-07-25 20635, 2022

      • ansh
        I noticed these things when I setup CB following the docs
      • 2022-07-25 20647, 2022

      • alastairp
        and I can see why the static builder one happened too (see that it's using `docker run` without the --user flag, this means that it'll probably be running as user 1001, which means that it can't modify the existing files in your home directory)
      • 2022-07-25 20611, 2022

      • Pratha-Fish
        alastairp: Let's do it after lunch. Till then I'll be able to finalize the mapper script as well
      • 2022-07-25 20637, 2022

      • alastairp
        this is similar to the pg_custom errors you were seeing previously, and related to a fix that lucifer made on LB node tests too
      • 2022-07-25 20643, 2022

      • Pratha-Fish
        alastairp: on a 1000 row sample, apparently there's a 105 row difference b/w mbc and mbid-mapper https://usercontent.irccloud-cdn.com/file/tz4L0Qt…
      • 2022-07-25 20601, 2022

      • ansh
        Is this working fine at your end?
      • 2022-07-25 20621, 2022

      • alastairp
        ansh: I don't think I ran npm pre-dev. I'm testing now
      • 2022-07-25 20614, 2022

      • ansh
        Also the CB docs (https://critiquebrainz.readthedocs.io/intro.html) need to be updated. It does not include the BB Database Setup procedure rn.
      • 2022-07-25 20617, 2022

      • alastairp
        actually, I see that we don't have the --user flag in CB's develop.sh like we do in LB. interesting. looking more
      • 2022-07-25 20653, 2022

      • alastairp
        I'm just rebuilding the docs now. I guess they're on manual. I still don't understand how building docs works :( same issues with LB
      • 2022-07-25 20629, 2022

      • ansh
        I think we can have a script that runs every time a new release is made
      • 2022-07-25 20604, 2022

      • alastairp
        yes, we tried that with LB, but it was creating new versions each time, which made things very messy in the readthedocs interface, because sometimes we would make many releases a week
      • 2022-07-25 20648, 2022

      • alastairp
        doc builds are failing. I suspect a similar reason to what lucifer found in LB last week. when I'm back after lunch I'll look at them
      • 2022-07-25 20652, 2022

      • alastairp
        ansh: `search_editon_group` just noticed this 😅
      • 2022-07-25 20622, 2022

      • lucifer
        alastairp: probably jinja2 incompat version. can open a PR to fix.
      • 2022-07-25 20659, 2022

      • ansh
        alastairp: I'll change it 😅
      • 2022-07-25 20608, 2022

      • alastairp
      • 2022-07-25 20614, 2022

      • alastairp
        thanks for the fix
      • 2022-07-25 20624, 2022

      • ansh
        Also I added the .gitignore change that we discussed about in this PR
      • 2022-07-25 20622, 2022

      • alastairp
        yeah, I saw that. looks good
      • 2022-07-25 20638, 2022

      • q3lont joined the channel
      • 2022-07-25 20639, 2022

      • BrainzGit
        [critiquebrainz] 14anshg1214 opened pull request #449 (03master…fix_bb_eg): Add Title for Edition Group's page https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20642, 2022

      • ansh
        alastairp: I noticed these while surfing CB ^
      • 2022-07-25 20649, 2022

      • alastairp
        ansh: looks good, I'll test it when I get back
      • 2022-07-25 20607, 2022

      • ansh
        Thanks
      • 2022-07-25 20608, 2022

      • alastairp
        ansh: can you PM me an email address? I want to invite you to our Sentry service (logs exceptions in production)
      • 2022-07-25 20616, 2022

      • ansh
        sure
      • 2022-07-25 20619, 2022

      • alastairp
        ansh: hopefully after signing in you should be able to see https://sentry.metabrainz.org/organizations/metab…
      • 2022-07-25 20640, 2022

      • alastairp
        I'm heading out for lunch, back in a few hours
      • 2022-07-25 20628, 2022

      • mayhem
        so spanish.
      • 2022-07-25 20637, 2022

      • mayhem
        going for lunch, don't wait up!
      • 2022-07-25 20605, 2022

      • mayhem
        akshaaatt: atj aerozol: You should all have received confirmations for your lodgings in BCN now.
      • 2022-07-25 20616, 2022

      • Lotheric_ is now known as Lotheric
      • 2022-07-25 20616, 2022

      • Pratha-Fish
        Just nuked my whole environment MLHD environment with rm -rf :D
      • 2022-07-25 20624, 2022

      • Pratha-Fish punches dry wall
      • 2022-07-25 20645, 2022

      • Pratha-Fish
        Thankfully uncommitted file were still open in editor :')
      • 2022-07-25 20629, 2022

      • BrainzGit
        [critiquebrainz] 14amCap1712 opened pull request #450 (03master…docs-fix): Add basic .readthedocs.yaml and update deps versions https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20601, 2022

      • trolley has quit
      • 2022-07-25 20648, 2022

      • trolley joined the channel
      • 2022-07-25 20616, 2022

      • aerozol
        Mayhem: thank yooouuu
      • 2022-07-25 20600, 2022

      • mayhem
        aerozol: hiya!
      • 2022-07-25 20608, 2022

      • mayhem
        lucifer: alastairp : I cleaned up old "Top 100 top artist..." playlists that were old and stale.
      • 2022-07-25 20653, 2022

      • riksucks
        hi lucifer, I wanted to ask you something
      • 2022-07-25 20659, 2022

      • lucifer
        hi!
      • 2022-07-25 20623, 2022

      • riksucks
        so the api rn is sending back the userids of the followers. I was wondering the following approach.
      • 2022-07-25 20639, 2022

      • riksucks
        the frontend has an access to all the people following me
      • 2022-07-25 20601, 2022

      • riksucks
        so in the frontend, I can do the mapping, and show the usernames of the people I sent personal recommendation to
      • 2022-07-25 20638, 2022

      • riksucks
        if a name is not present in the frontend, but the userid is there, frontend would assume, that the person has unfollowed him, hence not show anything
      • 2022-07-25 20620, 2022

      • lucifer
        riksucks: but external api users do not have access user ids so they can't do such a mapping
      • 2022-07-25 20614, 2022

      • riksucks
        oh right, yes
      • 2022-07-25 20640, 2022

      • lucifer
        thus, the api should only deal in user names, it should convert usernames to user ids when writing to db then convert user ids back to user names when sending events to users.
      • 2022-07-25 20647, 2022

      • riksucks
        also another question. We should be saving data with the ids, but when serving them, we would be populating it with usernames. right?
      • 2022-07-25 20655, 2022

      • riksucks
        because again, usernames can change
      • 2022-07-25 20620, 2022

      • riksucks
        right
      • 2022-07-25 20655, 2022

      • lucifer
        yup db should store user ids for this reason
      • 2022-07-25 20608, 2022

      • riksucks
        right thanks. also, there exists `get_many_users_by_mb_id` to get info about users from mb_id. making a `get_many_users_by_id` sounds like an okay approach to you for this right?
      • 2022-07-25 20631, 2022

      • lucifer
        riksucks: yes. that sounds good.
      • 2022-07-25 20651, 2022

      • lucifer
        but i'd suggest to first try adding a join to "user" table directly in the events query.
      • 2022-07-25 20612, 2022

      • lucifer
        you can user something json_array_elements_text to expand the array to 1 row per id, join with username then collect back by grouping on event id.
      • 2022-07-25 20635, 2022

      • lucifer
        i can help with that if you get stuck.
      • 2022-07-25 20622, 2022

      • akshaaatt
        Thank you mayhem! Received.
      • 2022-07-25 20606, 2022

      • chinmay
        lucifer: how often does lb get a new prod build?
      • 2022-07-25 20641, 2022

      • lucifer
        chinmay: do you mean how often we do a new release?
      • 2022-07-25 20658, 2022

      • chinmay
        yes
      • 2022-07-25 20647, 2022

      • lucifer
        there's no fixed timeline, whenever we have enough stuff to release or there's an urgent fix so on. sometimes its multiple times a week sometimes a couple of weeks without any release/
      • 2022-07-25 20606, 2022

      • chinmay
        oh, alright
      • 2022-07-25 20604, 2022

      • chinmay
        I wanted to try out fresh releases api and I was avoiding setting up musicbrainz server locally
      • 2022-07-25 20643, 2022

      • mayhem
        we could deplay to test.mb.org and let you do that, chinmay
      • 2022-07-25 20618, 2022

      • chinmay
        that'll work as well
      • 2022-07-25 20640, 2022

      • lucifer
        you mean test.lb.org, right?
      • 2022-07-25 20651, 2022

      • mayhem
        yeah, of course.
      • 2022-07-25 20624, 2022

      • lucifer
        ah cool, i can do a release later today so that the api goes into prod. need to do a bugfix first.
      • 2022-07-25 20634, 2022

      • chinmay
        sure
      • 2022-07-25 20653, 2022

      • mayhem
        and with some luck the tests on the RG sort PR will finally pass before that.
      • 2022-07-25 20623, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #450 (03master…docs-fix): Add basic .readthedocs.yaml and update deps versions https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20606, 2022

      • chinmay
        lucifer: do you also know how to create a react context? i tried the usual way but it's confusing on lb
      • 2022-07-25 20646, 2022

      • lucifer
        chinmay: i think so yes. can oyu push the code to github so that i can take a look.
      • 2022-07-25 20616, 2022

      • skelly37 has quit
      • 2022-07-25 20657, 2022

      • chinmay
      • 2022-07-25 20623, 2022

      • chinmay
      • 2022-07-25 20652, 2022

      • lucifer
        👍, will take a look in a few minutes
      • 2022-07-25 20627, 2022

      • chinmay
        sure :)
      • 2022-07-25 20641, 2022

      • chinmay
        Can you please do a general review as well?
      • 2022-07-25 20649, 2022

      • chinmay
        Ignore .slice(), etc methods. I'm using them to limit my fakedata results
      • 2022-07-25 20605, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #444 (03master…add_bb_search): Allow searching of Edition Group https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20633, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #449 (03master…fix_bb_eg): Add Title for Edition Group's page https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-07-25 20620, 2022

      • alastairp
        ansh: https://critiquebrainz.readthedocs.io/intro.html#… BB instructions are here now
      • 2022-07-25 20650, 2022

      • alastairp
        ansh: I think I worked out the reason for the permission denied errors. newer versions of npm have this funny behaviour where they will see if they are running as root, and if the owner of the directory that they are running in is different to root, they will try and chown the output