#metabrainz

/

      • kartikgupta0909 has quit
      • Freso
      • Gentlecat
        there a must be a better way to manage all this sql
      • Freso
        JSONify it and toss it into MongoDB.
      • :U
      • reosarevok
        Toss Freso into MongoDB
      • reosarevok imagines that being like the huge desert pit in Star Wars
      • Freso
        Mm. Dessert.
      • CallerNo6
      • mihaitish joined the channel
      • Leftmost
        Sorry for bailing earlier. Just back now.
      • 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. :\
      • Freso
        ^
      • 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.
      • ruaok or maybe zas, ping about the BB cert.
      • Gentlecat
      • Gentlecat pushed updates
      • bitmap
        that's weird
      • ok, let me pull
      • that test passes for me :/
      • bitmap ran prove -vl t/tests.t :: --tests WS::1::Collection
      • Gentlecat
        tried again, same parser error
      • I cloned mmd-schema into parent directory, if it's used there
      • it's on a branch with your update
      • bitmap
        it looks like it's just getting 'Authorization required.' as the response, which I don't really get
      • Gentlecat
        oh, so that's the actual content
      • bitmap
        that username/password should come from webservice.sql
      • Gentlecat
        it's there
      • bitmap
        still fails if you do ./script/create_test_db.sh and then prove -vl t/tests.t :: --tests WS::1::Collection ?
      • Gentlecat
        this part wasn't even changed. let me try on master
      • yeah, I tried deleting the database and creating it again
      • didn't help
      • bitmap
        ok
      • yeeeargh has quit
      • Gentlecat
        same issue on master
      • maybe I missed something? running script/create_test_db.sh and having mmd-schema cloned should be enough, right?
      • bitmap
        yeah
      • what about prove -vl t/tests.t :: --tests WS::2::SubmitCollection
      • that uses the same user/pass
      • Gentlecat
      • bitmap suggests disabling CATALYST_DEBUG :P
      • bitmap
        perhaps Data::Editor::ha1_password is producing different output on your machine
      • Gentlecat
        what would be the easiest way to check?
      • bitmap
        I'm writing a snippet
      • 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")));'
      • that should output 79237ef54f6d3b8711030c0d6d5939a0 like it has in webservice.sql
      • Lingo______ joined the channel
      • Lingo______ has quit
      • Lingo______ joined the channel
      • Gentlecat
        79237ef54f6d3b8711030c0d6d5939a0
      • is there any way to print stuff when tests run?
      • bitmap
        'print' should work
      • Gentlecat
        is ha1_password function is supposed to be called when, for example, WS::1::Collection tests run?
      • I'm not getting anything from it
      • bitmap
        actually, no
      • argh, I forgot how this all works
      • is that getting called for you?
      • otherwise, I'm betting SUPER::authenticate calls it
      • 'sub authenticate {' in ~/perl5/lib/perl5/Catalyst/Authentication/Credential/HTTP.pm
      • Gentlecat
        not in Credential.pm
      • bitmap
        I hope this doesn't turn out to be really silly
      • Gentlecat
        it probably is
      • wait, authenticate is called but it doesn't get to that conditional
      • Lingo______ has quit
      • bitmap
        so returns on line 16 or detaches on 27?
      • Gentlecat
        not on 16, $auth is undef there
      • bitmap
        that makes sense
      • Gentlecat
        doesn't come back after calling SUPER::authenticate
      • bitmap
        ok, then authentication_failed is definitely getting called in there
      • since it does die $Catalyst::DETACH;
      • but figuring out why might be annoying
      • it should be passing basic auth
      • Gentlecat
        maybe catalyst is outdated on my machine or something?
      • not sure why it would be different
      • bitmap
        dunno, could try updating in case :/
      • Freso
        I'm being hit a lot with the "Possible Duplicates" glitch today.
      • Like pretty much every single time I /edit an entity, I get it, and sometimes it persists after the first page refresh too.
      • And second...
      • And third...
      • Oh, come on.
      • Gentlecat
        nope, that didn't help
      • Freso
        7 refreshes, and still a "possible duplicate" of itself. zas, is anything up with the servers right now?
      • Gentlecat
        I think I'm going to go to sleep for now. enough testing for today
      • Freso
        10 refreshes... I'm just gonna toss in the towel now.
      • bitmap
        ok, I'll try and help tomorrow if you want
      • Gentlecat
        sure, let me know if you have any ideas
      • opatel99 has quit
      • Lingo______ joined the channel
      • mihaitish has quit
      • bitmap
        Freso: that happens after loading the page without touching anything?
      • Freso
        bitmap: Define "touching"?
      • I did not actually change any data on the /edit page if that's what you mean.
      • bitmap
        changing the name I mean
      • ok
      • alastairp
        ruaok: still got those led strips that I gave you?
      • ruaok
        uh oh.
      • alastairp
        I’ve just been playing with https://www.sparkfun.com/products/11020
      • they’re pretty awesome
      • from looking around, it seems they have the same controller
      • jcazevedo has quit
      • ruaok
        I haven't gotten around to playing with them -- feel free.
      • but since I found OnShape my cad skillz have drastically improved. the printer as been quite busy making a next gen cocktail bot.
      • alastairp
        cool
      • ruaok
        I may need to make some tequila sunrises tomorrow evening.
      • alastairp
        maybe we can get them mounted on bikes in time for masa ;)
      • ruaok
        and then the perennial question: how are you going to power that nonsense?
      • (on a bike)
      • reosarevok
        I mean, I've seen people bike with boom boxes
      • I bet you can just carry a big battery or something?
      • Can't be that heavy
      • alastairp
        we’re just powering the strip directly from the arduino (yes, I know)
      • 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 ?
      • alastairp
        then phone charger -> usb
      • I mean, it’s in a week
      • I’ll do something better for next time
      • Freso
        zas: Only beta.
      • ruaok
        better than reosarevok's answer. :) yours is complete. :)
      • alastairp
        phone charger I mean battery pack
      • ruaok nods
      • becky said that as long as you don’t put all leds white it can handle it
      • 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
      • i had it on main server more than on beta
      • ruaok
        even if you pull all white it can handle it. you just have a shorter evening.
      • bitmap
        I haven't seen that or been able to reproduce it, but I'm looking at the code for clues
      • ruaok
        but really. who wants all white? that is like voting for the old stand by in a national flag referendum. :)
      • 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
      • bitmap
        strange since the code filters out entities with the same mbid
      • 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?
      • bitmap
        yeah, that's one possibility
      • what was the entity you were editing? I can check the logs to see what mbid paremter it was sending
      • Freso
      • opatel99 joined the channel
      • armalcolite has quit
      • Lingo______ has quit
      • bitmap
        I suppose it would help if I was grepping the beta logs
      • Freso
        :p
      • bitmap
        so yeah, it's sending a blank mbid query parameter. strange
      • I'll have it take the mbid from the location href instead, that should always work
      • Freso
        👍
      • It's a really annoying glitch.
      • MajorLurker joined the channel
      • CatQuest has quit