#metabrainz

/

      • ruaok
        ok, +.5 to your comment.
      • 2015-09-16 25928, 2015

      • ruaok
        Not sure I like a dot in the URL of the version. I think a simple number is sufficient.
      • 2015-09-16 25932, 2015

      • RJ2
        a separate endpoint for submissions is fine too imo, not RESTful, but it's not quite 100% rest anyway so what's the point. /1.0/submit-listen
      • 2015-09-16 25942, 2015

      • RJ2
        yeah number is fine, just an example
      • 2015-09-16 25937, 2015

      • ruaok
        /1/listen/user/<user> ?
      • 2015-09-16 25948, 2015

      • ruaok
        slightly more resty?
      • 2015-09-16 25923, 2015

      • RJ2
        what does the url for "top artists for RJ" look like?
      • 2015-09-16 25928, 2015

      • RJ2
        once that exists
      • 2015-09-16 25943, 2015

      • ruaok
        /1/artist/$arid/listens
      • 2015-09-16 25951, 2015

      • ruaok
        as you suggested?
      • 2015-09-16 25955, 2015

      • RJ2
        not global, for my top artists
      • 2015-09-16 25959, 2015

      • RJ2
        as in personal charts
      • 2015-09-16 25906, 2015

      • RJ2
        /1/user/RJ/(listens|topartists|etc)
      • 2015-09-16 25920, 2015

      • RJ2
        hence why i like user before listen in the path, the listens belong to the user
      • 2015-09-16 25923, 2015

      • RJ2
        and also why i don't care for pure REST for most apis.. you don't post to topartists. (nor do you post the entire list of all listens every time, so it's clearly not rest anyway)
      • 2015-09-16 25923, 2015

      • ruaok
        ok, I grok.
      • 2015-09-16 25903, 2015

      • ruaok
        alastairp: /1/user/RJ/(listens|topartists|etc) ? you ok with that?
      • 2015-09-16 25930, 2015

      • RJ2
        would also be nice if urls on the site mirrored the api url structure. listenbrainz.org/user/RJ/topartists for a detail view, for example
      • 2015-09-16 25931, 2015

      • github joined the channel
      • 2015-09-16 25931, 2015

      • github
        [listenbrainz-server] Freso opened pull request #17: s/it's/its/ (master...fix-its) https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25931, 2015

      • github has left the channel
      • 2015-09-16 25952, 2015

      • Freso
        That moment when writing the PR takes more than ten times as long as making the commit.
      • 2015-09-16 25910, 2015

      • kepstin
        also don't forget about all the fun we had in musicbrainz with usernames containing '/'
      • 2015-09-16 25912, 2015

      • ruaok
        yeah, finding the right snarky supporting gifs is important.
      • 2015-09-16 25921, 2015

      • Freso
        Ikr.
      • 2015-09-16 25941, 2015

      • ruaok prints out the gif from the PR and tacks it to his wall
      • 2015-09-16 25945, 2015

      • Freso
        :)
      • 2015-09-16 25917, 2015

      • Freso
      • 2015-09-16 25920, 2015

      • github joined the channel
      • 2015-09-16 25920, 2015

      • github
        [listenbrainz-server] mayhem pushed 2 new commits to master: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25920, 2015

      • github
        listenbrainz-server/master bc0cc15 Frederik “Freso” S. Olesen: s/it's/its/...
      • 2015-09-16 25920, 2015

      • github
        listenbrainz-server/master 8f11156 Robert Kaye: Merge pull request #17 from Freso/fix-its...
      • 2015-09-16 25920, 2015

      • github has left the channel
      • 2015-09-16 25935, 2015

      • Freso <3 The Oatmeal
      • 2015-09-16 25915, 2015

      • RJ2
        (think i have a fix for the postgres 9.4 thing, just redoing from scratch to be sure)
      • 2015-09-16 25924, 2015

      • ruaok
        awesome.
      • 2015-09-16 25957, 2015

      • ruaok looks at the clock in shock
      • 2015-09-16 25927, 2015

      • ruaok
        I guess that presentation is mostly going to be winged tomorrow.
      • 2015-09-16 25927, 2015

      • Freso
      • 2015-09-16 25957, 2015

      • ruaok
        kepstin: http://tickets.musicbrainz.org/browse/LB-26 is already possible
      • 2015-09-16 25911, 2015

      • github joined the channel
      • 2015-09-16 25911, 2015

      • github
        [listenbrainz-server] gentlecat created navbar-reorder (+1 new commit): https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25911, 2015

      • github
        listenbrainz-server/navbar-reorder af59796 Roman Tsukanov: Reorder items in the navbar....
      • 2015-09-16 25911, 2015

      • github has left the channel
      • 2015-09-16 25917, 2015

      • github joined the channel
      • 2015-09-16 25917, 2015

      • github
        [listenbrainz-server] mayhem pushed 1 new commit to master: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25917, 2015

      • github
        listenbrainz-server/master 5eec2c6 Robert Kaye: Merge pull request #18 from metabrainz/navbar-reorder...
      • 2015-09-16 25917, 2015

      • github has left the channel
      • 2015-09-16 25944, 2015

      • alastairp
        ruaok: sorted?
      • 2015-09-16 25905, 2015

      • ruaok
        the discussion around URLs hasn't concluded.
      • 2015-09-16 25918, 2015

      • ruaok
        but at least I know the difference between its and it's.
      • 2015-09-16 25940, 2015

      • Gentlecat
        can we remove merged branches?
      • 2015-09-16 25941, 2015

      • ruaok
        now that I know what is up, I'll have to work hard to keep doing it wrong. even if only to keep Freso entertained.
      • 2015-09-16 25947, 2015

      • Gentlecat
        it's getting kind of noisy
      • 2015-09-16 25948, 2015

      • ruaok
        Gentlecat: sure
      • 2015-09-16 25934, 2015

      • ruaok
        Gentlecat: on PR 16, your comment about one part not working properly. what are you referring to? Does your PR not work correctly or the PR exists because it doesn't work correctly?
      • 2015-09-16 25937, 2015

      • github joined the channel
      • 2015-09-16 25937, 2015

      • github
        [listenbrainz-server] gentlecat deleted listens at 8acfb25: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25937, 2015

      • github has left the channel
      • 2015-09-16 25957, 2015

      • github joined the channel
      • 2015-09-16 25957, 2015

      • github
        [listenbrainz-server] gentlecat deleted typo-home at 56aa84b: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25957, 2015

      • github has left the channel
      • 2015-09-16 25959, 2015

      • Gentlecat
        ok, I cleaned up mine
      • 2015-09-16 25935, 2015

      • Gentlecat
        ruaok: it exists because I want some feedback
      • 2015-09-16 25911, 2015

      • Gentlecat
        it doesn't work correctly yet, hence [WIP]
      • 2015-09-16 25921, 2015

      • ruaok
        ok, got it.
      • 2015-09-16 25959, 2015

      • ruaok
        sadly, I've got no feedback for you, Gentlecat. :(
      • 2015-09-16 25912, 2015

      • ruaok
        my javascript skills are that of a caveman.
      • 2015-09-16 25950, 2015

      • github joined the channel
      • 2015-09-16 25950, 2015

      • github
        [listenbrainz-server] RJ pushed 1 new commit to master: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25950, 2015

      • github
        listenbrainz-server/master 962a6a6 Richard Jones: make sure we install pg 9.4 correctly
      • 2015-09-16 25950, 2015

      • github has left the channel
      • 2015-09-16 25951, 2015

      • Gentlecat
        bitmap given me some tips yesterday, I just need to figure out how to actually implement that
      • 2015-09-16 25924, 2015

      • ruaok
        thanks RJ.
      • 2015-09-16 25934, 2015

      • RJ2
        np
      • 2015-09-16 25937, 2015

      • ruaok
        should Gentlecat converge or blow away and then converge?
      • 2015-09-16 25951, 2015

      • RJ2
        if you have 9.3 installed, you're better off destroying and redoing
      • 2015-09-16 25955, 2015

      • RJ2
        i think
      • 2015-09-16 25900, 2015

      • ruaok
        k.
      • 2015-09-16 25931, 2015

      • Freso
        DESTROY!!
      • 2015-09-16 25908, 2015

      • ruaok switches to comic sans for the presentation
      • 2015-09-16 25922, 2015

      • alastairp
        RJ2: you didn't finish the deploy of messybrainz in the same vm, did you?
      • 2015-09-16 25944, 2015

      • Freso
        ruaok: Chat logger post on Friday?
      • 2015-09-16 25952, 2015

      • ruaok
        sure.
      • 2015-09-16 25906, 2015

      • alastairp
        Freso: when will the chatlogger page look like a metabrainz site and not some random web2.0 project?
      • 2015-09-16 25907, 2015

      • ruaok
        I was hoping to take friday off, but that is not looking lilely.
      • 2015-09-16 25922, 2015

      • ruaok
        I will, however, take a very long lunch.
      • 2015-09-16 25928, 2015

      • Freso
        (I mean, I'd prefer it to come out today, but I don't see that as likely either, nor tomorrow. :))
      • 2015-09-16 25901, 2015

      • ruaok
        If you want to write it and include the points that I care about we can make it happen.
      • 2015-09-16 25942, 2015

      • RJ2
      • 2015-09-16 25943, 2015

      • ruaok
        I have two points: 1) thanks to google for the 10k in hosting credits. Look what we built 2) THanks for our annual support of $40k.
      • 2015-09-16 25943, 2015

      • alastairp
        ruaok: long lunch on friday sounds grand
      • 2015-09-16 25944, 2015

      • Freso
      • 2015-09-16 25900, 2015

      • RJ2
        no time for that today, could have a look tomorrow.. probably doesn't need much more work
      • 2015-09-16 25905, 2015

      • ruaok
        alastairp: my long lunch will include Ikea. :(
      • 2015-09-16 25918, 2015

      • alastairp
        RJ2: we're ok for now - since it's deployed sketchyops-style
      • 2015-09-16 25918, 2015

      • ruaok
        how about a long lunch on monday?
      • 2015-09-16 25926, 2015

      • RJ2
        heh yeah
      • 2015-09-16 25933, 2015

      • alastairp
        so no rush to get it going for development
      • 2015-09-16 25945, 2015

      • alastairp
        let's take our time and then roll it out on the main server too
      • 2015-09-16 25952, 2015

      • RJ2
        i wanted to chef up some process supervision too
      • 2015-09-16 25959, 2015

      • ruaok
        daemontools?
      • 2015-09-16 25910, 2015

      • ruaok
        that is out poison of choice for that.
      • 2015-09-16 25935, 2015

      • RJ2
        yeah, although for some things where you want multiple of the same process running, like the python that writes kafka->cassandra perhaps, daemontools isn't suitable
      • 2015-09-16 25946, 2015

      • RJ2
        altho on single-node, 1 proc is fine
      • 2015-09-16 25914, 2015

      • RJ2
        i tend to use runit, and supervisord when mutliple procs are needed
      • 2015-09-16 25918, 2015

      • RJ2
        will use daemontools for this
      • 2015-09-16 25927, 2015

      • github joined the channel
      • 2015-09-16 25927, 2015

      • github
        [listenbrainz-server] gentlecat created period (+1 new commit): https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25927, 2015

      • github
        listenbrainz-server/period d5fa61b Roman Tsukanov: Remove space before period on homepage.
      • 2015-09-16 25927, 2015

      • github has left the channel
      • 2015-09-16 25929, 2015

      • ruaok
        :)
      • 2015-09-16 25949, 2015

      • alastairp
        oh. it's not software called R unit
      • 2015-09-16 25956, 2015

      • RJ2
        yeah run-it
      • 2015-09-16 25902, 2015

      • RJ2
        i used to think it was r-unit
      • 2015-09-16 25934, 2015

      • RJ2
        i'm still not sure, but run-it makes more sense :P
      • 2015-09-16 25956, 2015

      • github joined the channel
      • 2015-09-16 25956, 2015

      • github
        [listenbrainz-server] mayhem closed pull request #19: Remove space before period on homepage (master...period) https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25956, 2015

      • github has left the channel
      • 2015-09-16 25911, 2015

      • github joined the channel
      • 2015-09-16 25911, 2015

      • github
        [listenbrainz-server] gentlecat deleted period at d5fa61b: https://github.com/metabrainz/listenbrainz-server…
      • 2015-09-16 25911, 2015

      • github has left the channel
      • 2015-09-16 25913, 2015

      • ruaok
        /1/user/rob/listen or /1/user/rob/listens ?
      • 2015-09-16 25919, 2015

      • ruaok
        singular or plural?
      • 2015-09-16 25923, 2015

      • alastairp
        for submit or get?
      • 2015-09-16 25937, 2015

      • ruaok
        currently we use one for both
      • 2015-09-16 25942, 2015

      • alastairp
        plural
      • 2015-09-16 25921, 2015

      • Freso closed a couple of oold (5+ years) chat logger bugs... now all http://tickets.musicbrainz.org/browse/OTHER/component/10027 should actually be applicable ← Leo_Verto, LordSputnik ;)
      • 2015-09-16 25953, 2015

      • RJ2
        i'd say listens for get
      • 2015-09-16 25959, 2015

      • RJ2
        and submit should be a totally different url
      • 2015-09-16 25913, 2015

      • RJ2
        since it's not rest. /1/submit-listen or something
      • 2015-09-16 25955, 2015

      • ruaok has no strong feelings, but knows others do
      • 2015-09-16 25924, 2015

      • ruaok
        but, you still need the user name in the URL, RJ.
      • 2015-09-16 25935, 2015

      • ruaok
        because it isn't in the payload/json
      • 2015-09-16 25938, 2015

      • RJ2
        username would come from the authentication
      • 2015-09-16 25947, 2015

      • alastairp
        ruaok: technically we dont - we can get token -> username
      • 2015-09-16 25900, 2015

      • alastairp
        which is pretty normal
      • 2015-09-16 25929, 2015

      • ruaok
        yay more code to re-write.
      • 2015-09-16 25939, 2015

      • Freso
        alastairp RJ2: R U (i)Nit(ee)
      • 2015-09-16 25900, 2015

      • RJ2
        important to get urls right early on though :)
      • 2015-09-16 25919, 2015

      • ruaok nods and cries a little
      • 2015-09-16 25953, 2015

      • RJ2
        once the basic url schema is sorted, it should be obvious where to add new bits
      • 2015-09-16 25940, 2015

      • alastairp
        ruaok: I currently have no listens. Should I test and try and do an import, or believe that it'll work tomorrow and do the demo directly into my account?
      • 2015-09-16 25956, 2015

      • alastairp
        (can we delete my listens before tomorrow?)
      • 2015-09-16 25956, 2015

      • ruaok
        test it.
      • 2015-09-16 25901, 2015

      • alastairp
        ok
      • 2015-09-16 25908, 2015

      • ruaok
        make a dummy account for tomorrow, I'd say
      • 2015-09-16 25914, 2015

      • alastairp
        yeah, I wondered about that
      • 2015-09-16 25920, 2015

      • alastairp
        woo, another musicbrainz account!
      • 2015-09-16 25922, 2015

      • alastairp
        I have so many