#metabrainz

/

      • aerozol
        jivte: hi!
      • jivte
        Hey!!
      • Can you please review my detailed album page design :)
      • aerozol
        jivte: Looks like a great start! I will leave some comments
      • jivte
        aerozol: Thanks comments improve design a lot (learning from add listen design) :)
      • aerozol
        jivte: is there a ticket for this? I thought there was, but I can’t find it
      • jivte: I think this is looking really nice! Everything is in my comments, but overall I think it looks good, and a very good start that we could add more complexity to later.
      • I’d be keen for monkey to jump in and have a look too, once he’s up!
      • jivte
        aerozol: No there was no ticket
      • actually i was planning this feature for gsoc so just needed a little help from you anyway thanks
      • was asked to develop the design myself
      • :|
      • aerozol
        jivte: All good, good luck with the submission! I’m sure we will work together more if you get it :)
      • jivte
        yeah will show design in today/tomorrow meet and yes that comment on addon features will discuss with monkey
      • akshaaatt
        jasje I had fixed that issue already from what I remember
      • Are you on the latest main?
      • aerozol
        lucifer: is this text still accurate? “Importing the same listens from two different sources such as Last.FM and Spotify may cause the creation of duplicates in your listen history. If you opt into our automatic Spotify import, you may notice duplications in the last 50 listens on Spotify.This is a temporary issue while we find better ways to deduplicate listens.”
      • akshaaatt: should we link to the listenbrainz app here, under mobile devices? https://listenbrainz.org/add-data/
      • akshaaatt
        I would also like a prominent mention on the homepage aerozol
      • Usually bigger websites have it on their footers
      • aerozol
        WOULD YOU NOW
      • In the footer sounds good, since we’re wanting to move away from people going to the homepage much
      • akshaaatt
        Right
      • aerozol
        It might be worth doing a ticket for that akshaaatt, I’ve made a note in my mockup, but there’s so many things to be implemented there. Unless you’re happy to wait
      • akshaaatt
        Sure
      • Will add
      • jivte has quit
      • aerozol
        Hmm what license is all the ListenBrainz data made available under? I can’t find it anywhere
      • olbld has quit
      • Not on the LB website or in the docs. Is my search-fu failing me once again?
      • olbld joined the channel
      • kapil joined the channel
      • kapil has quit
      • antlarr has quit
      • kapil_9441 joined the channel
      • kapil_9441
        hello, I am Kapil, a 2nd year Computer Science undergraduate . I am new to open source contributions, but I have good knowledge of C, Html, CSS, JS, React and NodeJs . I would love to contribute to your organisation . Can you suggest me some Good first issues ?
      • kapil_9441 has quit
      • jasje_ joined the channel
      • jasje_
        akshaaatt: i synced but the updates still didn’t come (Git desktops fault)
      • anyways looks like the issue is fixed ill revert my commit :P
      • akshaaatt
        That’s fine jasje_ but let’s avoid raising a concern until we are absolutely sure about something
      • Otherwise it would end up leaving a false impression of the fixes we’ve made
      • jasje_
        :P mb didn’t see that merged pr
      • actually i got little time left yesterday and remembered the convo some days back
      • akshaaatt
        lucifer: ended up spending some time looking into the thing and it makes it look like I didn’t fix the issue even though I had released
      • It’s fine jasje_ :) let’s just take care in future
      • jasje_
        akshaaatt: i had some questions
      • akshaaatt is off to river rafting now
      • akshaaatt
        Anything urgent?
      • jasje_
        well no
      • go go
      • akshaaatt
        Awesome then
      • aerozol
        River rafting!! have fun akshaaatt
      • akshaaatt
        Thanks a lot aerozol !
      • olbld has quit
      • olbld joined the channel
      • jasje joined the channel
      • jasje
        aerozol: access granted!
      • aerozol
        jasje: thanks! Now - what do you want me to do :)
      • jasje
        The upper section looks bland to me like
      • the username pill isn't just feeling right
      • neither the follow following btn
      • also, not to mention the interface for a user to view someone else's profile
      • where to fit the follow button
      • the main problem with the design is that we can't include the profile picture which cancels out all the design i see online :(
      • aerozol
        jasje: Cool, I’ve added it to my notes on the ticket: MOBILE-107
      • BrainzBot
      • jasje
        Noicee
      • aerozol
        Cause you’ve caught me at the end of my workday. I have a few urgent things to do for monkey that he asked for last week, then I’ll dig into your mockup :)
      • jasje
        aerozol: no problemo, ill be fixing my design until then!
      • aerozol
        💪
      • monkey: I’ve completed all the settings and about mockups. I’m feeling good about it! Let me know your thoughts: https://www.figma.com/file/YRbCOtFHBez8XmMdCKbG...
      • (at the bottom)
      • monkey: I also did a mockup for how we could identify the user more clearly in the top menu. I didn’t workshop this much, but thought I’d check in if this is what you’re imagining. Or if you already have a great idea https://www.figma.com/file/YRbCOtFHBez8XmMdCKbG...
      • Tomorrow: How the sub-navbar works on mobile, and then I think I’ve covered the things we discussed Friday?
      • aerozol runs off to have dinner before the rest of the team gets up and I get caught in a loop of work
      • antlarr joined the channel
      • jasje_ has quit
      • shelly joined the channel
      • shelly
        jasje: Currently a track can be pinned multiple times but I wanted to propose a solution for pinning a track only once. Can I raise an issue for that?
      • jasje
        shelly: im probably not the right guy for this but as general advice you can always make tickets if you feel something is wrong and eventually youll have a response if the design is intended or not :)
      • ping mr_monkey maybe
      • shelly
        jasje: Sure thing.
      • Pokey has quit
      • trolley has quit
      • trolley joined the channel
      • yvanzo
        O’Moin
      • shelly has quit
      • reosarevok
        moin!
      • reosarevok sighs
      • For some reason, I again can't get to JIRA
      • It works for everyone else, I assume?
      • zas
        it works for me
      • yvanzo
        Thanks zas, I checked logs, looks like an HW failure indeed. I’m not sure why PG refused to start either; bitmap might have a better insight of the “pooler error”.
      • mayhem
        mooin!
      • zas
        yes, it looks like a pure HW reset, nothing got reported by the kernel, and nothing was unusual before the crash
      • PG didn't close cleanly in this context, so perhaps that's why it failed to come back
      • reosarevok
        Sigh. Well, phone hotspot it is for now :)
      • yvanzo
        reosarevok: Added a ticket for the sluggish report.
      • reosarevok
        Thanks
      • kellnerd joined the channel
      • lucifer
        aerozol: yeah that description sounds right.
      • mayhem: about the troi rate limit issues, i think directly accessing the database is the best solution.
      • i tried using the extended ratelimit with approved token but that exhausts soon too.
      • would likely work for a few days and break again if more users register for daily jams.
      • mayhem
        remember that we can change rate limits on a per key basis.
      • we can make troi's key unlimited.
      • should we try that first?
      • because instead of direct DB access, I would much prefer to port solid patches to spark.
      • lucifer
        sure can try that.
      • yeah i guess if we port it to spark then adding db access isn't worthwhile.
      • mayhem
        porting to spark has always been the plan -- troi is literally just the sandbox to learn how to do it. but weekly jams and weekly new jams are likely the first candidates to be ported.
      • once those are shaken out.
      • I wonder about the best way for troi to ensure it has a high rate limit since those are kept in redis.
      • might just be good to have a small function automatically set the key limit to something huge before we invoke troi for running recs.
      • what do you think?
      • lucifer
        mayhem: we have define those on app init, currently it is 50. we can just change it to say 50000.
      • mayhem
        yep, that
      • but lets not add that rate limiting code to troi -- it think it should live in the spark code that calls troi
      • lucifer
        uh not that ratelimit code will go to LB main webserver.
      • mayhem
        when do you plan to call the rate limit setting code? at start of app? what is redis is reset after the start of app?
      • lucifer
        mayhem: the ratelimits are configured in python. the current number of requests in a rolling window is in redis. https://github.com/metabrainz/listenbrainz-serv...
      • the current number of requests is in redis, the threshold to check it against in python and we already have a function to configure the threshold in BU.
      • mayhem
        but doesn't that chance the rate limit for *all* tokens? that's not what we want, is it?
      • shelly joined the channel
      • lucifer
        yeah that changes the ratelimit for all tokens but we only have one token currently.
      • mayhem
        every user has a token.
      • lucifer
      • mayhem reads the ratelimit code
      • the per token validation has this validation function to check which tokens are valid.
      • so afaiu, the extended ratelimit only applies to the troi tokens.
      • mayhem
        huh, the semantics of what I had written back in the day seems to have changed then.
      • my intent was that anyone using an auth token gets a higher rate limit. like 2x over the normal limit.
      • but now it seems that token use is really limited to special tokens, not all user tokens.
      • does that seem right?
      • lucifer
        right.
      • to allow it for all users, we'll have to hook up it with LB user table.
      • mayhem
        ok, then your approach should work fine.
      • looks good to me. thjanks. :)
      • and thanks for explaining how the ratelimiting changed.
      • lucifer
        cool, let me do a test. and generate daily jams for all users across timezoes.
      • mayhem
        smrt
      • lucifer: the RecentListensTimestampLookup patch in troi is becoming more important -- pretty much for all troi patch use cases.
      • but it is rather ineffocient, so I think we need to build yet another freaking dataset. :(
      • lucifer
        that one can be quite well optimized on spark
      • mayhem
        exactly that.
      • lucifer
        so lets move the daily jams to spark?
      • the basic building blocks will remain same i guess.