#metabrainz

/

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2428 (03master…document-tests-6): Improve test documentation (VI): Controller::ISRC/ISWC https://github.com/metabrainz/musicbrainz-server/…
      • 2022-03-01 06016, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2426 (03master…document-tests-5): Improve test documentation (V): Controller::Instrument (adds multiple tests) https://github.com/metabrainz/musicbrainz-server/…
      • 2022-03-01 06043, 2022

      • lucifer
        riksucks: hi! yes, we had considered that idea but think it adds more complexity. we are thinking of instead doing full imports after every few incremental imports and let the db handle the duplicates/
      • 2022-03-01 06024, 2022

      • riksucks
        I see lucifer, we can also do one thing, since a part of spotify listens are from BrainzPlayer, we can maybe retrieve data from there too
      • 2022-03-01 06020, 2022

      • lucifer
        riksucks: not sure i understand that. how would that work?
      • 2022-03-01 06046, 2022

      • riksucks
        lucifer: like, everytime brainzplayer plays something from spotify, we can call an API at the backend?
      • 2022-03-01 06016, 2022

      • riksucks
        so like, we won't have to completely rely on gradual imports. we would have few data real time
      • 2022-03-01 06058, 2022

      • lucifer
        but that's unreliable because 1) lot of users probably don't use BU but spotify apps etc. 2) data loss still happens for non BU submitted listens
      • 2022-03-01 06047, 2022

      • riksucks
        ohh I see, I didn't know that. That makes sense
      • 2022-03-01 06038, 2022

      • riksucks
        btw lucifer has the gradual import thing been implemented (or is being worked on), I would like to probably work on it
      • 2022-03-01 06045, 2022

      • lucifer
        riksucks: its currently pending, not started working on it. feel free to work on it. let me see if i can find the previous discussion around it.
      • 2022-03-01 06008, 2022

      • riksucks
        thanks!
      • 2022-03-01 06032, 2022

      • alastairp
        !m lucifer
      • 2022-03-01 06032, 2022

      • BrainzBot
        You're doing good work, lucifer!
      • 2022-03-01 06046, 2022

      • alastairp
        lucifer: do we have periodic msb dumps?
      • 2022-03-01 06056, 2022

      • BrainzGit
        [musicbrainz-server] 14rinsuki opened pull request #2435 (03master…mbs/12226): MBS-12226: Add allowed prefix of niconico video ID https://github.com/metabrainz/musicbrainz-server/…
      • 2022-03-01 06049, 2022

      • lucifer
        riksucks: https://chatlogs.metabrainz.org/libera/metabrainz… may need to scroll a bit. this describes the solution we discussed the last time.
      • 2022-03-01 06012, 2022

      • lucifer
        alastairp: afaik no. but its on floyd so maybe getting backed up barman.
      • 2022-03-01 06027, 2022

      • alastairp
        didn't we talk about that at the summit, and we realised that it wasn't? :)
      • 2022-03-01 06059, 2022

      • lucifer
        i don't recall it distinctly now 😓
      • 2022-03-01 06022, 2022

      • lucifer
        i guess we could add msb dumps as well or make it part of barman backup? i do recall that we finally decided except LB listens and AB, everything should be barman backed up
      • 2022-03-01 06056, 2022

      • alastairp
        yeah, right. I think that dumps are a good idea anyway, maybe people can do something with them
      • 2022-03-01 06038, 2022

      • lucifer
        btw i asked in the pg channel as well, they too suggested its mostly probably a hardware issue.
      • 2022-03-01 06057, 2022

      • Mineo has quit
      • 2022-03-01 06005, 2022

      • Mineo joined the channel
      • 2022-03-01 06054, 2022

      • lucifer
        yeah dumps sound good then.
      • 2022-03-01 06010, 2022

      • Mineo has quit
      • 2022-03-01 06015, 2022

      • alastairp
        lucifer: do you understand this failing test in CB? "AssertionError: Popped wrong app context. (<flask.ctx.AppContext object at 0x7f7017eba460> instead of <flask.ctx.AppContext object at 0x7f7017f20280>)"
      • 2022-03-01 06016, 2022

      • alastairp
      • 2022-03-01 06002, 2022

      • agatzk has quit
      • 2022-03-01 06011, 2022

      • agatzk joined the channel
      • 2022-03-01 06026, 2022

      • BrainzGit
        [critiquebrainz] 14alastair merged pull request #398 (03master…CB-401-nosuchentity): CB-401, CB-408: Return 404 for entities that don't exist in the MB database https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-03-01 06034, 2022

      • atj
        zas: FYI I'm dealing with a couple of work issues at the moment, hopefully shouldn't be too long
      • 2022-03-01 06051, 2022

      • zas
        ok, np
      • 2022-03-01 06002, 2022

      • Mineo joined the channel
      • 2022-03-01 06014, 2022

      • zas
        bitmap: I checked smart status of disks on floyd (hardware raid), no error were logged, they all look healthy. Also nothing obvious in system logs. That said, it doesn't rule out an hardware issue, it can be anything (ram/cpu/chipset). We'll eventually need to stop this server and run a full hardware check from rescue mode. Ping me when you're around.
      • 2022-03-01 06015, 2022

      • monkey
        aerozol: showing the user's total number of listens in the column to the right sound like a good idea indeed. We currently show it on the page but it would definitely be better on the right: https://usercontent.irccloud-cdn.com/file/bHeVnPo…
      • 2022-03-01 06055, 2022

      • monkey
        And maybe we could add a simple monthly listens total as a low hanging fruit?
      • 2022-03-01 06053, 2022

      • monkey
        lucifer: Do we have an easy way to get a user's listen count for the current month?
      • 2022-03-01 06058, 2022

      • mayhem
        moooin!
      • 2022-03-01 06005, 2022

      • mayhem is getting a late start today
      • 2022-03-01 06013, 2022

      • monkey
        aerozol: We also talked a while back about having a calendar-based navigation similar (but maybe not quite the same) to the one lastfm uses, that would be another good candidate to have on the right hand side column https://usercontent.irccloud-cdn.com/file/QMOzd69…
      • 2022-03-01 06025, 2022

      • monkey
        I love this component of the year in music report we made, and a time navigation based on that would be pretty rad https://usercontent.irccloud-cdn.com/file/YTLEX0L…
      • 2022-03-01 06026, 2022

      • aerozol
        really cool, there's heaps of stuff from reports + charts that could be pulled over, but might need some tweaking to not just be obviously doubling up? some kind of summary?
      • 2022-03-01 06053, 2022

      • aerozol
        this is what I meant re listen stats by the way, if the pin/now listening moves to the right it could be an opportunity to add some track-specific stats/data: https://raw.githubusercontent.com/Aerozol/Test/ma…
      • 2022-03-01 06025, 2022

      • aerozol
        but total listens etc is definitely an important e-wang kind of thing to put at the top
      • 2022-03-01 06031, 2022

      • aerozol
        anyway, night all!
      • 2022-03-01 06014, 2022

      • monkey
        Ah, i see. I don't think we currently have those stats available, but that would indeed be nice
      • 2022-03-01 06020, 2022

      • monkey
        Night night!
      • 2022-03-01 06051, 2022

      • zas
        mayhem: moooin
      • 2022-03-01 06014, 2022

      • mayhem
        ok, time to spend a pile of money. woo!
      • 2022-03-01 06032, 2022

      • riksucks
        hi monkey , so should I just put `title={ariaLabel}` inside the button component of `ListenControl`?
      • 2022-03-01 06033, 2022

      • riksucks
        or do you want me to pass title of the button in some other manner
      • 2022-03-01 06030, 2022

      • mayhem
        akshaaatt: zas: yvanzo: alastairp : invoices please!
      • 2022-03-01 06009, 2022

      • alastairp
        yes sir
      • 2022-03-01 06017, 2022

      • akshaaatt
        On it mayhem
      • 2022-03-01 06041, 2022

      • monkey
        riksucks: That would solve the issue at hand, but seems confusing.
      • 2022-03-01 06041, 2022

      • monkey
        I'd prefer, if it's not too much work, to have a separate `text` property for the rendered text, and only use title for the tile property. How does that sound to you?
      • 2022-03-01 06031, 2022

      • BrainzGit
        [brainzutils-python] 14alastair opened pull request #80 (03master…musicbrainzdb-docs): Clarify return values in musicbrainz_db documentation https://github.com/metabrainz/brainzutils-python/…
      • 2022-03-01 06048, 2022

      • lucifer
        alastairp: uh weird, i think i have seen that before not sure where. maybe something is created another flask app inside that but why is it erring now would be a mystery then. :/ maybe try and see output with https://stackoverflow.com/a/28139033
      • 2022-03-01 06041, 2022

      • alastairp
        lucifer: yeah, but it doesn't fail for me locally either. it _could_ be related somehow to cached dependencies or versions in the test workflow, but who knows
      • 2022-03-01 06048, 2022

      • alastairp
        I'll see if it keeps on coming up as I merge other stuff
      • 2022-03-01 06053, 2022

      • lucifer
        monkey: re get a user's listen count for the current month?, yes should be doable.
      • 2022-03-01 06011, 2022

      • lucifer
        alastairp: oh. makes sense.
      • 2022-03-01 06049, 2022

      • lucifer
        mayhem, alastairp: oh! i forgot. i had dropped the index of the messybrainz table in the morning but didn't recreate it later because afaik we don't use it currently. it was the index on meta hash, we use data hash for dedup purposes. thoughts on whether to recreate it?
      • 2022-03-01 06027, 2022

      • alastairp
        what was the meta hash? it's a hash over a smaller set of the provided fields, right?
      • 2022-03-01 06032, 2022

      • lucifer
        yes
      • 2022-03-01 06041, 2022

      • lucifer
        just the title and artist name.
      • 2022-03-01 06052, 2022

      • alastairp
        I think the idea was to be able to do a lookup based on just artist/recording name to see if we should return a dup msid
      • 2022-03-01 06024, 2022

      • alastairp
        but with the mapping table, that's not used. we could consider simplifying the messybrainz db too - perhaps some things like this column can be removed
      • 2022-03-01 06001, 2022

      • atj
        zas: just pushed a commit with a new role to manage /etc/aliases
      • 2022-03-01 06002, 2022

      • lucifer
        yes makes sense.
      • 2022-03-01 06051, 2022

      • alastairp
        mayhem: lucifer: I'm fixing some bugs in CB and keep coming across broken code for the spotify mapping. In light of our other mapping projects, maybe this part should be removed and replaced with somethign better. what do you think?
      • 2022-03-01 06023, 2022

      • mayhem
        nuke it. spend no time on it.
      • 2022-03-01 06032, 2022

      • lucifer
        alastairp, yeah makes sense to remove it. i think the replacement would be BP.
      • 2022-03-01 06034, 2022

      • alastairp
        👍 agreed
      • 2022-03-01 06042, 2022

      • alastairp
        Ansh: let me know if you want a new CB task :)
      • 2022-03-01 06031, 2022

      • atj
        zas: I see some non-zero uncorrectable errors / bad blocks / reallocated sectors on the Samsung SSDs on floyd, however I'm not convinced the SMART data attributes are correct
      • 2022-03-01 06032, 2022

      • zas
        Nor I, a full offline check might tell more
      • 2022-03-01 06038, 2022

      • alastairp
        yvanzo: hi there, I understand you've been working on the new weblate setup, can we talk about it this afternoon or later this week (for critiquebrainz)
      • 2022-03-01 06056, 2022

      • riksucks
        monkey: that's exactly what I had in mind, but I wanted to know your approach to be double sure. Thanks btw!
      • 2022-03-01 06035, 2022

      • monkey
        Thank you !
      • 2022-03-01 06007, 2022

      • monkey
      • 2022-03-01 06027, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #779 (03master…search-page-empty-query): fix(search page): Allow empty search queries https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06039, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #777 (03master…dependabot/npm_and_yarn/superagent-7.1.1): chore(deps): bump superagent from 6.1.0 to 7.1.1 https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06037, 2022

      • BrainzGit
        [bookbrainz-site] 14dependabot[bot] opened pull request #788 (03master…dependabot/npm_and_yarn/babel/register-7.17.0): chore(deps-dev): bump @babel/register from 7.16.0 to 7.17.0 https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06056, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo closed pull request #762 (03master…dependabot/npm_and_yarn/faker-6.6.6): chore(deps-dev): bump faker from 4.1.0 to 6.6.6 https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06034, 2022

      • monkey
      • 2022-03-01 06035, 2022

      • monkey
        Let me know if you want to discuss any of this this afternoon
      • 2022-03-01 06018, 2022

      • akshaaatt
        Hi monkey! Thanks for the reminder regarding this :) Will get this done in a few hours
      • 2022-03-01 06023, 2022

      • monkey
        No rush, just wanted to see if there was a blocker
      • 2022-03-01 06035, 2022

      • akshaaatt
        No blocker, just needs to be worked on
      • 2022-03-01 06032, 2022

      • monkey
        👍
      • 2022-03-01 06042, 2022

      • monkey
        Happy to help if needs be
      • 2022-03-01 06044, 2022

      • akshaaatt
        Thank you!
      • 2022-03-01 06025, 2022

      • Ansh
        alastairp: For the commit 'Don't show a review if the entity that it reviews isn't in the database', If we are hiding the reviews, we have to find a way to adjust the pagination some way. I work on the sample MB data, and now it is showing total of 6 reviews but the pagination on bottom shows that there are 372 pages.
      • 2022-03-01 06023, 2022

      • alastairp
        Ansh: yes, you're right. I added a comment to the code indicating that this happens in very few cases, so I didn't want to add extra code for something that isn't used very often
      • 2022-03-01 06015, 2022

      • alastairp
        but I did realise that perhaps during development it might cause problems with showing reviews? I have an entire musicbrainz database with my CB environment, but if you only have a small subset database then you won't be able to see as much - is that what you're seeing?
      • 2022-03-01 06042, 2022

      • Ansh
        Yes that was the problem I was facing
      • 2022-03-01 06058, 2022

      • alastairp
        I wonder if we could perform the filtering only in a production database
      • 2022-03-01 06051, 2022

      • alastairp
        Ansh: which sample database did you import?
      • 2022-03-01 06029, 2022

      • Ansh
        I am currently working on the January's release
      • 2022-03-01 06023, 2022

      • alastairp
        https://critiquebrainz.readthedocs.io/intro.html#… did you use these "smaller sample dumps" ?
      • 2022-03-01 06012, 2022

      • Ansh
        yes
      • 2022-03-01 06012, 2022

      • alastairp
        OK. I'm just going into a meeting now, but let me think about it and I'll see if we can come up with a solution
      • 2022-03-01 06058, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2436 (03master…MBS-11481): MBS-11481 (MBS-10847): Add refine link to edit/subscribed https://github.com/metabrainz/musicbrainz-server/…
      • 2022-03-01 06034, 2022

      • reosarevok
        yvanzo, bitmap: https://github.com/metabrainz/musicbrainz-server/… has the stuff remaining from last milestone in it for now, feel free to remove / add stuff as you see fit
      • 2022-03-01 06039, 2022

      • mayhem
        gah. I had forgotten what mobile world congress week was like. I didn't miss it.
      • 2022-03-01 06058, 2022

      • mayhem
        but then BAM everyone is in town and ready for drinks and dinner. all in one go.
      • 2022-03-01 06004, 2022

      • mayhem has a rough life
      • 2022-03-01 06023, 2022

      • reosarevok
        (ok, added a couple other PRs)
      • 2022-03-01 06039, 2022

      • reosarevok
        mayhem: too late to go hiking for the week? :p
      • 2022-03-01 06038, 2022

      • mayhem
        yeah, way too late.
      • 2022-03-01 06046, 2022

      • mayhem
        I just don't think I am going to get anything done this week.
      • 2022-03-01 06029, 2022

      • reosarevok
        Some people would say networking is work
      • 2022-03-01 06031, 2022

      • reosarevok shrugs
      • 2022-03-01 06038, 2022

      • reosarevok
        I mean, not me, but some people woul d:D
      • 2022-03-01 06041, 2022

      • mayhem
        computer networking or human?
      • 2022-03-01 06005, 2022

      • agatzk has quit
      • 2022-03-01 06033, 2022

      • agatzk joined the channel
      • 2022-03-01 06002, 2022

      • yvanzo
        hi reosarevok, I didn’t really follow the milestone for the last release. I still have PRs related to accounts on my to-review list at the moment.
      • 2022-03-01 06041, 2022

      • reosarevok
        Ok. Well I won't touch the milestone for now, you can add those to it if you want
      • 2022-03-01 06019, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2437 (03master…slave-to-mirror): Change terminology from "slave" to "mirror" https://github.com/metabrainz/musicbrainz-server/…
      • 2022-03-01 06042, 2022

      • yvanzo
        hi alastairp: Sure, this afternoon would work for me, however the new instance is not available at the moment.
      • 2022-03-01 06052, 2022

      • reosarevok
        bitmap: when around, let's talk about that ^ for the actual names of things like RT_SLAVE and indices and whatnot, see what can be changed and what not etc
      • 2022-03-01 06024, 2022

      • agatzk has quit
      • 2022-03-01 06037, 2022

      • agatzk joined the channel
      • 2022-03-01 06023, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #742 (03master…dev): Added No. of Entities in Collection Page https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06032, 2022

      • lucifer
        mayhem: for listen count of current month, i am thinking just to use timescale. it'll use 6-7 chunks at most so should be much of an issue. we can cache it for some time as well. alternatively, we can calculate in spark in store as a stat LB side.
      • 2022-03-01 06027, 2022

      • mayhem
        seems sensible
      • 2022-03-01 06039, 2022

      • lucifer
        👍
      • 2022-03-01 06017, 2022

      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #787 (03master…dependabot/npm_and_yarn/react-datepicker-4.7.0): chore(deps): bump react-datepicker from 2.16.0 to 4.7.0 https://github.com/metabrainz/bookbrainz-site/pul…
      • 2022-03-01 06045, 2022

      • alastairp
        thanks yvanzo. I had some other things come up this afternoon. I was looking at some CB PRs and saw that there will be some significant translation changes to be made. If you can ping me when the instance is ready then I'd be happy to help to move CB translations to it. I'm in no hurry to do so
      • 2022-03-01 06045, 2022

      • yvanzo
        alastairp: Thanks, will keep you informed of any update. I hope it will be in the next days as a new version of Weblate has just been released yesterday.
      • 2022-03-01 06058, 2022

      • alastairp
        Ansh: regarding the missing data for the sample database, I'm thinking of two options: one is that for a development database (e.g. DEBUG=True, or another setting) we can construct dummy metadata for items that are not in the database. To do that we just need an extra check here: https://github.com/metabrainz/critiquebrainz/blob…
      • 2022-03-01 06032, 2022

      • alastairp
        another option is that we create dummy reviews for all of the entities that are in the sample MB database, that someone can import if needed
      • 2022-03-01 06042, 2022

      • alastairp
        lucifer: your feedback on this would be welcome too ^
      • 2022-03-01 06053, 2022

      • lucifer
        why do we need separate behaviour for dev?
      • 2022-03-01 06030, 2022

      • alastairp
        because now we hide reviews if the reviewed entity isn't in the MB database. and if the developer only has the sample MB database instead of the full one, they can only see about 6 reviews out of the 5000+
      • 2022-03-01 06027, 2022

      • lucifer
        oh so this is for importing review dump and MB sample dump?
      • 2022-03-01 06038, 2022

      • alastairp
        yes
      • 2022-03-01 06035, 2022

      • lucifer
        i guess do nothing or always show a fixed name for those reviews in dev.
      • 2022-03-01 06057, 2022

      • alastairp
        yeah right - my first suggestion is the same as your second option
      • 2022-03-01 06028, 2022

      • alastairp
        `if config.get('DEV_HAS_SAMPLE_DB'): <fill in missing metadata with dummy value>`
      • 2022-03-01 06006, 2022

      • lucifer
        yup makes sense
      • 2022-03-01 06015, 2022

      • alastairp
        cool, thanks
      • 2022-03-01 06053, 2022

      • reosarevok
        Seems sensible to me
      • 2022-03-01 06007, 2022

      • reosarevok
        Do you have a sample DB for CB? I guess there's not that many reviews to need it?
      • 2022-03-01 06040, 2022

      • alastairp
        reosarevok: right, the db dump is <10MB compressed...
      • 2022-03-01 06016, 2022

      • reosarevok
        hah