#musicbrainz-devel

/

      • pronik`` joined the channel
      • NXISGOD joined the channel
      • brianfreud joined the channel
      • NXISGOD has left the channel
      • ijabz_ joined the channel
      • warp
        git grip is awesome.
      • git grep
      • nikki
        hi
      • warp
        hi :)
      • nikki
        hmph. the colour on my macbook screen is very yellow compared to on this external monitor...
      • warp
        hm, is year required in MB partial dates?
      • nikki
        at the moment, yes
      • warp
        (I can imagine we know the birthday of an artist, but not their birth year)
      • nikki: ah, sucks. but right now, very good, because it makes fixing #172 easier :)
      • nikkeee joined the channel
      • nikkeee
        do you happen to know how I'm supposed to tell programs to close from the command line?
      • warp
        linux? mac? windows?
      • nikkeee
        mac
      • the osx equivalent of x isn't doing anything
      • warp
        killall seems to work
      • "killall Safari"
      • nikkeee idly notes that using an eee isn't *easy* at the best of times, and using one at the bottom of a cupboard is even harder :P
      • use "ps aux" to check which name the process actually has.
      • what are you doing at the bottom of a cupboard?
      • ruaok
        wifi reception?
      • kinky sex?
      • nikkeee
        haha
      • it's hooked up to the router and my external drive
      • wh9ich are both at the bottom of the cupboard
      • ruaok
        lol
      • warp
        ruaok: 5407 seems fixed already. I left a note on trac.
      • nikkeee
        I was trying to test it, except osx has better ideas
      • ruaok
        I've recently run across it.
      • warp
        ruaok: hm, so then it only happens in certain situations? :/
      • nikkeee
        that's partly why I'm reluctant to turn osx off, last time I turned it off with a vm running, it killed my hard drive and now I'm paranoid :P
      • ruaok
      • doesn't have them populated.
      • warp
        odd, it's filled here.
      • nikki joined the channel
      • ruaok
        what data are you running?
      • warp
      • NGS dump imported last weekend.
      • warp hopes the above link works.
      • my dump is from ftp.musicbrainz.org/pub/musicbrainz/data/ngs/, downloaded on 2009-09-29 17:04
      • ruaok
        thats utmostly odd.
      • nikki
        it's working on my computer
      • ruaok
        then I'd say put it on hold and if it creeps up again, we'll look closer.
      • nikki
        how long ago did you import the data?
      • ruaok
        it would be useful to do a data conversion from scratch and see if it happens there.
      • 8 sept.
      • nikki
        hmm, I think I last did it after that, and unless I'm mistaken, test hasn't been updated for ages either
      • warp teaches emacs about .t and .tt files.
      • ruaok
        I'd say not worry about it now.
      • nikki nods
      • nikki
        by the way, when do we close tickets for things that are in ngs? like we have a ticket for adding genders to artists
      • ruaok
        I's day add it to the NGS beta 1 milestone and close it as fixed.
      • ruaok sighs
      • time for bed soon.
      • nikki
        ok then
      • nikki can think of a few other tickets that ngs already has done
      • ruaok
        :-)
      • ruaok will try and codereview from PDFs on the plane. (if CR gets pissed with no net connection)
      • nikki
        ohh, when are you leaving?
      • ruaok
        13 hours.
      • nikki
        how long's the flight?
      • ruaok
        50 minutes and 9 hours 50 minutes. (SBP -> LAX -> LHR)
      • we fly south 50 minutes only to fly north again.
      • nikki
        heh, that happens quite often with trains for me
      • ruaok
        warp: a few more things that you could look at:
      • 1) porting stats, timeline, dashboard to catalyst/TT
      • 2) writing more reports. The report infrastructure is in place, but we only have two reports.
      • 3) If you're daring, port CD Stubs. :)
      • bed time.
      • nn
      • nikki
        sleep well!
      • warp breaks his debian.
      • :o
      • hmm...
      • does IE support max-width?
      • warp
        IE6 doesn't, I would hope it was fixed in either 7 or 8.
      • and i've broken it even more >_<
      • nikki
        :(
      • warp
        I shouldn't have used third party .deb packages
      • warp re-installs.
      • warp is almost back up and running.
      • ok, debian back up and running the way I want it too... now to get mb_server running again
      • yay! everything running again :)
      • nikki
        :D
      • warp
        hm, unix timestamps don't work very well to represent the birth date of e.g. Mozart
      • nikki
        heh
      • -700000000000 or something? :D
      • hmm... I can't remember which browsers we said we'd support
      • warp
        any idea if/how we're doing translations of the website?
      • nikki
        we have the strings wrapped in some function, I don't know when we're planning to actually translate it though
      • warp
        any idea about plurals? :)
      • for english it's just '1 year' and 'X years', but other languages may be more complicated.
      • nikki
        heh, like all the slavic ones go "one plural form? pfffft!"
      • warp
        :)
      • nikki is searching the code
      • nikki
        unsuccessfully at the moment :P
      • an example: [%- ln('There is also one anonymous subscriber.', 'There are also {num} anonymous subscribers.', anonymous_subscribers, {num => anonymous_subscribers}) -%]
      • warp
        so I gues that means the current codebase doesn't handle other plural thingies?
      • nikki
        it does, but those are the defaults
      • warp
        oh, right.
      • nikki
        the gettexty thingy deals with plurals elsewhere
      • nikki knows how it works but isn't good at explaining :/
      • warp
        'ln' is the function which does this stuff then?
      • warp looks for it
      • nikki
        it would seem so
      • warp
        root/components/common-macros.tt:[%- MACRO ln(text, plural, num, args) BLOCK;
      • which resolves to 'c.ngettext(text, plural, num, args)
      • nikki
        bah, no nice examples of how the plural forms work
      • well anyway, each language has some formula thingy which says how many different plurals there are and which numbers use which ones, and then there are that many strings in the translation file
      • so if arabic needs 6 or whatever, you don't end up having to enter 6 strings for english because the arabic stuff is in the arabic file and the english stuff is in the english file :o
      • warp
        yeah, I see ngettext just assumes english for the message ids always.
      • nikki
        yeah, I'm not entirely sure why, I guess it's so english speakers can be lazy or something and end up with strings that make sense even if they don't create a translation file thingy
      • warp
        yay!
      • aCiD2: help!
      • aCiD2: in a .tt file I can call ngettext() on 'c'. how do I get a $c which can do that in a .t file?
      • (I _think_ 'c' is a MusicBrainz::Server::Context, but if I create one with MusicBrainz::Server::Context->create_test_context() it doesn't have ngettext)
      • luks joined the channel
      • luks!
      • luks
        hi
      • warp
        perhaps you can help me :)
      • in a .tt file I can call ngettext() on 'c'. how do I get a $c which can do that in a .t file?
      • (I _think_ 'c' is a MusicBrainz::Server::Context, but if I create one with MusicBrainz::Server::Context->create_test_context() it doesn't have ngettext)
      • luks
        $c is the catalyst server instance
      • so MusicBrainz::Server
      • it's provided by a plugin
      • nikki
        hey luks!
      • luks
        (catalyst plugins extend the Catalyst base class)
      • hi nikki
      • warp
        luks: thanks. with my $c = MusicBrainz::Server->new() it actually works :)
      • luks
        what do you need it for?
      • just plain MusicBrainz::Server->new() would be probably wrong in a test
      • nikki
        oh, I remember what I'd been wondering now...
      • warp
        luks: yes, I understand that. but I always want something that works first, then worry about the right way to do things second.
      • nikki
        luks: when you made the ngs design thing, did you put the dropdown before the input box for any particular reason?
      • luks
        nikki: you mean in the search form?
      • warp
        luks: I'm calculating the age (ticket #172), so I need to output '1 year', 'X years', etc.. want to put that through ngettext() available from $c.
      • nikki
        er, yes
      • luks
        nikki: no reason at all then
      • nikki hates when she misses out half of the details
      • warp: I think a template should do that
      • nikki
        ah, 'cause I was wondering if we could switch it round, since it always seems back to front to me
      • luks
        nikki: I have no problem with changing it :)
      • warp
        luks: a template just for formatting that string?
      • luks
        warp: well, is the string used somewhere in perl code?
      • warp
        luks: i'm outputting it from perl code.