#musicbrainz-devel

/

      • reosarevok joined the channel
      • 2013-09-01 24454, 2013

      • JonnyJD joined the channel
      • 2013-09-01 24434, 2013

      • voiceinsideyou1 joined the channel
      • 2013-09-01 24448, 2013

      • MBJenkins
        Project full-import build #104: SUCCESS in 4 hr 59 min: http://ci.musicbrainz.org/job/full-import/104/
      • 2013-09-01 24438, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24415, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24451, 2013

      • ohrstrom joined the channel
      • 2013-09-01 24424, 2013

      • andreypopp joined the channel
      • 2013-09-01 24413, 2013

      • andreypopp joined the channel
      • 2013-09-01 24438, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24449, 2013

      • andreypopp joined the channel
      • 2013-09-01 24427, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24445, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24449, 2013

      • Freso
        CatQuest: The "Import to MB" button is only sometimes displayed due to a bug somewhere. murdos, however, insists there is no issue: https://userscripts.org/topics/89514 (I also always have to do some workaround to get it to appear - but I also use Adblock)
      • 2013-09-01 24438, 2013

      • ruaok_ joined the channel
      • 2013-09-01 24453, 2013

      • ohrstrom joined the channel
      • 2013-09-01 24437, 2013

      • andreypopp joined the channel
      • 2013-09-01 24419, 2013

      • CatCat joined the channel
      • 2013-09-01 24431, 2013

      • Mineo
        does anyone know if there's already a ticket for http://musicbrainz.org/edit/23540403 (the non-thumbnail version of the picture is fine)? I could swear I've seen a ticket for that somewhere :/
      • 2013-09-01 24403, 2013

      • ohrstrom joined the channel
      • 2013-09-01 24453, 2013

      • nikki
      • 2013-09-01 24417, 2013

      • Mineo
        that's probably it, thanks :)
      • 2013-09-01 24446, 2013

      • LordSputnik joined the channel
      • 2013-09-01 24411, 2013

      • ZaphodBeeblebrox joined the channel
      • 2013-09-01 24444, 2013

      • ocharles
        LordSputnik: just a shame it's a poor choice, financially
      • 2013-09-01 24448, 2013

      • ocharles
        at least for stuff running 24/7
      • 2013-09-01 24456, 2013

      • ocharles
        (re: amazon cloud stuff)
      • 2013-09-01 24422, 2013

      • andreypopp joined the channel
      • 2013-09-01 24437, 2013

      • LordSputnik
        ocharles: it's free for a year though :)
      • 2013-09-01 24403, 2013

      • LordSputnik
        ocharles: what's a financially better cloud service?
      • 2013-09-01 24426, 2013

      • ocharles
        LordSputnik: hetzner and linode are both good choices
      • 2013-09-01 24450, 2013

      • ocharles
        not exactly "cloud"
      • 2013-09-01 24405, 2013

      • ocharles
        but if you're just running one server 24/7, that isn't really how the cloud works
      • 2013-09-01 24440, 2013

      • LordSputnik
        but if I need to I can scale
      • 2013-09-01 24442, 2013

      • LordSputnik
        but I really have no clue about cloud hosting and just want a cheap replacement for my raspberry pi which is slightly faster, and amazon seemed easy
      • 2013-09-01 24435, 2013

      • ocharles
        ruaok, ruaok_ - ping
      • 2013-09-01 24447, 2013

      • ocharles
        ijabz - ping?
      • 2013-09-01 24447, 2013

      • voiceinsideyou1 joined the channel
      • 2013-09-01 24453, 2013

      • reosarevok joined the channel
      • 2013-09-01 24424, 2013

      • ocharles
        actually, nm
      • 2013-09-01 24439, 2013

      • voiceinsideyou joined the channel
      • 2013-09-01 24453, 2013

      • ocharles
        pingu is to blame
      • 2013-09-01 24404, 2013

      • ocharles
        one perl-fcgi process , started 16:05 seems to be unresponsive
      • 2013-09-01 24455, 2013

      • ijabz joined the channel
      • 2013-09-01 24428, 2013

      • ocharles
        ok, i restarted pingu but it still seems to have the same behaviour
      • 2013-09-01 24439, 2013

      • ocharles
        i've lowered the weight on that server so hopefully it won't impact things too badly
      • 2013-09-01 24412, 2013

      • ianmcorvidae
        possibly it's a specific sort of request?
      • 2013-09-01 24427, 2013

      • ianmcorvidae forgets if perl-stacktrace is installed on pingu
      • 2013-09-01 24401, 2013

      • ocharles
        ianmcorvidae: could be that, not sure
      • 2013-09-01 24405, 2013

      • ocharles
        i'd rather go and cook my dinner ;)
      • 2013-09-01 24427, 2013

      • ocharles
        but it's weighted less than lolo now and stuff seems stable enough, so i'm gonna see what happens
      • 2013-09-01 24438, 2013

      • ianmcorvidae
        fair enough :)
      • 2013-09-01 24428, 2013

      • ocharles
        http://tintin.mb/render/?width=1220&height=80… is what i'm using for monitoring this atm
      • 2013-09-01 24453, 2013

      • ocharles
        so you might want to keep an eye on that too
      • 2013-09-01 24424, 2013

      • ianmcorvidae joined the channel
      • 2013-09-01 24429, 2013

      • ianmcorvidae
        ocharles: if you're around, astro's now 500ing a bunch
      • 2013-09-01 24441, 2013

      • ianmcorvidae
        (well, 5xxing, but)
      • 2013-09-01 24455, 2013

      • ocharles
        oh good lord.
      • 2013-09-01 24403, 2013

      • ianmcorvidae
        looks like it's 502/504, as presumably expected
      • 2013-09-01 24417, 2013

      • ocharles
        astro is out now
      • 2013-09-01 24447, 2013

      • ianmcorvidae spies asterix's line starting to appear :P
      • 2013-09-01 24456, 2013

      • ianmcorvidae
        how do we debug this?
      • 2013-09-01 24414, 2013

      • ocharles
        not sure, it feels like something else is broken :/
      • 2013-09-01 24403, 2013

      • ocharles
        all back in, more weight on pingu
      • 2013-09-01 24451, 2013

      • warp
        are we running with four frontends now? or is one still an upgrade-work-in-progress situation?
      • 2013-09-01 24430, 2013

      • ocharles
        four at 12.04
      • 2013-09-01 24409, 2013

      • ocharles
        i think this might be a bit better now
      • 2013-09-01 24432, 2013

      • warp
        :)
      • 2013-09-01 24454, 2013

      • ianmcorvidae
        it seems like there's some trigger, I guess
      • 2013-09-01 24459, 2013

      • warp
        ocharles: haskell is hard!
      • 2013-09-01 24434, 2013

      • ianmcorvidae
        I can't imagine it's load, given we were fine with three frontends before 12.04
      • 2013-09-01 24445, 2013

      • ocharles
        warp: correct is hard!
      • 2013-09-01 24408, 2013

      • ocharles
        ianmcorvidae: yea, i think what's happening is a lot of processes are taking a long time to deliver responses
      • 2013-09-01 24421, 2013

      • ocharles
        which means one of our dbs is slow - search, wiki, totoro, memcached, or redis
      • 2013-09-01 24436, 2013

      • ianmcorvidae
        or they're getting stuck somewhere else
      • 2013-09-01 24441, 2013

      • ianmcorvidae
        but yes
      • 2013-09-01 24453, 2013

      • mb-chat-logger joined the channel
      • 2013-09-01 24414, 2013

      • ianmcorvidae
        wiki could be slow due to hoser being loaded in some capacity, how is that doing since we made pinoprime and more stuff is hitting tintin?
      • 2013-09-01 24440, 2013

      • ocharles
        caa-indexer on pinoprime is pretty borked too :/
      • 2013-09-01 24408, 2013

      • ocharles
        i restarted it and it seems to be actually processing events now
      • 2013-09-01 24422, 2013

      • ianmcorvidae
        luna/forums have been periodically flickering, according to nagios
      • 2013-09-01 24440, 2013

      • ocharles
        ok, gonna get back to non mb stuff. highlight me if things go down again
      • 2013-09-01 24447, 2013

      • ianmcorvidae
        k
      • 2013-09-01 24437, 2013

      • outsidecontext joined the channel
      • 2013-09-01 24437, 2013

      • ijabz joined the channel
      • 2013-09-01 24405, 2013

      • ijabz
        warp heh, I do wonder whether haskells primary aim was to be as a test to prove to people that you are clever
      • 2013-09-01 24426, 2013

      • ianmcorvidae
        it started out as a language for doing programming language research
      • 2013-09-01 24440, 2013

      • ianmcorvidae
        so that's why it's designed to be able to make so many high-level concepts fairly integrated
      • 2013-09-01 24401, 2013

      • ianmcorvidae
        conveniently though, understanding those concepts tends to help you use those concepts to write better code, so :P
      • 2013-09-01 24427, 2013

      • ijabz
        Decided I should read all the iain banks books I havent read, now that he has died
      • 2013-09-01 24409, 2013

      • ijabz
        Just read Excession and all the minds taking to each other, reminds me a bit of the musicbrainz irc channels
      • 2013-09-01 24429, 2013

      • ianmcorvidae
        hehe
      • 2013-09-01 24459, 2013

      • ijabz
        ianmcorvidae the few times I look at it, I just think wtf, there is no easy way into it
      • 2013-09-01 24428, 2013

      • ianmcorvidae
        hm, I suppose
      • 2013-09-01 24401, 2013

      • ianmcorvidae
        I guess it's a language focused on making you think before you write code, which a lot of languages don't really enforce
      • 2013-09-01 24421, 2013

      • ianmcorvidae
        and the same sort of thing tends to apply when learning it, which is a barrier
      • 2013-09-01 24407, 2013

      • ianmcorvidae
        hopefully you've at least been linked to http://learnyouahaskell.com/ before though, that's a pretty good introduction to the language
      • 2013-09-01 24450, 2013

      • ianmcorvidae
        there's always more things to learn with haskell, of course, but that gets you far enough you can typically figure out what things are doing and bootstrap your way further
      • 2013-09-01 24417, 2013

      • ijabz
        yeah I did look at it, but got a but bored with it.
      • 2013-09-01 24405, 2013

      • ianmcorvidae
        fair enough
      • 2013-09-01 24432, 2013

      • ianmcorvidae
        I read most of it while on a vacation visiting my girlfriend's extended family, so I guess I had a bit of a boon as far as focusing :P
      • 2013-09-01 24435, 2013

      • ijabz
        heh, yes almost anything is more fun than extended periods with the inlaws
      • 2013-09-01 24418, 2013

      • ocharles
        warp: watcha working on?
      • 2013-09-01 24455, 2013

      • warp
        ocharles: I'm trying to port a python script which does some magic and then downloads a resource.
      • 2013-09-01 24419, 2013

      • warp
        ocharles: https://gist.github.com/warpr/6406768 <-- I'm currently trying to get rid of the do-notation on resolvePrefix
      • 2013-09-01 24423, 2013

      • warp
        (and failing)
      • 2013-09-01 24444, 2013

      • murdos
        Freso: patches are welcome for the Discogs userscript
      • 2013-09-01 24400, 2013

      • ocharles
        warp: where are you stuck?
      • 2013-09-01 24422, 2013

      • ocharles
        oh, getting rid of do notation
      • 2013-09-01 24437, 2013

      • warp
        yes
      • 2013-09-01 24413, 2013

      • ocharles
        if you write it as "a >>= b" and then move 'a' and 'b' to separate functions, you can ask ghci there types, and gradually fill them in
      • 2013-09-01 24419, 2013

      • ocharles
        which is sort of "hole" driven development
      • 2013-09-01 24410, 2013

      • warp
        hm
      • 2013-09-01 24427, 2013

      • warp
        I get lost when it starts complaining about monads :)
      • 2013-09-01 24458, 2013

      • ohrstrom joined the channel
      • 2013-09-01 24424, 2013

      • warp
      • 2013-09-01 24415, 2013

      • Freso
        murdos: The workaround work fine for me. :p
      • 2013-09-01 24419, 2013

      • Freso
        *works
      • 2013-09-01 24448, 2013

      • ocharles
        hmm
      • 2013-09-01 24402, 2013

      • ocharles
        warp: write the types out for step1 and step2
      • 2013-09-01 24409, 2013

      • ocharles
        you see to be mixing monads
      • 2013-09-01 24432, 2013

      • ocharles
        or more, step2 is in a different monad than you expect
      • 2013-09-01 24417, 2013

      • ocharles
        (you expect IO but it's in Maybe)
      • 2013-09-01 24421, 2013

      • warp
        ocharles: I was kind of hoping the transformation from do-notation to >>= would be straightforward, and I was doing something silly wrong.
      • 2013-09-01 24439, 2013

      • ocharles
        warp: well it is, because that transformation is completely mechanical
      • 2013-09-01 24443, 2013

      • ocharles
        but I think you've tried to go too fast
      • 2013-09-01 24452, 2013

      • warp
        :)
      • 2013-09-01 24456, 2013

      • ocharles
        it may help to look up how do syntax works in the ghc manual
      • 2013-09-01 24459, 2013

      • ocharles
        and then manually expand it
      • 2013-09-01 24403, 2013

      • ocharles
        and then try and tidy that code up
      • 2013-09-01 24410, 2013

      • ocharles
        because right now you've dropped a return out
      • 2013-09-01 24419, 2013

      • ocharles
        lookup should be 'return . lookup'
      • 2013-09-01 24439, 2013

      • warp
        ah
      • 2013-09-01 24443, 2013

      • warp
        oh indeed.
      • 2013-09-01 24432, 2013

      • ocharles
        so if you replaced the ';' (that do notation would add) with >>=, then you might find the refactoring easier
      • 2013-09-01 24442, 2013

      • ocharles
        but this stuff you just develop an eye for eventually
      • 2013-09-01 24405, 2013

      • warp
        presumably understanding monads would help.
      • 2013-09-01 24411, 2013

      • ocharles
        hmm, the ability to remember exactly what the type of >>= helps
      • 2013-09-01 24418, 2013

      • ocharles
        but that's mostly memorizing the "monad" type class
      • 2013-09-01 24414, 2013

      • warp
        ocharles: unrelated, I don't understand what happens with the curly braces. is there a way to do that inline?
      • 2013-09-01 24429, 2013

      • ocharles
        what do you mean by curly braces?
      • 2013-09-01 24438, 2013

      • warp
        noRedirect request = request { redirectCount = 0 }
      • 2013-09-01 24408, 2013

      • ocharles
        oh
      • 2013-09-01 24415, 2013

      • ocharles
        not really, that's specific syntax
      • 2013-09-01 24440, 2013

      • ocharles
        that says "replace the 'redirectCount' field with 0, in the 'request' record
      • 2013-09-01 24448, 2013

      • ocharles
        the possible fields are specified by the type of request
      • 2013-09-01 24414, 2013

      • ocharles
        though i don't think conduit exports them
      • 2013-09-01 24429, 2013

      • ocharles
        though it *does* export the fields themselves, that's why you can update the record
      • 2013-09-01 24449, 2013

      • ocharles
        at least iirc
      • 2013-09-01 24456, 2013

      • warp
        yes, the documentation says to create the request with parseUrl, and then change fields afterward if neccesary.