#metabrainz

/

      • adhawkins joined the channel
      • 2019-02-21 05234, 2019

      • SothoTalKer has quit
      • 2019-02-21 05216, 2019

      • SothoTalKer joined the channel
      • 2019-02-21 05206, 2019

      • amCap1712
        ruaok, KassOtsimine: update is live
      • 2019-02-21 05223, 2019

      • pristine_
        anyone?
      • 2019-02-21 05226, 2019

      • amCap1712
        yes pristine_
      • 2019-02-21 05258, 2019

      • pristine_
        Let's sing a song
      • 2019-02-21 05226, 2019

      • pristine_
        :(
      • 2019-02-21 05203, 2019

      • zas
        ruaok: yes, i remember the conversation ;)
      • 2019-02-21 05224, 2019

      • zas
        CatQuest: nothing abnormal on our side afaik, regarding community.mb.o
      • 2019-02-21 05227, 2019

      • zas
        outsidecontext: there's no urge, if you think you can provide a fix, please do. It's a long-standing issue and users will be happy if it is fixed.
      • 2019-02-21 05231, 2019

      • ruaok
        zas: then why do you keep pressing me about it?
      • 2019-02-21 05217, 2019

      • zas
        ruaok: i don't ;) (or it wasn't my intention at all)
      • 2019-02-21 05239, 2019

      • ruaok
        ok. :)
      • 2019-02-21 05218, 2019

      • zas
        outsidecontext: i'll make a blog post announcing imminent release, asking translators to update
      • 2019-02-21 05254, 2019

      • pulkit6559 has quit
      • 2019-02-21 05213, 2019

      • zas
        alastairp: about jenkins, i didn't deploy it, i think it was gentlecat, and i don't know much about it. I just discovered dockerized jenkins is running docker... (containers running containers running containers... where are we going...)
      • 2019-02-21 05235, 2019

      • zas
        alastairp: what do you need exactly?
      • 2019-02-21 05238, 2019

      • alastairp
        yes, I remember talking with him about it when it was set up
      • 2019-02-21 05216, 2019

      • alastairp
        zas: we're using a feature in docker-compose.yml which requires a newer version of docker than that which is installed in the current image
      • 2019-02-21 05249, 2019

      • alastairp
        however, because it's connecting to the docker server on williams (via a volume docker.sock), we're actually acting with a more recent version of docker
      • 2019-02-21 05224, 2019

      • alastairp
        so the only recommendation that I have is to update the docker client in the jenkins container some time for compatibility reasons (my PR), I expect that everything should continue working fine
      • 2019-02-21 05218, 2019

      • Leo_Verto has quit
      • 2019-02-21 05224, 2019

      • pulkit6559 joined the channel
      • 2019-02-21 05247, 2019

      • Leo_Verto joined the channel
      • 2019-02-21 05227, 2019

      • bitmap has quit
      • 2019-02-21 05250, 2019

      • bitmap joined the channel
      • 2019-02-21 05203, 2019

      • reosarevok
        Hey ruaok, come on, zas has the right to a free press
      • 2019-02-21 05212, 2019

      • Leo_Verto has quit
      • 2019-02-21 05241, 2019

      • Leo_Verto joined the channel
      • 2019-02-21 05218, 2019

      • alastairp
        Mr_Monkey: hello?
      • 2019-02-21 05227, 2019

      • Mr_Monkey
        Howdy alastairp
      • 2019-02-21 05241, 2019

      • alastairp
        remind me again, you showed me how to set dev mode _and_ set the env variable when building webpack?
      • 2019-02-21 05222, 2019

      • alastairp
        I have to do both, right?
      • 2019-02-21 05216, 2019

      • Mr_Monkey
        Right. Here's what we now do on LB, a combination of two things:
      • 2019-02-21 05216, 2019

      • Mr_Monkey
      • 2019-02-21 05216, 2019

      • Mr_Monkey
        And calling webpack with `-p` AND `--env` flags: "build:prod": "webpack -p --env production --progress --colors",
      • 2019-02-21 05228, 2019

      • Mr_Monkey
      • 2019-02-21 05242, 2019

      • alastairp
        right
      • 2019-02-21 05249, 2019

      • alastairp
        I think I sorted out what I had to do
      • 2019-02-21 05208, 2019

      • alastairp
        (I'm trying to get a sourcemap using gulp, to debug some ~react~)
      • 2019-02-21 05258, 2019

      • Mr_Monkey
        Let me know if you get stuck
      • 2019-02-21 05207, 2019

      • alastairp
        I'm stuck
      • 2019-02-21 05244, 2019

      • alastairp
      • 2019-02-21 05207, 2019

      • alastairp
        here we set errorMsg to some json, at this point it's an object, having been returned from the webservice as json
      • 2019-02-21 05222, 2019

      • alastairp
        https://github.com/metabrainz/acousticbrainz-serv… here, we write it to the page, but it fails with
      • 2019-02-21 05236, 2019

      • alastairp
        > invariant.js:39 Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {error, success}).
      • 2019-02-21 05203, 2019

      • alastairp
        which I'm not surprised by, but this code was before my time. I'm sure all I need to do is dereference something, right?
      • 2019-02-21 05247, 2019

      • michelv has quit
      • 2019-02-21 05218, 2019

      • alastairp
        so, I fixed it by printing out {this.state.errorMsg.error} instead, but that seems a bit sketchy, what if by some unknown error, this json no longer has a 'error' key? Can I catch this?
      • 2019-02-21 05227, 2019

      • alastairp
        I guess it's just clear that I don't understand jsx :)
      • 2019-02-21 05207, 2019

      • Leo_Verto has quit
      • 2019-02-21 05214, 2019

      • Leo_Verto joined the channel
      • 2019-02-21 05251, 2019

      • Mr_Monkey
        Woop, just saw this. Let me see…
      • 2019-02-21 05213, 2019

      • Mr_Monkey
        alastairp: You can do this: `{ this.state.errorMsg && this.state.errorMsg.error }
      • 2019-02-21 05239, 2019

      • Mr_Monkey
        if `.error`is undefined, it won't create any node there.
      • 2019-02-21 05229, 2019

      • Mr_Monkey
        Also we want to make sure `errorMsg`is defined, otherwise calling `errorMsg.error` will throw.
      • 2019-02-21 05226, 2019

      • Mr_Monkey
        I it grows from there and becomes more complexe, create a getter in your class that will return the right sub-property or null.
      • 2019-02-21 05256, 2019

      • Mr_Monkey
        For now, I think you could wrap the entire `<p>` tag like this `{this.state.errorMsg && <p ...` and in it use `{this.state.errorMsg.error }` directly
      • 2019-02-21 05223, 2019

      • Dr-Flay joined the channel
      • 2019-02-21 05228, 2019

      • CatQuest
        [19:21] <reosarevok> Hey ruaok, come on, zas has the right to a free press
      • 2019-02-21 05228, 2019

      • CatQuest
        🤣
      • 2019-02-21 05249, 2019

      • Dr-Flay has left the channel
      • 2019-02-21 05225, 2019

      • bitmap
        alastairp: would 18.06.0-ce work? I could update to that inside the image
      • 2019-02-21 05221, 2019

      • bitmap
        oh I guess you already mentioned it is (it's the same version running on the host)
      • 2019-02-21 05232, 2019

      • alastairp
        bitmap: the jenkins container uses alpine, not ubuntu
      • 2019-02-21 05247, 2019

      • alastairp
        but it looks like they have pretty good forward/backward compatibility between the api
      • 2019-02-21 05200, 2019

      • alastairp
        (see for example us using client v 1.12 and server v 1.43242 or somethign
      • 2019-02-21 05216, 2019

      • pristine_ has quit
      • 2019-02-21 05219, 2019

      • alastairp
        Mr_Monkey: thanks :)
      • 2019-02-21 05227, 2019

      • alastairp
        I fixed it, I'm going to make a PR and tag you to review it
      • 2019-02-21 05234, 2019

      • alastairp
        and you can tell me what to change
      • 2019-02-21 05219, 2019

      • Prajjwal joined the channel
      • 2019-02-21 05209, 2019

      • alastairp
      • 2019-02-21 05221, 2019

      • outsidecontext has quit
      • 2019-02-21 05202, 2019

      • Gazooo has quit
      • 2019-02-21 05253, 2019

      • Gazooo joined the channel
      • 2019-02-21 05243, 2019

      • SothoTalKer has quit
      • 2019-02-21 05201, 2019

      • SothoTalKer joined the channel
      • 2019-02-21 05229, 2019

      • Prajjwal has quit
      • 2019-02-21 05202, 2019

      • bitmap
        possibly? I haven't tried but it shows me a Kindle Edition option
      • 2019-02-21 05255, 2019

      • ruaok
        it doesn;t let me and I have a US kindlea/amazon account.
      • 2019-02-21 05206, 2019

      • ruaok
        let me try going through a "VPN"
      • 2019-02-21 05224, 2019

      • iliekcomputers brings LB to PR0 again.
      • 2019-02-21 05217, 2019

      • pristine_ joined the channel
      • 2019-02-21 05225, 2019

      • pristine_
        ruaok: around?
      • 2019-02-21 05217, 2019

      • ruaok
        Sort of.
      • 2019-02-21 05228, 2019

      • ruaok
        Iliekcomputers: pushing to beta?
      • 2019-02-21 05237, 2019

      • ayerhart joined the channel
      • 2019-02-21 05242, 2019

      • iliekcomputers
        ruaok: done.
      • 2019-02-21 05233, 2019

      • ruaok
        thanks!
      • 2019-02-21 05240, 2019

      • ruaok reloads the follow page.
      • 2019-02-21 05224, 2019

      • pristine_
        ruaok: i have somthing to tell you
      • 2019-02-21 05206, 2019

      • ruaok
        normally that would scare me, but given that we've never met in person.... 🤣
      • 2019-02-21 05212, 2019

      • pristine_
        aww
      • 2019-02-21 05215, 2019

      • pristine_
        so,
      • 2019-02-21 05233, 2019

      • pristine_
        I needed the server to do some experimentation
      • 2019-02-21 05257, 2019

      • pristine_
        So I and iliekcomputers sat together in lib for a while yesterday
      • 2019-02-21 05206, 2019

      • pristine_
        for the same
      • 2019-02-21 05226, 2019

      • pristine_
        and we have some interesting results
      • 2019-02-21 05259, 2019

      • pristine_
        I am sorry i didn't inform you earlier, i thought i will ping you when i have something substantial to tell
      • 2019-02-21 05206, 2019

      • ruaok
        please stop apologizing. :)
      • 2019-02-21 05213, 2019

      • pristine_
        so there are a few cases we tested on, i am making a table so that it is clear for the reader to understand.
      • 2019-02-21 05220, 2019

      • pristine_
        I will post it in a while.
      • 2019-02-21 05247, 2019

      • pristine_
        if you are asleep you can read it tomorrow. I mean today, but later in the day.
      • 2019-02-21 05204, 2019

      • pristine_
        ruaok: Thanks for the trust :)
      • 2019-02-21 05257, 2019

      • ruaok can't recall if it is today to tomorrow yet
      • 2019-02-21 05222, 2019

      • pristine_
        lol.
      • 2019-02-21 05231, 2019

      • pristine_
        I don't know you time zone exactly
      • 2019-02-21 05237, 2019

      • pristine_
        your*
      • 2019-02-21 05246, 2019

      • iliekcomputers
        yes, ruaok, what exactly is your time zone rn? :P
      • 2019-02-21 05253, 2019

      • ruaok
        my body doesn't seem to either.
      • 2019-02-21 05259, 2019

      • pristine_
        haha
      • 2019-02-21 05212, 2019

      • ruaok
        iliekcomputers: nice try. I'm stupid, but not bekloppt!
      • 2019-02-21 05224, 2019

      • iliekcomputers
        anyways, the most exciting result was that it loaded ALL listens and calculated artist listen counts for all users in ~8 min.
      • 2019-02-21 05238, 2019

      • pristine_
        200M listens
      • 2019-02-21 05255, 2019

      • pristine_
        and that to with one pair of config values, rest all failed
      • 2019-02-21 05258, 2019

      • pristine_
        yay
      • 2019-02-21 05205, 2019

      • iliekcomputers
        bekloppt: wacky
      • 2019-02-21 05210, 2019

      • iliekcomputers
        ?
      • 2019-02-21 05218, 2019

      • pristine_
        ruaok: what is your time zone?
      • 2019-02-21 05229, 2019

      • iliekcomputers
        lolol
      • 2019-02-21 05238, 2019

      • pristine_
        what?
      • 2019-02-21 05245, 2019

      • ruaok
        uhm. how does one translate bekloppt? crazy or insane...
      • 2019-02-21 05249, 2019

      • iliekcomputers
        loco
      • 2019-02-21 05258, 2019

      • ruaok
        yeah.
      • 2019-02-21 05210, 2019

      • ruaok
        my time zone? I don't have one. I am not fat enough to get my own timezone.
      • 2019-02-21 05220, 2019

      • pristine_
        haha.
      • 2019-02-21 05222, 2019

      • iliekcomputers
        fat enough yet
      • 2019-02-21 05233, 2019

      • iliekcomputers wonders if he can replace reosarevok
      • 2019-02-21 05237, 2019

      • pristine_
        fat = cute
      • 2019-02-21 05240, 2019

      • ruaok
        yeah srsly. if I stay here I'll get really fat.
      • 2019-02-21 05248, 2019

      • pristine_
        stay where?
      • 2019-02-21 05214, 2019

      • ruaok
        in case you don't know, I randomly ran off from Barcelona to... places where the airfare is cheap.
      • 2019-02-21 05221, 2019

      • ruaok
        only about 3 people know where I really am.
      • 2019-02-21 05240, 2019

      • ruaok
        the rest are left to guess. I post pictures on instagram and FB.
      • 2019-02-21 05244, 2019

      • pristine_
        oh okay.
      • 2019-02-21 05200, 2019

      • pristine_
        I will try to guess then . lol
      • 2019-02-21 05203, 2019

      • ruaok
        but, lets just say that the pictures this early in the game are far from helpful to identify where I am.
      • 2019-02-21 05219, 2019

      • pristine_
        haha.
      • 2019-02-21 05231, 2019

      • ruaok
        friend me on instagram. mayhemcha0s
      • 2019-02-21 05258, 2019

      • pristine_
        ruaok: there is this really good book on spark dataframe. I think i should read it. I got from the link you shared. thanks:)
      • 2019-02-21 05214, 2019

      • pristine_
        yeah just a sec. i will send you follow request
      • 2019-02-21 05215, 2019

      • ruaok
        perhaps I should too.
      • 2019-02-21 05223, 2019

      • pristine_
        awww
      • 2019-02-21 05207, 2019

      • pulkit6559 has quit
      • 2019-02-21 05218, 2019

      • pristine_
        ruaok: sent
      • 2019-02-21 05230, 2019

      • pristine_
        I mean followed.
      • 2019-02-21 05253, 2019

      • pristine_
        979 posts. wow
      • 2019-02-21 05210, 2019

      • ruaok
        counter followed.