#metabrainz

/

      • rexwilliams1234[ has quit
      • vardhan joined the channel
      • pite has quit
      • Kladky joined the channel
      • Sophist-UK joined the channel
      • lucifer[m]
        mayhem: about LB-1630 on which @fettuccinae:matrix.org is working. the WINDOW_SIZE_MULTIPLIER https://github.com/metabrainz/listenbrainz-serv... changes ranges as follows:
      • BrainzBot
        LB-1630: Dashboard for users with sporadic listens loads slowly https://tickets.metabrainz.org/browse/LB-1630
      • lucifer[m]
        1 month, 3 months, 9 months, 2 years 3 months, 6 years 9 months, 20 years 3 months.
      • we allow a maximum of 10 passes but as you can see even 6 or 7 passes will cause a full table search.
      • i think we should not search more than 9 months in one pass.
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #3517 (03master…MBS-13982): MBS-13982: Wrap overlong release and release group titles in tables https://github.com/metabrainz/musicbrainz-serve...
      • mayhem[m]
        <lucifer[m]> "i think we should not search..." <- seems senisible...
      • fettuccinae[m] joined the channel
      • fettuccinae[m]
        <lucifer[m]> "i think we should not search..." <- I was trying to implement in such a way that we initially load data only for 30 days and then render a button which does the normal search.
      • If we limit each pass for 9 months, users with a gaps in their listening won't be able to fetch their older listens
      • * I was trying to implement in such a way that we initially load data only for 30 days and then render a button which does the normal search.
      • If we limit each pass for 9 months, users with a gaps in their listens won't be able to fetch their older listens
      • * I was trying to implement in such a way that we initially load data only for 30 days and then render a button which does the normal search.
      • If we limit each pass for 9 months, users with gaps of more than 9 months in their listens won't be able to fetch their older listens
      • lucifer[m]
        fettuccinae[m]: > <@fettuccinae:matrix.org> I was trying to implement in such a way that we initially load data only for 30 days and then render a button which does the normal search.
      • > If we limit each pass for 9 months, users with gaps of more than 9 months in their listens won't be able to fetch their older listens
      • you would need to call the API again with the new from_ts/to_ts.
      • to load data for users with more gaps.
      • i think we should return a next/prev link in the API response to let the caller know the exact timestamps that we have already searched for and avoid redundant searches.
      • fettuccinae[m]
        lucifer[m]: Ah yes, and if they got like multiple gaps, they can just call the api again. I'll limit the search window for each pass
      • lucifer[m]
        for now though, i think you can just add a flag to fetch listens. example from_profile and set it to true for the initial load in the profile view.
      • when the frontend makes the API call to load more listens, it will just use the existing implementation and do multiple passes spanning the entire table.
      • when we have added prev/next links in the API response to aid navigation we can reduce the window size too.
      • fettuccinae[m]
        lucifer[m]: I don't think we'd need a flag, because when the initial call is made, it's made without from_ts and to_ts,
      • <lucifer[m]> "i think we should return a next..." <- frontend does check the last listen's timestamp and makes the call for next/ more listens.
      • <lucifer[m]> "when the frontend makes the..." <- I was thinking if we could limit the window size in each pass, we could render the listens of first 9 months, then frontend could use the listened_at_ts of the last listen and use it as from_ts to make next api call.
      • * I was thinking if we could limit the window size in each pass, we could render the listens of first 9 months initially, if the listens are less than 25, frontend could use the listened_at_ts of the last listen and use it as from_ts to make the next api call for listens in next window.
      • lucifer[m]
        @fettuccinae:matrix.org: yes but the backend has also likely searched for more time ranges.
      • for instance, think of a user with gaps in data where they have a couple of listens in last month and then no listens in 1 year. the frontend will make the API call with the timestamp of the listen from last month.
      • whereas the backend has already searched the last 9 months and didn't find any data. i mean to surface this information in the API for pagination. so that the frontend can avoid making redundant queries.
      • BrainzGit
        [troi-recommendation-playground] 14amCap1712 merged pull request #170 (03main…cleanup-soundcloud): Cleanup soundcloud export https://github.com/metabrainz/troi-recommendati...
      • fettuccinae[m]
        Ohh yes, i get it now.
      • So a flag for initial load which searches for listens in a limited window and for more listens, we can use the existing implementation.
      • * and for fetching more listens,
      • ROpdebee6 joined the channel
      • outsidecontext_ joined the channel
      • irimi1_ joined the channel
      • ursa-major_ joined the channel
      • mebious_ joined the channel
      • kuno_ joined the channel
      • nawcom_ joined the channel
      • function1_ joined the channel
      • void09_ joined the channel
      • tux0r- joined the channel
      • nawcom has quit
      • void09 has quit
      • function1 has quit
      • julian45[m] has quit
      • Jade[m] has quit
      • ursa-major has quit
      • irimi1 has quit
      • mebious has quit
      • outsidecontext has quit
      • ROpdebee has quit
      • kuno has quit
      • tux0r has quit
      • MatrixBrainzBot has quit
      • irimi1_ is now known as irimi1
      • outsidecontext_ is now known as outsidecontext
      • kuno_ is now known as kuno
      • nawcom_ is now known as nawcom
      • mebious_ is now known as mebious
      • ursa-major_ is now known as ursa-major
      • tux0r- is now known as tux0r
      • ROpdebee6 is now known as ROpdebee
      • Jade[m] joined the channel
      • MatrixBrainzBot joined the channel
      • julian45[m] joined the channel
      • minimal joined the channel
      • pite joined the channel
      • dvirtz[m] has quit
      • ansh[m] joined the channel
      • ansh[m]
        <lucifer[m]> "ansh: soundcloud connection..." <- Yes, it's working for me now. Might be a transient issue then.
      • monkey[m]
        How would one set up HTMX to work with our Flask setup?
      • I installed the package but can't seem to be able to set it up correctly following https://flask-htmx.readthedocs.io/en/latest/qui...
      • ansh[m]
        monkey: https://github.com/metabrainz/listenbrainz-serv... is ready for review right?
      • monkey[m]
        Yes, PR ready
      • vardhan has quit
      • bitmap[m] has quit
      • kellnerd[m] has quit
      • lucifer[m]
        monkey: what issue are you facing/
      • BrainzGit
        [listenbrainz-server] 14mAmanullah7 opened pull request #3249 (03master…devtemp): LB-1782 Fixed volume slider for full screen player https://github.com/metabrainz/listenbrainz-serv...
      • julian45[m]
        lucifer: do you know which redirect URIs are allowed for the jira auth integration with MB? or is that potentially not checked?
      • lucifer[m]
        julian45: on BrainzBot side?
      • julian45[m]
        On the side where we allow folks to log into Jira w/ their MB account
      • lucifer[m]
        i see, yvanzo or bitmap would know that.
      • its not using the new MeB OAuth provider, but the MB.org one.
      • yvanzo[m]
        julian45: Good catch
      • Adding updating the callback URI to the steps
      • Well, there is no update to do once the migration is over.
      • julian45[m]
        hopefully the migration will not break the jira side config and require updates to the prod config on the MB side, but if we want to test login before cutting over tickets.MeB to point to the new server, it would be good for the new instance's domain name to be allowed
      • * hopefully the migration will not break the jira side config and require updates to the prod config on the MB side (like a randomly generated string in jira's own callback URI or smth), but if we want to test login before cutting over tickets.MeB to point to the new server, it would be good for the new instance's domain name to be allowed
      • ditto for the github login option as well
      • yvanzo[m]
        Tickets will go offline in 30min from now.
      • SigHunter has quit
      • SigHunter joined the channel
      • aerozol[m]
        Great ticket offline pic :)
      • monkey[m]
        <lucifer[m]> "monkey: what issue are you..." <- I figured most of my issues out, thanks though!
      • Kladky has quit
      • Maxr1998_ joined the channel
      • Maxr1998 has quit
      • Kladky joined the channel
      • Derailed has quit
      • Derailed joined the channel