#musicbrainz-devel

/

      • aCiD2
        plus i'm a sucker for trying new stuff out
      • 2010-01-07 00726, 2010

      • aCiD2
        homebrew feels a bit more lightweight too, and I like that
      • 2010-01-07 00753, 2010

      • ruaok
        well, I've got my macports working cleanly, so I'll stick with that.
      • 2010-01-07 00709, 2010

      • aCiD2
        yea, it's not particularly fun moving from macports to something else
      • 2010-01-07 00710, 2010

      • ruaok
        it now even has support for microcontroller programming. (avr)
      • 2010-01-07 00725, 2010

      • aCiD2
        I don't have a lot of stuff in macports, just postgres and irssi, so I didn't have a huge amount to move
      • 2010-01-07 00729, 2010

      • ruaok
        which is fun. I'm progamming a geeky necklace for luciddrmr
      • 2010-01-07 00739, 2010

      • aCiD2
        ooo, nice
      • 2010-01-07 00744, 2010

      • aCiD2
        i did some microcontroller programming
      • 2010-01-07 00751, 2010

      • aCiD2
        and hated it :P are you working in an assembly language?
      • 2010-01-07 00704, 2010

      • ruaok
        uc, resistor, led, switch. put the necklace on to turn it on. :)
      • 2010-01-07 00708, 2010

      • ruaok
        no. C.
      • 2010-01-07 00712, 2010

      • aCiD2
        ah, i could handle that
      • 2010-01-07 00722, 2010

      • ruaok
        on tuesday, I was in geek heaven.
      • 2010-01-07 00738, 2010

      • ruaok
        programming MB (very high level) and programming PWM LEDs (very low level)
      • 2010-01-07 00701, 2010

      • ruaok
        and a couple of other projects thrown into the mix. it been a while since I hacked all out. :)
      • 2010-01-07 00744, 2010

      • aCiD2
        haha, nice
      • 2010-01-07 00705, 2010

      • aCiD2
        woot, nearing 100% tests passing
      • 2010-01-07 00723, 2010

      • ruaok
        and the dichotomy between.. Turn this LED on vs download this entire document as basic primitives of these projects. awesome.
      • 2010-01-07 00714, 2010

      • aCiD2
        cool, the perl debugger just got stuck in recursion while dumping a variable
      • 2010-01-07 00700, 2010

      • navap
        aCiD2: So what do you suggest I do regarding the hover colours?
      • 2010-01-07 00721, 2010

      • navap
        I created a small mockup of what I would like them to look like, http://www.webdevout.net/test?02w&raw
      • 2010-01-07 00730, 2010

      • aCiD2
        navap: I'd like to find someone to make the decision
      • 2010-01-07 00731, 2010

      • aCiD2
        maybe ruaok can
      • 2010-01-07 00742, 2010

      • aCiD2
        someone who is either of us that is
      • 2010-01-07 00750, 2010

      • ruaok
      • 2010-01-07 00727, 2010

      • aCiD2
        holy shit
      • 2010-01-07 00731, 2010

      • aCiD2
        i didn't realise it was that bad here
      • 2010-01-07 00728, 2010

      • ruaok
        hmmm. I think I should remove myself from this decsion as well.
      • 2010-01-07 00734, 2010

      • ruaok
        I can't be objective about orange. :)
      • 2010-01-07 00746, 2010

      • navap
        heh
      • 2010-01-07 00703, 2010

      • ruaok
        post to mb-devel or mb-users and see what chaos ensues
      • 2010-01-07 00738, 2010

      • ruaok
        aCiD2: is /freedb/import/<freedb id> supposed to work?
      • 2010-01-07 00747, 2010

      • ruaok
        ah. /freedb/import/?catid=2a123813
      • 2010-01-07 00711, 2010

      • ruaok
        how do I write a uri_for_action for that?
      • 2010-01-07 00735, 2010

      • aCiD2
        freedb importing hasn't been written
      • 2010-01-07 00752, 2010

      • aCiD2
        but it would be uri_for_action('/freedb/import', { catid => $id })
      • 2010-01-07 00757, 2010

      • ruaok
        what is all the stuff in MusicBrainz::Server::Controller::FreeDB then?
      • 2010-01-07 00704, 2010

      • aCiD2
        TemplateToolkit branch stuff
      • 2010-01-07 00709, 2010

      • ruaok
        ah.
      • 2010-01-07 00714, 2010

      • aCiD2
        that's been deleted in my "destroy old crud" branch that's in review
      • 2010-01-07 00715, 2010

      • ruaok
        well, I don't care to touch that right now.
      • 2010-01-07 00719, 2010

      • davi_alexandre joined the channel
      • 2010-01-07 00759, 2010

      • davi_alexandre
        hi!
      • 2010-01-07 00715, 2010

      • davi_alexandre
        can someone help me with python-musicbrainz2 lib?
      • 2010-01-07 00735, 2010

      • aCiD2
        davi_alexandre: fire away!
      • 2010-01-07 00745, 2010

      • aCiD2
        though our python developers are asleep now
      • 2010-01-07 00701, 2010

      • davi_alexandre
        =D
      • 2010-01-07 00741, 2010

      • davi_alexandre
        i'm trying to use TrackFilter class to get tracks from database
      • 2010-01-07 00701, 2010

      • davi_alexandre
        but i'm having problem with the query parameter
      • 2010-01-07 00740, 2010

      • davi_alexandre
        the documentation says i can use a query in lucene syntax
      • 2010-01-07 00747, 2010

      • davi_alexandre
        but it didn't work
      • 2010-01-07 00702, 2010

      • aCiD2
        hrm
      • 2010-01-07 00708, 2010

      • aCiD2
        someone asked something similar a while back...
      • 2010-01-07 00709, 2010

      • aCiD2
        one moment
      • 2010-01-07 00728, 2010

      • davi_alexandre
        seens like the lib is enconding the query
      • 2010-01-07 00727, 2010

      • aCiD2
        hrm, from what I can see the query doesn't get any special treatment
      • 2010-01-07 00756, 2010

      • aCiD2
        davi_alexandre: can you paste your code?
      • 2010-01-07 00743, 2010

      • davi_alexandre
        filter = TrackFilter(query='tnum:(2) artist(them crooked vultures)')
      • 2010-01-07 00757, 2010

      • davi_alexandre
        results = Query().getTracks(filter)
      • 2010-01-07 00706, 2010

      • davi_alexandre
        no errors
      • 2010-01-07 00716, 2010

      • davi_alexandre
        but the results are not the expected
      • 2010-01-07 00729, 2010

      • davi_alexandre
        the query sent to the server is something like http://musicbrainz.org/ws/1/track/?query=tnum%3A%…
      • 2010-01-07 00752, 2010

      • davi_alexandre
        so, the server interpret only the tnum parameter
      • 2010-01-07 00705, 2010

      • davi_alexandre
        for it to work, the query should be http://musicbrainz.org/ws/1/track/?query=tnum:(2)…
      • 2010-01-07 00725, 2010

      • davi_alexandre
        i've checked, and picard sends the query in this format
      • 2010-01-07 00729, 2010

      • aCiD2
        Hrm, i think you're right
      • 2010-01-07 00746, 2010

      • aCiD2
        i'm pretty sure picard uses python-musicbrainz2 though :/
      • 2010-01-07 00701, 2010

      • outsidecontext
        aCiD2, no, it doesn't use pymb2
      • 2010-01-07 00705, 2010

      • aCiD2
        outsidecontext: no?
      • 2010-01-07 00709, 2010

      • aCiD2
        and I didn't thik you were still up :P
      • 2010-01-07 00710, 2010

      • outsidecontext
        no
      • 2010-01-07 00733, 2010

      • outsidecontext
        i wanted to go to bed 2 hours ago :)
      • 2010-01-07 00747, 2010

      • aCiD2
        heh :P
      • 2010-01-07 00753, 2010

      • davi_alexandre
        hehehe =D
      • 2010-01-07 00754, 2010

      • aCiD2
        do you have any experience with pymb?
      • 2010-01-07 00704, 2010

      • davi_alexandre
        i've checked the lib files
      • 2010-01-07 00707, 2010

      • aCiD2
        i think you've found a bug davi_alexandre, might be worth contacting mathias
      • 2010-01-07 00713, 2010

      • davi_alexandre
        the webservice.py file
      • 2010-01-07 00732, 2010

      • davi_alexandre
        it uses the urllib.urlencode to build the query
      • 2010-01-07 00735, 2010

      • aCiD2
        yea
      • 2010-01-07 00754, 2010

      • davi_alexandre
        how do i report a bug?
      • 2010-01-07 00702, 2010

      • aCiD2
        if that url is valid, then it's our server that's in the wrong
      • 2010-01-07 00719, 2010

      • aCiD2
        davi_alexandre: best to email musicbrainz-devel [at lists.musicbrainz.org]
      • 2010-01-07 00725, 2010

      • aCiD2
        i think you need to subscribe before you can post
      • 2010-01-07 00740, 2010

      • davi_alexandre
        i will, thanks!!!
      • 2010-01-07 00755, 2010

      • aCiD2
        sorry i couldn't be more helpful, good luck :)
      • 2010-01-07 00758, 2010

      • davi_alexandre
        i think it's a server problem, it should interpret both forms
      • 2010-01-07 00725, 2010

      • davi_alexandre
        you helped me a lot!
      • 2010-01-07 00757, 2010

      • aCiD2
        yea
      • 2010-01-07 00712, 2010

      • aCiD2
        we're doing massive server dev atm though, i'm not sure we'll be able to push out a fix for that any time too soon
      • 2010-01-07 00740, 2010

      • outsidecontext
        davi_alexandre, aren't you just missing a colon in your code?
      • 2010-01-07 00708, 2010

      • outsidecontext
        filter = TrackFilter(query='tnum:(2) artist:(them crooked vultures)')
      • 2010-01-07 00713, 2010

      • davi_alexandre
        outsidecontext, no, in my file is ok ;P
      • 2010-01-07 00717, 2010

      • davi_alexandre
        tks people! bye!
      • 2010-01-07 00719, 2010

      • ruaok joined the channel
      • 2010-01-07 00722, 2010

      • outsidecontext
        mmh, i can't see what should be wrong with the query.
      • 2010-01-07 00739, 2010

      • outsidecontext
        just checked in rbrainz, it generates exactly the same query, and it looks fine
      • 2010-01-07 00749, 2010

      • aCiD2
        encoded the same?