#musicbrainz

/

      • ruaok
        Let's hope the nag does its job. :-)
      • djce
        quickie comment re SetSession: either pass in $session (and do "tie %$session"), or don't pass it in (and substitute $session for $HTML::Mason::Commands::session)
      • also, why does it untie at the end? Surely that's your problem?
      • (Shirley)
      • ruaok
        No, its not...
      • The hash needs to get untied before the script ends so that apache can write the session back to disk.
      • djce
        Well (a) there's probably a "sync" call for that, and (b) Mason (at least) does the "untie" anyway when the request ends.
      • ruaok
        I don't get your quickie comment -- I am passing in session.
      • please elaborate.
      • djce
        $session is always going to be == \%HTML::Mason::Commands::Session, I think.
      • In fact, if it's not, the method won't work.
      • cos you tie() to one and write into the other.
      • ruaok
        ok, taking the tie out makes it work.
      • Its probably getting to be bed time...
      • djce
        Oh, maybe you need "tie if not already tied" ? One for later, perhaps.
      • ruaok
        I think all is well now.
      • Lemme check it in and put it on test.
      • Ok, its live on test.mb.org
      • djce
        looks good so far...
      • ruaok
        check your mail.
      • hacking perl is fun.
      • :-)
      • djce
        No mail yet.
      • Got it. nice!
      • ruaok
        :-)
      • Now all I have to do is the note notification.
      • djce
        Cool.
      • One more thing: we should enforce a sane regex for moderator names
      • ruaok
        Do you think there is any chance you can warm up to releasing this tomorrow?
      • djce
        especially important since they're now being pasted into e-mail headers.
      • ruaok
        Yeha.
      • What regexp do you have in mind?
      • djce
        releasing this as in the e-mail stuff?
      • ruaok
        ya
      • djce
        something like /^\w+$/ but a bit looser. Allow _ . - etc.
      • Maybe. I dunno.
      • You've just got to be really careful if they're being pasted into headers, that's all.
      • e.g. having a mod name containing " < > @ could be bad.
      • ruaok
        :-)
      • djce
        if in doubt, be too strict.
      • ruaok
        I'll just look up the spec of allowable email name characters and go with that.
      • But that will have to wait until the am.
      • I'm beat.
      • djce
        Mmmm, not sure that's goint to help much.
      • The spec is really quite unreadable;
      • ruaok
        Urn.
      • djce
        but good luck, and good night anyway.
      • :-)
      • ruaok
        I'll just with what you said above. a-z0-9 . - _
      • Nite!
      • ruaok is now known as ruaok|sleep
      • djce
        Actually, here's the easy way:
      • just s/\W/?/ before pasting in.
      • ruaok|sleep
        ruaok|sleep is now known as ruaok
      • ruaok
        Cheating!
      • djce
        :-)
      • night!
      • ruaok
        ruaok is now known as ruaok|zzz
      • eikeon has quit
      • eikeon
        eikeon (~eikeon@jungle.ne.client2.attbi.com) has joined #musicbrainz
      • djce has quit
      • icepick-away
        icepick-away is now known as icepick
      • RJ has quit
      • icepick
        icepick is now known as icepick-away
      • RJ
      • icepick-away
        icepick-away is now known as icepick
      • alus
        wow, so I seriously recommend mp3check for anyone having 'TRM generation failed' or all 0's TRMs.
      • took the cases of TRM failure from 140 to 1 in a group of 1500
      • and that 1 is so small it might not be recognizable as mp3
      • djce
        djce (~davide@195.60.9.122) has joined #musicbrainz
      • alus
        maybe I'll build that tool in to my script.
      • alus ponders
      • icepick
        I was hoping that one of the mp3 check programs would be LGPL
      • so that I could include that in HIP, my playback lib
      • but I don't think any of them are
      • alus
        ?
      • what's LGPL?
      • icepick
        mp3guessenc is LGPL... it guesses what encoder was used
      • alus
        LGPL vs. GPL I should ask
      • icepick
        Library GPL, meaning you can make non-free programs that link to the library
      • alus
        oic
      • icepick
        but if you change the library you have to release the changes
      • alus nods
      • alus
        you should email the mp3check author - maybe he'd be interested
      • icepick
        yes I think I'll try that
      • djce has quit
      • djce
        djce (~davide@195.60.9.122) has joined #musicbrainz
      • ruaok|zzz
        ruaok|zzz is now known as ruoak
      • ruoak
        Wow. over 20 emails in mb-user overnight.
      • djce
        Bust busy busy
      • (oh, so close! s/t/y)
      • btw be sure to "cvs update" your copy of UserStuff.pm before you do more work on it
      • time to do some voting... haven't done any for a while.
      • ruoak
        ok, I've updated UserStuff
      • djce
        Did you see Gavin's (?) suggestion that the new automod's old mods should be pushed through without voting?
      • ruoak
        I haven't looked yet, but sounds reasonable.
      • djce
        I was just about to do that by manually adding 10 to moderation.yes for each one, or something.
      • That sound ok?
      • ruoak
        sure. :-)
      • djce
        (easier than changing code :-)
      • ruoak
        damn near 1,000,000 tracks too...
      • Oh, I need to make sure ModBot doesn't show up in the top 10 moderators...
      • djce
        OK, automod's mods updated. And the modbot is /just/ about to run.
      • Couldn't have timed it better :-)
      • ruoak
        and is now. :-)
      • djce
        SPEW SPEW SPEW ERROR ERROR WHO'S BEEN DIDDLING MY DATA?????? :-)
      • ruoak
        that took over 1000 mods out...
      • djce
        indeed.
      • Presumably you fixed last night's (i.e. about 22 hours ago) ModBot error?
      • ruoak
        yup.
      • djce
        What was it this time?
      • ruoak
        artistalias_fk
      • djce
        deleted artist?
      • ruoak
        I don't recall, sorry...
      • djce
        Maybe whenever one (any?) of us steps in to relieve the ModBot of its pain, we should mail root@zim (so we all get it) to say what was wrong and how we fixed it.
      • ruoak
        ok, can do.
      • djce
        Presumably one can address root@musicbrainz.org from the outside world?
      • testing... hello?
      • ruoak
        yes
      • hello!
      • djce
        sure? OK, I won't test it then.
      • (sorry, that "testing" was me pretending to test mail to root@zim)
      • ruoak
        not sure, just pretty certain. :-)
      • djce
        (you ruined the joke by telling me it worked :-)
      • ruoak is still asleep
      • btw I think you need to "/nick ruaok" :-)
      • ruoak
        ruoak is now known as ruaok
      • ruaok rests his case.
      • djce
        So was it today - soon - we said we'd update zim?
      • Or do you want to put it off until your branch is more ready? i.e. ready?
      • ruaok
        1:45 from now was the agreed time.
      • I can go either way.
      • djce
        Are you planning on doing any more work in the next 1.45 ?
      • i.e. on the branch?
      • ruaok
        Depends.
      • djce
        What do you think was still to do?
      • ruaok
        If we want to push the email stuff out, I will go polish what necessary.
      • on the mail branch we need to at least do email notification when a mod gets a note posted.
      • half hour of work.
      • djce
        OTOH, we could release the trunk as it is now, and maybe release the mail branch early next week. Sunday even.
      • ruaok
        Or I could tinker with a few web service things needed for libtunepimp to work better than mb_tagger
      • That sounds pretty good, really.
      • djce
        Whenever. No particular reason not to do two releases close together.
      • ruaok
        Agreed. Let's go with your branch first, and then I will finish tinkering with the emailand webservice stuff later today
      • djce
        ok
      • ruaok
        or tomorrow and we'll plan a release sun/mon
      • djce
        what's the web service stuff btw?
      • ruaok
        taglookup needs to be smarter about looking for complications.
      • djce
        Oh, so changes to QS.pm etc?
      • ruaok
        yes.