#metabrainz

/

      • kartikgupta0909 has quit
      • 2016-03-26 08659, 2016

      • Freso
      • 2016-03-26 08623, 2016

      • Gentlecat
        there a must be a better way to manage all this sql
      • 2016-03-26 08630, 2016

      • Freso
        JSONify it and toss it into MongoDB.
      • 2016-03-26 08631, 2016

      • Freso
        :U
      • 2016-03-26 08612, 2016

      • reosarevok
        Toss Freso into MongoDB
      • 2016-03-26 08648, 2016

      • reosarevok imagines that being like the huge desert pit in Star Wars
      • 2016-03-26 08652, 2016

      • Freso
        Mm. Dessert.
      • 2016-03-26 08605, 2016

      • CallerNo6
      • 2016-03-26 08605, 2016

      • mihaitish joined the channel
      • 2016-03-26 08621, 2016

      • Leftmost
        Sorry for bailing earlier. Just back now.
      • 2016-03-26 08617, 2016

      • Leftmost
        Both the U[XI] changes and the SSO stuff have Discourse topics, but no bites yet. They are a bit dev-focused, but I think the biggest problem right now is that I think a lot of our UI is so bad it's hard to see past it to smaller improvements. :\
      • 2016-03-26 08608, 2016

      • Freso
        ^
      • 2016-03-26 08656, 2016

      • Leftmost
        Error handling is something I think we can tackle entirely from a technical standpoint, and pretty much the first thing I plan to address. UI layout, though, is a bigger problem and one that will need mockups and discussion and ideas that I don't have right now.
      • 2016-03-26 08608, 2016

      • Leftmost
        ruaok or maybe zas, ping about the BB cert.
      • 2016-03-26 08654, 2016

      • Gentlecat
      • 2016-03-26 08605, 2016

      • Gentlecat pushed updates
      • 2016-03-26 08622, 2016

      • bitmap
        that's weird
      • 2016-03-26 08632, 2016

      • bitmap
        ok, let me pull
      • 2016-03-26 08613, 2016

      • bitmap
        that test passes for me :/
      • 2016-03-26 08620, 2016

      • bitmap ran prove -vl t/tests.t :: --tests WS::1::Collection
      • 2016-03-26 08609, 2016

      • Gentlecat
        tried again, same parser error
      • 2016-03-26 08602, 2016

      • Gentlecat
        I cloned mmd-schema into parent directory, if it's used there
      • 2016-03-26 08642, 2016

      • Gentlecat
        it's on a branch with your update
      • 2016-03-26 08651, 2016

      • bitmap
        it looks like it's just getting 'Authorization required.' as the response, which I don't really get
      • 2016-03-26 08635, 2016

      • Gentlecat
        oh, so that's the actual content
      • 2016-03-26 08616, 2016

      • bitmap
        that username/password should come from webservice.sql
      • 2016-03-26 08640, 2016

      • Gentlecat
        it's there
      • 2016-03-26 08629, 2016

      • bitmap
        still fails if you do ./script/create_test_db.sh and then prove -vl t/tests.t :: --tests WS::1::Collection ?
      • 2016-03-26 08642, 2016

      • Gentlecat
        this part wasn't even changed. let me try on master
      • 2016-03-26 08656, 2016

      • Gentlecat
        yeah, I tried deleting the database and creating it again
      • 2016-03-26 08602, 2016

      • Gentlecat
        didn't help
      • 2016-03-26 08604, 2016

      • bitmap
        ok
      • 2016-03-26 08606, 2016

      • yeeeargh has quit
      • 2016-03-26 08616, 2016

      • Gentlecat
        same issue on master
      • 2016-03-26 08611, 2016

      • Gentlecat
        maybe I missed something? running script/create_test_db.sh and having mmd-schema cloned should be enough, right?
      • 2016-03-26 08635, 2016

      • bitmap
        yeah
      • 2016-03-26 08603, 2016

      • bitmap
        what about prove -vl t/tests.t :: --tests WS::2::SubmitCollection
      • 2016-03-26 08616, 2016

      • bitmap
        that uses the same user/pass
      • 2016-03-26 08612, 2016

      • Gentlecat
      • 2016-03-26 08652, 2016

      • bitmap suggests disabling CATALYST_DEBUG :P
      • 2016-03-26 08611, 2016

      • bitmap
        perhaps Data::Editor::ha1_password is producing different output on your machine
      • 2016-03-26 08622, 2016

      • Gentlecat
        what would be the easiest way to check?
      • 2016-03-26 08606, 2016

      • bitmap
        I'm writing a snippet
      • 2016-03-26 08624, 2016

      • bitmap
        perl -e 'use Digest::MD5 qw( md5_hex ); use Encode; print md5_hex(join(":", encode("utf-8", "the-anti-kuno"), "musicbrainz.org", encode("utf-8", "notreally")));'
      • 2016-03-26 08637, 2016

      • bitmap
        that should output 79237ef54f6d3b8711030c0d6d5939a0 like it has in webservice.sql
      • 2016-03-26 08600, 2016

      • Lingo______ joined the channel
      • 2016-03-26 08629, 2016

      • Lingo______ has quit
      • 2016-03-26 08627, 2016

      • Lingo______ joined the channel
      • 2016-03-26 08649, 2016

      • Gentlecat
        79237ef54f6d3b8711030c0d6d5939a0
      • 2016-03-26 08609, 2016

      • Gentlecat
        is there any way to print stuff when tests run?
      • 2016-03-26 08626, 2016

      • bitmap
        'print' should work
      • 2016-03-26 08603, 2016

      • Gentlecat
        is ha1_password function is supposed to be called when, for example, WS::1::Collection tests run?
      • 2016-03-26 08602, 2016

      • Gentlecat
        I'm not getting anything from it
      • 2016-03-26 08609, 2016

      • bitmap
        actually, no
      • 2016-03-26 08648, 2016

      • bitmap
        argh, I forgot how this all works
      • 2016-03-26 08621, 2016

      • bitmap
      • 2016-03-26 08627, 2016

      • bitmap
        is that getting called for you?
      • 2016-03-26 08609, 2016

      • bitmap
        otherwise, I'm betting SUPER::authenticate calls it
      • 2016-03-26 08603, 2016

      • bitmap
        'sub authenticate {' in ~/perl5/lib/perl5/Catalyst/Authentication/Credential/HTTP.pm
      • 2016-03-26 08619, 2016

      • Gentlecat
        not in Credential.pm
      • 2016-03-26 08605, 2016

      • bitmap
        I hope this doesn't turn out to be really silly
      • 2016-03-26 08614, 2016

      • Gentlecat
        it probably is
      • 2016-03-26 08644, 2016

      • Gentlecat
        wait, authenticate is called but it doesn't get to that conditional
      • 2016-03-26 08622, 2016

      • Lingo______ has quit
      • 2016-03-26 08650, 2016

      • bitmap
        so returns on line 16 or detaches on 27?
      • 2016-03-26 08604, 2016

      • Gentlecat
        not on 16, $auth is undef there
      • 2016-03-26 08618, 2016

      • bitmap
        that makes sense
      • 2016-03-26 08641, 2016

      • Gentlecat
        doesn't come back after calling SUPER::authenticate
      • 2016-03-26 08618, 2016

      • bitmap
        ok, then authentication_failed is definitely getting called in there
      • 2016-03-26 08628, 2016

      • bitmap
        since it does die $Catalyst::DETACH;
      • 2016-03-26 08635, 2016

      • bitmap
        but figuring out why might be annoying
      • 2016-03-26 08617, 2016

      • bitmap
        it should be passing basic auth
      • 2016-03-26 08622, 2016

      • Gentlecat
        maybe catalyst is outdated on my machine or something?
      • 2016-03-26 08648, 2016

      • Gentlecat
        not sure why it would be different
      • 2016-03-26 08605, 2016

      • bitmap
        dunno, could try updating in case :/
      • 2016-03-26 08636, 2016

      • Freso
        I'm being hit a lot with the "Possible Duplicates" glitch today.
      • 2016-03-26 08605, 2016

      • Freso
        Like pretty much every single time I /edit an entity, I get it, and sometimes it persists after the first page refresh too.
      • 2016-03-26 08610, 2016

      • Freso
        And second...
      • 2016-03-26 08621, 2016

      • Freso
        And third...
      • 2016-03-26 08649, 2016

      • Freso
        Oh, come on.
      • 2016-03-26 08622, 2016

      • Gentlecat
        nope, that didn't help
      • 2016-03-26 08652, 2016

      • Freso
        7 refreshes, and still a "possible duplicate" of itself. zas, is anything up with the servers right now?
      • 2016-03-26 08600, 2016

      • Gentlecat
        I think I'm going to go to sleep for now. enough testing for today
      • 2016-03-26 08656, 2016

      • Freso
        10 refreshes... I'm just gonna toss in the towel now.
      • 2016-03-26 08601, 2016

      • bitmap
        ok, I'll try and help tomorrow if you want
      • 2016-03-26 08632, 2016

      • Gentlecat
        sure, let me know if you have any ideas
      • 2016-03-26 08656, 2016

      • opatel99 has quit
      • 2016-03-26 08659, 2016

      • Lingo______ joined the channel
      • 2016-03-26 08631, 2016

      • mihaitish has quit
      • 2016-03-26 08612, 2016

      • bitmap
        Freso: that happens after loading the page without touching anything?
      • 2016-03-26 08632, 2016

      • Freso
        bitmap: Define "touching"?
      • 2016-03-26 08651, 2016

      • Freso
        I did not actually change any data on the /edit page if that's what you mean.
      • 2016-03-26 08637, 2016

      • bitmap
        changing the name I mean
      • 2016-03-26 08639, 2016

      • bitmap
        ok
      • 2016-03-26 08624, 2016

      • alastairp
        ruaok: still got those led strips that I gave you?
      • 2016-03-26 08628, 2016

      • ruaok
        uh oh.
      • 2016-03-26 08644, 2016

      • alastairp
        I’ve just been playing with https://www.sparkfun.com/products/11020
      • 2016-03-26 08648, 2016

      • alastairp
        they’re pretty awesome
      • 2016-03-26 08608, 2016

      • alastairp
        from looking around, it seems they have the same controller
      • 2016-03-26 08622, 2016

      • jcazevedo has quit
      • 2016-03-26 08656, 2016

      • ruaok
        I haven't gotten around to playing with them -- feel free.
      • 2016-03-26 08642, 2016

      • ruaok
        but since I found OnShape my cad skillz have drastically improved. the printer as been quite busy making a next gen cocktail bot.
      • 2016-03-26 08601, 2016

      • alastairp
        cool
      • 2016-03-26 08603, 2016

      • ruaok
        I may need to make some tequila sunrises tomorrow evening.
      • 2016-03-26 08615, 2016

      • alastairp
        maybe we can get them mounted on bikes in time for masa ;)
      • 2016-03-26 08643, 2016

      • ruaok
        and then the perennial question: how are you going to power that nonsense?
      • 2016-03-26 08651, 2016

      • ruaok
        (on a bike)
      • 2016-03-26 08604, 2016

      • reosarevok
        I mean, I've seen people bike with boom boxes
      • 2016-03-26 08610, 2016

      • reosarevok
        I bet you can just carry a big battery or something?
      • 2016-03-26 08614, 2016

      • reosarevok
        Can't be that heavy
      • 2016-03-26 08627, 2016

      • alastairp
        we’re just powering the strip directly from the arduino (yes, I know)
      • 2016-03-26 08637, 2016

      • zas
        Freso: the "possible duplicate" issue is unrelated to the server behavior, this is more something on mb server code imho. Did you try with main server or beta one ?
      • 2016-03-26 08638, 2016

      • alastairp
        then phone charger -> usb
      • 2016-03-26 08643, 2016

      • alastairp
        I mean, it’s in a week
      • 2016-03-26 08650, 2016

      • alastairp
        I’ll do something better for next time
      • 2016-03-26 08651, 2016

      • Freso
        zas: Only beta.
      • 2016-03-26 08606, 2016

      • ruaok
        better than reosarevok's answer. :) yours is complete. :)
      • 2016-03-26 08617, 2016

      • alastairp
        phone charger I mean battery pack
      • 2016-03-26 08622, 2016

      • ruaok nods
      • 2016-03-26 08648, 2016

      • alastairp
        becky said that as long as you don’t put all leds white it can handle it
      • 2016-03-26 08608, 2016

      • zas
        bitmap: any idea about this "possible duplicate" issue ? it happens quite a lot, and force to enter a disambiguation even though the name is unique
      • 2016-03-26 08626, 2016

      • zas
        i had it on main server more than on beta
      • 2016-03-26 08630, 2016

      • ruaok
        even if you pull all white it can handle it. you just have a shorter evening.
      • 2016-03-26 08643, 2016

      • bitmap
        I haven't seen that or been able to reproduce it, but I'm looking at the code for clues
      • 2016-03-26 08658, 2016

      • ruaok
        but really. who wants all white? that is like voting for the old stand by in a national flag referendum. :)
      • 2016-03-26 08604, 2016

      • zas
        bitmap: i didn't find a way to reproduce it, it looks random, but i guess it isn't. I had it just after adding a new artist (with unique name) then re-edit it few mins after
      • 2016-03-26 08613, 2016

      • bitmap
        strange since the code filters out entities with the same mbid
      • 2016-03-26 08632, 2016

      • Freso
        Perhaps there's a race condition where something it doesn't have its own MBID so it's comparing with an empty string or something?
      • 2016-03-26 08615, 2016

      • bitmap
        yeah, that's one possibility
      • 2016-03-26 08641, 2016

      • bitmap
        what was the entity you were editing? I can check the logs to see what mbid paremter it was sending
      • 2016-03-26 08611, 2016

      • Freso
      • 2016-03-26 08645, 2016

      • opatel99 joined the channel
      • 2016-03-26 08618, 2016

      • armalcolite has quit
      • 2016-03-26 08638, 2016

      • Lingo______ has quit
      • 2016-03-26 08640, 2016

      • bitmap
        I suppose it would help if I was grepping the beta logs
      • 2016-03-26 08624, 2016

      • Freso
        :p
      • 2016-03-26 08652, 2016

      • bitmap
        so yeah, it's sending a blank mbid query parameter. strange
      • 2016-03-26 08616, 2016

      • bitmap
        I'll have it take the mbid from the location href instead, that should always work
      • 2016-03-26 08612, 2016

      • Freso
        👍
      • 2016-03-26 08621, 2016

      • Freso
        It's a really annoying glitch.
      • 2016-03-26 08652, 2016

      • MajorLurker joined the channel
      • 2016-03-26 08609, 2016

      • CatQuest has quit