#musicbrainz

/

      • warp
        LotR: in itself trusting your identity to a third party is something you should consider _very_ carefully.
      • 2008-07-13 19536, 2008

      • warp
        Muzzz: bye!
      • 2008-07-13 19545, 2008

      • LotR
        warp: oh, definitely. but that goes for any such system
      • 2008-07-13 19559, 2008

      • dankine joined the channel
      • 2008-07-13 19523, 2008

      • LotR
        warp: but you *can* run your own openid server.. (which is possibly less secure, depending on how good you are at sysadmin stuff :)
      • 2008-07-13 19525, 2008

      • luks
        LotR: but you have to trust the third party only regarding the service they provide
      • 2008-07-13 19539, 2008

      • luks
        with openid you have to trust them much more
      • 2008-07-13 19510, 2008

      • dankine
        how do you @ SIG @ a line to claim it in the recent 'adding wiki pages to artists that dont have them' drive?
      • 2008-07-13 19514, 2008

      • luks
        I think the whole idea of using an URL for identity is just silly
      • 2008-07-13 19547, 2008

      • dankine
        anyone know?
      • 2008-07-13 19504, 2008

      • warp
        i did like the idea of allowing a third party to handle your data, but not having to trust them: http://www.clipperz.com/users/marco/blog/2008/05/…
      • 2008-07-13 19506, 2008

      • luks
        dankine: not sure if I understand the question :) but isn't it just @SIG@?
      • 2008-07-13 19523, 2008

      • warp needs to ponder some more in that direction
      • 2008-07-13 19554, 2008

      • dankine
        it says it on this page http://wiki.musicbrainz.org/MBWikipediaARs it may well just be @SIG@ but where do you put it
      • 2008-07-13 19524, 2008

      • luks
        dankine: @SIG@ will just add your name and the current time there
      • 2008-07-13 19535, 2008

      • luks
        so you put it where you want to put your name
      • 2008-07-13 19553, 2008

      • warp
        dankine: when you're editting a wiki document, you can use @SIG@ anywhere in that document.
      • 2008-07-13 19503, 2008

      • dankine
        ah okay
      • 2008-07-13 19510, 2008

      • dankine
        so i edit that page and stikc sig there
      • 2008-07-13 19544, 2008

      • dankine
        thanks
      • 2008-07-13 19513, 2008

      • CatCat
        @SIG@
      • 2008-07-13 19524, 2008

      • CatCat
        hello peoples!
      • 2008-07-13 19536, 2008

      • CatCat had cactus icecream
      • 2008-07-13 19547, 2008

      • CatCat
      • 2008-07-13 19501, 2008

      • metafollic joined the channel
      • 2008-07-13 19515, 2008

      • chefkoch joined the channel
      • 2008-07-13 19552, 2008

      • chefkoch_AW has quit
      • 2008-07-13 19554, 2008

      • chefkoch
        chefkoch is now known as chefkoch_AW
      • 2008-07-13 19522, 2008

      • Mirrakor has quit
      • 2008-07-13 19549, 2008

      • chefkoch joined the channel
      • 2008-07-13 19526, 2008

      • chefkoch_AW has quit
      • 2008-07-13 19528, 2008

      • chefkoch
        chefkoch is now known as chefkoch_AW
      • 2008-07-13 19536, 2008

      • dankine has quit
      • 2008-07-13 19543, 2008

      • sonium has left the channel
      • 2008-07-13 19527, 2008

      • chefkoch joined the channel
      • 2008-07-13 19504, 2008

      • chefkoch_AW has quit
      • 2008-07-13 19506, 2008

      • chefkoch
        chefkoch is now known as chefkoch_AW
      • 2008-07-13 19552, 2008

      • niklas joined the channel
      • 2008-07-13 19503, 2008

      • Tykling joined the channel
      • 2008-07-13 19502, 2008

      • warp
        genghis khan :)
      • 2008-07-13 19559, 2008

      • FauxFaux
        * warp finishes a three day game of civ4.
      • 2008-07-13 19527, 2008

      • warp
        eh?
      • 2008-07-13 19522, 2008

      • CatCat
        genghis khan! koi no dance site!
      • 2008-07-13 19525, 2008

      • CatCat
        :o
      • 2008-07-13 19537, 2008

      • CatCat
      • 2008-07-13 19500, 2008

      • nikki has quit
      • 2008-07-13 19546, 2008

      • warp
        koi no dance site \o/
      • 2008-07-13 19559, 2008

      • nikki joined the channel
      • 2008-07-13 19539, 2008

      • CatCat
        koi no dance site \o/
      • 2008-07-13 19544, 2008

      • warp
        :)
      • 2008-07-13 19553, 2008

      • Shepard has quit
      • 2008-07-13 19512, 2008

      • chefkoch joined the channel
      • 2008-07-13 19551, 2008

      • chefkoch_AW has quit
      • 2008-07-13 19553, 2008

      • chefkoch
        chefkoch is now known as chefkoch_AW
      • 2008-07-13 19550, 2008

      • mikemorr has left the channel
      • 2008-07-13 19538, 2008

      • Tykling has left the channel
      • 2008-07-13 19500, 2008

      • Wizzcat
        this request password feature on the wiki sure is useful
      • 2008-07-13 19517, 2008

      • Wizzcat
        it sent me an email without a password
      • 2008-07-13 19540, 2008

      • FauxFaux
        Cool!
      • 2008-07-13 19546, 2008

      • FauxFaux asks it for Wizzcat's password.
      • 2008-07-13 19513, 2008

      • Wizzcat
        maybe my password is an empty string
      • 2008-07-13 19525, 2008

      • FauxFaux
        I think it's probably PONIES.
      • 2008-07-13 19547, 2008

      • Wizzcat
        ah, think maybe I used the wrong email
      • 2008-07-13 19553, 2008

      • Wizzcat
        but then why would it send me one if it wasn't registered
      • 2008-07-13 19531, 2008

      • DarkAudi1 joined the channel
      • 2008-07-13 19504, 2008

      • acid2_
        Wizzcat: decrypting the password from the email /is/ the security feature
      • 2008-07-13 19511, 2008

      • acid2_
        if you can decode it, you have proved your identity
      • 2008-07-13 19543, 2008

      • drsaunde
        Hell Yeah!
      • 2008-07-13 19548, 2008

      • drsaunde
        Pimp the System
      • 2008-07-13 19533, 2008

      • DarkAudi2 joined the channel
      • 2008-07-13 19524, 2008

      • DarkAudit has quit
      • 2008-07-13 19525, 2008

      • DarkAudi1 has quit
      • 2008-07-13 19545, 2008

      • Crazee_Canuck joined the channel
      • 2008-07-13 19558, 2008

      • DarkAudi2 has quit
      • 2008-07-13 19530, 2008

      • niklas
        do anyone know if it is possible to remove play count for some artists at last.fm?
      • 2008-07-13 19506, 2008

      • niklas
        my ex girlfriend messed up my statistics :P for example there's 5860 play count of an artist I dont even listen to
      • 2008-07-13 19534, 2008

      • LotR
        you can delete stuff from your library in the beta
      • 2008-07-13 19545, 2008

      • niklas
        ohhhhh. thank you
      • 2008-07-13 19524, 2008

      • LotR
        no worries :)
      • 2008-07-13 19555, 2008

      • niklas
        hmm only wipe the entire listening data?
      • 2008-07-13 19531, 2008

      • LotR
        no, if you go to user/niklas/library, and you hover over an artist image, an (x) icon appears. that lets you remove that artist from your library
      • 2008-07-13 19528, 2008

      • niklas
        awesome. thanks alot
      • 2008-07-13 19555, 2008

      • niklas
        finally Im getting relevant recommendations
      • 2008-07-13 19506, 2008

      • LotR
        hehe
      • 2008-07-13 19551, 2008

      • Tykling joined the channel
      • 2008-07-13 19534, 2008

      • Shepard joined the channel
      • 2008-07-13 19527, 2008

      • mikemorr joined the channel
      • 2008-07-13 19548, 2008

      • DarkAudit joined the channel
      • 2008-07-13 19549, 2008

      • dankine joined the channel
      • 2008-07-13 19527, 2008

      • pbryan
      • 2008-07-13 19539, 2008

      • Wizzcat
        couldn't you just change the url?
      • 2008-07-13 19507, 2008

      • pbryan
        Wizzcat: I tried. You can can see in my edit history I tried, but it retained the amazon.ca address.
      • 2008-07-13 19541, 2008

      • mikemorr has left the channel
      • 2008-07-13 19554, 2008

      • niklas
        when adding a release... bonus tracks should not be suffixed (bonus track) or similar?
      • 2008-07-13 19537, 2008

      • Mirrakor joined the channel
      • 2008-07-13 19542, 2008

      • Crazee_Canuck
        pbryan: you might have been running into http://bugs.musicbrainz.org/ticket/3574
      • 2008-07-13 19558, 2008

      • luks
        niklas: ping
      • 2008-07-13 19502, 2008

      • niklas
        hello
      • 2008-07-13 19516, 2008

      • luks
        hi
      • 2008-07-13 19526, 2008

      • luks
        I've just noticed this in commit logs:
      • 2008-07-13 19529, 2008

      • luks
        my $clearQuery="DELETE FROM collection_discography_artist_join WHERE collection_info=". $this->{collectionId};
      • 2008-07-13 19537, 2008

      • luks
        please don't do this :)
      • 2008-07-13 19547, 2008

      • niklas
        oh. how should I do it?
      • 2008-07-13 19551, 2008

      • luks
        "... WHERE collection_info = ?"
      • 2008-07-13 19556, 2008

      • niklas
        ah alright
      • 2008-07-13 19503, 2008

      • luks
        and then pass the argument separately to $sql->Do
      • 2008-07-13 19505, 2008

      • niklas
        Im on it :)
      • 2008-07-13 19511, 2008

      • luks
        sql injections are BAD :)
      • 2008-07-13 19518, 2008

      • niklas
        true
      • 2008-07-13 19541, 2008

      • niklas
        luks: do you have any idea why the collection webservice is VERY slow? is that normal? e.g. ace.csbnet.se/ws/1/collection?addalbums=49bc0156-912e-46ed-97f0-acc3e3122030 takes quite some seconds to load
      • 2008-07-13 19547, 2008

      • niklas
        (dont mind the output)
      • 2008-07-13 19552, 2008

      • Wizzcat
        pbryan: http://musicbrainz.org/edit/url/edit.html?urlid=4… was the page you want I believe
      • 2008-07-13 19505, 2008

      • Wizzcat
        run into that problem myself loads of times
      • 2008-07-13 19517, 2008

      • Wizzcat
        only problem is if the asin is attached to other releases you can't really change
      • 2008-07-13 19549, 2008

      • luks looks
      • 2008-07-13 19503, 2008

      • Infinito- joined the channel
      • 2008-07-13 19544, 2008

      • Crazee_Canuck
        Wizzcat, that url didn't work for me but I can guess what it's for; I've seen that too
      • 2008-07-13 19555, 2008

      • Crazee_Canuck
        *guess what it shows
      • 2008-07-13 19557, 2008

      • Crazee_Canuck
        eh..
      • 2008-07-13 19521, 2008

      • luks
        niklas: $sqlro->SelectSingleValue("SELECT id FROM moderator WHERE name='". $r->user ."'"); reminds me of one xkcd strip :)
      • 2008-07-13 19544, 2008

      • luks
        in cgi-bin/MusicBrainz/Server/Handlers/WS/1/Collection.pm
      • 2008-07-13 19559, 2008

      • niklas
        hehe ok :) I've replaced the SQL queries in Collection.pm to pass values using ? instead now
      • 2008-07-13 19500, 2008

      • luks
        really, check all your sql changes and convert them to placeholders
      • 2008-07-13 19526, 2008

      • Shepard
        hehe, little bobby tables
      • 2008-07-13 19543, 2008

      • srotta
        8)
      • 2008-07-13 19544, 2008

      • CatCat
        hm
      • 2008-07-13 19553, 2008

      • luks
        niklas: well, first thing: for queries like "SELECT * FROM collection_info WHERE moderator='$userId'" you definitely need an index on collection_info.moderator
      • 2008-07-13 19500, 2008

      • luks
        (and again sql injection :))
      • 2008-07-13 19556, 2008

      • niklas
        hmm need an index on collection_info.moderator?
      • 2008-07-13 19507, 2008

      • niklas
        I think I've created an index for it
      • 2008-07-13 19512, 2008

      • niklas
        not sure if its on moderator though
      • 2008-07-13 19525, 2008

      • luks
        you have an index for collection_info.id
      • 2008-07-13 19532, 2008

      • luks
        which helps you for "WHERE id = ?"
      • 2008-07-13 19541, 2008

      • niklas
        ah. how do I know which field to set index on?
      • 2008-07-13 19545, 2008

      • luks
        but you are doing "WHERE moderator = ?", which currently scans the whole table
      • 2008-07-13 19554, 2008

      • niklas
        ah
      • 2008-07-13 19510, 2008

      • niklas
        I think I see
      • 2008-07-13 19511, 2008

      • luks
        the fields you are querying on
      • 2008-07-13 19512, 2008

      • Wizzcat
        Crazee_Canuck: heh yeah, the asin was just nuked
      • 2008-07-13 19532, 2008

      • luks
        most tables in MB are huge, so you need indexes for almost any query
      • 2008-07-13 19548, 2008

      • niklas
        ok. I'll add more
      • 2008-07-13 19514, 2008

      • luks
        also, I've found one bug
      • 2008-07-13 19525, 2008

      • luks
      • 2008-07-13 19546, 2008

      • luks
        here are you getting collectionId, but if the collection id doesn't exist, you create a new one but don't get ID of the new collection
      • 2008-07-13 19550, 2008

      • niklas
        but... when I do $rosql->SelectSingleValue("SELECT id FROM album WHERE gid = '?'", $mbid); I get the error: DBD::Pg::st execute failed: called with 1 bind variables when 0 are needed at /home/mbserver/svn/mb_server/cgi-bin/Sql.pm line 378
      • 2008-07-13 19503, 2008

      • niklas
        but it works when I do "... gid = $mbid"
      • 2008-07-13 19523, 2008

      • luks
        niklas: did I said "WHERE name = '?'" or "WHERE name = ?"?
      • 2008-07-13 19548, 2008

      • luks
        s/name/id/
      • 2008-07-13 19505, 2008

      • niklas
        ah so ? adds single quotes around the value?
      • 2008-07-13 19518, 2008

      • luks
        well, technically no