#metabrainz

/

      • jasje
        off the app myself*
      • 2023-03-08 06751, 2023

      • mayhem
        reosarevok: Who knows?
      • 2023-03-08 06706, 2023

      • mayhem
        I think if we call the data CC0, then we could get into hot water with last.fm, which I am not interested in.
      • 2023-03-08 06732, 2023

      • mayhem
        but if someone asks me, I'll tell them its factual data and that they would not be breaking any laws.
      • 2023-03-08 06758, 2023

      • mayhem
        reosarevok: did you get the removal of track email I forwarded on monday?
      • 2023-03-08 06759, 2023

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #934 (03master…mergeasync): BB-675: Rewrite merge routes using async/await syntax https://github.com/metabrainz/bookbrainz-site/pul…
      • 2023-03-08 06733, 2023

      • reosarevok
        Oh, yeah, sorry, I forgot to look into it. Will do
      • 2023-03-08 06702, 2023

      • BrainzGit
        [listenbrainz-server] 14mayhem opened pull request #2389 (03master…fix-timezone-typo): Fix timezone typo https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-08 06714, 2023

      • ShivamAwasthi joined the channel
      • 2023-03-08 06745, 2023

      • mayhem
        monkey: on the above PR I have a failing test for SelectTimezone.test.tsx -- it checks to ensure that the output matches the expected output. But I can't find how it does this check -- I can't find another instance of that string.
      • 2023-03-08 06750, 2023

      • mayhem
        any tips on how to fix the test?
      • 2023-03-08 06752, 2023

      • monkey
        mayhem: Yes, it's the snapshots we use to ensure things like this don't change without us being aware of them.
      • 2023-03-08 06710, 2023

      • monkey
        test.sh has an option to update frontend snapshots
      • 2023-03-08 06721, 2023

      • mayhem
        ah ha.
      • 2023-03-08 06727, 2023

      • ShivamAwasthi
        aerozol, you can get the icon from here (https://fontawesome.com/icons/arrow-right-long?s=…)
      • 2023-03-08 06734, 2023

      • monkey
        `test.sh fe -u`
      • 2023-03-08 06739, 2023

      • Siddhart1o1 joined the channel
      • 2023-03-08 06747, 2023

      • mayhem
        thx
      • 2023-03-08 06734, 2023

      • monkey
        It becomes an annoying part of the workflow, like pep8, but it has saved my ass a couple of times
      • 2023-03-08 06720, 2023

      • monkey
        Actually, in this specific case since the change is just adding a letter you can do that directly in frontend/js/tests/user-settings/__snapshots__/SelectTimezone.test.tsx.snap if you don't want to re-run the whole test suite.
      • 2023-03-08 06748, 2023

      • mayhem
        ah, good to know. let me do the official updating for this round to learn the process.
      • 2023-03-08 06732, 2023

      • mayhem
        hmmm.
      • 2023-03-08 06747, 2023

      • mayhem
        so I did develop.sh build. then test.sh fe -u
      • 2023-03-08 06753, 2023

      • mayhem
        and it gives me: "frontend/js/src/explore/huesound/ColorPlay.tsx:7:23 - error TS2307: Cannot find module '@ebay/nice-modal-react' or its corresponding type declarations."
      • 2023-03-08 06701, 2023

      • mayhem
        which has your monkey paws all over it. :)
      • 2023-03-08 06724, 2023

      • monkey
        Ah, yes. Gotta rebuild the docker image…
      • 2023-03-08 06737, 2023

      • monkey
        Every time we add a dependency. Also annoying.
      • 2023-03-08 06753, 2023

      • mayhem
        isn't that develop.sh build ?
      • 2023-03-08 06706, 2023

      • monkey
        yes
      • 2023-03-08 06709, 2023

      • mayhem
        I did that.
      • 2023-03-08 06733, 2023

      • mayhem
        let me do a down, the build
      • 2023-03-08 06737, 2023

      • monkey
        Actually, `test.sh build`
      • 2023-03-08 06752, 2023

      • monkey
        Errr
      • 2023-03-08 06702, 2023

      • monkey
        `test.sh fe -b`
      • 2023-03-08 06715, 2023

      • mayhem
        thx
      • 2023-03-08 06746, 2023

      • akshaaatt wishes everyone a happy holi✨
      • 2023-03-08 06713, 2023

      • mayhem
        happy holi! my favorite indian holiday. I need to be there for it someday.
      • 2023-03-08 06706, 2023

      • akshaaatt
        Really! I enjoyed a lot today. We celebrated holi at a popular hill station here
      • 2023-03-08 06722, 2023

      • akshaaatt
        It sorta snowed as well here
      • 2023-03-08 06749, 2023

      • mayhem
        colorful snow, or actual snow?
      • 2023-03-08 06748, 2023

      • jasje
        Happy holi everyone!
      • 2023-03-08 06748, 2023

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #933 (03master…TicketBB-703): BB-703: Series of authors are not displayed correctly https://github.com/metabrainz/bookbrainz-site/pul…
      • 2023-03-08 06734, 2023

      • BrainzGit
        [listenbrainz-server] 14mayhem merged pull request #2389 (03master…fix-timezone-typo): Fix timezone typo https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-08 06727, 2023

      • Siddhart1o1 has quit
      • 2023-03-08 06754, 2023

      • akshaaatt
      • 2023-03-08 06721, 2023

      • akshaaatt
        mayhem: I don’t know how to explain but it hailed I think over here
      • 2023-03-08 06750, 2023

      • ShivamAwasthi
        Happy holi everyone!!
      • 2023-03-08 06701, 2023

      • jasje has quit
      • 2023-03-08 06715, 2023

      • Pratha-Fish
        Happy Holi guys :)
      • 2023-03-08 06735, 2023

      • ShivamAwasthi has quit
      • 2023-03-08 06710, 2023

      • Pratha-Fish
        akshaaatt: you in Srinagar? 👀
      • 2023-03-08 06720, 2023

      • akshaaatt
        Pratha-Fish: at Mussoorie
      • 2023-03-08 06748, 2023

      • Pratha-Fish
        Damn that's the coolest way to celebrate holy (pun intended)
      • 2023-03-08 06706, 2023

      • akshaaatt
        😂⚡️
      • 2023-03-08 06704, 2023

      • mayhem
        akshaaatt: that is how my California friends feel. what is this? 30cm of white stuff? huh?
      • 2023-03-08 06722, 2023

      • akshaaatt
        😂😂😂😂😂
      • 2023-03-08 06740, 2023

      • meycroft joined the channel
      • 2023-03-08 06754, 2023

      • meycroft has quit
      • 2023-03-08 06708, 2023

      • meycroft joined the channel
      • 2023-03-08 06743, 2023

      • TaJ joined the channel
      • 2023-03-08 06751, 2023

      • TaJ has quit
      • 2023-03-08 06709, 2023

      • bou[m] joined the channel
      • 2023-03-08 06753, 2023

      • kellnerd has quit
      • 2023-03-08 06737, 2023

      • alastairp
        hi
      • 2023-03-08 06738, 2023

      • alastairp
        I applied some low-hanging fruit to the MLHD runner, just committing it now. runtime is about 1 minute per 100 items
      • 2023-03-08 06719, 2023

      • alastairp
        total dataset is 600k items, == approx 4 days to process, or I believe we can max out wolf and run 3 threads
      • 2023-03-08 06722, 2023

      • alastairp
      • 2023-03-08 06754, 2023

      • alastairp
        here's a sample of the output (it'll be zstd compressed when distributed), -original is the input document, -complete is a version of all rows from original that we were able fully match to a recording, -missing are everything else (only artist+release, or only artist, or only timestamp)
      • 2023-03-08 06748, 2023

      • alastairp
        I've eyeballed a bunch of these rows and they seem good to me, if someone else wants to look through them then I'm happy to help you with that
      • 2023-03-08 06740, 2023

      • alastairp
        wolf is about 30gb short to fit the whole dataset again (original is 270gb total but only 240 free, I'm taking a look to see if there are some low hanging fruit I can get rid of to free up space)
      • 2023-03-08 06702, 2023

      • reosarevok
        bitmap: thanks, left a few comments on https://github.com/metabrainz/musicbrainz-server/…
      • 2023-03-08 06731, 2023

      • jivte has quit
      • 2023-03-08 06752, 2023

      • reosarevok
        Also, https://github.com/metabrainz/musicbrainz-server/… rebased, seems to still pass critic, hopefully still passes other tests too :)
      • 2023-03-08 06723, 2023

      • ZaphodBeeblebrox
        wait hol up snow in india? what is this
      • 2023-03-08 06733, 2023

      • ZaphodBeeblebrox
        happy Holi everyone!
      • 2023-03-08 06756, 2023

      • ZaphodBeeblebrox
        (I said it earlier too but it was probably too early :D)
      • 2023-03-08 06728, 2023

      • TOPIC: 🎉 MetaBrainz Community and Development channel | MusicBrainz non-development: #musicbrainz | BookBrainz: #bookbrainz | Channel is logged; see https://musicbrainz.org/doc/IRC for details | Agenda: Reviews, April Fools is getting near! (ghost of mayhem) 🎊
      • 2023-03-08 06759, 2023

      • ZaphodBeeblebrox
        I still maintain that "ghost of mayhem" is a great name for a band
      • 2023-03-08 06728, 2023

      • monkey
        +1
      • 2023-03-08 06747, 2023

      • reosarevok
        ZaphodBeeblebrox: they do have mountains! :)
      • 2023-03-08 06741, 2023

      • ZaphodBeeblebrox
        ... yea of coruse.. I mean fak the hiest ones are in nepal over there so i guess there is snow
      • 2023-03-08 06756, 2023

      • ZaphodBeeblebrox
        .. course highest
      • 2023-03-08 06720, 2023

      • ZaphodBeeblebrox
        it just sounds so strange with "snow in india" taken out of context :D
      • 2023-03-08 06728, 2023

      • ZaphodBeeblebrox
        lik "heatwave in norway" i guess :DD
      • 2023-03-08 06718, 2023

      • reosarevok
        yvanzo, outsidecontext: MBS-12978 makes me want to cry T_T
      • 2023-03-08 06719, 2023

      • BrainzBot
        MBS-12978: Can't enter a DNB link for a place: "This URL is not allowed for places." https://tickets.metabrainz.org/browse/MBS-12978
      • 2023-03-08 06732, 2023

      • reosarevok
        Can we block adding DNB links? :D
      • 2023-03-08 06734, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2886 (03master…jsx-filename-extension-mjs): Allow for JSX in .mjs files https://github.com/metabrainz/musicbrainz-server/…
      • 2023-03-08 06751, 2023

      • mayhem
        alastairp: I see 351G available on wolf. did you clean up or is this after cleanup?
      • 2023-03-08 06701, 2023

      • alastairp
        I've just cleaned up ~100gb
      • 2023-03-08 06714, 2023

      • outsidecontext
        reosarevok: what's causing problems still?
      • 2023-03-08 06717, 2023

      • mayhem
        ok, so no impediments to get this going then?
      • 2023-03-08 06724, 2023

      • alastairp
        I can kick it off now
      • 2023-03-08 06730, 2023

      • mayhem
        great
      • 2023-03-08 06734, 2023

      • reosarevok
        outsidecontext: apparently https://d-nb.info/gnd/25995-0 is a legit link :p
      • 2023-03-08 06744, 2023

      • alastairp kicks wolf
      • 2023-03-08 06753, 2023

      • reosarevok
        Be careful, it might bite
      • 2023-03-08 06713, 2023

      • reosarevok
        outsidecontext, yvanzo: also, apparently they now decided the permalinks should be https
      • 2023-03-08 06722, 2023

      • reosarevok
        (so I guess we should change our cleanup too...)
      • 2023-03-08 06743, 2023

      • reosarevok
        But yeah, I'm starting to think maybe the whole check should be "is it a dnb link? ok, fine, add it, whatever" :p
      • 2023-03-08 06751, 2023

      • outsidecontext
        reosarevok: but the link fits into the definition we got from them in the mail I sent you. The link format is "https://d-nb.info/{ID}", where ID can consist of the characters [0-9X-]
      • 2023-03-08 06749, 2023

      • outsidecontext
        sorry, "https://d-nb.info/gnd/{ID}" for this case
      • 2023-03-08 06708, 2023

      • TaJ joined the channel
      • 2023-03-08 06743, 2023

      • outsidecontext
        reosarevok: I don't think we should overcomplicate this. there are all kind of specific entity types that might have more detailed restrictions on the ID format. But to me this looks like over-engineering on our part, a more lax validation of the URLs should work well for us.
      • 2023-03-08 06755, 2023

      • outsidecontext
        reosarevok: https://github.com/reosarevok/musicbrainz-server/… <- the "[0-9X-]{9,10}" was only valid for entity type person
      • 2023-03-08 06752, 2023

      • outsidecontext
        my suggestion would be either to use "[0-9][0-9-]*[0-9X]" for the ID part if we want to have it a bit stricter, or just totally relaxed a "[0-9X-]+"
      • 2023-03-08 06748, 2023

      • outsidecontext
        MBS-12665
      • 2023-03-08 06749, 2023

      • BrainzBot
        MBS-12665: Some valid d-nb.info links are rejected https://tickets.metabrainz.org/browse/MBS-12665
      • 2023-03-08 06733, 2023

      • TaJ has quit
      • 2023-03-08 06739, 2023

      • alastairp
        OK, wolf is doing its thing! should be done by Friday morning barring any unexpected failures
      • 2023-03-08 06752, 2023

      • alastairp
        what a great idea getting 128gb memory
      • 2023-03-08 06704, 2023

      • mayhem
        :D
      • 2023-03-08 06729, 2023

      • alastairp
        thanks for the prod, mayhem. it was on my todo list, but kept on being so easy to push until mañana
      • 2023-03-08 06754, 2023

      • mayhem
        np, thanks for getting on it.
      • 2023-03-08 06728, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #2368 (03master…lb1003-descriptive_title): LB-1003 : Playlist page html title isn't descriptive https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-08 06716, 2023

      • wargreen joined the channel
      • 2023-03-08 06743, 2023

      • mayhem
        why only 3 cores, alastairp ? I am not using wolf at the moment, nor is anyone else. could go higher, if possible.
      • 2023-03-08 06756, 2023

      • mayhem
        reosarevok: ping
      • 2023-03-08 06729, 2023

      • reosarevok
        mayhem: pong, but off for dinner soon
      • 2023-03-08 06747, 2023

      • mayhem
        I'm wondering where to put the docs for the canonical datasets.
      • 2023-03-08 06753, 2023

      • mayhem
        wiki?
      • 2023-03-08 06712, 2023

      • mayhem
        I think I am going to put MHLD+ into the LB docs, so that has a good home.
      • 2023-03-08 06729, 2023

      • reosarevok
        Canonical in mbwiki/mbdoc seems fine
      • 2023-03-08 06733, 2023

      • mayhem
        ok
      • 2023-03-08 06708, 2023

      • alastairp
        mayhem: memory - we have a bunch of mapping dictionaries used to look up the canonical ids, redirects, metadata, etc, and they use about 30gb/process
      • 2023-03-08 06741, 2023

      • mayhem
        will memory use continue to grow?
      • 2023-03-08 06747, 2023

      • mayhem
        because it is at 25% now.
      • 2023-03-08 06756, 2023

      • alastairp
        my understanding is that we could have used threading with shared data, but as we're mostly CPU-bound, the GIL would stop us from getting more than 100% usage
      • 2023-03-08 06705, 2023

      • alastairp
        no, memory should be constant
      • 2023-03-08 06727, 2023

      • alastairp
        interesting, I was looking at RES in `top`, whcih shows 29g per process
      • 2023-03-08 06728, 2023

      • mayhem
        if memory is constant, why not start over and give it 6 threads. could be 8. there is enough memory available
      • 2023-03-08 06752, 2023

      • alastairp
        free -m shows 16gb avilable
      • 2023-03-08 06700, 2023

      • alastairp
        top shows 25% CPU, are you looking at that instead of memory?
      • 2023-03-08 06706, 2023

      • mayhem
        are these totally distinct processes? or one process and multiple threads?
      • 2023-03-08 06734, 2023

      • alastairp
        I'm running them as distinct processes
      • 2023-03-08 06743, 2023

      • mayhem
        ah, ok, never mind.
      • 2023-03-08 06758, 2023

      • alastairp
        one process + separate threads would definitely allow us to do more computation with shared data (since they're only lookup tables)
      • 2023-03-08 06708, 2023

      • mayhem
        yerp.
      • 2023-03-08 06709, 2023

      • alastairp
        but I was completely unsure if the GIL would screw us over there or not
      • 2023-03-08 06715, 2023

      • mayhem
        but you're afraid of threads, I understand.
      • 2023-03-08 06720, 2023

      • alastairp
        :D
      • 2023-03-08 06708, 2023

      • alastairp
        so I decided that waiting 1.25 days was better than spending 1 day trying to add threads and then finding out that it wouldn't work
      • 2023-03-08 06715, 2023

      • BrainzGit
        [listenbrainz-server] 14MonkeyDo opened pull request #2390 (03master…cb-review-modal): Use NiceModal for CBReview modal https://github.com/metabrainz/listenbrainz-server…
      • 2023-03-08 06753, 2023

      • reosarevok
        bitmap: is there a reason to import * as React rather than importing just the hooks we need, btw?
      • 2023-03-08 06725, 2023

      • reosarevok
        I see their current hooks tutorials are like "import React, {useState} from 'react'", but the beta ones are just "import {useState} from 'react'"
      • 2023-03-08 06711, 2023

      • bitmap
        it's easier if you're using multiple imports, but otherwise no
      • 2023-03-08 06750, 2023

      • monkey
        JSX requires the presence of React in the imports. If you're on React 18 I think that requirement has been dropped
      • 2023-03-08 06727, 2023

      • bitmap
        yeah, we've switched to the automatic runtime that doesn't require the imports anymore
      • 2023-03-08 06756, 2023

      • reosarevok
        Also, did you check some tables to make sure the changes to react-table didn't break anything? In the flow PR
      • 2023-03-08 06709, 2023

      • reosarevok
        I guess we effectively check a bunch with our perl tests, at least