#musicbrainz

/

      • alus
        what does "Error: Cannot connect to the signature server." mean?
      • (not that I can't read the statement, but how do I go about addressing it?)
      • ruaok|coding
        ruaok|coding is now known as ruaok
      • ruaok
        are you behind a proxy?
      • alus
        no, NAT.
      • (and it used to work fine.. a few days ago it stopped)
      • ruaok
        Hmm. That is weird.
      • alus
        Yup.
      • while I'm here, I might as well mention some of the Disturbing 100% false positives I've had.
      • ruaok
        Eeek.
      • alus
        the TRM must not be unique enough
      • ruaok
        we have the latest and greatest kernel ready to roll, but that requires a reboot..
      • alus
        why wait? ;)
      • ruaok
        Sigh.
      • That server is maxxed out at 1.5Gb.
      • alus
        oh, one more thing: in the naming scheme I'd really like to be able to says something like: %artist\%album\%num. %track
      • as-is it drops the \'s and .'s
      • probably because it'll be a pain to create the directories and process that intelligently - but a man can dream, can't he?
      • ruaok
        \ is a reserved filesystem character.
      • Oh, you mean subdirs?
      • Yeah, thats in the todo list.
      • alus
        yeah
      • oh, cool.
      • meanwhile, I wrote a handy perl script :)
      • djce
        ruaok: What does 'sigserver' do exactly?
      • alus
        speaking of - can I interface with the musicbrainz database via perl?
      • ruaok
        alus: yes.
      • alus
        oh boy!
      • ruaok
        Sigserver correlates the acousting fingerprint data into TRM ids
      • djce
        I thought that was 'gateway'
      • ruaok
        It does multidimensional indexing/clustering.
      • no.
      • djce
        sigserver eats a *lot* of memory, I think.
      • ruaok
        Gateway marshalls the port 80 request to the sigserver which runs on port 4447
      • djce
        I see.
      • ruaok
        Pre-set that way on purpose.
      • Its probably too much.
      • Maybe we can get Chutt to crank it down a bit.
      • djce
        What might the effect be? Slower TRM generation?
      • ruaok
        what can we do to optimize that slow lookup count query?
      • alus
        ruaok: has someone made a perl module? where can I find information on this?
      • ruaok
        not entirely certain.
      • They have it tuned for max performance which might be taking a hit on the rest of the system performance.
      • djce
        slow query log: most of the queries shouldn't be slow at all - good indexes etc. Hence I suspect memory starvation.
      • ruaok
        alus: download the libmusicbrainz from CVS.
      • the update queries are ASS slow.
      • djce
        Once memory starvation goes away, the log will then only contain queries which are actually a problem
      • ruaok
        Even when the machine has lots of space.
      • memory, that is.
      • djce
        What, like now you mean?
      • ruaok
        no, like on the staging server.
      • not much going on but doing an update to a single row takes DAYS!
      • djce
        Yes. Not good at all.
      • ruaok
        I want a new server for the DB along.
      • But we can't afford the extra $50/month.
      • soccos
        alus: musicbrainz modules are on CPAN
      • djce
        That's the hosting fee?
      • ruaok
        yup..
      • Nice, eh?
      • have you checked out the performance of the TRM update on your local machine to get an idea of its speed?
      • Its not pretty.
      • djce
        How is Chutt on optimizing memory use? I've got hardly a clue in that area ...
      • What, that single SQL statement?
      • soccos
        ruaok: why don't you auction a new haircut on ebay?
      • ruaok
        yea
      • djce
        Or the whole TRM request?
      • phidauex
        you got p2p shaved into your head, didn't you?
      • or is that not done yet?
      • ruaok
        yea, that is old hat. google for 'mayhem chaos hair' to see it.
      • phidauex
        ok, i think i've seen pictures
      • now that i think about it
      • ruaok
        soccos: I don't have time to set that up right now...
      • alus
        soccos: what's it called?
      • ruaok
        djce: I was referring only to the update query
      • soccos
        just search for Musicbrainz alus
      • ruaok
        djce: lemme mail chutt and ask him;
      • verus has quit
      • ruaok is now known as ruaok|coding
      • soccos
        is MusicBrainz::* with a 'B' the best namespace?
      • djce
        In that it's named after the product, yes. Why not?
      • soccos
        I thought Perl namespaces didn't do camel case (ironically)
      • whatever
      • real
        real (real@h65-222-106-121.fl.shawcable.net) has joined #musicbrainz
      • djce
        I think the only rule is not to use all lower case - that's reserved by Perl itself.
      • soccos
        fair enough
      • phidauex
        i'm all for camel case
      • it reminds me of wiki's and Cocoa
      • both of which are pleasant
      • soccos realises he has a CPAN module with a camel case namespace ;-)
      • heh ;)
      • djce
        :-)
      • Catchy name for it, too. I haven't heard it called that before.
      • phidauex
        oh emoticon, is there no emotion you are not equipped to emulate?
      • soccos
        there's an argument that everything Perl should be camel case
      • phidauex
        based on anything more than the fact that there is a camel on the perl book?
      • I think it makes code pretty readable
      • alus wonders if libmusicbrainz2 will compile on cygwin
      • soccos
        no, nothing more than that :)
      • alus "Untested"
      • go on, you know you want to :)
      • phidauex
        cfcreateurlbyaddingpercentescapes or CFCreateURLByAddingPercentEscapes
      • i choose #2
      • alus
        2
      • soccos
        this_is_the_perl_way
      • phidauex
        that_takes_to_much_time
      • soccos
        not_if_you_can_touch_type
      • phidauex
        it takes two strokes to generate an underscore
      • shift -
      • however, camel case is just like normal writing, cept' you leave out the space
      • soccos
        you still have to shift though
      • phidauex
        if you count the shift-letter as two strokes, then its the same as normal writing
      • the_perl_way takes 14 strokes
      • soccos
        I'd never really thought about it but I think the underscores is more readable
      • phidauex
        thePerlWay takes 12
      • i suppose they are both pretty readable
      • soccos
        better than all lowercase
      • 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
      • i mean, when you are already dealing with things like initializeWithURLByRemovingStandardPercentEscapes
      • writing it as initialize_with_url_by_removing_standard_percent_escapes is just getting nuts
      • soccos
        maybe the object model is wrong
      • 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
      • 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
      • soccos
        wow Sander did a good job with the Perl bindings
      • I don't suppose any Perl is allowed in building wikipedia pages
      • (or any other binding for that matter)?
      • I was thinking it would be pretty easy to automate adding MB links that way
      • djce
        g'nite all
      • soccos
        bye
      • djce has quit
      • soccos is now known as soccos|away
      • alus
        hm, libmusicbrainz seemed to install fine, but the Client perl module failed trying to access it
      • (on cygwin)
      • soccos|away
        soccos|away is now known as soccos
      • soccos
        sander just release 0.06
      • hasn't hit my mirror yet
      • soccos is now known as soccos|away
      • SvanZoest
        SvanZoest (~sander@rietveld.vanzoest.com) has joined #musicbrainz
      • mjflick
        cygwin ;p
      • soccos|away
        soccos|away is now known as soccos
      • soccos
        Nice Perl bindings SvanZoest
      • SvanZoest
        thanks. Let me know how to make them better. :)
      • ruaok|coding has quit
      • oard & Brew Sandwich Shop1212 Camino Del Mar, Del Mar858-481-1021
      • hmm.. sandwiches. :)
      • soccos
        hmm ... dinner
      • soccos is now known as soccos|away
      • phidauex
        sandwiches
      • sound good.
      • sandwiches and beer
      • Contortion has quit