#musicbrainz-devel

/

      • bitmap
      • 2014-02-17 04856, 2014

      • dufferzafar
        why do I have to install VC++, to compile C Extensions...
      • 2014-02-17 04808, 2014

      • dufferzafar
        can't I just get those extension from someone else
      • 2014-02-17 04823, 2014

      • dufferzafar
        and go by having fun in python (just a random though) ...
      • 2014-02-17 04859, 2014

      • dufferzafar
        I mean, I'm guessing that most of the codebase must be python, right?
      • 2014-02-17 04802, 2014

      • luks
        you can copy the dlls from the picard installer
      • 2014-02-17 04811, 2014

      • bitmap
        iirc the C extension is necessary for string comparisons
      • 2014-02-17 04844, 2014

      • luks
        yep, copy that .pyd to picard/utils (I think that's how it's called) and it should work
      • 2014-02-17 04800, 2014

      • luks
        then you just need plain python with pyqt4 and mutagen installed
      • 2014-02-17 04807, 2014

      • dufferzafar
        wooohoooo
      • 2014-02-17 04855, 2014

      • dufferzafar
        I am actually on a capped bandwidth connection, so downloading huge stuff is not my game :'(
      • 2014-02-17 04858, 2014

      • luks
        you will not be able to build an installer using that, but you should be fine just running picard
      • 2014-02-17 04841, 2014

      • dufferzafar
        what do these .pyd files contain? I mean, code specific to which part of picard?
      • 2014-02-17 04813, 2014

      • luks
      • 2014-02-17 04851, 2014

      • luks
        there used to be more of them, but we have only one C extension now
      • 2014-02-17 04820, 2014

      • luks
        it's a code to compare two strings for similarity
      • 2014-02-17 04837, 2014

      • dufferzafar
        yeah, I read about it some time ago (the wiki page actually)
      • 2014-02-17 04849, 2014

      • dufferzafar
        got only half of it..
      • 2014-02-17 04823, 2014

      • dufferzafar
        why in C? this could've been just as easily implemented in python?
      • 2014-02-17 04830, 2014

      • dufferzafar
        speed?
      • 2014-02-17 04836, 2014

      • luks
        yes, speed
      • 2014-02-17 04851, 2014

      • luks
        it could be implemented in python as a backup, but there is a very large speed difference
      • 2014-02-17 04853, 2014

      • dufferzafar
        picard must be using this algo, to compute differences between the tags in file and tags on db, right?
      • 2014-02-17 04809, 2014

      • luks
        yes
      • 2014-02-17 04800, 2014

      • luks
        I actually considered adding a backup python code for the algorithm, so that it can run without any compiling for development purposes
      • 2014-02-17 04815, 2014

      • luks
        it's not hard, but I never felt motivated enough :)
      • 2014-02-17 04821, 2014

      • dufferzafar
        it's just an algorithm, the c code could be easily converted to python (if I'm not wrong).
      • 2014-02-17 04830, 2014

      • luks
        yes, it is
      • 2014-02-17 04840, 2014

      • luks
        you could probably replace it with http://hetland.org/coding/python/levenshtein.py for example
      • 2014-02-17 04854, 2014

      • dufferzafar
        sweet!
      • 2014-02-17 04801, 2014

      • luks
        not sure if there aren't some extra tweeks in the C version, but it doesn't matter much
      • 2014-02-17 04822, 2014

      • dufferzafar
        yeah, we could use the python version for dev purposes..
      • 2014-02-17 04831, 2014

      • dufferzafar
        and then deploy with the C version
      • 2014-02-17 04832, 2014

      • dufferzafar
        umm... I'm not sure if this is a bug, but I'm unable to resize the treeview on the right in the Options pane on picard.
      • 2014-02-17 04859, 2014

      • luks
        that's a kind of bug
      • 2014-02-17 04806, 2014

      • luks
        if you resize the whole window it will work
      • 2014-02-17 04823, 2014

      • dufferzafar
        yeah, odd...
      • 2014-02-17 04829, 2014

      • dufferzafar
        bug with Qt or something?
      • 2014-02-17 04836, 2014

      • luks
        the right part got too big and it's blocking the left one to resize
      • 2014-02-17 04809, 2014

      • luks
        we should see what needs to be so wide in some of the right side panels
      • 2014-02-17 04830, 2014

      • bitmap
        I think zas looked into that and found it was the checkboxes
      • 2014-02-17 04803, 2014

      • bitmap
        or the checkbox labels. something like that
      • 2014-02-17 04820, 2014

      • bitmap
      • 2014-02-17 04835, 2014

      • dufferzafar
        is there a designer available for designing GUIs in PyQt?
      • 2014-02-17 04855, 2014

      • ohrstrom joined the channel
      • 2014-02-17 04816, 2014

      • luks
        yes, you can use the standard Qt tools
      • 2014-02-17 04852, 2014

      • luks
        I'm not sure if that's installed directly with PyQt
      • 2014-02-17 04800, 2014

      • dufferzafar
        I've not worked with qt honestly..
      • 2014-02-17 04818, 2014

      • luks
        I think that when installing PyQt, it asks you whether to install the Qt Designer
      • 2014-02-17 04842, 2014

      • luks
        there are some .ui files in the picard repo
      • 2014-02-17 04859, 2014

      • luks
        and there is a function in setup.py to convert them to Python code
      • 2014-02-17 04824, 2014

      • luks
        all the options are done with .ui files
      • 2014-02-17 04806, 2014

      • dufferzafar
        so, first I use the designer and create .ui files
      • 2014-02-17 04819, 2014

      • dufferzafar
        and then convert them to py code?
      • 2014-02-17 04849, 2014

      • luks
        yep
      • 2014-02-17 04829, 2014

      • dufferzafar
        will we be moving to pyqt5 ?
      • 2014-02-17 04808, 2014

      • luks
        who knows :)
      • 2014-02-17 04831, 2014

      • dufferzafar
        I don't see any ROADMAP file in th repo, what are some future updates?
      • 2014-02-17 04842, 2014

      • dufferzafar
        apart from fixing bugs, obviously?
      • 2014-02-17 04807, 2014

      • bitmap
        heh, the roadmap is basically "whatever people submit patches for"
      • 2014-02-17 04827, 2014

      • dufferzafar
        ha ha !
      • 2014-02-17 04834, 2014

      • dufferzafar
        you could steal some functionality from another tool I use: MP3Tag..
      • 2014-02-17 04842, 2014

      • luks
        picard is not a very active project
      • 2014-02-17 04857, 2014

      • luks
        zas recently brought some life to it, but apart from that it's mostly just bug fixes
      • 2014-02-17 04815, 2014

      • luks
        if even those
      • 2014-02-17 04827, 2014

      • dufferzafar
        sounds depressing..
      • 2014-02-17 04812, 2014

      • reosarevok
        heh
      • 2014-02-17 04820, 2014

      • reosarevok
        Well, it is a project that works quite nicely
      • 2014-02-17 04843, 2014

      • reosarevok
        So it's not as bad as it sounds
      • 2014-02-17 04840, 2014

      • dufferzafar
        is there a command I can use in a picard pulgin to send the output to log, something akin to console.log() ?
      • 2014-02-17 04825, 2014

      • bitmap
        iirc 'from picard import log' and then 'log.debug("foo")'
      • 2014-02-17 04859, 2014

      • dufferzafar
        lemme check
      • 2014-02-17 04801, 2014

      • dufferzafar
        also, why does picard create those .pyo files per plugin?
      • 2014-02-17 04815, 2014

      • dufferzafar
        I don't think it worked...
      • 2014-02-17 04835, 2014

      • dufferzafar
        when is a plugin code exectued?
      • 2014-02-17 04854, 2014

      • dufferzafar
        once I add a song? when I do a lookup?
      • 2014-02-17 04803, 2014

      • dufferzafar
        or when I save the correct tags?
      • 2014-02-17 04827, 2014

      • bitmap
        depending on what the metadata processor is registered for, it'll execute when the metadata is loaded (i.e. downloaded from the MB web service)
      • 2014-02-17 04816, 2014

      • ijabz joined the channel
      • 2014-02-17 04835, 2014

      • ijabz
        Could anyone tell me what prompted Picard to change how Release Status and Type are stored in Vorbis comments
      • 2014-02-17 04837, 2014

      • ijabz
      • 2014-02-17 04844, 2014

      • ijabz
        Only just found about this
      • 2014-02-17 04810, 2014

      • ruaok joined the channel
      • 2014-02-17 04820, 2014

      • ijabz joined the channel
      • 2014-02-17 04838, 2014

      • hawke1 joined the channel
      • 2014-02-17 04852, 2014

      • hawke1 joined the channel
      • 2014-02-17 04844, 2014

      • night199uk joined the channel
      • 2014-02-17 04835, 2014

      • bandtrace joined the channel
      • 2014-02-17 04825, 2014

      • ohrstrom joined the channel
      • 2014-02-17 04853, 2014

      • chirlu` joined the channel
      • 2014-02-17 04852, 2014

      • ijabz joined the channel
      • 2014-02-17 04821, 2014

      • h-darklowz joined the channel
      • 2014-02-17 04834, 2014

      • chirlu`
        ruaok: It's 20:03 UTC?
      • 2014-02-17 04822, 2014

      • reodroid joined the channel
      • 2014-02-17 04817, 2014

      • warp
        indeed!
      • 2014-02-17 04822, 2014

      • reosarevok joined the channel
      • 2014-02-17 04823, 2014

      • reosarevok joined the channel
      • 2014-02-17 04840, 2014

      • bitmap
        ijabz: I don't think they were ever saved as *_ALBUMSTATUS or *_ALBUMTYPE, only apev2 seems to use those variables
      • 2014-02-17 04809, 2014

      • bitmap
        so possibly the wiki page was just always wrong
      • 2014-02-17 04808, 2014

      • SultS joined the channel
      • 2014-02-17 04842, 2014

      • h-darklow_ joined the channel
      • 2014-02-17 04833, 2014

      • reosarevok
        So, while ruaok arrives
      • 2014-02-17 04843, 2014

      • reosarevok
        Anyone opposed to just dropping RDFa? :p
      • 2014-02-17 04832, 2014

      • warp is not opposed.
      • 2014-02-17 04821, 2014

      • chirlu` doesn’t know enough to have a well-founded opinion.
      • 2014-02-17 04850, 2014

      • bitmap is strongly in favor
      • 2014-02-17 04804, 2014

      • reosarevok
        So am I
      • 2014-02-17 04816, 2014

      • SultS joined the channel
      • 2014-02-17 04817, 2014

      • SultS joined the channel
      • 2014-02-17 04853, 2014

      • bitmap looks for better internet, bbiab
      • 2014-02-17 04821, 2014

      • reosarevok gets a lift home, bbiab too
      • 2014-02-17 04803, 2014

      • reodroid joined the channel
      • 2014-02-17 04846, 2014

      • reodroid2 joined the channel
      • 2014-02-17 04820, 2014

      • reodroid joined the channel
      • 2014-02-17 04800, 2014

      • reosarevok joined the channel
      • 2014-02-17 04805, 2014

      • ruaok saunters in
      • 2014-02-17 04810, 2014

      • ruaok
        whoops.
      • 2014-02-17 04815, 2014

      • ruaok
        sorry everyone.
      • 2014-02-17 04826, 2014

      • warp
        timezones?
      • 2014-02-17 04829, 2014

      • ruaok
        I got carried away. With:
      • 2014-02-17 04839, 2014

      • ruaok
        1) Flossing my pet hippo
      • 2014-02-17 04843, 2014

      • ruaok
        2) Cooking dinner
      • 2014-02-17 04850, 2014

      • ruaok
        3) Caring for mother theresa.
      • 2014-02-17 04857, 2014

      • ruaok
        Which one was it?
      • 2014-02-17 04805, 2014

      • nikki
        1
      • 2014-02-17 04826, 2014

      • bitmap
        1 & 3 simultaneously
      • 2014-02-17 04852, 2014

      • ruaok snickers
      • 2014-02-17 04801, 2014

      • reosarevok
        Your pet hippo is called Mother Theresa?
      • 2014-02-17 04811, 2014

      • reosarevok
        That's not respectful, ruaok
      • 2014-02-17 04813, 2014

      • reosarevok
        Tsk!
      • 2014-02-17 04817, 2014

      • reosarevok
        Poor hippo
      • 2014-02-17 04821, 2014

      • ruaok
        lol. :)
      • 2014-02-17 04847, 2014

      • nikki
        we decided in your absense to remove rdfa, hopefully that's what you were planning to say :P
      • 2014-02-17 04856, 2014

      • reosarevok
        Indeed
      • 2014-02-17 04806, 2014

      • ruaok
        well, yea.
      • 2014-02-17 04813, 2014

      • reosarevok read it as "in your adsense"
      • 2014-02-17 04821, 2014

      • ruaok
        I was going to throw out the suggestion that we "disable" it somehow and see who screams.
      • 2014-02-17 04831, 2014

      • reosarevok
        Proposal accepted
      • 2014-02-17 04833, 2014

      • nikki
        don't we have a disable switch for it anyway?
      • 2014-02-17 04833, 2014

      • bitmap
        I can alert all the userscript authors, at least
      • 2014-02-17 04833, 2014

      • reosarevok
        Next!
      • 2014-02-17 04801, 2014

      • ruaok
        I wonder if there should be one final blog post about it.
      • 2014-02-17 04812, 2014

      • warp
        I think it does deserve a blog post with a "we're going to disable it in X weeks" warning.
      • 2014-02-17 04814, 2014

      • reosarevok
        Sure, why not
      • 2014-02-17 04818, 2014

      • nikki
        we could disable it today while we work on nuking it all :P
      • 2014-02-17 04822, 2014

      • reosarevok
        "We're going to disable this as soon as we can remove it all"
      • 2014-02-17 04844, 2014

      • reosarevok
        "Stop using it fast, if you're using it (and your fault for not telling us earlier)"
      • 2014-02-17 04848, 2014

      • nikki
        to be honest, we posted months ago and nobody was willing to admit to using it
      • 2014-02-17 04806, 2014

      • nikki
        if they're going to miss it, they should've spoken up sooner
      • 2014-02-17 04835, 2014

      • ruaok
        yeah.