#metabrainz

/

      • samj1912
        but it just doesn't make sense to have so many related global variables and not put them under a class
      • 2018-01-28 02834, 2018

      • zas
        i was pondering on having a defaultdict with a namedtuple (since all those globals are defaultdict with shared keys)
      • 2018-01-28 02857, 2018

      • samj1912
        hmm, I was thinking of having a rate control class per api_helper
      • 2018-01-28 02801, 2018

      • samj1912
        since it makes sense
      • 2018-01-28 02817, 2018

      • samj1912
        not sure really
      • 2018-01-28 02823, 2018

      • zas
        so convert to class and instancy ?
      • 2018-01-28 02835, 2018

      • samj1912
        and we still dont handle ratecontrol when different methods have different rate limits
      • 2018-01-28 02802, 2018

      • samj1912
        zas: yes, it will also allow us to configure rate control easily for auth-api with better rate limits
      • 2018-01-28 02826, 2018

      • zas
        ok, i'll first rename (again) ;)
      • 2018-01-28 02828, 2018

      • samj1912
        let me know what you think
      • 2018-01-28 02840, 2018

      • samj1912
        lol, just rebase :P
      • 2018-01-28 02812, 2018

      • zas
        well, current use doesn't require a class, but i think it'd be useful to have usual class/instances too
      • 2018-01-28 02838, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02854, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02811, 2018

      • github joined the channel
      • 2018-01-28 02811, 2018

      • github
        [picard] samj1912 opened pull request #816: Optimize imports and follow PEP-8 (master...pep8imp) https://git.io/vNDBT
      • 2018-01-28 02811, 2018

      • github has left the channel
      • 2018-01-28 02815, 2018

      • HSOWA
        Freso! I got a very mean message from sigyn :C
      • 2018-01-28 02845, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-01-28 02825, 2018

      • d4rkie has quit
      • 2018-01-28 02813, 2018

      • zas
        alastairp: spike load is high, not sure what is going on, have a look please
      • 2018-01-28 02848, 2018

      • HSOWA
        this isn't cool
      • 2018-01-28 02833, 2018

      • Sophist-UK joined the channel
      • 2018-01-28 02803, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02813, 2018

      • d4rkie joined the channel
      • 2018-01-28 02805, 2018

      • D4RK-PH0ENiX has quit
      • 2018-01-28 02848, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02800, 2018

      • github joined the channel
      • 2018-01-28 02800, 2018

      • github
        [listenbrainz-server] paramsingh opened pull request #340: LB-285: Improve logging in listens dumps for user (master...LB-285) https://git.io/vND0C
      • 2018-01-28 02800, 2018

      • github has left the channel
      • 2018-01-28 02822, 2018

      • samj1912
        zas: is there something weird with the way your editor inserts spaces after `#` in comments
      • 2018-01-28 02833, 2018

      • samj1912
        pylint refuses to recognise them as a space
      • 2018-01-28 02855, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02805, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02811, 2018

      • samj1912
        zas: the spaces inserted in comments by your editor are `\xC2\xA0` instead of the usual `\x20`
      • 2018-01-28 02819, 2018

      • samj1912
        can you check what's up
      • 2018-01-28 02849, 2018

      • samj1912
      • 2018-01-28 02830, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-01-28 02812, 2018

      • d4rkie has quit
      • 2018-01-28 02840, 2018

      • D4RK-PH0ENiX has quit
      • 2018-01-28 02811, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-01-28 02856, 2018

      • D4RK-PH0ENiX has quit
      • 2018-01-28 02808, 2018

      • iliekcomputers
        alastairp: but the export would already be done inside the containers in docker
      • 2018-01-28 02824, 2018

      • iliekcomputers
        so the command prefix is just `flask`, instead of `python manage.py`
      • 2018-01-28 02855, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-01-28 02810, 2018

      • RashiSah[m]
        alastairp: evaluate.py showing "no pending datasets", even though status is "running" on local server. why is it so?
      • 2018-01-28 02803, 2018

      • alastairp
        RashiSah[m]: it has to be in state 'pending' for evaluate.py to process it
      • 2018-01-28 02843, 2018

      • alastairp
        zas: postgres using a lot of CPU, but otherwise not a lot that I can see
      • 2018-01-28 02856, 2018

      • alastairp
        not sure why. we have a huge database now, it's getting a bit out of hand I think
      • 2018-01-28 02828, 2018

      • alastairp
        iliekcomputers: yeah, that's true
      • 2018-01-28 02847, 2018

      • alastairp
        perhaps it's the idea of the 'flask' prefix, even for pure AB processing scripts that makes me feel weird
      • 2018-01-28 02824, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02820, 2018

      • alastairp
        iliekcomputers: any preference for separating AB commands behind an 'ab' command class?
      • 2018-01-28 02843, 2018

      • alastairp
        and other tools (hl extractor, dataset evaluator) behind another commndclass? or part of 'ab'?
      • 2018-01-28 02854, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02811, 2018

      • dpsak[m] joined the channel
      • 2018-01-28 02852, 2018

      • outsidecontext joined the channel
      • 2018-01-28 02830, 2018

      • zas
        samj1912: i doubt that's my editor (vim), can you point me at code having those ?
      • 2018-01-28 02847, 2018

      • samj1912
        zas: I recently corrected it in my latest commit
      • 2018-01-28 02853, 2018

      • samj1912
        for eg. see picard/disc.py
      • 2018-01-28 02802, 2018

      • samj1912
        the attribution text with your name
      • 2018-01-28 02807, 2018

      • zas
        i just did a test, and clearly there's no such character inserted
      • 2018-01-28 02849, 2018

      • samj1912
      • 2018-01-28 02802, 2018

      • samj1912
        weird, this particular line on my pc treats it as a nbsp
      • 2018-01-28 02825, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02837, 2018

      • zas
        yes, it was in a commit 5 years ago, may be something by this time, but atm i don't think my editor is inserting those characters, i'll recheck
      • 2018-01-28 02815, 2018

      • zas
        we should search/replace all those ofc
      • 2018-01-28 02847, 2018

      • samj1912
        I did
      • 2018-01-28 02801, 2018

      • samj1912
      • 2018-01-28 02832, 2018

      • zas
        i saw, but it is a bit huge to find all replacements
      • 2018-01-28 02856, 2018

      • samj1912
        I mean, I made all the replacements
      • 2018-01-28 02832, 2018

      • zas
        did you change the script generating picard/const/attributes.py ?
      • 2018-01-28 02838, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02801, 2018

      • suriv joined the channel
      • 2018-01-28 02826, 2018

      • zas
        samj1912: did you use autopep8 to ensure things you changed are preserved ?
      • 2018-01-28 02845, 2018

      • samj1912
        preserved as in?
      • 2018-01-28 02803, 2018

      • samj1912
        and no I did not change the scripts generating the files
      • 2018-01-28 02817, 2018

      • samj1912
        I should
      • 2018-01-28 02808, 2018

      • samj1912
        zas: I was finally able to use pyinstaller :D \o/
      • 2018-01-28 02812, 2018

      • samj1912
        it works on linux
      • 2018-01-28 02818, 2018

      • samj1912
        trying to port it to windows now
      • 2018-01-28 02837, 2018

      • github joined the channel
      • 2018-01-28 02837, 2018

      • github
        [picard] samj1912 opened pull request #817: [WIP] Use pyinstaller to package builds (master...pyinstaller) https://git.io/vND2W
      • 2018-01-28 02837, 2018

      • github has left the channel
      • 2018-01-28 02837, 2018

      • github joined the channel
      • 2018-01-28 02837, 2018

      • github
        [picard] yagyanshbhatia opened pull request #818: PICARD-1067: Visual bug after un-checking an installed plugin (master...PICARD-1067) https://git.io/vND2h
      • 2018-01-28 02837, 2018

      • github has left the channel
      • 2018-01-28 02806, 2018

      • mzfr joined the channel
      • 2018-01-28 02826, 2018

      • samj1912
        zas: managed to package an exe for windows https://ci.appveyor.com/api/buildjobs/8bw00k6e48v…
      • 2018-01-28 02835, 2018

      • samj1912
        now lets test if it is actually working
      • 2018-01-28 02840, 2018

      • samj1912
        anyone on windows here?
      • 2018-01-28 02850, 2018

      • zas
        not me ;)
      • 2018-01-28 02850, 2018

      • zas
        https://www.codacy.com/app/MetaBrainz/picard/pull… <--- Redefining built-in 'SyntaxError'
      • 2018-01-28 02810, 2018

      • zas
        may be renamed it to ScriptSyntaxError and get rid of that
      • 2018-01-28 02812, 2018

      • vishalchoudhary[
        samj1912: can test on Windows, have Windows on my spare laptop
      • 2018-01-28 02831, 2018

      • samj1912
        vishalchoudhary[: nvm
      • 2018-01-28 02837, 2018

      • samj1912
        borrowed one from my friend
      • 2018-01-28 02855, 2018

      • vishalchoudhary[
        samj1912: ok let me know if you need next time.
      • 2018-01-28 02814, 2018

      • naiveai joined the channel
      • 2018-01-28 02828, 2018

      • naiveai
        well, that's my nanodegree finally wrapped up
      • 2018-01-28 02805, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02836, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02821, 2018

      • Zastai joined the channel
      • 2018-01-28 02814, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02840, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02800, 2018

      • outsidecontext has quit
      • 2018-01-28 02830, 2018

      • outsidecontext joined the channel
      • 2018-01-28 02801, 2018

      • outsidecontext has quit
      • 2018-01-28 02844, 2018

      • Zastai
        does/will LB care about the user agent on WS requests (for rate limiting ec) the way MB does? (mainly so I know whether my C# API should require/allow one to be set)
      • 2018-01-28 02806, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02825, 2018

      • samj1912
        Sigh zas this whole packaging business is a hell hole :/
      • 2018-01-28 02836, 2018

      • samj1912
        Random window dll dependencies
      • 2018-01-28 02806, 2018

      • samj1912
        Would be nice if someone could help us with this
      • 2018-01-28 02835, 2018

      • SothoTalKer
        picard on windows?
      • 2018-01-28 02858, 2018

      • samj1912
        Yeah it works on pip
      • 2018-01-28 02812, 2018

      • samj1912
        But trying to package it... Sigh
      • 2018-01-28 02830, 2018

      • CardinalWolseley has quit
      • 2018-01-28 02858, 2018

      • samj1912
        Oh wait, I finally succeeded \o/
      • 2018-01-28 02844, 2018

      • SothoTalKer
        glad i could help :]
      • 2018-01-28 02844, 2018

      • github joined the channel
      • 2018-01-28 02844, 2018

      • github
        [picard-website] mineo opened pull request #109: Remove mention of picard_dev (master...no-picard-dev) https://git.io/vNDKY
      • 2018-01-28 02844, 2018

      • github has left the channel
      • 2018-01-28 02844, 2018

      • SothoTalKer
        if you have a non-pip build ready i can test it
      • 2018-01-28 02832, 2018

      • samj1912
        SothoTalker pushed the latest changes
      • 2018-01-28 02843, 2018

      • samj1912
        Will update appveyor in a while
      • 2018-01-28 02823, 2018

      • drsaunders joined the channel
      • 2018-01-28 02831, 2018

      • HSOWA has quit
      • 2018-01-28 02819, 2018

      • KassOtsimine joined the channel
      • 2018-01-28 02822, 2018

      • CardinalWolseley joined the channel
      • 2018-01-28 02802, 2018

      • Zastai has quit
      • 2018-01-28 02829, 2018

      • RashiSah[m]
        alastairp: getting "Recording not found" error here - http://0.0.0.0:8080/datasets/create# , although mbids are getting submitted and same mbid is showing recording details here - https://musicbrainz.org/recording/mbid as well.
      • 2018-01-28 02813, 2018

      • github joined the channel
      • 2018-01-28 02813, 2018

      • github
        [listenbrainz-server] paramsingh opened pull request #341: LB-270: Add documentation about ListenBrainz data dumps (master...listen-dumps-docs) https://git.io/vNDDd
      • 2018-01-28 02813, 2018

      • github has left the channel
      • 2018-01-28 02850, 2018

      • yvanzo joined the channel
      • 2018-01-28 02808, 2018

      • rsh joined the channel
      • 2018-01-28 02857, 2018

      • samj1912
      • 2018-01-28 02859, 2018

      • samj1912
        try this
      • 2018-01-28 02856, 2018

      • rsh7[m] joined the channel
      • 2018-01-28 02842, 2018

      • rsh has left the channel
      • 2018-01-28 02846, 2018

      • SothoTalKer
        samj1912: i will. does it use a different config location/name than 1.4.2? :)
      • 2018-01-28 02807, 2018

      • samj1912
        SothoTalKer: hmm, it doesn't seem to be working
      • 2018-01-28 02807, 2018

      • samj1912
        1 min
      • 2018-01-28 02815, 2018

      • SothoTalKer
        sure (:
      • 2018-01-28 02836, 2018

      • mzfr has quit
      • 2018-01-28 02859, 2018

      • SothoTalKer
        samj1912: that's a long minute, hehe
      • 2018-01-28 02810, 2018

      • samj1912
        SothoTalKer: I can build it on my pc
      • 2018-01-28 02817, 2018

      • samj1912
        but the appveyor build doesnt run
      • 2018-01-28 02825, 2018

      • samj1912
        it crashes immediately
      • 2018-01-28 02831, 2018

      • samj1912
        trying to debug it