#musicbrainz

/

      • jcazevedo joined the channel
      • santiissopasse joined the channel
      • Matip has left the channel
      • Mattx joined the channel
      • Mattx
        I'm back
      • it took 1 hour to load the mbdump into the DB
      • and create the indexes..
      • it's impossible to execute something I'm asked about a few days ago, which is basically this query: http://www.apaste.info/f8Xm
      • it takes way too long
      • djinni` joined the channel
      • reosarevok
        Wait
      • For *every single recording* in the DB? The 10 million of them?
      • Mattx
        yep
      • reosarevok
        Well yeah, that's likely to take a while
      • Mattx
        it does finish though, I was just saying.. :P
      • reosarevok has to wonder why you want to do that
      • I need a slighlty different query but I couldn't find a way to express it in SQL in a sane way
      • reosarevok
        (for a specific artist I would understand it, but for every single recording...)
      • Mattx
        do you remember? I wanted some info about all "songs"
      • and I asked here what that would be
      • reosarevok
        Yeah, but I thought you'd want them for one artist, heh
      • (at a time, I mean)
      • Mattx
        the point is this is getting ALLLLLL the recordings
      • I was supposed to use the earliest release
      • but that's not easy to accomplish
      • becuase the year is in two different tables and you have to do LEAST(...) etc :|
      • reosarevok
        Heh
      • Mattx
        I mean, for a release_group, I only wanted the songs of its earliest release
      • reosarevok is really curious what you want to do with a list of every recording and its release
      • instead I'm getting all the songs for simplicity
      • (where song == recording)
      • reosarevok
        (and nothing else, since you're not getting the artist data or anything)
      • Mattx
        I'm getting the recording_group mbid, which is my link to artists!
      • reosarevok
        Well, I meant you're not taking the recording artist
      • But yeah, if you have the ID you can indeed always query for that later
      • Mattx
        I'm doing so with a different query...
      • mb's database is too big and complex, I'm taking what I need and caching it in a different schema in pgsql
      • so then I can drop this DB
      • err, drop this schema I meant (mb's schema, with over 150 tables, wtf!?)
      • xD
      • reosarevok, can you think of any way to limit the recordings to those in the earliest release for each release_group?
      • I couldn't find out how to filter the recordings like that
      • santiissopasse joined the channel
      • derwin
        mb's schema.. highly normalized
      • Mattx
        yep, I mean, it's really awesome and well designed
      • but I'm using only 10% of it, so I'm caching results and dropping the rest
      • Nyanko-sensei joined the channel
      • santiissopasse joined the channel
      • HibiscusKazeneko joined the channel
      • HibiscusKazeneko
        my dad made a normally-delicious dinner, but my stomach is acting up
      • KillDaBOB joined the channel
      • peaveyman joined the channel
      • d4rkie joined the channel
      • kepstin-laptop_ joined the channel
      • JonnyJD joined the channel
      • johnb003 joined the channel
      • STalKer-X_r joined the channel
      • Mattx joined the channel
      • Mattx joined the channel
      • Wixy joined the channel
      • JesseW joined the channel
      • just had to put duct tape on my charger due to split rubber
      • it annoys me how poorly designed and overpriced these things are
      • ticklish joined the channel
      • ticklish
        Hi
      • By any chance does anyone know about the acoustic fingerprinting for releases?
      • As in how to create that from CDs, or info from the MB database?
      • Okay, is anyone out here, or is everyone else otherwise engaged?
      • derwin
        sigh
      • HibiscusKazeneko
        need something, derwin?
      • flamingspinach
        he was probably just sighing at the impatience of *!*@gateway/web/*
      • zas joined the channel
      • HibiscusKazeneko
        I'm not sure what that is
      • ianweller
        HibiscusKazeneko: someone joined from web irc, asked a question, and quit 4 minutes later
      • HibiscusKazeneko
        I know
      • I couldn't get to him in time
      • ianweller
        *!*@gateway/web/* refers to the hostmask
      • HibiscusKazeneko
        hmm
      • d4rkie
        HibiscusKazeneko: cheap rubber
      • good cables, though
      • HibiscusKazeneko
        yeah, the cable itself appears fine
      • d4rkie
        I have mine rubberless for a year now and it still works
      • HibiscusKazeneko
        it might be coming unwound, but at least it isn't frayed yet
      • d4rkie
        I just duct-taped the parts I'm touching
      • HibiscusKazeneko
        do you still cover the wires so they don't catch anything on fire?
      • d4rkie
        12v
      • what fire?
      • HibiscusKazeneko
        one previous charger I had became discolored over time
      • I was worried that the combination of heat and exposed wires would produce sparks
      • simukis_ joined the channel
      • BTW this charger outputs 20V
      • the last one was lower, I'm not sure by how much
      • d4rkie
        not sure how much fire I can make out of 12-20V
      • HibiscusKazeneko
        plenty if you leave an unattended book, sock or something near an exposed wire
      • d4rkie
        just dust
      • danoply joined the channel
      • Jinx joined the channel
      • simukis_ joined the channel
      • danoply joined the channel
      • simukis_ joined the channel
      • HibiscusKazeneko
        I gotta get some sleep. Night all
      • HibiscusKazeneko has left the channel
      • hilikus joined the channel
      • hilikus
        Hi all, I am looking for some help. I have this error after upgrading to the new version (schema 19)
      • Caught exception in MusicBrainz::Server::Controller::Root->index "Failed query:
      • DBD::Pg::st execute failed: ERROR: relation "release_name" does not exist LINE 7: FROM release JOIN release_name name ON release.name=na... ^ at lib/Sql.pm line 83.
      • nikki
        how did you upgrade? that sounds like the code is out of date since it's looking for a table which was removed in the schema change
      • (also #musicbrainz-devel might be better)
      • hilikus_ joined the channel
      • hilikus_
        @Nikki thanks. I am following the update instructions - git fetch origin, git checkout <latest-git-tag>. then, carton exec -Ilib -- ./upgrade.sh
      • nikki
        hm, not sure then :/
      • I'd suggest asking in #musicbrainz-devel, since the people who might have the answer pay more attention there, although it's quiet right now, not sure if anyone else is around
      • hilikus_
        yeah. Agree! thanks for being a help mate. :)
      • bitmap
        hilikus_: what url are you fetching the code from? 'git remote show origin' should say either github or bitbucket
      • hilikus_
        I am fetching code from github - Fetch URL: git://github.com/metabrainz/musicbrainz-server.git
      • bitmap
        okay, that's good then :) what does 'git rev-parse HEAD' say?
      • hilikus_
        b32b2fc23ebb11d50888ea0969d9e2bf27c0a9e2
      • that's the result. btw, thanks for looking into it. :)
      • bitmap
        hm, that would indicate the code is up to date at least
      • did you restart the server after updating? :) ianmcorvidae might have more ideas but he's in #musicbrainz-devel
      • hilikus_
        I didn't restart yet. will going to reboot now. thanks
      • SultS joined the channel
      • bitmap: I believe the upgrade steps I've performed was right. But when I roll back DB schema sequence to 18 everything works fine.
      • ruaok joined the channel
      • bitmap: I changed it back to 19 so that code base and database are all 19. After that, I can update the slave now without any issue. I think restarting my instance resolved the issue. thanks
      • reosarevok joined the channel
      • SultS joined the channel
      • SultS joined the channel
      • jcazevedo joined the channel
      • SultS joined the channel
      • santiissopasse joined the channel
      • PeepoUK
        Server busy, try again later. Blah blah blah....
      • reosarevok
        Yeah :(
      • SultS joined the channel
      • SultS joined the channel
      • SultS joined the channel
      • v6lur joined the channel
      • kepstin-laptop_ joined the channel
      • SultS joined the channel
      • ruaok joined the channel
      • SultS joined the channel
      • ruaok joined the channel
      • santiissopasse joined the channel
      • ruaok joined the channel
      • Nyanko-sensei joined the channel
      • Freso joined the channel
      • Hadora joined the channel
      • ruaok joined the channel
      • Mattx has left the channel
      • Musicmix joined the channel