#metabrainz

/

      • sumedh joined the channel
      • 2020-07-31 21324, 2020

      • ishaanshah
        there was a syntax error in my code
      • 2020-07-31 21343, 2020

      • ishaanshah
        thats why they didnt run in the first place
      • 2020-07-31 21311, 2020

      • ishaanshah
        hmm, this is weird
      • 2020-07-31 21347, 2020

      • white_shadow has quit
      • 2020-07-31 21356, 2020

      • white_shadow joined the channel
      • 2020-07-31 21327, 2020

      • BrainzGit
        [listenbrainz-server] shivam-kapila opened pull request #1000 (master…ui-improvements): Minor improvements to shared React components https://github.com/metabrainz/listenbrainz-server…
      • 2020-07-31 21338, 2020

      • ishaanshah
        PR #1000
      • 2020-07-31 21342, 2020

      • ishaanshah
        :tada
      • 2020-07-31 21347, 2020

      • ishaanshah
        🎉
      • 2020-07-31 21349, 2020

      • shivam-kapila
        Happy 1000 PRs
      • 2020-07-31 21302, 2020

      • Mr_Monkey
        prabal: on the page you sent me, if I select the one author's checkbox and refresh, the checkbox becomes un-checked.
      • 2020-07-31 21315, 2020

      • ruaok
        Woo, 1000!
      • 2020-07-31 21321, 2020

      • Mr_Monkey
        Not sure what you're seeing, but not the same for me :/
      • 2020-07-31 21315, 2020

      • ruaok
        _lucifer: have you heard from gr0uch0mars recently?
      • 2020-07-31 21340, 2020

      • _lucifer
        yes ruaok, yesterday around 1500-1600 UTC
      • 2020-07-31 21339, 2020

      • _lucifer
        we had a conversation about the status of the app
      • 2020-07-31 21313, 2020

      • _lucifer
        filling evals was on his list next but it seems not done yet
      • 2020-07-31 21314, 2020

      • prabal
      • 2020-07-31 21321, 2020

      • prabal
        Mr_Monkey: See
      • 2020-07-31 21334, 2020

      • prabal
        I think it's because of my browser
      • 2020-07-31 21345, 2020

      • _lucifer
        shivam-kapila: so you finally got #1000 :D 🎊
      • 2020-07-31 21308, 2020

      • prabal
        1000 woaahh!!
      • 2020-07-31 21355, 2020

      • Mr_Monkey
        Definitely not happening in my browser :)
      • 2020-07-31 21304, 2020

      • Mr_Monkey
        (Brave)
      • 2020-07-31 21303, 2020

      • Mr_Monkey
        Not happening in Chrome either
      • 2020-07-31 21328, 2020

      • Mr_Monkey
        Nor in Safari
      • 2020-07-31 21307, 2020

      • Mr_Monkey
        Ah, it is happening in Firefox however
      • 2020-07-31 21328, 2020

      • Mr_Monkey has to run out, BBL
      • 2020-07-31 21346, 2020

      • white_snack joined the channel
      • 2020-07-31 21307, 2020

      • white_shadow has quit
      • 2020-07-31 21319, 2020

      • MajorLurker joined the channel
      • 2020-07-31 21334, 2020

      • MajorLurker has quit
      • 2020-07-31 21341, 2020

      • shivam-kapila
        _lucifer: Lol. Yeah
      • 2020-07-31 21339, 2020

      • _lucifer
        XD
      • 2020-07-31 21357, 2020

      • ishaanshah
        Fixed the tests finally!
      • 2020-07-31 21300, 2020

      • ishaanshah
      • 2020-07-31 21304, 2020

      • ishaanshah
        this line was the issue
      • 2020-07-31 21305, 2020

      • shivam-kapila
        COngrats iliekcomputers
      • 2020-07-31 21309, 2020

      • shivam-kapila
        sorry ishaanshah
      • 2020-07-31 21316, 2020

      • shivam-kapila
        🤣
      • 2020-07-31 21348, 2020

      • ishaanshah
        Apparently we can import functions from the api endpoint file
      • 2020-07-31 21317, 2020

      • ishaanshah
        cant*
      • 2020-07-31 21306, 2020

      • alastairp
        do you have more details about why this doesn't work?
      • 2020-07-31 21324, 2020

      • alastairp
        was it a circular import? or something that we were looking at with regard to the requests mock plugin?
      • 2020-07-31 21339, 2020

      • sumedh has quit
      • 2020-07-31 21332, 2020

      • MajorLurker joined the channel
      • 2020-07-31 21312, 2020

      • MajorLurker has quit
      • 2020-07-31 21336, 2020

      • CatQuest
        zas: Happy SysAdmin day!
      • 2020-07-31 21316, 2020

      • shivam-kapila
        Mr_Monkey: ping
      • 2020-07-31 21321, 2020

      • Mr_Monkey
        pong
      • 2020-07-31 21326, 2020

      • shivam-kapila
        hi
      • 2020-07-31 21331, 2020

      • Mr_Monkey
        Hiya!
      • 2020-07-31 21340, 2020

      • shivam-kapila
        I am trying to make the LB footer stick to bottom of page
      • 2020-07-31 21359, 2020

      • shivam-kapila
        If I use position fixed then pull-right in child components is not working
      • 2020-07-31 21310, 2020

      • shivam-kapila
        Any idea how we can achieve this?
      • 2020-07-31 21321, 2020

      • alastairp
        hi bitmap, yvanzo. I'm trying to generate musicbrainz-server/docker/templates/Dockerfile.test-database.m4 with m4, but it's not outputting anything
      • 2020-07-31 21345, 2020

      • Mr_Monkey
        Hm. do you have some html I could play with?
      • 2020-07-31 21358, 2020

      • Mr_Monkey
        My gut feeling is that flexbox should be able to sort that for you
      • 2020-07-31 21315, 2020

      • shivam-kapila
        I am not too good at css
      • 2020-07-31 21319, 2020

      • Mr_Monkey
        But maybe the simple solution is to just not use pull-right inside?
      • 2020-07-31 21321, 2020

      • Mr_Monkey
        CSS is a dark art
      • 2020-07-31 21343, 2020

      • shivam-kapila
      • 2020-07-31 21347, 2020

      • shivam-kapila
        footer in this
      • 2020-07-31 21356, 2020

      • Mr_Monkey
        :+1
      • 2020-07-31 21301, 2020

      • Mr_Monkey
        👍
      • 2020-07-31 21332, 2020

      • killme has quit
      • 2020-07-31 21304, 2020

      • killme joined the channel
      • 2020-07-31 21344, 2020

      • alastairp
        e.g. `m4 -I templates -P templates/Dockerfile.test-database.m4` (the contents of generate_dockerfiles.sh)
      • 2020-07-31 21350, 2020

      • alastairp
        this outputs nothing
      • 2020-07-31 21359, 2020

      • Mr_Monkey
      • 2020-07-31 21356, 2020

      • Mr_Monkey
        and that `clearfix` class is also not needed anymore.
      • 2020-07-31 21333, 2020

      • shivam-kapila
        thanks Mr_Monkey
      • 2020-07-31 21339, 2020

      • Mr_Monkey
        No problem !
      • 2020-07-31 21304, 2020

      • yvanzo
        alastairp: see the Makefile
      • 2020-07-31 21335, 2020

      • alastairp
        yvanzo: ah! I saw the script but not the makefile, thanks
      • 2020-07-31 21315, 2020

      • yvanzo
        alastairp: it is just calling the script actually
      • 2020-07-31 21319, 2020

      • alastairp
        ahhh, the others work, but Dockerfile.test-database remains empty
      • 2020-07-31 21344, 2020

      • alastairp
        hah, actually it's my fault
      • 2020-07-31 21300, 2020

      • alastairp
        I called the script incorrectly initially, and it blanked the template file out :)
      • 2020-07-31 21304, 2020

      • alastairp
        no wonder the output is also blank
      • 2020-07-31 21333, 2020

      • shivam-kapila
        Mr_Monkey: didnt work on mobile screens. Not urgent at all but if you find a solution please let me know.
      • 2020-07-31 21323, 2020

      • Major_Lurker has quit
      • 2020-07-31 21323, 2020

      • yvanzo
      • 2020-07-31 21342, 2020

      • alastairp
        yes, it was my mistake, sorry
      • 2020-07-31 21307, 2020

      • BrainzGit
        [musicbrainz-server] alastair opened pull request #1621 (master…test-database-bzip2): Install bzip2 in the test-database docker image https://github.com/metabrainz/musicbrainz-server/…
      • 2020-07-31 21347, 2020

      • iliekcomputers
        Mr_Monkey: suggestion, if we're on the first page of the listens, we should poll the API every ~5-10 minutes or so and update the page
      • 2020-07-31 21343, 2020

      • shivam-kapila
        Does the LB team want to integrate a loader like this https://codepen.io/shivam-kapila/pen/ZEQGKoN
      • 2020-07-31 21303, 2020

      • shivam-kapila
      • 2020-07-31 21334, 2020

      • alastairp
        zas: Hi, Can I please have a login on trille (critiquebrainz) and gaga (LB timescale)?
      • 2020-07-31 21335, 2020

      • iliekcomputers
        shivam-kapila: i'm hesitant to do too much with very basic components like loaders and pills
      • 2020-07-31 21348, 2020

      • iliekcomputers
        it leads to stuff getting flashy for flashiness sake
      • 2020-07-31 21357, 2020

      • iliekcomputers
        but i'll leave it up to you
      • 2020-07-31 21321, 2020

      • shivam-kapila
        I also dont want it to be too funky
      • 2020-07-31 21337, 2020

      • shivam-kapila
        Butr the current loader doesnt look so good
      • 2020-07-31 21340, 2020

      • iliekcomputers
        also, the less code we have to maintain over time, the better
      • 2020-07-31 21312, 2020

      • shivam-kapila
        or we may wait for BS4 migration and use the inbuilt one once we are there
      • 2020-07-31 21301, 2020

      • iliekcomputers
        if a BS4 migration takes more than a day or two's worth of work, i don't see it happening anytime soon
      • 2020-07-31 21323, 2020

      • shivam-kapila
        I guess it will be
      • 2020-07-31 21305, 2020

      • shivam-kapila
        Actually the thing which makes me feel to change the loader is that:
      • 2020-07-31 21305, 2020

      • shivam-kapila
        1. The current loader is a little ugly icon
      • 2020-07-31 21305, 2020

      • shivam-kapila
        2. There are 5 loaders currently on report page itself so I aim to replace it with a simple decent loader that covers the page and when the components are ready show them
      • 2020-07-31 21327, 2020

      • iliekcomputers
        yes.
      • 2020-07-31 21344, 2020

      • iliekcomputers
        i'd prefer a simple circle
      • 2020-07-31 21326, 2020

      • shivam-kapila
        shall I go with the npm package I pointed and use its simple circle animation?
      • 2020-07-31 21331, 2020

      • iliekcomputers
        sgtm.
      • 2020-07-31 21333, 2020

      • iliekcomputers
        thansk
      • 2020-07-31 21337, 2020

      • shivam-kapila
        thanks
      • 2020-07-31 21323, 2020

      • Mr_Monkey
        +1 for simple circle
      • 2020-07-31 21300, 2020

      • Mr_Monkey
        iliekcomputers: Are the websockets irremediably broken then, for suggesting we do polling?
      • 2020-07-31 21326, 2020

      • iliekcomputers
        i'm not sure. i don't remember if we made it work with the listens page.
      • 2020-07-31 21334, 2020

      • iliekcomputers
        did we?
      • 2020-07-31 21340, 2020

      • Mr_Monkey
        It was definitely working at some point, and updating the page.
      • 2020-07-31 21358, 2020

      • iliekcomputers
        i see
      • 2020-07-31 21309, 2020

      • Mr_Monkey
        Not sure exactly how that would work now if we navigate to another page (probably would just add it to the top of that page)
      • 2020-07-31 21315, 2020

      • iliekcomputers
        we should open a ticket if it's broken.
      • 2020-07-31 21301, 2020

      • Mr_Monkey
        OK, I'll do that
      • 2020-07-31 21302, 2020

      • iliekcomputers
        thanks!
      • 2020-07-31 21306, 2020

      • Mr_Monkey
        Here it is: LB-679. I also created LB-680 and assigned it to myself, to integrate working solution into the current navigation mechanism.
      • 2020-07-31 21308, 2020

      • BrainzBot
        LB-679: Listens page - Websockets not working anymore https://tickets.metabrainz.org/browse/LB-679
      • 2020-07-31 21308, 2020

      • BrainzBot
        LB-680: Update first page of listens with new listens https://tickets.metabrainz.org/browse/LB-680
      • 2020-07-31 21307, 2020

      • Mr_Monkey
        shivam-kapila: >didnt work on mobile screens
      • 2020-07-31 21307, 2020

      • Mr_Monkey
        What's not working? Got a screenshot?
      • 2020-07-31 21319, 2020

      • alastairp
        yvanzo: I updated the ordering of the apt installation. should I merge myself, or would you like to?
      • 2020-07-31 21306, 2020

      • shivam-kapila
        Mr_Monkey: I will send u after having tea
      • 2020-07-31 21350, 2020

      • ruaok has been showing off the LB charts to any random people.
      • 2020-07-31 21356, 2020

      • iliekcomputers
        i saw a person from work following me on twitter on the /recent page a few days ago
      • 2020-07-31 21318, 2020

      • alastairp
      • 2020-07-31 21334, 2020

      • alastairp
        this is an interesting and short overview of some problems in music recommendation
      • 2020-07-31 21302, 2020

      • alastairp
        I think that we're in a really good position with the musicbrainz database to overcome most of them, which I think is great
      • 2020-07-31 21349, 2020

      • white_snack
        _lucifer have you merged or found any issues?
      • 2020-07-31 21305, 2020

      • BrainzGit
        [musicbrainz-server] yvanzo merged pull request #1621 (master…test-database-bzip2): Install bzip2 in the test-database docker image https://github.com/metabrainz/musicbrainz-server/…
      • 2020-07-31 21354, 2020

      • alastairp
        thanks yvanzo!
      • 2020-07-31 21308, 2020

      • alastairp
        that image will need to be pushed to docker hub some time, too
      • 2020-07-31 21319, 2020

      • white_shadow joined the channel
      • 2020-07-31 21303, 2020

      • yvanzo
        alastairp: we usually have two approvals before merging but this one is such a small pr :)
      • 2020-07-31 21319, 2020

      • alastairp
        that's OK, I approved it too ;)
      • 2020-07-31 21322, 2020

      • white_snack has quit
      • 2020-07-31 21303, 2020

      • white_shadow has quit
      • 2020-07-31 21359, 2020

      • zas
        alastairp: try to log in trille & gaga
      • 2020-07-31 21347, 2020

      • alastairp
        zas: login key and sudo works. thanks
      • 2020-07-31 21336, 2020

      • Mr_Monkey
        ruaok: Do you agree with mine and shivam-kapila's conclusion that we should implement the automatically-search-in-bigger-time-range mechanism (if listens count < requested count) in the `/user/XXXXX/listens` API endpoint?
      • 2020-07-31 21329, 2020

      • ruaok
        Yes, I do.
      • 2020-07-31 21330, 2020

      • Mr_Monkey
        Currently, PR #992 removes the mechanism from the front-end (the "Search Larger Time Range" button), and there is no existing way to request a larger time-range from the API (using for example a time_range param). It also makes sense to do it automatically on the API endpoint rather than do another API call…
      • 2020-07-31 21333, 2020

      • Mr_Monkey
        OK
      • 2020-07-31 21317, 2020

      • ruaok
        But,what is the logic behind expanding the range?
      • 2020-07-31 21328, 2020

      • Mr_Monkey
        I'm not convinced I'll be able to implement that in python without setting the whole thing on fire, but I'll give it a try. I might need help with special cases (such as "no, really, you only have 10 listens, no need to look for more")
      • 2020-07-31 21333, 2020

      • ruaok
        If fewer are returned, search the whole range?
      • 2020-07-31 21335, 2020

      • gr0uch0mars
        ruaok: evaluations sent! I had it in mind for today, but could’t do it this morning
      • 2020-07-31 21340, 2020

      • gr0uch0mars
        Sorry for delay!