#musicbrainz-devel

/

      • Freso
        JesseW: The nanosecond thing was a joke. :p
      • 2014-12-29 36342, 2014

      • Freso
        I've no idea how RequestManager works. :)
      • 2014-12-29 36356, 2014

      • JesseW
        Freso: I thought it might be, but decided to try it anyway.
      • 2014-12-29 36314, 2014

      • Freso
        JesseW: Perhaps set it to 1?
      • 2014-12-29 36323, 2014

      • JesseW
        heh
      • 2014-12-29 36336, 2014

      • JesseW
        I'm going to try and at least output more useful error messages
      • 2014-12-29 36341, 2014

      • Freso
        JesseW: I know beets' internal rate limiter's configuration is for "requests per minute".
      • 2014-12-29 36351, 2014

      • Freso
        Which would be "1".
      • 2014-12-29 36322, 2014

      • Freso
        (And definitely not 90k!)
      • 2014-12-29 36343, 2014

      • darthanubis joined the channel
      • 2014-12-29 36318, 2014

      • Nyanko-sensei joined the channel
      • 2014-12-29 36327, 2014

      • JesseW
        ah, that was why. I wasn't *USING* the RequestManager...
      • 2014-12-29 36339, 2014

      • JesseW is frustrated with himself
      • 2014-12-29 36316, 2014

      • Freso
        XD
      • 2014-12-29 36322, 2014

      • Freso pats JesseW
      • 2014-12-29 36346, 2014

      • JesseW
        sigh
      • 2014-12-29 36352, 2014

      • JesseW
        thank you for the pats
      • 2014-12-29 36307, 2014

      • darthanubis
        To install these dependencies, run the following inside the musicbrainz-server/ checkout
      • 2014-12-29 36339, 2014

      • darthanubis
        I'm trying to install npm install, and do not know what the previous directions mean
      • 2014-12-29 36348, 2014

      • darthanubis
        inside the musicbrainz-server/ checkout?
      • 2014-12-29 36306, 2014

      • Freso
        The folder the musicbrainz-server code resides in.
      • 2014-12-29 36314, 2014

      • darthanubis
        where/when do I execute the cmd
      • 2014-12-29 36318, 2014

      • Freso
        Ie., the one that was generated when you did the git clone.
      • 2014-12-29 36329, 2014

      • Freso
        Don't know when, but that'd be where.
      • 2014-12-29 36309, 2014

      • darthanubis
        I;m in the /musicbrainz-server directory if that is what you mean?
      • 2014-12-29 36335, 2014

      • darthanubis
        command not found: npm
      • 2014-12-29 36354, 2014

      • darthanubis
        nodejs is already the newest version.
      • 2014-12-29 36354, 2014

      • JesseW
        darthanubis: you need to have npm installed (npm is the standard ruby package manager)
      • 2014-12-29 36303, 2014

      • JesseW
        what system are you on?
      • 2014-12-29 36314, 2014

      • darthanubis
        ubuntu 14.10
      • 2014-12-29 36323, 2014

      • kepstin_
        npm should normally be included with nodejs, but it might be separate in some packaging systems
      • 2014-12-29 36331, 2014

      • darthanubis
        hmmm
      • 2014-12-29 36341, 2014

      • JesseW
        I think ubuntu 14.10 is based on debian wheezy, in which case, installing npm is a bit of PITA
      • 2014-12-29 36357, 2014

      • darthanubis
        great
      • 2014-12-29 36328, 2014

      • JesseW
        well, I mean if you are willing to run random downloaded scripts as root, it's pretty easy -- but that gives me hives, so I had a bit more of a hassle getting it working
      • 2014-12-29 36352, 2014

      • JesseW
        and I only half remember what I did...
      • 2014-12-29 36333, 2014

      • darthanubis
        I'm searching google now to find a way to get npm installed
      • 2014-12-29 36333, 2014

      • JesseW
        darthanubis: google for "npm on debian" and feel free to ask in here when/if you get stuck or want sympathy
      • 2014-12-29 36335, 2014

      • darthanubis
        I really appreciate it
      • 2014-12-29 36335, 2014

      • JesseW
        sure.
      • 2014-12-29 36345, 2014

      • JesseW
        sorry I can't remember the details well enough to help more
      • 2014-12-29 36320, 2014

      • darthanubis
        it cool
      • 2014-12-29 36325, 2014

      • JesseW is just having to re-read http://james.padolsey.com/javascript/closures-in-javascript/ to stop myself doing the creating a function in a loop gotcha
      • 2014-12-29 36344, 2014

      • darthanubis
      • 2014-12-29 36324, 2014

      • JesseW
        is that working for you?
      • 2014-12-29 36329, 2014

      • darthanubis
        yup
      • 2014-12-29 36333, 2014

      • JesseW
        yay!
      • 2014-12-29 36340, 2014

      • darthanubis
        :)
      • 2014-12-29 36320, 2014

      • darthanubis
        Server configuration: step 1 wants me to download the source again, this is not needed after the first time right?
      • 2014-12-29 36327, 2014

      • darthanubis
      • 2014-12-29 36317, 2014

      • JesseW
        darthanubis: you may want to `git update` it, but no, you don't need to clone it again.
      • 2014-12-29 36316, 2014

      • darthanubis
        thx
      • 2014-12-29 36324, 2014

      • darthanubis
        # * RT_SLAVE - This is a slave replication server. After loading a snapshot
      • 2014-12-29 36334, 2014

      • darthanubis
        am I just uncommenting this line
      • 2014-12-29 36313, 2014

      • darthanubis
        use MusicBrainz::Server::Replication ':replication_type'; or changing RType on line 30 of DBDefs.pm?
      • 2014-12-29 36324, 2014

      • darthanubis
        little confusing
      • 2014-12-29 36342, 2014

      • JesseW
        don't know that, sorry. Freso?
      • 2014-12-29 36351, 2014

      • Freso
        I'd have to see it in context, but I'm guessing that you shouldn't change that line. It looks like a documentation comment, not an uncomment-to-use comment.
      • 2014-12-29 36312, 2014

      • Freso
        I've no idea what you're asking in the second question.
      • 2014-12-29 36322, 2014

      • Gentlecat
      • 2014-12-29 36339, 2014

      • darthanubis
        Determine what type of server this will be and set REPLICATION_TYPE accordingly:
      • 2014-12-29 36315, 2014

      • darthanubis
        Just trying to nail down where in the DBDefs.pm file to set replication type
      • 2014-12-29 36344, 2014

      • Freso
        Yeah. And I don't remember DBDefs.pm by heart, so without looking at it, I can't remember what to do where.
      • 2014-12-29 36328, 2014

      • JesseW
        bitmap: another error in the user-script: you are missing an AND when doing the query= so it's assuming you mean OR
      • 2014-12-29 36332, 2014

      • JesseW
        nikki: here's a version that *does* handle filtered lists properly: https://pastee.org/vqenh
      • 2014-12-29 36345, 2014

      • JesseW
        (and includes the various other fixes I mentioned)
      • 2014-12-29 36344, 2014

      • ianmcorvidae
        Gentlecat: probably not, since that's internal
      • 2014-12-29 36354, 2014

      • Gentlecat
        ah, ok
      • 2014-12-29 36359, 2014

      • ianmcorvidae
        darthanubis: the line that starts with "sub REPLICATION_TYPE" should be the one you change/add -- if you want a slave server, it should read sub REPLICATION_TYPE { RT_SLAVE }
      • 2014-12-29 36314, 2014

      • ianmcorvidae
        if you don't, the default sub REPLICATION_TYPE { RT_STANDALONE } will do it
      • 2014-12-29 36327, 2014

      • ianmcorvidae
        (RT_MASTER is basically just musicbrainz.org, other than for testing)
      • 2014-12-29 36317, 2014

      • bitmap
        JesseW: I added the last released version of script to https://bitbucket.org/mwiencek/userscripts/src if you'd like to submit patches there
      • 2014-12-29 36326, 2014

      • bitmap
        nikki too ^
      • 2014-12-29 36353, 2014

      • JesseW
        bitmap: great, thanks! will do
      • 2014-12-29 36322, 2014

      • JesseW
        bitmap: what license do you want the user-script under? It doesn't explicitly say, AFAICS...
      • 2014-12-29 36321, 2014

      • bitmap
        dunno, either MIT or WTFPL should do
      • 2014-12-29 36342, 2014

      • bitmap will add something to the repository
      • 2014-12-29 36358, 2014

      • JesseW
        thanks
      • 2014-12-29 36356, 2014

      • JesseW
        bitmap: ok, got you a PR for nikki's changes: https://bitbucket.org/mwiencek/userscripts/pull-r…
      • 2014-12-29 36325, 2014

      • JesseW
        feel free to wait for her to offer them, if you'd prefer
      • 2014-12-29 36317, 2014

      • JesseW
      • 2014-12-29 36305, 2014

      • JesseW
        bitmap: In your userscript, I noticed that the "label" elements for the selectors (work type & language) just go around the labels, while the ones for the checkboxes go around the labels and the checkboxes. Is this intentional? Also, the labels for the textboxes don't have any "label" elements at all...
      • 2014-12-29 36321, 2014

      • JesseW
        (feel free to respond even if I'm not here -- I'll read the logs)
      • 2014-12-29 36334, 2014

      • Leftmost
        Checkboxes behave bizarrely in HTML, so I suspect it's intentional.
      • 2014-12-29 36343, 2014

      • kepstin_ joined the channel
      • 2014-12-29 36358, 2014

      • JesseW
        Leftmost: heh. you're probably right
      • 2014-12-29 36350, 2014

      • Leftmost
        But that's just random input.
      • 2014-12-29 36329, 2014

      • bitmap
        well, the <select> things are in different table cells so they can only be associated with ids there
      • 2014-12-29 36328, 2014

      • bitmap
        if the label text and <select> were in the same cell, then it could just wrap around the <select> like with the checkboxes
      • 2014-12-29 36311, 2014

      • bitmap
        the lack of label elements for the text inputs was probably just an oversight
      • 2014-12-29 36345, 2014

      • JesseW
        ah, that makes sense, thanks
      • 2014-12-29 36328, 2014

      • JesseW
        I'm making a PR with various minor fixes -- so I'll add labels around the textboxes while I'm doing so.
      • 2014-12-29 36355, 2014

      • bitmap
        cool
      • 2014-12-29 36301, 2014

      • bitmap
        I just committed a bunch of small things and I'm currently making it use &fmt=json for most of the web service requests, so make sure to git pull first :)
      • 2014-12-29 36312, 2014

      • KRSCuan joined the channel
      • 2014-12-29 36330, 2014

      • bitmap
        (the script actually predates the json ws, and I never got around to changing it)
      • 2014-12-29 36346, 2014

      • ariscop joined the channel
      • 2014-12-29 36356, 2014

      • JesseW
      • 2014-12-29 36305, 2014

      • JesseW
        (and yes, I did git pull first)
      • 2014-12-29 36355, 2014

      • churruka joined the channel
      • 2014-12-29 36352, 2014

      • JesseW
        bitmap: I'm getting errors when using HEAD...
      • 2014-12-29 36346, 2014

      • JesseW
        and I think I see the problem
      • 2014-12-29 36358, 2014

      • JesseW
        it's an inconsistency between the JSON and XML formats...
      • 2014-12-29 36332, 2014

      • bitmap
        sounds likely, I had to pluralize a few properties already
      • 2014-12-29 36347, 2014

      • JesseW
        I'm fixing it now
      • 2014-12-29 36345, 2014

      • JesseW
      • 2014-12-29 36344, 2014

      • JesseW
        and here's the cleanup I was working on when I noticed the problem: https://bitbucket.org/mwiencek/userscripts/pull-r…
      • 2014-12-29 36358, 2014

      • djinni` joined the channel
      • 2014-12-29 36345, 2014

      • Freso
        bitmap: But JSON WS is not officially supported! D: D:
      • 2014-12-29 36333, 2014

      • JesseW
        Freso: yes, but the person who is not officially supporting it is bitmap, I think. ;-)
      • 2014-12-29 36323, 2014

      • Julior joined the channel
      • 2014-12-29 36322, 2014

      • ijabz joined the channel
      • 2014-12-29 36346, 2014

      • Mineo joined the channel
      • 2014-12-29 36322, 2014

      • UmkaDK joined the channel
      • 2014-12-29 36314, 2014

      • Nyanko-sensei joined the channel
      • 2014-12-29 36338, 2014

      • Nyanko-sensei joined the channel
      • 2014-12-29 36311, 2014

      • kahu joined the channel
      • 2014-12-29 36325, 2014

      • ruaok joined the channel
      • 2014-12-29 36334, 2014

      • ruaok joined the channel
      • 2014-12-29 36334, 2014

      • Gentlecat joined the channel
      • 2014-12-29 36329, 2014

      • ruaok pops in from #31c3 and goes some code reviews for Gentlecat
      • 2014-12-29 36359, 2014

      • Gentlecat
        nice :)
      • 2014-12-29 36346, 2014

      • ruaok
        two down
      • 2014-12-29 36301, 2014

      • ruaok
        I forget, are editor names in mb still case sensitive?
      • 2014-12-29 36312, 2014

      • ruaok
        or did that go away with NGS?
      • 2014-12-29 36320, 2014

      • Gentlecat
        I don't think so
      • 2014-12-29 36349, 2014

      • Gentlecat
        based on what I see when I use it
      • 2014-12-29 36337, 2014

      • ruaok
        that sounds about right.
      • 2014-12-29 36354, 2014

      • ruaok
        ok, all done done meb stuff
      • 2014-12-29 36318, 2014

      • ruaok
        Gentlecat: I think I’ve addressed all the issues that might be blocking you.
      • 2014-12-29 36345, 2014

      • ruaok
        aside from the various PRs for ab-server. I’ll deal with those next year.
      • 2014-12-29 36343, 2014

      • Gentlecat
        these are unfinished anyway
      • 2014-12-29 36320, 2014

      • ruaok nods
      • 2014-12-29 36331, 2014

      • ruaok
        I’d like to finish the cover art one by moving it to JS.
      • 2014-12-29 36331, 2014

      • Gentlecat
        is there anything else we need to do with meb apart from stuff at https://github.com/metabrainz/metabrainz.org/issu…
      • 2014-12-29 36324, 2014

      • ruaok
        Not right now. Once I start generating content for the site, we’ll find new things that won’t flow right, work right etc.
      • 2014-12-29 36332, 2014

      • ruaok
        but until then, I can’t really tell.
      • 2014-12-29 36345, 2014

      • Gentlecat
        ok
      • 2014-12-29 36355, 2014

      • ruaok
        I’m going to start adding content to the site first week of jan, after I get home.
      • 2014-12-29 36316, 2014

      • D4RK-PH0ENiX joined the channel
      • 2014-12-29 36326, 2014

      • D4RK-PH0ENiX joined the channel
      • 2014-12-29 36301, 2014

      • ariscop joined the channel
      • 2014-12-29 36302, 2014

      • Julior joined the channel
      • 2014-12-29 36305, 2014

      • ruaok joined the channel
      • 2014-12-29 36348, 2014

      • JesseW joined the channel
      • 2014-12-29 36335, 2014

      • yeeeargh joined the channel
      • 2014-12-29 36339, 2014

      • ruaok joined the channel
      • 2014-12-29 36324, 2014

      • aron_kexp joined the channel
      • 2014-12-29 36326, 2014

      • ruaok joined the channel
      • 2014-12-29 36345, 2014

      • demonimin_ joined the channel