#musicbrainz

/

      • jacknetgb
        hey ruaok it failed again, but the problem was the old 7.1 process was still running
      • 7.4 i mean
      • ruaok
        :-(
      • Knio has quit
      • Knio joined the channel
      • at least that is easy to fix. just takes time.
      • jacknetgb
        psql: FATAL: Ident authentication failed for user "musicbrainz_user"
      • how can i fix that?
      • ruaok
        edit <pg_data_dir>/pg_hba.conf
      • and add permissions for your user/ip combo to access the server
      • jacknetgb
        ive got local musicbrainz_db musicbrainz_user ident mb_map in
      • ruaok
        cd admin
      • ./psql READWRITE
      • to test those settings.
      • if you get the DB prompt, you're all good.
      • or a no db exists error
      • jacknetgb
        The indent auth fails with the error above
      • ident*
      • ruaok
        I never understand all those shenanigans.
      • host all all 10.1.1.3/32 trust
      • where 10.1.1.3 is my local ip.
      • and everything is nicely tucked behind a firewall.
      • xlotlu
        eew, /me hacks into ruaok's lan
      • ruaok
        good luck.
      • nikki uses trust too
      • LotR
        ruaok: would something like this be helpful? http://nopaste.snit.ch/13398
      • ruaok
        not really, unfortunately.
      • LotR
        why not?
      • ruaok
        because you'd need a known DB that doesn't change to sit under the hood.
      • because automated tests will fail randomly on a constantly changing database. :-(
      • so you've solved the easy part. now the hard work needs to be done. :-(
      • LotR
        ruaok: you can write the tests so they are more resilient to changes. I'd say the tests I wrote really shouldn't fail even if the database changes.
      • xlotlu
        i want replicated moderation :/
      • LotR
        ruaok: but I understand that more interesting tests would be harder to write
      • ruaok
        and the things I am testing hard for are ordering of search results.
      • LotR
        ruaok: if you give me an example of a real check you want to make, I can see if I can come up with the corresponding test..
      • ruaok
        and that assumes that you have thousands of records for it to work right.
      • a search for "faye wong" should have her appear in the top 3 hits.
      • MBChatLogger
        I hate the evil empire
      • ruaok
      • billg hates windows usablity. in 2003.
      • I tried using vista a couple of days ago.
      • woah. amazing.
      • adamgolding has quit
      • adamgolding joined the channel
      • jacknetgb
        i still get that error with the line added that you said above (modified for my network of course)
      • LotR
        ruaok: http://nopaste.snit.ch/13399 <-- better?
      • ruaok
        I guess.
      • did you try logging in using psql, jacknetgb ?
      • jacknetgb
        using what user?
      • niklas joined the channel
      • ruaok
        LotR: I just can't conceive of writing test cases that are not going to be brittle
      • ruaok waves at nikki
      • grr. and niklas
      • :-)
      • niklas
        :(
      • something wrong?
      • ah
      • hello
      • ruaok
        tab complition got nikki not niklas :-)
      • nikki waves back at ruaok anyway
      • lol
      • LotR
        ruaok: I thought it'd be useful to not have to do all the testing by hand. even if it might be a bit brittle, it still seems less work to me to figure out if a test is genuinely failing or if it's just because the test isn't good enough.
      • ruaok: I can stop if you're not interested though :)
      • ruaok
        well, at this stage it makes no sense.
      • one change and the test results are ALL DIFFERENT.
      • It's too early for what you're suggesting.
      • once I figure out what I'm doing, I'll come back to this...
      • nikki
        I'm only half paying attention, but isn't the idea that you can put a list of searches and a list of results there and see whether they're found properly or not without doing the same searches over and over?
      • LotR
        ruaok: you can also write TODO tests. so you write them how you'd *like* the results to be, and then if you run the test it will fail, but it won't really count
      • nikki: right.
      • jacknetgb
        ruaok which user using psql?
      • ruaok
        just do ./psql READWRITE
      • it tests the settings in DBDefs.pm
      • jacknetgb
        Still the ident error
      • ruaok
        did you restart postgres? or HUP it?
      • jacknetgb
        i restarted it
      • ruaok
        then pg_hba is still wrong somehow.
      • I have yet to get the pg from pre-built packages to work.
      • I always install from source. that works predictably.
      • jacknetgb
        Heres my pg_hba.conf http://jacknet.co.uk/pg_hba.txt
      • ruaok
        can you please consult the postgres docs?
      • jacknetgb
        for?
      • ruaok
        further help on this? I'm working on other stuff atm
      • jacknetgb
        ok
      • Is it fine if i just get the database does not exist error?
      • ruaok
        yes
      • xlotlu
        yawn
      • jacknetgb
        WARNING: skipping "pg_shdepend" --- only table or database owner can vacuum it , any ideas?
      • xlotlu
        nothing to worry about
      • jacknetgb
        Wed Jun 25 21:25:14 2008 : InitDb.pl succeeded
      • but its only took like 2 seconds to complete?
      • so it hasnt done anything i recon
      • ruaok
        what was your initdb command?
      • jacknetgb
        ./admin/InitDb.pl --createdb --import mbdump*.tar.bz2
      • ruaok
        I doubt that this would change it, but try cd'ing into admin and rerun with the path for import fixed up
      • xlotlu
        'night
      • xlotlu has quit
      • niklas
        warp: are you going to make the tool keep track of which releases have been submitted?
      • warp
        niklas: i can do that, if you don't expect anything fancy :)
      • niklas
        warp: ok :) would be great
      • warp
        it's a commandline tool, i'm assuming people will run it in their ~/music directory or something. an easy way to do it is to assume each release lives in its own subdirectory, and just write a small file there which says the release has already been submitted.
      • the other option would be to keep a central database of submitted MBIDs, also shouldn't be much work with python, but i'm not that familiar with such databases.
      • LotR
        warp: you could just read the files for MB tags, no? no need for extra files
      • warp
        LotR: i can't _see_ with just an mbid if that release has already been submitted to niklas' collection db.
      • LotR
        I guess I don't know what 'collection db' is
      • warp
        LotR: niklas' summer of code project!
      • niklas
        warp: would it help you when developing if you can see "duplicates"? mbid's that have been submitted but already are in the database
      • ruaok heads to lunch
      • ruaok
        bbiab
      • warp
        niklas: not really, i think it would be better to just silently ignore them. I don't think there is any harm.
      • niklas
        no but I was thinking just while youre developing, to make sure theyre saved correctly
      • warp
        niklas: I think I actually have one duplicate in my /mnt/music directory. (flac and mp3 versions of the same release which _I_ consider seperate releases, they have different catalog #s, but for MB they are just one release).
      • niklas
        because I did that. keep a list of duplicates. doesnt require any extra querys. but I'll just remove it if it is unnecessary
      • aha
      • warp
        niklas: maybe other users would eventually like to see that reported, so don't ask _just_ me :).
      • niklas
        true
      • I'll keep it for now
      • Im gonna go buy groceries
      • CatCat
        omg nerdvana
      • hi guys
      • warp
        hellomo
      • byeniklas
      • CatCat
        I sure do hope that MGdesigner guy shows up again- cool people from asia in #musicbrainz
      • its the next logical step after this scandinvasion
      • Kerensky97
        It'd be nice just so we get people adding Asian albums en mass.
      • When I was in Japan going through used CD stores I was thinking how cool it would be just to get paid to go though all the CDs there and enter them into MB.
      • nikki
        I always think that in second hand CD shops anyway
      • Kerensky97
        yeah :)
      • LotR
        so get a job at a 2nd hand cd store? :)
      • CatCat
        or *record* store
      • @_@
      • Tykling joined the channel
      • speaking of scandinvasions
      • hmm canidae har ikke vært her inne på en stund :
      • (
      • MBChatLogger
        Yes! There is hope!
      • CatCat
        ladedida obama ladedida
      • \o/
      • srotta
        I've been thinking about going to local library with a laptop and just going through all the releases.
      • CatCat
        \o/^2
      • srotta
        They removed locked cases from cds so I could actually do that some day.
      • warp
        haha
      • Wizzcat
        at the library here they have signs saying they can and will ask you what you're doing if you use a computer to listen to music in the library
      • srotta
        By all means.
      • I might even answer.
      • 8)
      • Wizzcat
        it specifically mentions that "ripping" is illegal :p
      • srotta
        Luckily it's not illegal here.