#metabrainz

/

      • Lotheric has quit
      • 2018-12-03 33720, 2018

      • D4RK-PH0ENiX has quit
      • 2018-12-03 33727, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-12-03 33743, 2018

      • protiumoxide joined the channel
      • 2018-12-03 33756, 2018

      • deuteriumoxide has quit
      • 2018-12-03 33749, 2018

      • Nyanko-sensei joined the channel
      • 2018-12-03 33735, 2018

      • Lotheric joined the channel
      • 2018-12-03 33752, 2018

      • D4RK-PH0ENiX has quit
      • 2018-12-03 33755, 2018

      • deuteriumoxide joined the channel
      • 2018-12-03 33720, 2018

      • protiumoxide has quit
      • 2018-12-03 33713, 2018

      • modwizcode joined the channel
      • 2018-12-03 33711, 2018

      • deuteriumoxide has quit
      • 2018-12-03 33748, 2018

      • Nyanko-sensei has quit
      • 2018-12-03 33723, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-12-03 33703, 2018

      • deuteriumoxide joined the channel
      • 2018-12-03 33701, 2018

      • Leo_Verto_ joined the channel
      • 2018-12-03 33722, 2018

      • Leo_Verto has quit
      • 2018-12-03 33722, 2018

      • Leo_Verto_ is now known as Leo_Verto
      • 2018-12-03 33727, 2018

      • deuteriumoxide has quit
      • 2018-12-03 33757, 2018

      • deuteriumoxide joined the channel
      • 2018-12-03 33713, 2018

      • protiumoxide joined the channel
      • 2018-12-03 33747, 2018

      • deuteriumoxide has quit
      • 2018-12-03 33741, 2018

      • protiumoxide has quit
      • 2018-12-03 33749, 2018

      • protiumoxide joined the channel
      • 2018-12-03 33722, 2018

      • thefar8[m]
        bookbrainz down?
      • 2018-12-03 33748, 2018

      • thefar8[m]
        nvm
      • 2018-12-03 33745, 2018

      • outsidecontext joined the channel
      • 2018-12-03 33747, 2018

      • protiumoxide has quit
      • 2018-12-03 33750, 2018

      • michelv joined the channel
      • 2018-12-03 33737, 2018

      • bukwurm joined the channel
      • 2018-12-03 33700, 2018

      • c1e0 joined the channel
      • 2018-12-03 33738, 2018

      • bitmap
        reosarevok: can you paste the flow error you had with the subHeading? (sorry for the delay >_<)
      • 2018-12-03 33757, 2018

      • yvanzo
        mo''in'
      • 2018-12-03 33733, 2018

      • c1e0 has quit
      • 2018-12-03 33724, 2018

      • c1e0 joined the channel
      • 2018-12-03 33746, 2018

      • reosarevok
        bitmap: still around?
      • 2018-12-03 33732, 2018

      • michelv_ joined the channel
      • 2018-12-03 33714, 2018

      • michelv has quit
      • 2018-12-03 33711, 2018

      • protiumoxide joined the channel
      • 2018-12-03 33728, 2018

      • protiumoxide has quit
      • 2018-12-03 33759, 2018

      • c1e0_ joined the channel
      • 2018-12-03 33717, 2018

      • c1e0 has quit
      • 2018-12-03 33750, 2018

      • code_master5 joined the channel
      • 2018-12-03 33726, 2018

      • Mr_Monkey
        Moin moin
      • 2018-12-03 33758, 2018

      • reosarevok
        moin monkey
      • 2018-12-03 33702, 2018

      • reosarevok
        bitmap: in any case
      • 2018-12-03 33705, 2018

      • reosarevok
      • 2018-12-03 33706, 2018

      • code_master5
        Mr_Monkey: moin!
      • 2018-12-03 33742, 2018

      • reosarevok
        Alternatively:
      • 2018-12-03 33745, 2018

      • reosarevok
      • 2018-12-03 33735, 2018

      • george
        Hey reosarevok, for MBS-9907, would you rather just the "Place" and "Area" columns, or the "Place", "Address" and "Area" columns?
      • 2018-12-03 33736, 2018

      • BrainzBot
        MBS-9907: New report: Places without coordinates https://tickets.metabrainz.org/browse/MBS-9907
      • 2018-12-03 33701, 2018

      • reosarevok
        All 3 make sense to me I think - since often the address gives additional useful info that complements the area one
      • 2018-12-03 33713, 2018

      • george
        Cool thanks
      • 2018-12-03 33700, 2018

      • yvanzo
        reosarevok: with flow 0.87.0?
      • 2018-12-03 33720, 2018

      • yvanzo
        Oh sorry, different issue.
      • 2018-12-03 33713, 2018

      • yvanzo
        About SubHeader, as I pointed out, SubHeader signature should be changed to accept Node.React (for subHeading) too.
      • 2018-12-03 33744, 2018

      • reosarevok
        Oh. Duh. Yeah, that works :D
      • 2018-12-03 33747, 2018

      • reosarevok
        Thanks yvanzo
      • 2018-12-03 33748, 2018

      • reosarevok
        Thanzo
      • 2018-12-03 33706, 2018

      • reosarevok
        bitmap: nevermind, yvanzo had told me how to fix it but I forgot he had
      • 2018-12-03 33743, 2018

      • reosarevok
        yvanzo: have we merged any new reports yet btw?
      • 2018-12-03 33743, 2018

      • yvanzo
        Oops, React.Node, but you got it right :)
      • 2018-12-03 33700, 2018

      • reosarevok
        (should start converting them to React too :p )
      • 2018-12-03 33741, 2018

      • yvanzo
        reosarevok: taht was one reason not to pick report migration to React for now: there are some GCI tasks about adding report
      • 2018-12-03 33711, 2018

      • reosarevok
        Sure, but converting one or two reports should take 5 minutes now the components are there
      • 2018-12-03 33722, 2018

      • reosarevok
        So I'm happy to do that later on
      • 2018-12-03 33758, 2018

      • yvanzo
        To answer your first question: no new report has been merged yet. (I did not merge george's PR because of upcoming improvements.)
      • 2018-12-03 33711, 2018

      • reosarevok
        Ok :)
      • 2018-12-03 33739, 2018

      • michelv_ is now known as michelv
      • 2018-12-03 33739, 2018

      • Mr_Monkey
        ruaok: Can you please have a look at https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2018-12-03 33727, 2018

      • ruaok
        commented.
      • 2018-12-03 33702, 2018

      • Mr_Monkey
        ruaok: Thanks.
      • 2018-12-03 33702, 2018

      • Mr_Monkey
        Ever tried to merge repos while keeping history, by the way? I was thinking I could try that: https://thoughts.t37.net/merging-2-different-git-…
      • 2018-12-03 33740, 2018

      • ruaok
        sure. that would remove one of the (weak) objections.
      • 2018-12-03 33752, 2018

      • ruaok
        yvanzo, zas,Freso: invoices please!
      • 2018-12-03 33742, 2018

      • george
        reosarevok: columns updated👍
      • 2018-12-03 33738, 2018

      • travis-ci joined the channel
      • 2018-12-03 33739, 2018

      • travis-ci
        Project bookbrainz-site build #1941: passed in 5 min 22 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-12-03 33739, 2018

      • travis-ci has left the channel
      • 2018-12-03 33758, 2018

      • reosarevok
        george: running on your server to check?
      • 2018-12-03 33717, 2018

      • george
      • 2018-12-03 33732, 2018

      • george
        I was thinking of using descriptive_link for the places, but i'm not sure how to go about selecting the entity
      • 2018-12-03 33702, 2018

      • reosarevok
        You should link the area, not print it :)
      • 2018-12-03 33714, 2018

      • reosarevok
        (thought that was what the code was doing but wanted to make sure)
      • 2018-12-03 33727, 2018

      • george
        Oh yea i meant for the areas*
      • 2018-12-03 33751, 2018

      • Lotheric_ joined the channel
      • 2018-12-03 33750, 2018

      • george
        The problem that I'm facing is that descriptive_link() takes in an entity as its parameter, but the sql query is just selecting values
      • 2018-12-03 33706, 2018

      • reosarevok
        Can't you access place.area?
      • 2018-12-03 33744, 2018

      • reosarevok
        The place info should all be loaded by the report (on https://github.com/metabrainz/musicbrainz-server/…)
      • 2018-12-03 33758, 2018

      • reosarevok
        Unless I'm misreading this, because I'm still not that great at Perl myself :p
      • 2018-12-03 33759, 2018

      • reosarevok
        I think you should at least be able to access place.address without having to do anything else
      • 2018-12-03 33711, 2018

      • reosarevok
        You *might* need to load the areas for the places if they're not loaded automatically, but check first :)
      • 2018-12-03 33715, 2018

      • Lotheric has quit
      • 2018-12-03 33709, 2018

      • george
        Doesn't seem like place.area exists :(
      • 2018-12-03 33747, 2018

      • reosarevok
      • 2018-12-03 33714, 2018

      • reosarevok
        You could try to do $c->model('Area')->load($place); (or the like) in PlaceReport
      • 2018-12-03 33728, 2018

      • reosarevok
        That'll load it for every place report, but I don't think that is a big problem
      • 2018-12-03 33742, 2018

      • reosarevok
        Maybe yvanzo or bitmap will scream at me that it is a big problem, but in that case they'll also suggest a better way, so :D
      • 2018-12-03 33759, 2018

      • george
        I've found that in EventReport.pm, `$self->c->model('Event')->load_areas(values %$events);` is run at one point, which may be relevant?
      • 2018-12-03 33718, 2018

      • reosarevok
        Yeah, that's probably a good thing to work from :)
      • 2018-12-03 33735, 2018

      • reosarevok
        But I don't think Place has load_areas
      • 2018-12-03 33751, 2018

      • reosarevok
        (because it only has one anyway - for events it goes through relationships and it is more complicated)
      • 2018-12-03 33711, 2018

      • reosarevok
        So maybe $self->c->model('Area')->load(the appropriate thing here)
      • 2018-12-03 33723, 2018

      • reosarevok
        Play with it a bit, see what you get
      • 2018-12-03 33718, 2018

      • yvanzo
        updating test.mb.o
      • 2018-12-03 33759, 2018

      • D4RK-PH0ENiX has quit
      • 2018-12-03 33719, 2018

      • george
        reosarevok: All working!! Thanks for the help 😄
      • 2018-12-03 33759, 2018

      • reosarevok
        You can also stop taking those fields from the SQL query at all, if you haven't, since you're getting them from the place now
      • 2018-12-03 33701, 2018

      • george
        It's strange that some entries are displaying as "[removed]" on the list 🤔
      • 2018-12-03 33752, 2018

      • george
        Ahh nvm i think its where there aren't any areas.
      • 2018-12-03 33720, 2018

      • travis-ci joined the channel
      • 2018-12-03 33721, 2018

      • travis-ci
        Project bookbrainz-site build #1943: passed in 4 min 55 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-12-03 33721, 2018

      • travis-ci has left the channel
      • 2018-12-03 33741, 2018

      • reosarevok
        Only send the area to show if there's an area, then :)
      • 2018-12-03 33702, 2018

      • reosarevok
        place.area ? show area : '' or whatever. I would say see how search results do it, but they use React now. You could check how they used to be though ;)
      • 2018-12-03 33708, 2018

      • reosarevok
        (should be easy to find history in github)
      • 2018-12-03 33749, 2018

      • Lotheric_ has quit
      • 2018-12-03 33704, 2018

      • travis-ci joined the channel
      • 2018-12-03 33705, 2018

      • travis-ci
        Project bookbrainz-site build #1945: passed in 4 min 38 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-12-03 33705, 2018

      • travis-ci has left the channel
      • 2018-12-03 33715, 2018

      • george
        Thanks, found it!
      • 2018-12-03 33755, 2018

      • Lotheric joined the channel
      • 2018-12-03 33731, 2018

      • ruaok
        ok, everyone has been paid. Everyone should have money no later than tomorrow, more likely today.
      • 2018-12-03 33704, 2018

      • ruaok
        zas: got anything on 2017 traffic?
      • 2018-12-03 33707, 2018

      • ruaok
        reosarevok: so groanworthy, it made me think of you: https://xkcd.com/
      • 2018-12-03 33715, 2018

      • CatCat
        AAAHHH
      • 2018-12-03 33741, 2018

      • CatCat
      • 2018-12-03 33756, 2018

      • Mr_Monkey reads joke, goes supernova
      • 2018-12-03 33737, 2018

      • CatCat
        "Barnard's star is both very close to the sun (as these things go) and moving now at a speed of more than 140 km/s toward the Sun. It will make its closest approach to the Sun in approximately 10,000 years, at a distance of about 3.75 light-years."
      • 2018-12-03 33741, 2018

      • reosarevok
        .... Now I got it :D
      • 2018-12-03 33750, 2018

      • reosarevok
        I saw it last time and didn't get the ratings connection at all
      • 2018-12-03 33704, 2018

      • D4RK-PH0ENiX joined the channel
      • 2018-12-03 33719, 2018

      • code_master5 has quit
      • 2018-12-03 33713, 2018

      • ruaok
      • 2018-12-03 33747, 2018

      • travis-ci joined the channel
      • 2018-12-03 33748, 2018

      • travis-ci
        Project bookbrainz-site build #1946: passed in 4 min 33 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-12-03 33748, 2018

      • travis-ci has left the channel
      • 2018-12-03 33711, 2018

      • Protab joined the channel
      • 2018-12-03 33711, 2018

      • Rotab has quit
      • 2018-12-03 33705, 2018

      • reosarevok
        george: you could also use address from the place instead of loading it from the item, no?
      • 2018-12-03 33736, 2018

      • Mr_Monkey
        chhavi_: Are you around?
      • 2018-12-03 33744, 2018

      • travis-ci joined the channel
      • 2018-12-03 33745, 2018

      • travis-ci
        Project bookbrainz-site build #1947: passed in 4 min 46 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2018-12-03 33745, 2018

      • travis-ci has left the channel
      • 2018-12-03 33733, 2018

      • chhavi_
        Mr_Monkey: alright if we talk in about an hour? Getting back home!
      • 2018-12-03 33747, 2018

      • Mr_Monkey
        chhavi_: No rush !
      • 2018-12-03 33748, 2018

      • george
        reosarevok Sure thing
      • 2018-12-03 33700, 2018

      • Protab is now known as Rotab
      • 2018-12-03 33720, 2018

      • michelv
        george: looking good :)