#metabrainz

/

      • monkey
        Could you please copy one of the 401 requests and send it to me? Right-click on the request in the network panel > "copy all as HAR". You probably want to send that in private, there's cookies and such…
      • 2022-04-22 11224, 2022

      • lucifer
        it went away when i refreshed earlier but i'll do that as soon as it happens again.
      • 2022-04-22 11255, 2022

      • lucifer
        *the logs went away when i refreshed the page earlier
      • 2022-04-22 11205, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #1961 (03master…model-id-url): Include CF model id and url with the recommendations https://github.com/metabrainz/listenbrainz-server…
      • 2022-04-22 11239, 2022

      • lucifer
        monkey: any PRs to merge? i'll do a release.
      • 2022-04-22 11200, 2022

      • monkey
        Nothing ready that I can see
      • 2022-04-22 11208, 2022

      • lucifer
        👍
      • 2022-04-22 11224, 2022

      • BrainzGit
        [troi-recommendation-playground] 14amCap1712 merged pull request #53 (03main…minor-rec-playlist-fixes): Minor fixes to recommendation playlist feature. https://github.com/metabrainz/troi-recommendation…
      • 2022-04-22 11255, 2022

      • BrainzGit
        [listenbrainz-server] release 03v-2022-04-22.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2022-04-22 11217, 2022

      • lucifer
        monkey: it happened again. but songs are playing fine for the time being.
      • 2022-04-22 11224, 2022

      • lucifer
        monkey: the HAR file is 115 MB :)
      • 2022-04-22 11222, 2022

      • lucifer
        uh chrome has option to copy 1 request as HAR but not firefox. its only copy all. for single request, there is option to copy as fetch or curl. does any of those help?
      • 2022-04-22 11218, 2022

      • lucifer
        ok that glitch just happened on the 2nd song after token expire.
      • 2022-04-22 11208, 2022

      • lucifer
        i have saved the file as HAR and can try to share someother way if it helps.
      • 2022-04-22 11226, 2022

      • lucifer
        *saved all requests as HAR file
      • 2022-04-22 11232, 2022

      • monkey
        Ooof, not all of them no, that's impractical :p
      • 2022-04-22 11252, 2022

      • lucifer
        yeah but FF doesn't have the option to save 1 as HAR. chromium does.
      • 2022-04-22 11256, 2022

      • monkey
        Other plan: can you figure out why the requests failed?
      • 2022-04-22 11207, 2022

      • lucifer
        yup trying to do that currently.
      • 2022-04-22 11221, 2022

      • lucifer
        weird thing is i don't see any request to LB to refresh token in logs
      • 2022-04-22 11244, 2022

      • lucifer
        but those spotify 401s resolved automatically after moving to the next song.
      • 2022-04-22 11240, 2022

      • lucifer
        yeah i checked multiple times no results turn up for profile or refresh in reuqest urls.
      • 2022-04-22 11220, 2022

      • g30rg33 has quit
      • 2022-04-22 11228, 2022

      • monkey
        Just saw a 401 myself, and I do see a request to get a new token, but to the Spotify API. Looks like the JS player does it by itself.
      • 2022-04-22 11249, 2022

      • monkey
        Ah no hang on, a 401 when hitting the spot. search API does result in a call to LB.org/profile/music-services/spotify/refresh/ for me
      • 2022-04-22 11214, 2022

      • lucifer
        uh weirddd.
      • 2022-04-22 11232, 2022

      • monkey
        And then right after that the spotify JS player does an API call with that new token, and that returns a 401 "The access token expired"
      • 2022-04-22 11251, 2022

      • monkey
        Somehow the token I get back from LB doesn't seem valid
      • 2022-04-22 11200, 2022

      • lucifer
        i see.
      • 2022-04-22 11225, 2022

      • lucifer
        let it play, i think it'll become valid by itself in a few mins.
      • 2022-04-22 11237, 2022

      • lucifer
        oh can you check if the request after Lb api is using corect token?
      • 2022-04-22 11258, 2022

      • lucifer
        that it is using the newly returned token and not the old one.
      • 2022-04-22 11221, 2022

      • monkey
        I was checking that. It looks like the player is now using a new token that it refreshed by itself, and not the refreshed one I got back from LB API
      • 2022-04-22 11252, 2022

      • monkey
        No, totally wrong. Damn these are hard to read…
      • 2022-04-22 11246, 2022

      • lucifer
        oh what is it?
      • 2022-04-22 11257, 2022

      • monkey
        As far as I can tell, the token refresh works as expected.
      • 2022-04-22 11257, 2022

      • monkey
        There is one DELETE request made right after the token refresh by the spotify player. It calls https://api.spotify.com/v1/track-playback/v1/devi… with the OLD token instead of the renewed one. Then the spot. player gets the new token from BP, checks its scope against the API, and performs the same DELETE request with the new token.
      • 2022-04-22 11257, 2022

      • monkey
        Then the API search is triggered again with the refreshed token and all goes well from there onwards.
      • 2022-04-22 11257, 2022

      • monkey
        In short, token refresh seemed to work fine on my side this time
      • 2022-04-22 11201, 2022

      • monkey
        Will keep an eye on it
      • 2022-04-22 11234, 2022

      • lucifer
        did you get the glitch where it skips a song?
      • 2022-04-22 11222, 2022

      • monkey
        No
      • 2022-04-22 11224, 2022

      • monkey
        The fallback mechanism worked as expected: the spot. player re-connected and hit the search API again with the same params (so trying to play the same track)
      • 2022-04-22 11210, 2022

      • g30rg33 joined the channel
      • 2022-04-22 11251, 2022

      • Etua joined the channel
      • 2022-04-22 11225, 2022

      • lucifer
        oh ok, i guess it was a coincidence that it occured simultaneously for me.
      • 2022-04-22 11258, 2022

      • lucifer
      • 2022-04-22 11209, 2022

      • lucifer
        mayhem, alastairp, monkey: ^
      • 2022-04-22 11249, 2022

      • lucifer
        oh wow. i am beginning to this they intend to cheat by * 1000 way.
      • 2022-04-22 11257, 2022

      • g30rg33 has quit
      • 2022-04-22 11258, 2022

      • monkey
        That's how I would monkey patch it…
      • 2022-04-22 11235, 2022

      • yvanzo
        Updating Jira server in 15 minutes, tickets will be unavailable for a longer period.
      • 2022-04-22 11220, 2022

      • reosarevok
        lucifer: this seems amazingly bad :D
      • 2022-04-22 11227, 2022

      • lucifer
        indeed!
      • 2022-04-22 11250, 2022

      • lucifer
        4 months and counting!
      • 2022-04-22 11241, 2022

      • cuanim joined the channel
      • 2022-04-22 11201, 2022

      • cuanim has quit
      • 2022-04-22 11230, 2022

      • lucifer
        i asked them to redo it. lets see how they mess it up this time.
      • 2022-04-22 11240, 2022

      • bitmap
        zas: yvanzo: I'm around now, want me to proceed with moving the meb/cron containers from hip? or yvanzo if you were planning to do that after jira feel free :)
      • 2022-04-22 11243, 2022

      • yvanzo
        hi bitmap: still on jira update, won't be available after that
      • 2022-04-22 11200, 2022

      • bitmap
        ok, I'll start it now then
      • 2022-04-22 11213, 2022

      • bitmap
        if I run into any issues I'll update the commands in the PR
      • 2022-04-22 11209, 2022

      • CatQuest
        lucifer: this is really ridiculous
      • 2022-04-22 11212, 2022

      • CatQuest
        :D
      • 2022-04-22 11225, 2022

      • lucifer
        yup indeed
      • 2022-04-22 11238, 2022

      • CatQuest
        honestly you sohuld be saving all these and thn eventually make a blogpost
      • 2022-04-22 11245, 2022

      • mayhem
        I think we should post this a a blog post as a "how not to GDPR"/
      • 2022-04-22 11250, 2022

      • mayhem
        lol
      • 2022-04-22 11252, 2022

      • lucifer
        lol
      • 2022-04-22 11217, 2022

      • lucifer
        CatQuest, yes i have all the emails. :)
      • 2022-04-22 11217, 2022

      • CatQuest
        call it, "GDPR adventures with spotify"
      • 2022-04-22 11220, 2022

      • CatQuest
        :D
      • 2022-04-22 11229, 2022

      • mayhem
        lucifer: you should do it.
      • 2022-04-22 11239, 2022

      • mayhem
        heck, if you want, I'll write it. :)
      • 2022-04-22 11249, 2022

      • lucifer
        heh sure
      • 2022-04-22 11258, 2022

      • CatQuest
        I'm happy to betaread such
      • 2022-04-22 11221, 2022

      • lucifer
        let's get to the end of this adventure first and then write the blogpost
      • 2022-04-22 11225, 2022

      • CatQuest
        indeed
      • 2022-04-22 11242, 2022

      • mayhem
        right ok, I can wait a couple of years.
      • 2022-04-22 11248, 2022

      • CatQuest
        hahaha
      • 2022-04-22 11200, 2022

      • CatQuest was jsut aobut to say something like this
      • 2022-04-22 11235, 2022

      • lucifer
        lolol
      • 2022-04-22 11237, 2022

      • mayhem
        fired for outsourcing their accounting to a foreign country.
      • 2022-04-22 11249, 2022

      • mayhem
        who doesn't give a fuck about anyone's financial security.
      • 2022-04-22 11208, 2022

      • lucifer
        how do they even operate?
      • 2022-04-22 11231, 2022

      • mayhem
        CatQuest: you're not going to be believe this: "its an anti fraud measure".
      • 2022-04-22 11232, 2022

      • lucifer
        MeB is probably a tiny vendor compared to everything else they'd work with.
      • 2022-04-22 11241, 2022

      • CatQuest
        lolwhat
      • 2022-04-22 11245, 2022

      • mayhem
        two words: "convenience fee"
      • 2022-04-22 11212, 2022

      • lucifer
        mayhem: btw the text alignment at https://metabrainz.org/about looks a bit off.
      • 2022-04-22 11238, 2022

      • Etua has quit
      • 2022-04-22 11241, 2022

      • mayhem
        that is so sweet of you to offer a PR for that lucifer. you're such a good guy!
      • 2022-04-22 11248, 2022

      • lucifer
        hehe sure
      • 2022-04-22 11236, 2022

      • CatQuest
        jesus criss why is the google svg so hue compaired with the others
      • 2022-04-22 11240, 2022

      • CatQuest
        huge*
      • 2022-04-22 11250, 2022

      • mayhem
        lately?
      • 2022-04-22 11209, 2022

      • CatQuest
        you forget my memory, to me last 5 years is lately
      • 2022-04-22 11236, 2022

      • CatQuest
        well there was some talk of it 3 or so years ago
      • 2022-04-22 11252, 2022

      • CatQuest
        tbh it hasn't been that much reently recent
      • 2022-04-22 11208, 2022

      • mayhem
        its open source mantra and its been going on for over 20 years
      • 2022-04-22 11209, 2022

      • CatQuest
        to be fair I suppose is a righter saying
      • 2022-04-22 11215, 2022

      • CatQuest
        ooh i see
      • 2022-04-22 11247, 2022

      • Etua joined the channel
      • 2022-04-22 11202, 2022

      • lucifer
        2022-04-22 14:14:05,571 listenbrainz_spark.request_consumer.request_consumer INFO Params: {'ranks': [5, 10], 'lambdas': [1.0, 10.0], 'iterations': [10], 'alphas': [1.0, 5.0, 10.0]}
      • 2022-04-22 11219, 2022

      • CatQuest
        in any case I will fight tooth and nail like everyone in this room for meeb and that it does remain true to its roots
      • 2022-04-22 11220, 2022

      • lucifer
        lol training this took 5 mins but generating recs is taking 20 mins.
      • 2022-04-22 11230, 2022

      • CatQuest
        lucifer: sounds like AI
      • 2022-04-22 11249, 2022

      • lucifer
        hehe lol
      • 2022-04-22 11256, 2022

      • Etua has quit
      • 2022-04-22 11257, 2022

      • mayhem
        CatQuest: we're not going to change our core values. not while I am around.
      • 2022-04-22 11204, 2022

      • CatQuest
        !m mayhem
      • 2022-04-22 11204, 2022

      • BrainzBot
        You're doing good work, mayhem!
      • 2022-04-22 11231, 2022

      • CatQuest
        💪 me either!
      • 2022-04-22 11238, 2022

      • lucifer
        :D
      • 2022-04-22 11257, 2022

      • lucifer
        the time to generate recs seems to have increased at some high polynomial power with increase in top and similar artist number.
      • 2022-04-22 11259, 2022

      • mayhem
        in fact, Cory, after the last board meeting, said "You know Rob, while you've had a couple of minor wobbles, you've stayed the course for the last 18 years. And we've never sold our suicide prevention hotline to a machine learning company, so that's good!"
      • 2022-04-22 11219, 2022

      • mayhem
        *hotline call logs
      • 2022-04-22 11234, 2022

      • lucifer
        lol noice
      • 2022-04-22 11239, 2022

      • CatQuest
        that's.. an oddly spesific denial, but
      • 2022-04-22 11246, 2022

      • CatQuest
        Cory doctorow is cool
      • 2022-04-22 11258, 2022

      • CatQuest
        (sorry if i misspelled that)
      • 2022-04-22 11246, 2022

      • reosarevok
        CatQuest: apparently, that's a thing that did happen
      • 2022-04-22 11251, 2022

      • reosarevok
        Well, not the hotline, the hotline *data*
      • 2022-04-22 11201, 2022

      • reosarevok
        Which is worse :p
      • 2022-04-22 11211, 2022

      • CatQuest
        jesus
      • 2022-04-22 11223, 2022

      • CatQuest
        horrible
      • 2022-04-22 11227, 2022

      • atj
        mayhem: have you met Jaron Lanier?
      • 2022-04-22 11200, 2022

      • atj
        lol
      • 2022-04-22 11254, 2022

      • lucifer
        first set of recs in generating playlist
      • 2022-04-22 11215, 2022

      • mayhem
        I got mine
      • 2022-04-22 11239, 2022

      • mayhem
        is this with 50 top artists?
      • 2022-04-22 11240, 2022

      • lucifer
        yeah but url is not working. looking into it.
      • 2022-04-22 11243, 2022

      • lucifer
        yes
      • 2022-04-22 11216, 2022

      • mayhem
        it still isn't more diverse
      • 2022-04-22 11252, 2022

      • mayhem
        what gets me about him is that I hate paypal and generally don't think much of tesla and don't get me started about the boring company.
      • 2022-04-22 11205, 2022

      • mayhem
        but spaceX? fuuuuuck, that is just really impressive
      • 2022-04-22 11210, 2022

      • lucifer
        oh the paypal mafia.
      • 2022-04-22 11207, 2022

      • lucifer
        all of those execs from early paypal outdo each other in being the worst possible person 😞
      • 2022-04-22 11223, 2022

      • mayhem
        liberapay doesn't take a cut and we can receive recurring donations in any currency we want.
      • 2022-04-22 11228, 2022

      • reosarevok
        I mean, it's not like *he* puts together the rockets
      • 2022-04-22 11211, 2022

      • mayhem
        reosarevok: no, but when the russians told him to fuck off about selling him rocket motors, he did it on his own. and this is literally rocket science
      • 2022-04-22 11245, 2022

      • mayhem
        looks like the wrong field is being used in troi. shall I fix?
      • 2022-04-22 11253, 2022

      • lucifer
        sure thanks
      • 2022-04-22 11222, 2022

      • lucifer
        my top artist playlist is mostly spotify daily mix 1!
      • 2022-04-22 11251, 2022

      • mayhem
        my top artist is overwhelmingly by 3 artists
      • 2022-04-22 11222, 2022

      • lucifer
        which is basically 35-40 tracks i have already listened in the past frequently and 10 similar tracks.
      • 2022-04-22 11249, 2022

      • lucifer
        i can see about 10-15 artists in mine.
      • 2022-04-22 11257, 2022

      • lucifer
        but yes 2-3 are more frequent
      • 2022-04-22 11210, 2022

      • mayhem
        I wasn't so sure about having played all of those tracks, but that should ideally not happen.
      • 2022-04-22 11234, 2022

      • mayhem
        perhaps that is one critical task for candidate sets. do not include tracks that that user played in the last month or so