#metabrainz

/

      • iliekcomputers
      • 2018-09-05 24801, 2018

      • rsh7
        iliekcomputers: I am not even able to evaluate, i am getting a failed error all the time
      • 2018-09-05 24812, 2018

      • iliekcomputers
        failed error where?
      • 2018-09-05 24820, 2018

      • rsh7
        anyways, are you running it from master branch?
      • 2018-09-05 24832, 2018

      • iliekcomputers
        yes, latest master
      • 2018-09-05 24845, 2018

      • rsh7
        wait, sending you an error snippet
      • 2018-09-05 24855, 2018

      • iliekcomputers
        okay, i ran another evaluation and it seems to be doing stuff now?
      • 2018-09-05 24820, 2018

      • iliekcomputers
      • 2018-09-05 24830, 2018

      • iliekcomputers
        it says evaluation completed now
      • 2018-09-05 24859, 2018

      • rsh7
        okay, it is working normally for you then I guess.
      • 2018-09-05 24805, 2018

      • rsh7
        I am getting this -
      • 2018-09-05 24807, 2018

      • rsh7
        dataset_evaluator_1 | 2018-09-05 16:01:13,625 - INFO - Processing job ec3c053f-3c55-4d04-aa95-2d2d9e15fa86...
      • 2018-09-05 24807, 2018

      • rsh7
        dataset_evaluator_1 | 2018-09-05 16:01:14,015 - INFO - Generating filelist.yaml and copying low-level data for evaluation...
      • 2018-09-05 24807, 2018

      • rsh7
        dataset_evaluator_1 | 2018-09-05 16:01:14,190 - INFO - Evaluation job ec3c053f-3c55-4d04-aa95-2d2d9e15fa86 has failed!
      • 2018-09-05 24807, 2018

      • rsh7
        dataset_evaluator_1 | 2018-09-05 16:01:14,242 - INFO -
      • 2018-09-05 24807, 2018

      • rsh7
        dataset_evaluator_1 | 2018-09-05 16:01:14,248 - INFO - No pending datasets. Sleeping 30 seconds.
      • 2018-09-05 24844, 2018

      • iliekcomputers
        weird.
      • 2018-09-05 24810, 2018

      • iliekcomputers
        did you look into the code and see when we print that "failed!" message?
      • 2018-09-05 24806, 2018

      • CatQuest
        Freso: can't the githubbot just lurk in the channel?
      • 2018-09-05 24844, 2018

      • rsh7
      • 2018-09-05 24829, 2018

      • iliekcomputers
        add a `raise` there to see what the `DatabaseException` is about
      • 2018-09-05 24805, 2018

      • rsh7
        okay
      • 2018-09-05 24807, 2018

      • travis-ci joined the channel
      • 2018-09-05 24808, 2018

      • travis-ci
        metabrainz/picard#3696 (master - 72e12ab : Philipp Wolfer): The build passed.
      • 2018-09-05 24808, 2018

      • travis-ci
      • 2018-09-05 24808, 2018

      • travis-ci
      • 2018-09-05 24808, 2018

      • travis-ci has left the channel
      • 2018-09-05 24832, 2018

      • yvanzo
        Freso: It has always been set to "message_without_join": "0" https://gist.github.com/yvanzo/46cb5ae85a0a816a42…
      • 2018-09-05 24848, 2018

      • outsidecontext has quit
      • 2018-09-05 24816, 2018

      • travis-ci joined the channel
      • 2018-09-05 24817, 2018

      • travis-ci
        metabrainz/picard#3696 (master - 72e12ab : Philipp Wolfer): The build passed.
      • 2018-09-05 24817, 2018

      • travis-ci
      • 2018-09-05 24817, 2018

      • travis-ci
      • 2018-09-05 24817, 2018

      • travis-ci has left the channel
      • 2018-09-05 24822, 2018

      • yvanzo
        Freso: I did some attempts with BrainzGit from 23, Aug to Aug, 30; and today.
      • 2018-09-05 24857, 2018

      • KassOtsimine
        Freso: you know I think I would like an Alot of Research
      • 2018-09-05 24839, 2018

      • KassOtsimine
        a little one. to use as a little image :D
      • 2018-09-05 24844, 2018

      • bitmap
        reosarevok: about MBS-9804 the date columns need to be added there https://github.com/metabrainz/musicbrainz-server/…
      • 2018-09-05 24844, 2018

      • BrainzBot
        MBS-9804: Label dates do not appear on direct search https://tickets.metabrainz.org/browse/MBS-9804
      • 2018-09-05 24851, 2018

      • yvanzo
      • 2018-09-05 24852, 2018

      • BrainzBot
        OTHER-332: Replace GitHub IRC notifications service
      • 2018-09-05 24834, 2018

      • UmkaDK has quit
      • 2018-09-05 24834, 2018

      • UmkaDK joined the channel
      • 2018-09-05 24842, 2018

      • UmkaDK has quit
      • 2018-09-05 24808, 2018

      • iliekcomputers
        rsh7: any updates?
      • 2018-09-05 24848, 2018

      • gcilou joined the channel
      • 2018-09-05 24851, 2018

      • iliekcomputers
        gcilou: hi!
      • 2018-09-05 24827, 2018

      • gcilou
        Hey :)
      • 2018-09-05 24821, 2018

      • KassOtsimine
        hei gcilou !!
      • 2018-09-05 24824, 2018

      • reosarevok
        bitmap: oh, duh. I guess I might as well do that myself then
      • 2018-09-05 24832, 2018

      • reosarevok
        Unless you're already doing it :)
      • 2018-09-05 24853, 2018

      • KassOtsimine
        helooo reosaurwok
      • 2018-09-05 24815, 2018

      • reosarevok
        now I'm thinking of a wok made with veggies and dinosaurs
      • 2018-09-05 24819, 2018

      • gcilou
        Hey
      • 2018-09-05 24820, 2018

      • reosarevok
        Poor dinosaurs
      • 2018-09-05 24825, 2018

      • KassOtsimine
        :DDDD
      • 2018-09-05 24835, 2018

      • KassOtsimine
        aww
      • 2018-09-05 24811, 2018

      • KassOtsimine
        dinosaurs basically = birds so....
      • 2018-09-05 24814, 2018

      • ruaok
        hi gcilou !
      • 2018-09-05 24832, 2018

      • gcilou
        Hey ruaok :)
      • 2018-09-05 24852, 2018

      • KassOtsimine
        delicious chickendinosaurwok!!!
      • 2018-09-05 24804, 2018

      • bukwurm joined the channel
      • 2018-09-05 24816, 2018

      • Leo_Verto
        yvanzo, yeah, building that into BrainzBot may be a bit hard as the whole thing is designed as a unidirectional pipeline from bot > redis > plugins
      • 2018-09-05 24820, 2018

      • Leo_Verto
        but I can look into it
      • 2018-09-05 24843, 2018

      • reosarevok
        bitmap: what would you use as a key here? For the ACs. I'm not sure I have a great choice
      • 2018-09-05 24855, 2018

      • Leo_Verto
        but the entire spam situation got my matrix account kicked yay
      • 2018-09-05 24823, 2018

      • bitmap
        reosarevok: I would just use the loop index (it makes no difference since it's a static page)
      • 2018-09-05 24814, 2018

      • bitmap
        map index I mean, it's the second argument to the map callback
      • 2018-09-05 24845, 2018

      • reosarevok
        Huh. I only have one argument? :D
      • 2018-09-05 24853, 2018

      • reosarevok might be missing something obvious
      • 2018-09-05 24815, 2018

      • reosarevok
        do I just give it a second argument and use that or?
      • 2018-09-05 24849, 2018

      • bitmap
        yeah, to the function passed to map
      • 2018-09-05 24858, 2018

      • bitmap
        if you have x => change it to (x, i) =>
      • 2018-09-05 24842, 2018

      • reosarevok
        Ok :)
      • 2018-09-05 24807, 2018

      • reosarevok
        Heh
      • 2018-09-05 24814, 2018

      • reosarevok
        [ { language_id: 120, work_id: 13221522, language: { name: 'English', entityType: 'language', id: 120 } } ]
      • 2018-09-05 24839, 2018

      • reosarevok
        No iso codes there currently. Which makes me wonder, why do we use the iso codes there anyway? (of course, we also don't have the translated names there, so)
      • 2018-09-05 24823, 2018

      • reosarevok
        Also bitmap: have you written anything for link_iswc yet, or should I just do it myself? :)
      • 2018-09-05 24841, 2018

      • bitmap
        lemme see
      • 2018-09-05 24835, 2018

      • bitmap
        ah we already have root/static/scripts/common/components/CodeLink.js for that
      • 2018-09-05 24847, 2018

      • bitmap
        used for ISRCs too
      • 2018-09-05 24843, 2018

      • reosarevok
        Ok :) What about the languages? I'm not fully sure how to even load the codes etc for them :/
      • 2018-09-05 24853, 2018

      • reosarevok
        Oh, wait. Language TO_JSON, probs :D
      • 2018-09-05 24855, 2018

      • reosarevok
        Will look there
      • 2018-09-05 24821, 2018

      • reosarevok
        Wait, that doesn't even exist
      • 2018-09-05 24848, 2018

      • bitmap
        maybe I have code for that too
      • 2018-09-05 24859, 2018

      • bitmap
      • 2018-09-05 24838, 2018

      • bitmap
        or if you need to display the translated language name, you can copy languages.js from https://github.com/metabrainz/musicbrainz-server/… and use l_languages(language.name)
      • 2018-09-05 24835, 2018

      • reosarevok
        I need both, so thanks :)
      • 2018-09-05 24849, 2018

      • reosarevok
        Purrfect!
      • 2018-09-05 24845, 2018

      • reosarevok
        And now for something completely different - remind me how to amend previous commits with your suggestions in the PR? :)
      • 2018-09-05 24837, 2018

      • bitmap
        note the commit you want to amend, do git rebase -i $commit^, and change the first column for that commit to 'e' for edit
      • 2018-09-05 24814, 2018

      • bitmap
        after you make the necessary changes, git add the changed files and git rebase --continue
      • 2018-09-05 24820, 2018

      • reosarevok
        bitmap: for the instrument thing, are you thinking of something like this?
      • 2018-09-05 24824, 2018

      • reosarevok
      • 2018-09-05 24817, 2018

      • bitmap
        yeah, you don't really need the conditional since the html will just be empty in that case
      • 2018-09-05 24818, 2018

      • reosarevok
        I was getting an Error: No translation key found. otherwise though
      • 2018-09-05 24842, 2018

      • bitmap
        ah, you're right
      • 2018-09-05 24815, 2018

      • CatQuest
        instrument thing
      • 2018-09-05 24818, 2018

      • CatQuest
        ?
      • 2018-09-05 24839, 2018

      • CatQuest
        what are you doooing?
      • 2018-09-05 24851, 2018

      • reosarevok
        CatQuest: updating the instrument search results to React. So, nothing visible
      • 2018-09-05 24851, 2018

      • CatQuest
        :D
      • 2018-09-05 24854, 2018

      • reosarevok
        (if I don't mess up)
      • 2018-09-05 24800, 2018

      • CatQuest
        :P
      • 2018-09-05 24800, 2018

      • CatQuest
        and aww
      • 2018-09-05 24832, 2018

      • reosarevok
        Well, maybe a tiny increase in loading speed of the search? :D
      • 2018-09-05 24836, 2018

      • reosarevok
        But like, tiny
      • 2018-09-05 24853, 2018

      • CatQuest
        Y U do dis? T__T
      • 2018-09-05 24820, 2018

      • reosarevok
        Because if they're all done, yvanzo said we can get an "all" search :p
      • 2018-09-05 24827, 2018

      • CatQuest
        i thought the point was react was better, faster, stronger.. last thing
      • 2018-09-05 24830, 2018

      • reosarevok
        (ok, not only that, but that'd be neat)
      • 2018-09-05 24847, 2018

      • reosarevok
        Well, it is, I just don't think the instrument search load was particularly slow
      • 2018-09-05 24853, 2018

      • CatQuest
        so why increase in loading?
      • 2018-09-05 24858, 2018

      • reosarevok
        duh
      • 2018-09-05 24801, 2018

      • reosarevok
        decrease :D
      • 2018-09-05 24806, 2018

      • reosarevok
        Sorry
      • 2018-09-05 24810, 2018

      • CatQuest
        oh
      • 2018-09-05 24810, 2018

      • CatQuest
        duh
      • 2018-09-05 24810, 2018

      • CatQuest
        now i get it
      • 2018-09-05 24811, 2018

      • CatQuest
        :D
      • 2018-09-05 24812, 2018

      • reosarevok
        increase in the speed
      • 2018-09-05 24815, 2018

      • reosarevok
        Decrease in the time
      • 2018-09-05 24818, 2018

      • reosarevok
        Whatevers :D
      • 2018-09-05 24825, 2018

      • reosarevok wasn't too clear
      • 2018-09-05 24838, 2018

      • CatQuest
        sorry cannot parse that as anything but "increase = longer" :D
      • 2018-09-05 24839, 2018

      • CatQuest
        ya, u wasn't :P
      • 2018-09-05 24846, 2018

      • CatQuest
        \m/ BrainZ \m/
      • 2018-09-05 24821, 2018

      • culinko has quit
      • 2018-09-05 24852, 2018

      • reosarevok
        bitmap: what's the reason for us to have separate inline-results-release.tt and the like?
      • 2018-09-05 24827, 2018

      • bitmap
        reosarevok: separate from where?
      • 2018-09-05 24852, 2018

      • reosarevok
        results-release is basically just a wrapper with [% INCLUDE 'search/lib/inline-results-release.tt' %]
      • 2018-09-05 24829, 2018

      • bitmap
        oh, hmm
      • 2018-09-05 24847, 2018

      • bitmap
        they are also used by root/taglookup/results.tt
      • 2018-09-05 24804, 2018

      • bitmap
        but I guess only certain types
      • 2018-09-05 24819, 2018

      • reosarevok
        We only have that for recording and release
      • 2018-09-05 24824, 2018

      • reosarevok
        (also why I haven't touched them yet :p )
      • 2018-09-05 24848, 2018

      • bitmap
        artist, recording, release
      • 2018-09-05 24818, 2018

      • reosarevok
        But artist is already made
      • 2018-09-05 24834, 2018

      • reosarevok
        Which I guess means "do it the standard way and leave this behind for taglookup" or?
      • 2018-09-05 24843, 2018

      • reosarevok
        (since AFAICT that's what happened with artist)
      • 2018-09-05 24803, 2018

      • bitmap
        yeah, that makes sense
      • 2018-09-05 24822, 2018

      • bitmap
        taglookup won't be too hard to convert in any case but we can leave the inline files it needs for now
      • 2018-09-05 24848, 2018

      • Sophist-UK has quit
      • 2018-09-05 24806, 2018

      • reosarevok
        bitmap: any suggestions for [%- IF c.try_get_session('tport') -%] <th>[% l('Tagger') %]</th> [%- END %] on recording?
      • 2018-09-05 24821, 2018

      • reosarevok
        It's always been a bit weird for me that this affects search result display in this way tbh :/
      • 2018-09-05 24813, 2018

      • bitmap
        the equivalent check in JS would be $c.session && $c.session.tport, and there's a TaggerIcon component already if you need that
      • 2018-09-05 24817, 2018

      • reosarevok
        Also, <th class="t pos">[% l('Track') %]</th> - is there a way to send a class for a column of PaginatedSearchResults? I guess not currently. Should I add one?
      • 2018-09-05 24814, 2018

      • bitmap
        hmm, I guess so
      • 2018-09-05 24815, 2018

      • reosarevok
        Also II, is there a way to add *optional* columns? (for the Tagger thing)