#musicbrainz

/

      • alus
        what does "Error: Cannot connect to the signature server." mean?
      • 2003-03-01 06049, 2003

      • alus
        (not that I can't read the statement, but how do I go about addressing it?)
      • 2003-03-01 06001, 2003

      • ruaok|coding
        ruaok|coding is now known as ruaok
      • 2003-03-01 06010, 2003

      • ruaok
        are you behind a proxy?
      • 2003-03-01 06020, 2003

      • alus
        no, NAT.
      • 2003-03-01 06034, 2003

      • alus
        (and it used to work fine.. a few days ago it stopped)
      • 2003-03-01 06045, 2003

      • ruaok
        Hmm. That is weird.
      • 2003-03-01 06018, 2003

      • alus
        Yup.
      • 2003-03-01 06044, 2003

      • alus
        while I'm here, I might as well mention some of the Disturbing 100% false positives I've had.
      • 2003-03-01 06046, 2003

      • ruaok
        Eeek.
      • 2003-03-01 06054, 2003

      • alus
        the TRM must not be unique enough
      • 2003-03-01 06043, 2003

      • ruaok
        we have the latest and greatest kernel ready to roll, but that requires a reboot..
      • 2003-03-01 06059, 2003

      • alus
        why wait? ;)
      • 2003-03-01 06015, 2003

      • ruaok
        Sigh.
      • 2003-03-01 06022, 2003

      • ruaok
        That server is maxxed out at 1.5Gb.
      • 2003-03-01 06010, 2003

      • alus
        oh, one more thing: in the naming scheme I'd really like to be able to says something like: %artist\%album\%num. %track
      • 2003-03-01 06019, 2003

      • alus
        as-is it drops the \'s and .'s
      • 2003-03-01 06002, 2003

      • alus
        probably because it'll be a pain to create the directories and process that intelligently - but a man can dream, can't he?
      • 2003-03-01 06009, 2003

      • ruaok
        \ is a reserved filesystem character.
      • 2003-03-01 06020, 2003

      • ruaok
        Oh, you mean subdirs?
      • 2003-03-01 06025, 2003

      • ruaok
        Yeah, thats in the todo list.
      • 2003-03-01 06026, 2003

      • alus
        yeah
      • 2003-03-01 06030, 2003

      • alus
        oh, cool.
      • 2003-03-01 06039, 2003

      • alus
        meanwhile, I wrote a handy perl script :)
      • 2003-03-01 06053, 2003

      • djce
        ruaok: What does 'sigserver' do exactly?
      • 2003-03-01 06059, 2003

      • alus
        speaking of - can I interface with the musicbrainz database via perl?
      • 2003-03-01 06010, 2003

      • ruaok
        alus: yes.
      • 2003-03-01 06018, 2003

      • alus
        oh boy!
      • 2003-03-01 06029, 2003

      • ruaok
        Sigserver correlates the acousting fingerprint data into TRM ids
      • 2003-03-01 06039, 2003

      • djce
        I thought that was 'gateway'
      • 2003-03-01 06042, 2003

      • ruaok
        It does multidimensional indexing/clustering.
      • 2003-03-01 06046, 2003

      • ruaok
        no.
      • 2003-03-01 06006, 2003

      • djce
        sigserver eats a *lot* of memory, I think.
      • 2003-03-01 06006, 2003

      • ruaok
        Gateway marshalls the port 80 request to the sigserver which runs on port 4447
      • 2003-03-01 06014, 2003

      • djce
        I see.
      • 2003-03-01 06022, 2003

      • ruaok
        Pre-set that way on purpose.
      • 2003-03-01 06037, 2003

      • ruaok
        Its probably too much.
      • 2003-03-01 06048, 2003

      • ruaok
        Maybe we can get Chutt to crank it down a bit.
      • 2003-03-01 06007, 2003

      • djce
        What might the effect be? Slower TRM generation?
      • 2003-03-01 06013, 2003

      • ruaok
        what can we do to optimize that slow lookup count query?
      • 2003-03-01 06025, 2003

      • alus
        ruaok: has someone made a perl module? where can I find information on this?
      • 2003-03-01 06032, 2003

      • ruaok
        not entirely certain.
      • 2003-03-01 06054, 2003

      • ruaok
        They have it tuned for max performance which might be taking a hit on the rest of the system performance.
      • 2003-03-01 06003, 2003

      • djce
        slow query log: most of the queries shouldn't be slow at all - good indexes etc. Hence I suspect memory starvation.
      • 2003-03-01 06015, 2003

      • ruaok
        alus: download the libmusicbrainz from CVS.
      • 2003-03-01 06039, 2003

      • ruaok
        the update queries are ASS slow.
      • 2003-03-01 06042, 2003

      • djce
        Once memory starvation goes away, the log will then only contain queries which are actually a problem
      • 2003-03-01 06045, 2003

      • ruaok
        Even when the machine has lots of space.
      • 2003-03-01 06048, 2003

      • ruaok
        memory, that is.
      • 2003-03-01 06056, 2003

      • djce
        What, like now you mean?
      • 2003-03-01 06011, 2003

      • ruaok
        no, like on the staging server.
      • 2003-03-01 06044, 2003

      • ruaok
        not much going on but doing an update to a single row takes DAYS!
      • 2003-03-01 06056, 2003

      • djce
        Yes. Not good at all.
      • 2003-03-01 06027, 2003

      • ruaok
        I want a new server for the DB along.
      • 2003-03-01 06043, 2003

      • ruaok
        But we can't afford the extra $50/month.
      • 2003-03-01 06048, 2003

      • soccos
        alus: musicbrainz modules are on CPAN
      • 2003-03-01 06055, 2003

      • djce
        That's the hosting fee?
      • 2003-03-01 06003, 2003

      • ruaok
        yup..
      • 2003-03-01 06006, 2003

      • ruaok
        Nice, eh?
      • 2003-03-01 06015, 2003

      • ruaok
        have you checked out the performance of the TRM update on your local machine to get an idea of its speed?
      • 2003-03-01 06020, 2003

      • ruaok
        Its not pretty.
      • 2003-03-01 06031, 2003

      • djce
        How is Chutt on optimizing memory use? I've got hardly a clue in that area ...
      • 2003-03-01 06039, 2003

      • djce
        What, that single SQL statement?
      • 2003-03-01 06045, 2003

      • soccos
        ruaok: why don't you auction a new haircut on ebay?
      • 2003-03-01 06047, 2003

      • ruaok
        yea
      • 2003-03-01 06059, 2003

      • djce
        Or the whole TRM request?
      • 2003-03-01 06004, 2003

      • phidauex
        you got p2p shaved into your head, didn't you?
      • 2003-03-01 06007, 2003

      • phidauex
        or is that not done yet?
      • 2003-03-01 06030, 2003

      • ruaok
        yea, that is old hat. google for 'mayhem chaos hair' to see it.
      • 2003-03-01 06040, 2003

      • phidauex
        ok, i think i've seen pictures
      • 2003-03-01 06042, 2003

      • phidauex
        now that i think about it
      • 2003-03-01 06043, 2003

      • ruaok
        soccos: I don't have time to set that up right now...
      • 2003-03-01 06045, 2003

      • alus
        soccos: what's it called?
      • 2003-03-01 06009, 2003

      • ruaok
        djce: I was referring only to the update query
      • 2003-03-01 06012, 2003

      • soccos
        just search for Musicbrainz alus
      • 2003-03-01 06045, 2003

      • ruaok
        djce: lemme mail chutt and ask him;
      • 2003-03-01 06012, 2003

      • verus has quit
      • 2003-03-01 06005, 2003

      • ruaok
        ruaok is now known as ruaok|coding
      • 2003-03-01 06025, 2003

      • soccos
        is MusicBrainz::* with a 'B' the best namespace?
      • 2003-03-01 06030, 2003

      • djce
        In that it's named after the product, yes. Why not?
      • 2003-03-01 06059, 2003

      • soccos
        I thought Perl namespaces didn't do camel case (ironically)
      • 2003-03-01 06023, 2003

      • soccos
        whatever
      • 2003-03-01 06049, 2003

      • real
        real (real@h65-222-106-121.fl.shawcable.net) has joined #musicbrainz
      • 2003-03-01 06040, 2003

      • djce
        I think the only rule is not to use all lower case - that's reserved by Perl itself.
      • 2003-03-01 06058, 2003

      • soccos
        fair enough
      • 2003-03-01 06006, 2003

      • phidauex
        i'm all for camel case
      • 2003-03-01 06018, 2003

      • phidauex
        it reminds me of wiki's and Cocoa
      • 2003-03-01 06025, 2003

      • phidauex
        both of which are pleasant
      • 2003-03-01 06027, 2003

      • soccos realises he has a CPAN module with a camel case namespace ;-)
      • 2003-03-01 06034, 2003

      • phidauex
        heh ;)
      • 2003-03-01 06034, 2003

      • djce
        :-)
      • 2003-03-01 06000, 2003

      • djce
        Catchy name for it, too. I haven't heard it called that before.
      • 2003-03-01 06002, 2003

      • phidauex
        oh emoticon, is there no emotion you are not equipped to emulate?
      • 2003-03-01 06041, 2003

      • soccos
        there's an argument that everything Perl should be camel case
      • 2003-03-01 06059, 2003

      • phidauex
        based on anything more than the fact that there is a camel on the perl book?
      • 2003-03-01 06010, 2003

      • phidauex
        I think it makes code pretty readable
      • 2003-03-01 06015, 2003

      • alus wonders if libmusicbrainz2 will compile on cygwin
      • 2003-03-01 06015, 2003

      • soccos
        no, nothing more than that :)
      • 2003-03-01 06051, 2003

      • soccos
        alus "Untested"
      • 2003-03-01 06010, 2003

      • soccos
        go on, you know you want to :)
      • 2003-03-01 06019, 2003

      • phidauex
        cfcreateurlbyaddingpercentescapes or CFCreateURLByAddingPercentEscapes
      • 2003-03-01 06026, 2003

      • phidauex
        i choose #2
      • 2003-03-01 06029, 2003

      • alus
        2
      • 2003-03-01 06039, 2003

      • soccos
        this_is_the_perl_way
      • 2003-03-01 06059, 2003

      • phidauex
        that_takes_to_much_time
      • 2003-03-01 06008, 2003

      • soccos
        not_if_you_can_touch_type
      • 2003-03-01 06009, 2003

      • phidauex
        it takes two strokes to generate an underscore
      • 2003-03-01 06021, 2003

      • phidauex
        shift -
      • 2003-03-01 06033, 2003

      • phidauex
        however, camel case is just like normal writing, cept' you leave out the space
      • 2003-03-01 06048, 2003

      • soccos
        you still have to shift though
      • 2003-03-01 06055, 2003

      • phidauex
        if you count the shift-letter as two strokes, then its the same as normal writing
      • 2003-03-01 06021, 2003

      • phidauex
        the_perl_way takes 14 strokes
      • 2003-03-01 06027, 2003

      • soccos
        I'd never really thought about it but I think the underscores is more readable
      • 2003-03-01 06041, 2003

      • phidauex
        thePerlWay takes 12
      • 2003-03-01 06051, 2003

      • phidauex
        i suppose they are both pretty readable
      • 2003-03-01 06015, 2003

      • soccos
        better than all lowercase
      • 2003-03-01 06031, 2003

      • phidauex
        one benefit of camel case, at least in the cocoa frameworks, is that since most method names are incredibly long, the addition of underscores can really bloat out a line of code
      • 2003-03-01 06052, 2003

      • phidauex
        i mean, when you are already dealing with things like initializeWithURLByRemovingStandardPercentEscapes
      • 2003-03-01 06013, 2003

      • phidauex
        writing it as initialize_with_url_by_removing_standard_percent_escapes is just getting nuts
      • 2003-03-01 06059, 2003

      • soccos
        maybe the object model is wrong
      • 2003-03-01 06029, 2003

      • phidauex
        could be. some of the cocoa methods are very long. but that goes along with their philosophy of making it incredibly easy to use
      • 2003-03-01 06008, 2003

      • phidauex
        often if you want to do something, you can just guess, and 9 times out of 10 the method name you guessed will actually exist
      • 2003-03-01 06042, 2003

      • soccos
        wow Sander did a good job with the Perl bindings
      • 2003-03-01 06019, 2003

      • soccos
        I don't suppose any Perl is allowed in building wikipedia pages
      • 2003-03-01 06051, 2003

      • soccos
        (or any other binding for that matter)?
      • 2003-03-01 06009, 2003

      • soccos
        I was thinking it would be pretty easy to automate adding MB links that way
      • 2003-03-01 06014, 2003

      • djce
        g'nite all
      • 2003-03-01 06023, 2003

      • soccos
        bye
      • 2003-03-01 06028, 2003

      • djce has quit
      • 2003-03-01 06014, 2003

      • soccos
        soccos is now known as soccos|away
      • 2003-03-01 06021, 2003

      • alus
        hm, libmusicbrainz seemed to install fine, but the Client perl module failed trying to access it
      • 2003-03-01 06012, 2003

      • alus
        (on cygwin)
      • 2003-03-01 06025, 2003

      • soccos|away
        soccos|away is now known as soccos
      • 2003-03-01 06025, 2003

      • soccos
        sander just release 0.06
      • 2003-03-01 06006, 2003

      • soccos
        hasn't hit my mirror yet
      • 2003-03-01 06011, 2003

      • soccos
        soccos is now known as soccos|away
      • 2003-03-01 06013, 2003

      • SvanZoest
        SvanZoest (~sander@rietveld.vanzoest.com) has joined #musicbrainz
      • 2003-03-01 06010, 2003

      • mjflick
        cygwin ;p
      • 2003-03-01 06001, 2003

      • soccos|away
        soccos|away is now known as soccos
      • 2003-03-01 06013, 2003

      • soccos
        Nice Perl bindings SvanZoest
      • 2003-03-01 06003, 2003

      • SvanZoest
        thanks. Let me know how to make them better. :)
      • 2003-03-01 06015, 2003

      • ruaok|coding has quit
      • 2003-03-01 06010, 2003

      • SvanZoest
        oard & Brew Sandwich Shop1212 Camino Del Mar, Del Mar858-481-1021
      • 2003-03-01 06034, 2003

      • SvanZoest
        hmm.. sandwiches. :)
      • 2003-03-01 06013, 2003

      • soccos
        hmm ... dinner
      • 2003-03-01 06048, 2003

      • soccos
        soccos is now known as soccos|away
      • 2003-03-01 06008, 2003

      • phidauex
        sandwiches
      • 2003-03-01 06011, 2003

      • phidauex
        sound good.
      • 2003-03-01 06018, 2003

      • phidauex
        sandwiches and beer
      • 2003-03-01 06006, 2003

      • Contortion has quit