#metabrainz

/

      • riksucks
        the monkeys are coming
      • lol
      • alastairp
        many ORMs have a migration tool, so you can say "manage.py migrate" or whatever and it will apply any updates that have happened since you last ran it
      • I wondered about doing that for LB, but it seemed like a lot of wheel re-inventing so didn't take it any further
      • ruaok
        yeah, seems like a lot of work to cover the few basic cases, with many other things that could wrong.
      • alastairp
        and we don't change _very often_
      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2306 (03master…MBS-12021): MBS-12021: Properly override primary aliases in code https://github.com/metabrainz/musicbrainz-serve...
      • riksucks
        btw did we have further discussions on the manual mapping for the missing musicbrainz data at lb? Once discussed I can start working on it (since I have already opened a PR for missing musicbrainz page and its being reviewed). I believe we roughly discussed how to go about it, but we went over the implementation detail vaguely
      • lucifer ruaok alastairp
      • ruaok
        I'll have to think more about this; I have nothing yet.
      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2333 (03master…MBS-12084): MBS-12084: Use URL to build the details API links https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        yvanzo: do you want me to amend the commit message on https://github.com/metabrainz/musicbrainz-serve... then? :)
      • Lotheric has quit
      • Lotheric joined the channel
      • lucifer
        riksucks: the last time ruaok and i discussed, we concluded to not do manual mapping for now. therfore, i think the best way forward would be letting users hide tracks they know exist in MB.
      • ruaok
        well, part of that discussion was motivated by us having too much on our plate already. but if riksucks wants to work on it, then maybe we should think about it.
      • I kinda want to see the missing MB data inaction before going much further, though.
      • lucifer
        if we decide to go ahead with letting user's hide tracks from missing mb data then i have a few implementation ideas in mind.
      • i agree but think we do need a way to let users delete stuff from missing mb data stuff.
      • ruaok
        yeah. messy though.
      • lucifer
        waiting for the next week for that to happen (if they add stuff) might be annoying and letting the delete stuff can help in avoiding them to add dupes.
      • yeah its messy indeed.
      • ruaok
        or perhaps we never show anything to the user, except when we can identify an album that can be added...
      • lucifer
        hmm sounds interesting but how do we identify it?
      • ruaok
        ohh.
      • the album mapper work that I've put on hold until the year-end stuff is done could help.
      • because it can find all sorts of albums in the stream of a user.
      • yvanzo
        reosarevok: That would probably be helpful toI thought it could be possibly worse.
      • ruaok
        maybe that should be the source of this data.
      • yvanzo
        reosarevok: That would probably be helpful. I thought it could be possibly worse than that.
      • riksucks
        hmm interesting
      • lucifer
        interesting thought. will need to look more into how it works and produces to decide that.
      • reosarevok
        Ok, will do
      • ruaok
        well, it finds loads of clusters and most get discarded because its tuned very tightly.
      • but we could examine the middle ground of matches -- the things that cannot be looked up, but appear more of less to be a complete album.
      • but in general I dont feel like I have the bandwitdh to think about this project until the year end stuff is done.
      • lucifer
        agreed. let's regroup on this once that is done.
      • riksucks
        Fair point, till then I would implement the part 2 of LB-912, since I am now familiar with frontend work, I will implement the frontend of the endpoints I created.
      • BrainzBot
        LB-912: Add endpoints and UI to delete feed events https://tickets.metabrainz.org/browse/LB-912
      • riksucks
        Also, I feel like, understandings how mappers work is a pre-requisite when going about solving this problem later on in future. So I might study the mappers so that I can help once we come up with a solution?
      • does that sound good?
      • lucifer
        +1 on both counts
      • lol wtf
      • i think we should add a check constraint to listened_at column.
      • riksucks
        lol but how did that even happen
      • 1901
      • lucifer
        negative timestamps. i don't have the created field to know when this was added. maybe we were missing some validation checks earlier in api.
      • riksucks
        ahh interesting
      • ruaok
        7M unique listens for 2021 in LB so far.
      • random stat, pre lunch.
      • lucifer
        ruaok, i imported new dump in spark. there are some pre-2018 listens but missing for most users i checked like you. look likes dump are broken.
      • ruaok
        and all unmatched items about to be marked for rechecking. see how that does for that stats and end of year stuff.
      • that doesn't sound like fun at all.
      • lucifer
      • ruaok
        let me go to lunch with monkey and then I can help take a look.
      • lucifer
        strange thing dump size used to ~40G iirc
      • 👍
      • ruaok
        2.5M MSIDs marked for recheck.
      • lucifer
        woah, nice
      • ruaok
        and the recheck process just kicked in with the first batch.
      • ok, lunch!
      • lucifer
      • yvanzo
        alastairp: AB deployment documentation links to a MeB guideline that doesn’t exist yet: https://github.com/metabrainz/acousticbrainz-se...
      • lucifer
        we are doing a >= start date on created.
      • yvanzo
        Did you draft something about it or? (I’m currently updating MB releasing doc.)
      • alastairp
      • lucifer
      • but for pre 2018 listens, it looks like created is set to epoch 0 and so the where clause excludes it.
      • yvanzo
        alastairp: indeed :D
      • alastairp
        yvanzo: to add to this, we've been talking about adding more documentation to LB, and we decided to host it on https://listenbrainz.readthedocs.io/ in a specific "information for maintainers" section
      • lucifer
        hmm, my recollection was that we decided to order full dumps on listened_at and incremental dumps on created but i may be wrong ...
      • alastairp
        so we'll have "info for API users", "info for people who want to develop on LB", "info for MeB team but which can be public"
      • yvanzo
        and in syswiki "info for MeB team but which must stay private"
      • aerozol has quit
      • lucifer
        uh ok, this method is used by both full and inc dumps. need to fix that too.
      • alastairp
        yvanzo: yes, correct
      • lucifer
      • Sophist-UK joined the channel
      • alastairp
      • BrainzGit
        [musicbrainz-server] 14yvanzo opened pull request #2340 (03master…releasing-docs): Document MusicBrainz Server release instructions https://github.com/metabrainz/musicbrainz-serve...
      • yvanzo
        reosarevok: what is wrong with Selenium tests in #2334?
      • reosarevok
        I don't know, but I guess I should check
      • I'm going to guess a test enters no edit note
      • yvanzo
        reosarevok: IMHO #2311 doesn’t need a second review, otherwise please request it. :)
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2341 (03master…replace-andand-with-ternary): Replace && with if/ternary https://github.com/metabrainz/musicbrainz-serve...
      • [musicbrainz-server] 14reosarevok merged pull request #2311 (03master…MBS-12001): MBS-12001: Use allowNew for recording links when adding a new track https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        Agreed :)
      • ruaok
        lucifer: oh shit, yes. totally forgot that we added created in 2018 and thus we're missing that data.
      • lucifer
        ah! makes sense.
      • ruaok
        what is we copy listened_at > created for all pre-2018 listens?
      • *if
      • lucifer
        i think doing full dumps on listened at and inc dumps on created as we intended to do anyways should fix this.
      • ruaok
        because created doesn't really matter for things in the past.
      • oh, great thinking. yeah, lets do that.
      • lucifer
        also thougts on refactoring this code, timescale listenstore is too blaoted.
      • ruaok
        the page got revamped. now I need to see about fixing that date.
      • lucifer
        i am thinking of moving dumps code to a separate file.
      • ruaok
        lucifer: yes, we should do that, but do we need to really do that right now?
      • lucifer
        looks awesome! :D
      • ruaok
        and I realized I am doing match rate wrong. that needs improving.
      • lucifer
        no not needed urgently but i'll have to copy some code to do full and inc dumps differently. fine with doing the bare minimum for now.
      • i see. makes sense
      • reosarevok
        yvanzo: lol: <input type="hidden" name="edit_note" value="." />
      • So it was literally seeding a bad edit note :D
      • I guess I might as well keep a second test that does this :)
      • yvanzo
        !!!
      • lucifer
        alastairp: hi! how is the genre work going? anything i can help with on that or on dumping AB features?
      • alastairp
        lucifer: I just merged master into https://github.com/metabrainz/acousticbrainz-se...
      • do you have specific AB features that you think you might want to use?
      • BPM and Key are big ones
      • lucifer
        dont have specific ones in mind currently. was thinking to look into the AB ipynb labs stuff and find something interesting
      • alastairp
        as part of the dumps (but perhaps not directly integrated into the code) we should be able to dump `mbid, offset, submission date, bpm` into a single file. No need for incremental, just do a full dump each time
      • this is a long pending task anyway, so if you want to take that on in order to get the data that'd be great!
      • lucifer
        sounds good. i'll take a look into the PR and get back to you.
      • alastairp
        don't worry about spending too much time reviewing the PR - if you can do the single-feature dump easily without getting bogged down in the existing code, that might be good
      • maybe run some tests on bono to see how feasible it is to dump all features for 20m rows in a single query, or if we should split it up
      • (I'm just unsure about how much postgres will care digging into a json document. I guess we're already doing similar queries in the LB listens table and it doesn't care, perhaps I'm over-thinking this)
      • tandy1000
        would musicbrainz ever incorporate AB to do genre guessing?
      • BrainzGit
        [listenbrainz-server] 14mayhem opened pull request #1742 (03master…minor-mapping-tweaks): AISOTT: Minor mapping fixes and new index on listen table https://github.com/metabrainz/listenbrainz-serv...
      • tandy1000
        that way people who tag music with MB have the option to use guesses when there isnt any info
      • alastairp
        tandy1000: yeah, if we can get our genre models to work better that'd be great
      • tandy1000
        niceee
      • alastairp
        I believe that picard also has this option to use AB data, but it's .... not good
      • well, some of it's not awful, but much of it is terrible
      • tandy1000
        dam lol
      • CatQuest
        monkey: eh. my vertical screen estate is minimal. my horizontal one is LARGE (re brainzplayer)
      • in general i'd liek if we could chose to have botom or sidepanel?
      • monkey
        That's something we might think about in the future, the problem being that some pages just aren't made to have a player in them, but we still want to be able to play music$
      • ruaok
        monkey: any chance we get improve the layout of playlists before the year-end stuff is released: https://listenbrainz.org/user/rob/playlists/ ?
      • CatQuest
        it has two different blues in it, id sugest a more flat look, with one blue
      • [13:57] <tandy1000> also, by rectangle i mean the edges shouldnt be rounded
      • personaly I'm so bored with "flat" look and rounded edges on everything already.
      • innovative would be sharp edges on some 3rd colouring at this point :D
      • tandy1000
        i agree, but the rest of the site tends toward it, ofc with shadows etc
      • alastairp
        monkey: maybe you have some thoughts on a style recommendation for https://github.com/metabrainz/musicbrainz-serve... ?
      • monkey
        They were suggesting sharp edges too ;)
      • tandy1000
        lol
      • monkey
        ruaok: Perhaps. I don't have much inspiration about it at this point, too many designs fighting in my head already
      • But if you or someone else has suggestions for how to improve it I'm happy to implement it. 'Cause I agree it's not great as it is
      • lucifer
        ruaok: can i take over beta back?
      • ruaok
        lucifer: yep
      • lucifer
        👍
      • ruaok
        monkey: how about going with two columns max?
      • and giving each playlist more space.
      • CatQuest
        monkey: I mean that th player can be in either or modus so whoever uses it can chose either horizontal/vertical way f doing it
      • ruaok
      • monkey
        ruaok: Meh, it's gonna need more than that I'm afraid: https://usercontent.irccloud-cdn.com/file/VjFdH...
      • CatQuest
        so i1m confused by that page too. are the two things related?