#metabrainz

/

June 1st 2022

      • piwu1 is now known as piwu
      • chinmay
        morning!
      • mayhem
        moin!
      • lucifer: did you deploy the cron LB container yesterday?
      • lucifer
        mayhem: no
      • can do now if needed?
      • oh i see, there was a crontab change as well in daily jams. i had updated spark reader but forgot cron.
      • updated cron now.
      • we can run the daily jams manually for today to test it?
      • mayhem
        no way to test it but to generate recommendations, but sure.
      • zas
        port 5000 on wolf is open, is that expected? if yes, is it here to stay? should we exclude a range of ports on this server?
      • lucifer
        it shuold be closed but iirc alastairp faced some error with exposing it on localhost.
      • mayhem
        I think it might be good to leave a small window open for us in case we need it.
      • lucifer
        but in general a range of ports for wolf probably make sense
      • mayhem
        but Ideally things should be exposed via nginx-proxy.
      • for more permanent-ish things.
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2556 (03beta…MBS-12420): MBS-12420: Support comma-separated IDs for edit search types again https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        yvanzo, bitmap ^ fix for beta regression no. 1 :)
      • alastairp
        hmm
      • lucifer
        monkey: while checking all feedback pages i found that feedback is not shown on playlist or player page either. probably wired incorrectly like recent listens page.
      • for another PR i guess, doing a final test before merging.
      • alastairp
        yeah, I know what that was
      • monkey
        Ah interesting.
      • alastairp
        - "${MUSICBRAINZ_DOCKER_HOST_IPADDRCOL:-}${MUSICBRAINZ_WEB_SERVER_PORT:-5000}:5000"
      • lucifer
        the PR is up on test.listenbrainz.org btw if you'd like to test, only the Love/Hate page had a bug pushing a fix for it now.
      • monkey
        Yes please! I'm about to leave for the office but can test when I get there. Give me an hour total?
      • lucifer
        sure sounds good
      • mayhem
        alastairp: monkey zas yvanzo akshaaatt lucifer Freso invoices please!
      • alastairp
        on it
      • lucifer
        on it
      • akshaaatt
        On it!
      • monkey
        !ti no
      • mayhem
        oh engineers!
      • alastairp
        wolf MB listening on 127.0.0.1 again. it was due to changes in https://github.com/metabrainz/musicbrainz-docke... and some changes that I made yesterday
      • mayhem
        oh man, I feel seen!
      • Freso
        mayhem: Sorry, had to run a quick errand in the morning before jumping into work, and then I got distracted by a lady in a wheel chair trying to handle a big box (thankfully not heavy), so I offered to walk with her all the way home and carry it for her. Just got home from that, fixed up the invoice, and sent it along now!
      • Freso goes to figure out some breakfast now…
      • mayhem
        all good, thanks. and thanks for being a good samaritan.
      • monkey
        lucifer: It looks like I triggered a 500 error on the server sending love feedback from my "pins" page with this payload:
      • {"score":1,"recording_msid":"0fbdb6bc-bc79-432f-9cfc-eaa055d86abf","recording_mbid":"1460126d-5c9b-4e25-9968-b740d4796da0"}
      • alastairp
        duplicate key value violates unique constraint "user_id_rec_msid_ndx_feedback
      • looks like we don't check if feedback already exists in the server
      • hackerman2 is now known as hackerman
      • mayhem
        lucifer: did you request recommendations to be generated? I see models training for the past hour, so I am guessing yes?
      • lucifer
        mayhem: yes i had done it some time ago
      • mayhem
        ok, kewl.
      • I think I am going to create a toi-bot-debug user for the playlists made from recommendations.
      • they are piling up.
      • and maybe I should keep only a limited number of debug playlists and start deleting older ones.
      • lucifer
        monkey: alastairp: i see. that issue probably exists on prod as well. the easiest way is probably to add another unique index on msid and mbid.
      • there's also a bug if you submitted feedback using only msid and then submit feedback using msid and mbid both to unlove/unhate it, it won't work.
      • alastairp
        yeah, I think that's related to monkey's bug
      • mayhem
        chinmay: sorry its taken a while for me to get to review your proposal. lucifer and I are happy with it and wish to proceed pretty much as you propose. So, please proceed to start hacking on it.
      • I'll get moving on designing and implementing the API endpoint.
      • and once GSoC gets officially underway, I"ll have some sort of minimal agreement to put in place to make sure that both you and MeB know what our plan is and what the expected outcome is.
      • sound good?
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2557 (03beta…MBS-12332-fix): MBS-12415 / MBS-12416: Limit overenthusiastic overflow-wrap https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        yvanzo, bitmap ^ and the other one
      • alastairp
        we put some of our SoC proposals up on the office wall! https://usercontent.irccloud-cdn.com/file/OkCNr... 
      • mayhem
        note the great example of "cumulative round-off error".
      • akshaaatt
        Some band posters would also go well on the wall
      • mayhem
      • we have some. :)
      • akshaaatt
      • Awesome mayhem!
      • mayhem
        nice!
      • I had a friend who had decorated his whole dorm room with CD packages and it looked much the same.
      • akshaaatt
        Amazing!!
      • Mine consists of tv shows, anime also, hehe :)
      • monkey
        lucifer: Found the 'issue' with the playlist and player pages not showing the feedback buttons: https://github.com/metabrainz/listenbrainz-serv...
      • I thought there was something like that going on
      • lucifer
        ah i see. makes sense
      • can fix it in the current PR itself then.
      • akshaaatt
      • lucifer
        i'll update test with the PR again
      • akshaaatt
        Btw monkey, fixed-top doesn't seem to work currently. Do you think we're missing something in the DS?
      • lucifer
        monkey: updated test. feedback appears now on those pages :D
      • zas
        alastairp: I ordered a new server for AB. I'll configure it as a standalone server as soon as Hetzner confirms it is online.
      • 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, Jira (ruaok), MeB infrastructure - part 5 (atj)
      • alastairp
        mayhem: yvanzo also opened OTHER-373
      • BrainzBot
        OTHER-373: Migrate Tickets from Jira Server https://tickets.metabrainz.org/browse/OTHER-373
      • mayhem
        k
      • monkey
        akshaaatt: I still need to review LB#2005 again before merging. Not sure about fixed-top (not really up to date on the BS5 classes to be honest)
      • BrainzBot
      • monkey
        lucifer: feedback PR looks quite good, I think ready to merge. There's that 500 error we ran into earlier but it sounds like material for another PR maybe?
      • And so now the recent page has feedback options for those listens that have MBIDs, that's nice :)
      • Hi ansh ! Are you around to have a discussion about your project?
      • akshaaatt: fixed-top does not appear in the bootstrap css in design-system/dist/
      • Or anywhere in the repo it seems: https://github.com/metabrainz/design-system/sea...
      • akshaaatt
      • monkey
        But I don't see anywhere that that API is used. I guess that's the missing part :)
      • (All this is new to me, so don't quote me on this)
      • akshaaatt
        Right
      • monkey
        Not sure though:
      • >The $utilities map contains all our utilities and is later merged with your custom $utilities map, if present.
      • That reads as "BS5 comes with a bunch of utilities out of the box"
      • akshaaatt
        I believe it should be present already. We don't need to add our custom classes
      • monkey
        Well, I can definitely say fixed-top is not in the generated CSS :)
      • akshaaatt
        Yess
      • monkey
        It is however present in the bootstrap-utilities.css file in the BS5 package.
      • akshaaatt
        Right
      • Btw monkey, I'm planning to remove https://github.com/metabrainz/design-system/blo... and the custom from bootstrap-generic. Those are specific to MusicBrainz I believe
      • monkey
        I see.
      • My understanding is that we want to aim to harmonize the look of projects, so maybe it makes sense to keep (some of) it
      • akshaaatt
        Right, I agree
      • monkey
        If there are vars in there that are fully 100% not going to be useful for other projects, perhaps they should be separated in a MB-specific var file
      • akshaaatt
      • And prepare the same for all projects. I think currently it was vague for me to keep `intro-bg` etc as a thing but we can generalise the themes and at the root of every project, just mention this class to fix the themes for them
      • lucifer
        monkey: oh nice! lets merge this one then. i can open PRs for the recent page feedback fix and the 500 error. after that we can do a release for the feature.
      • akshaaatt
        Since all the themes will be in the same file, we could let ListenBrainz users also try the MB theme on ListenBrainz. Would be fun
      • A dropdown would let users select the theme they want
      • monkey
        Not sure what that into-bg var does akshaaatt, but generally I think we're in agreement.
      • If we need to separate MB specific classes or vars, I think that's OK to do now.
      • akshaaatt
        Right
      • monkey
        Interesting idea :)
      • lucifer: 👍
      • I'll let you merge ?
      • akshaaatt: Well, all that aside, that still doesn't tell us why we are missing utility classes.
      • akshaaatt
        Haha rightt
      • monkey
        I'm sure I'm not the only dummy to not understand anything, gonna look for some questions out there
      • akshaaatt
        I did try googling thing stuff last week but couldn't find a resolution then
      • lucifer
        monkey: sure, the tests are failing looking at that currently.
      • akshaaatt
        This*
      • Found it monkey😂
      • `@import "../node_modules/bootstrap/scss/helpers/position"`
      • Guess I'll never understand how complicated even bootstrap is😂
      • monkey
        Oof.