#metabrainz

/

      • samj1912
        if you have def __init__(list = [])
      • 2017-05-10 13020, 2017

      • samj1912
        now if I create obj1 and ab2
      • 2017-05-10 13022, 2017

      • samj1912
        *obj2
      • 2017-05-10 13030, 2017

      • samj1912
        and do a obj1.append("random")
      • 2017-05-10 13039, 2017

      • samj1912
        obj will have random too
      • 2017-05-10 13045, 2017

      • samj1912
        s/obj/obj2
      • 2017-05-10 13045, 2017

      • Sophist-UK
        Yes - then obj1.list and obj2.list are the same object.
      • 2017-05-10 13048, 2017

      • samj1912
        yup
      • 2017-05-10 13057, 2017

      • Sophist-UK
        Oops.
      • 2017-05-10 13005, 2017

      • samj1912
        yup :P
      • 2017-05-10 13011, 2017

      • samj1912
        and it causes unseen bugs
      • 2017-05-10 13014, 2017

      • Sophist-UK
        This is a great tool.
      • 2017-05-10 13029, 2017

      • samj1912
        yup :D
      • 2017-05-10 13049, 2017

      • Sophist-UK
        Presumably somewhere in the background is a long list of coding rules that it checks. I have seem something like this for Java.
      • 2017-05-10 13023, 2017

      • samj1912
        Sophist-UK: yup something along those lines I believe
      • 2017-05-10 13034, 2017

      • samj1912
        and this is free for FOSS orgs :D
      • 2017-05-10 13045, 2017

      • samj1912
        maybe MeB would like to implement it in all their repos
      • 2017-05-10 13055, 2017

      • samj1912
        zas, ruaok ^
      • 2017-05-10 13041, 2017

      • Sophist-UK
        If we can make it work for Picard then replicating that across all the repos will be a piece of ... um ... cake.
      • 2017-05-10 13055, 2017

      • Sophist-UK
        Would be nice if we could:
      • 2017-05-10 13059, 2017

      • samj1912
        Sophist-UK: it already is a piece of cake :P
      • 2017-05-10 13005, 2017

      • samj1912
        you just need to link you GH account
      • 2017-05-10 13009, 2017

      • samj1912
        it does the rest on its own
      • 2017-05-10 13026, 2017

      • ruaok
        oh joy, more code nazi tools.
      • 2017-05-10 13042, 2017

      • Sophist-UK
        Does it give: a. Overall stats or the project; and b. analysis of each PR as to whether it improves or makes worse the code quality?
      • 2017-05-10 13049, 2017

      • samj1912
        both
      • 2017-05-10 13002, 2017

      • Sophist-UK
        Ve haf vays of makin' you code.
      • 2017-05-10 13019, 2017

      • Sophist-UK
        Go for it: +1
      • 2017-05-10 13028, 2017

      • ruaok
        yes and that is making me not want to write code for my own project anymore.
      • 2017-05-10 13054, 2017

      • Sophist-UK
        samj1912: Does it have a special ruaok setting?
      • 2017-05-10 13014, 2017

      • samj1912
        ruaok: you can choose which rules you want it to follow
      • 2017-05-10 13042, 2017

      • ruaok ticks the "none" box and chucks it out
      • 2017-05-10 13054, 2017

      • samj1912
        things like above which leads to bugs ( lists as initializers etc. ) will be nice to have pointed out, you can make it ignore coding style issues
      • 2017-05-10 13052, 2017

      • Sophist-UK
        There are some coding style issues which are important - if we wrote code like the minifyers produce it would be unreadable. I accept that a lot of style rules are a matter of opinion as to which is the "true" coding style, but style consistency between programmers also makes it easier to read.
      • 2017-05-10 13015, 2017

      • Sophist-UK
        +1 for turning off the most trivial style rules. +1 for making all style rules advisory rather than mandatory.
      • 2017-05-10 13010, 2017

      • agentsim has quit
      • 2017-05-10 13036, 2017

      • D4RK-PH0ENiX has quit
      • 2017-05-10 13031, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-05-10 13009, 2017

      • Sophist-UK
        The good news is that there are no SQL Injection issues in Picard. :-)
      • 2017-05-10 13030, 2017

      • samj1912
        lol :P
      • 2017-05-10 13057, 2017

      • kyan has quit
      • 2017-05-10 13031, 2017

      • samj1912
      • 2017-05-10 13036, 2017

      • samj1912
        Sophist-UK: ^ :P
      • 2017-05-10 13006, 2017

      • Sophist-UK
        Injetions?
      • 2017-05-10 13023, 2017

      • samj1912
        injections :P
      • 2017-05-10 13027, 2017

      • lazka joined the channel
      • 2017-05-10 13034, 2017

      • samj1912
        ah nvm :P
      • 2017-05-10 13045, 2017

      • Sophist-UK goes away to decide how to include SQLite functionality into Picard.
      • 2017-05-10 13049, 2017

      • reosarevok
        Sophist-UK: easy, keep an automatic database of everything the user has ever tagged so he knows what he has
      • 2017-05-10 13056, 2017

      • Sophist-UK
        Then we can avoid bias against SQL injections.
      • 2017-05-10 13054, 2017

      • github joined the channel
      • 2017-05-10 13054, 2017

      • github
        [picard] samj1912 closed pull request #723: Update version_to_string to follow PEP440 (master...version) https://git.io/v96uX
      • 2017-05-10 13054, 2017

      • github has left the channel
      • 2017-05-10 13019, 2017

      • agentsim joined the channel
      • 2017-05-10 13022, 2017

      • github joined the channel
      • 2017-05-10 13022, 2017

      • github
        [picard] samj1912 closed pull request #717: Recompress all png files and data (master...ibmi) https://git.io/v9rwP
      • 2017-05-10 13022, 2017

      • github has left the channel
      • 2017-05-10 13031, 2017

      • agentsim has quit
      • 2017-05-10 13010, 2017

      • drsaunders joined the channel
      • 2017-05-10 13028, 2017

      • rvedotrc_ joined the channel
      • 2017-05-10 13039, 2017

      • rvedotrc_ has quit
      • 2017-05-10 13054, 2017

      • zas
        samj1912: about github hook, the goal is to refresh and rebundle plugins when changes are merged to main branches. See for example https://github.com/carlos-jenkins/python-github-w…
      • 2017-05-10 13027, 2017

      • samj1912
        cool, will look into it
      • 2017-05-10 13039, 2017

      • samj1912
        also zas did you look into what I linked above?
      • 2017-05-10 13057, 2017

      • samj1912
        can we have it for picard* projects?
      • 2017-05-10 13058, 2017

      • zas
        yes, great, can be useful to keep the code clean
      • 2017-05-10 13033, 2017

      • zas
        i see no reason to not have it, it looks convenient to detect code duplication and some errors
      • 2017-05-10 13023, 2017

      • zas
        also it detected some minor issues in bash scripts we'll need to fix ;)
      • 2017-05-10 13050, 2017

      • khan_ joined the channel
      • 2017-05-10 13056, 2017

      • samj1912
        Cool
      • 2017-05-10 13055, 2017

      • Slurpee joined the channel
      • 2017-05-10 13008, 2017

      • drsaunders has quit
      • 2017-05-10 13058, 2017

      • agentsim joined the channel
      • 2017-05-10 13019, 2017

      • github joined the channel
      • 2017-05-10 13019, 2017

      • github
        [picard] samj1912 closed pull request #724: Avoid mutable default arguments (master...fix-mutable) https://git.io/v9XKE
      • 2017-05-10 13019, 2017

      • github has left the channel
      • 2017-05-10 13041, 2017

      • flyingrub has left the channel
      • 2017-05-10 13016, 2017

      • d4rkie has quit
      • 2017-05-10 13025, 2017

      • Nyanko-sensei joined the channel
      • 2017-05-10 13044, 2017

      • ruaok
        bitmap: how does the prep for the schema change?
      • 2017-05-10 13003, 2017

      • ruaok
        do we have schema change tests passing yet?
      • 2017-05-10 13028, 2017

      • bitmap
        yeah, they were passing right after I merged everything. though I made some undetected fixes and have to run them again
      • 2017-05-10 13051, 2017

      • bitmap
        also did a full import and succesfully ran upgrade.sh
      • 2017-05-10 13039, 2017

      • bitmap
        today I'm planning to run a full export of that DB and try importing it
      • 2017-05-10 13047, 2017

      • ruaok
        good. any tests on slaves just yet?
      • 2017-05-10 13011, 2017

      • bitmap
        not yet, that's next too :)
      • 2017-05-10 13044, 2017

      • ruaok
        kewl. sorry I've been so absent on this process. I just trust you top shout if you need help. :)
      • 2017-05-10 13054, 2017

      • ruaok
        anything else that I should be concerned with?
      • 2017-05-10 13027, 2017

      • UmkaDK has quit
      • 2017-05-10 13013, 2017

      • bitmap
        I think not. we'll probably release without the entity attributes UI, but I guess that's not alarming
      • 2017-05-10 13039, 2017

      • ruaok
        nope. as long as the SQL portions go through smoothly.
      • 2017-05-10 13049, 2017

      • bitmap
        yup
      • 2017-05-10 13027, 2017

      • ruaok
        care to set a time to do the release so I can "help" or do you want to do it with yvanzo?
      • 2017-05-10 13027, 2017

      • UmkaDK joined the channel
      • 2017-05-10 13055, 2017

      • bitmap
        oh, hmm. I made some changes to the postgres container, so it might be convenient to have some brief downtime for all projects to update it
      • 2017-05-10 13028, 2017

      • ruaok
        should be in the neighborhood of less than a minute, right?
      • 2017-05-10 13031, 2017

      • bitmap
        having yvanzo help might actually be a good learning experience for him
      • 2017-05-10 13051, 2017

      • bitmap
        yeah, in theory
      • 2017-05-10 13004, 2017

      • ruaok
        ok, I would suggest picking a time that is late afternoon EU so all three of us and maybe also zas and be present.
      • 2017-05-10 13027, 2017

      • ruaok
        I wonder if with docker practice will match closer to theory. :)
      • 2017-05-10 13042, 2017

      • bitmap
        it'll update PG to 9.5.6 and make some consul-template changes
      • 2017-05-10 13013, 2017

      • ruaok
        I trust the 9.5.6 change requires no upgrade, right?
      • 2017-05-10 13051, 2017

      • bitmap
        right, no action required
      • 2017-05-10 13001, 2017

      • ruaok
        k, great.
      • 2017-05-10 13011, 2017

      • bitmap
        it has a bugfix for broken indexes but I don't think we're affected, I'd check first
      • 2017-05-10 13031, 2017

      • bitmap
        (would just require re-creating those indexes)
      • 2017-05-10 13045, 2017

      • bitmap
        zas: about the load issues on trille(?), I think there is still some bug where if something is pushed to docker-server-configs, MBS will start compiling JS/CSS over and over again indefinitely
      • 2017-05-10 13003, 2017

      • bitmap
        it was happening just now on williams
      • 2017-05-10 13034, 2017

      • bitmap
        it has something to do with consul-template, difficult to reproduce
      • 2017-05-10 13047, 2017

      • arbenina_ has quit
      • 2017-05-10 13027, 2017

      • arbenina_ joined the channel
      • 2017-05-10 13034, 2017

      • Gentlecat
        it will be helpful to update test PG container versions for the rest of the projects to make sure everything works
      • 2017-05-10 13055, 2017

      • Gentlecat
        some might run different versions though, need to make that consistent
      • 2017-05-10 13025, 2017

      • rembo10 has quit
      • 2017-05-10 13008, 2017

      • arbenina_ has quit
      • 2017-05-10 13023, 2017

      • rembo10 joined the channel
      • 2017-05-10 13028, 2017

      • kyan joined the channel
      • 2017-05-10 13044, 2017

      • github joined the channel
      • 2017-05-10 13044, 2017

      • github
        [metabrainz.org] gentlecat opened pull request #281: Documentation for CSS builds in development (master...css) https://git.io/v91lF
      • 2017-05-10 13044, 2017

      • github has left the channel
      • 2017-05-10 13032, 2017

      • arbenina_ joined the channel
      • 2017-05-10 13052, 2017

      • Gentlecat
        Quesito: ^ see if this makes it better
      • 2017-05-10 13040, 2017

      • zas
        bitmap: possible, i didn't check in details, but it is very likely something like that
      • 2017-05-10 13025, 2017

      • khan_ has quit
      • 2017-05-10 13047, 2017

      • UmkaDK has quit
      • 2017-05-10 13056, 2017

      • UmkaDK joined the channel
      • 2017-05-10 13003, 2017

      • samj1912
      • 2017-05-10 13017, 2017

      • samj1912
        zas: Freso Quesito how do these look like for new picard icons?
      • 2017-05-10 13034, 2017

      • samj1912
        some of them are missing obviously, those will be created on the basis of the above
      • 2017-05-10 13057, 2017

      • CatQuest
        Freso: ???
      • 2017-05-10 13003, 2017

      • CatQuest
        [11:11] <Freso> CatQuest: 🛏
      • 2017-05-10 13029, 2017

      • madmouser1 joined the channel
      • 2017-05-10 13002, 2017

      • CatQuest
        sorry, i was away putting my coins into https://en.numista.com/catalogue/pieces3329.html
      • 2017-05-10 13004, 2017

      • CatQuest
        :D
      • 2017-05-10 13053, 2017

      • lazka has quit
      • 2017-05-10 13037, 2017

      • samj1912
        bitmap: does the new picard look fine on a macbook? like is it scaled correctly and does it look sharp?
      • 2017-05-10 13000, 2017

      • psolanki joined the channel
      • 2017-05-10 13024, 2017

      • arbenina_ has quit
      • 2017-05-10 13012, 2017

      • samj1912
        zas: completed the high dpi code testing for icons :D
      • 2017-05-10 13024, 2017

      • samj1912
        works just fine :D
      • 2017-05-10 13034, 2017

      • samj1912
        now we only need someone to make the @2x icons :P
      • 2017-05-10 13017, 2017

      • arbenina_ joined the channel
      • 2017-05-10 13016, 2017

      • Mineo joined the channel
      • 2017-05-10 13038, 2017

      • catblup has quit
      • 2017-05-10 13043, 2017

      • samj1912
        PICARD-817
      • 2017-05-10 13043, 2017

      • BrainzBot
        PICARD-817: On high-resolution / high DPI displays, Picard's GUI is scaled wrong https://tickets.metabrainz.org/browse/PICARD-817
      • 2017-05-10 13044, 2017

      • arbenina_ has quit
      • 2017-05-10 13028, 2017

      • CatQuest has quit
      • 2017-05-10 13034, 2017

      • psolanki has quit
      • 2017-05-10 13020, 2017

      • github joined the channel