#metabrainz

/

      • adhawkins joined the channel
      • SothoTalKer has quit
      • SothoTalKer joined the channel
      • amCap1712
        ruaok, KassOtsimine: update is live
      • pristine_
        anyone?
      • amCap1712
        yes pristine_
      • pristine_
        Let's sing a song
      • :(
      • zas
        ruaok: yes, i remember the conversation ;)
      • CatQuest: nothing abnormal on our side afaik, regarding community.mb.o
      • 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.
      • ruaok
        zas: then why do you keep pressing me about it?
      • zas
        ruaok: i don't ;) (or it wasn't my intention at all)
      • ruaok
        ok. :)
      • zas
        outsidecontext: i'll make a blog post announcing imminent release, asking translators to update
      • pulkit6559 has quit
      • 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...)
      • alastairp: what do you need exactly?
      • alastairp
        yes, I remember talking with him about it when it was set up
      • 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
      • 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
      • 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
      • Leo_Verto has quit
      • pulkit6559 joined the channel
      • Leo_Verto joined the channel
      • bitmap has quit
      • bitmap joined the channel
      • reosarevok
        Hey ruaok, come on, zas has the right to a free press
      • Leo_Verto has quit
      • Leo_Verto joined the channel
      • alastairp
        Mr_Monkey: hello?
      • Mr_Monkey
        Howdy alastairp
      • alastairp
        remind me again, you showed me how to set dev mode _and_ set the env variable when building webpack?
      • I have to do both, right?
      • Mr_Monkey
        Right. Here's what we now do on LB, a combination of two things:
      • And calling webpack with `-p` AND `--env` flags: "build:prod": "webpack -p --env production --progress --colors",
      • alastairp
        right
      • I think I sorted out what I had to do
      • (I'm trying to get a sourcemap using gulp, to debug some ~react~)
      • Mr_Monkey
        Let me know if you get stuck
      • alastairp
        I'm stuck
      • here we set errorMsg to some json, at this point it's an object, having been returned from the webservice as json
      • https://github.com/metabrainz/acousticbrainz-se... here, we write it to the page, but it fails with
      • > invariant.js:39 Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {error, success}).
      • 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?
      • michelv has quit
      • 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?
      • I guess it's just clear that I don't understand jsx :)
      • Leo_Verto has quit
      • Leo_Verto joined the channel
      • Mr_Monkey
        Woop, just saw this. Let me see…
      • alastairp: You can do this: `{ this.state.errorMsg && this.state.errorMsg.error }
      • if `.error`is undefined, it won't create any node there.
      • Also we want to make sure `errorMsg`is defined, otherwise calling `errorMsg.error` will throw.
      • I it grows from there and becomes more complexe, create a getter in your class that will return the right sub-property or null.
      • 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
      • Dr-Flay joined the channel
      • CatQuest
        [19:21] <reosarevok> Hey ruaok, come on, zas has the right to a free press
      • 🤣
      • Dr-Flay has left the channel
      • bitmap
        alastairp: would 18.06.0-ce work? I could update to that inside the image
      • oh I guess you already mentioned it is (it's the same version running on the host)
      • alastairp
        bitmap: the jenkins container uses alpine, not ubuntu
      • but it looks like they have pretty good forward/backward compatibility between the api
      • (see for example us using client v 1.12 and server v 1.43242 or somethign
      • pristine_ has quit
      • Mr_Monkey: thanks :)
      • I fixed it, I'm going to make a PR and tag you to review it
      • and you can tell me what to change
      • Prajjwal joined the channel
      • outsidecontext has quit
      • Gazooo has quit
      • Gazooo joined the channel
      • SothoTalKer has quit
      • SothoTalKer joined the channel
      • Prajjwal has quit
      • bitmap
        possibly? I haven't tried but it shows me a Kindle Edition option
      • ruaok
        it doesn;t let me and I have a US kindlea/amazon account.
      • let me try going through a "VPN"
      • iliekcomputers brings LB to PR0 again.
      • pristine_ joined the channel
      • pristine_
        ruaok: around?
      • ruaok
        Sort of.
      • Iliekcomputers: pushing to beta?
      • ayerhart joined the channel
      • iliekcomputers
        ruaok: done.
      • ruaok
        thanks!
      • ruaok reloads the follow page.
      • pristine_
        ruaok: i have somthing to tell you
      • ruaok
        normally that would scare me, but given that we've never met in person.... 🤣
      • pristine_
        aww
      • so,
      • I needed the server to do some experimentation
      • So I and iliekcomputers sat together in lib for a while yesterday
      • for the same
      • and we have some interesting results
      • I am sorry i didn't inform you earlier, i thought i will ping you when i have something substantial to tell
      • ruaok
        please stop apologizing. :)
      • 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.
      • I will post it in a while.
      • if you are asleep you can read it tomorrow. I mean today, but later in the day.
      • ruaok: Thanks for the trust :)
      • ruaok can't recall if it is today to tomorrow yet
      • lol.
      • I don't know you time zone exactly
      • your*
      • iliekcomputers
        yes, ruaok, what exactly is your time zone rn? :P
      • ruaok
        my body doesn't seem to either.
      • pristine_
        haha
      • ruaok
        iliekcomputers: nice try. I'm stupid, but not bekloppt!
      • iliekcomputers
        anyways, the most exciting result was that it loaded ALL listens and calculated artist listen counts for all users in ~8 min.
      • pristine_
        200M listens
      • and that to with one pair of config values, rest all failed
      • yay
      • iliekcomputers
        bekloppt: wacky
      • ?
      • pristine_
        ruaok: what is your time zone?
      • iliekcomputers
        lolol
      • pristine_
        what?
      • ruaok
        uhm. how does one translate bekloppt? crazy or insane...
      • iliekcomputers
        loco
      • ruaok
        yeah.
      • my time zone? I don't have one. I am not fat enough to get my own timezone.
      • pristine_
        haha.
      • iliekcomputers
        fat enough yet
      • iliekcomputers wonders if he can replace reosarevok
      • pristine_
        fat = cute
      • ruaok
        yeah srsly. if I stay here I'll get really fat.
      • pristine_
        stay where?
      • ruaok
        in case you don't know, I randomly ran off from Barcelona to... places where the airfare is cheap.
      • only about 3 people know where I really am.
      • the rest are left to guess. I post pictures on instagram and FB.
      • pristine_
        oh okay.
      • I will try to guess then . lol
      • ruaok
        but, lets just say that the pictures this early in the game are far from helpful to identify where I am.
      • pristine_
        haha.
      • ruaok
        friend me on instagram. mayhemcha0s
      • 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:)
      • yeah just a sec. i will send you follow request
      • ruaok
        perhaps I should too.
      • pristine_
        awww
      • pulkit6559 has quit
      • ruaok: sent
      • I mean followed.
      • 979 posts. wow
      • ruaok
        counter followed.