#musicbrainz-devel

/

      • ruaok
        heh.
      • they have arrived at the wrong project.
      • hmm.
      • I wonder if you can I have 1GB sized "objects" in an excel file.
      • we could open a blank spreadsheet, insert the data dump, save and then mail it off.
      • that would qualify
      • nikkimini
        do you think their email account would accept a 1gb email anyway?
      • ruaok
        damn.
      • hotmail won't. ;-P
      • this guy seems to be keeping his music metadata in an excel speadsheet. I still can't wrap my head around that.
      • nikkimini
        what did you expect from someone who uses hotmail? :P
      • ruaok
        it seems that hotmail might be a bit advanced for this guy. :)
      • ianmcorvidae
        it's possible renaming the data dump to '.csv' would be sufficient, actually
      • excel is probably smarter than this guy
      • in that *it* knows how to open tab-delimited files :P
      • but I don't think the data dump would be sufficient for his needs, he probably wants some sort of horrifying multi-joined table :P
      • select everything, aggregating everything that's potentially multivalues FROM every damn table we have; :P
      • kepstin joined the channel
      • voiceinsideyou joined the channel
      • navap
        Wow the forums are really quite orange
      • Muz joined the channel
      • warp wakes up
      • ianmcorvidae
        happy implement-a-captcha day ;)
      • warp queues some dutch hiphop
      • hm, I feel like we didn't get all the spam accounts
      • (that last point there is post-trim)
      • (as of the dump on the 14th we had 623969 editors)
      • hm, maybe that's not the peak then? unsure
      • er, maybe that's not post-trim then
      • eh, I'll check tomorrow
      • nikkimini joined the channel
      • warp
        hrm. not working yet.
      • Freso joined the channel
      • ijabz joined the channel
      • underscor has left the channel
      • ijabz joined the channel
      • ijabz
        So starts another day
      • djce joined the channel
      • stermi joined the channel
      • stermi
        <stermi> it stops here
      • ianmcorvidae joined the channel
      • ianmcorvidae joined the channel
      • djce joined the channel
      • ocharles
        warp: reviewing recaptcha now
      • ijabz
        cherry1
      • ffs
      • ocharles hopes that is not what he thinks it is :)
      • ocharles
        wtf. our daily cron job takes over 4 hours to run
      • am I really reading that correctly?
      • starts at "Wed Jul 18 00:10:02 UTC 2012", finishes at "Wed Jul 18 04:22:16 UTC 2012"
      • nikkimini
        isn't that including the full dump?
      • ocharles
        yes, but that is pretty quick
      • nikkimini
        it is? I've noticed my subscriptions email comes late on full dump days
      • ocharles
        hmm, not quite as slow as i thought
      • but it still takes an hour before the dump even starts
      • as fast as i thought*
      • nikkimini
        like today was 05:50, yesterday was 02:52, day before was 02:54, day before that was 02:53...
      • day before that was 06:43
      • subscriptions seem to take a while. it's ~25 minutes between the two I get
      • djce joined the channel
      • ianmcorvidae joined the channel
      • ijabz
        btw ocharles let me clarify something, I don't disagree with a new NES or the goals of it, i just don't think its the top priority task
      • and I don't see starting with a database layer that helpful to creating NES either, the input/ouput of NES is going to be the webservice (i.e submit edit, view edit) so it makes more sense to me to
      • consider how to implement these tasks and break them down, rather than created some database calls that amy not ultimately be what is required
      • Which is one of may reasons why I think the most useful thing we could do is separate the website from the web service AND get website to use the web service for all database access
      • ocharles
        yes, but that's a very large amount of work to take in one go
      • i don't think we can coordinate that much work at once
      • so what I want to do is keep the website the same, but change how the Data::* section works
      • then once that is done, and the website is talking to a NES backed database, we can change the website to start talking to our public web service
      • I don't plan to start writing database methods that won't be called, i agree - that's fairly pointless
      • ijabz
        The 'very large amount of work' argument is a different one, its not your main drive though is it. i.e if we had masses of developers which way would you approach it ?
      • ocharles
        probably still the same way
      • but that seems irrelevant, we don't have that, and we're not going to, so why choose a strategy that doesn't apply to us?
      • I'm interested in talking small progressive steps to nirvana, not rewriting everything and experiencing NGS again
      • ijabz
        Well, because there are easy ways round that. You could create a new web service layer from scratch, and just code the NES stuff from web service layer down to db as stage 1
      • stage2:website talks to new webservice
      • stage 3:merge new web service with old
      • djce joined the channel
      • ocharles
        that seems to require that we have a design for /ws/3 as well, no?
      • ijabz
        Of course you don't plan to start writing database methods that won't be called, but it seems very difficult to avoid working bottom up
      • No, i dont see that has to be done upfront
      • ocharles
        how can we write a web service if we don't know what the web service is?
      • ijabz
        How is this different to the website talking to a NES backed database
      • Im saying you don't need to define a whole ws/3 upfront, but clearly you need to think about how you want the website to interact with the database/webservice either way
      • ocharles
        the website is already defined in terms of some general operations, so we're just reimplementing them with a NES database, rather than the NGS database
      • I don't like the idea of writing an ultimately public facing web service without a clear design first. building it adhoc in terms of what we need seems like a recipe for yet another poorly scaling WS
      • ijabz
        The idea of writing a new data layer that the website talks to without considering the web service that the website is meant to talk to doesn't sound like an efficient use of resources to me
      • re ws/2 scalability it would be good to have this documented somewhere, other than the problems with a few artists called with a particular set of inc arguments I'm not aware of all what all the other problems are
      • ocharles
        ijabz: the fact that it's near impossible to set Last-Modified
      • that's more my bigger worry
      • ijabz
        right, can see that issue, would be interested in what the alternative solution is you have in mind, i know you want to get rid of incs, but not sure what the replacement is you have in mind
      • ocharles
        nor am I, because I figured I'd focus on building NES first :)
      • i personally think even trying to do the editable web service at the time is a bad idea and we're biting off more than we can chew with even just NES
      • at the same time*
      • ijabz
        I thought editable web service was on hold until NES had progressed
      • ocharles
        warp's work on JSON for /ws/2 is part of editable ws
      • and we seem to have lost warp so I better adopt this recaptcha work
      • ijabz
        Well so far there is nothing editable about it, it long been requested to provide ws output as json so I see no conflict
      • ocharles
        there is value in providing json
      • but the motivation is because we will only support writing via json, thus we want read/write symmetry
      • ijabz
        But that is irrelevant, the read still need to be done, and is not causing aproblem
      • in fact the NES roadmap you've laid out seems to create an awful lot of bottlenecks , so no other major work can be done until you've finished
      • i.e editable web service, separate website from web service, move way from perl
      • ocharles
        yes, i see personally see NES as more important than any of those
      • editable WS is very close though
      • but i don't see value in an editable WS that isn't on NES, when we plan to have NES so soon. introducing an api then almost immediately deprecating it is not very social
      • djce joined the channel
      • ijabz
        taking your small progressive steps analogy, working now on editable ws based on current system, and then updating it to support the new features of new seems reasonable to me
      • the editable web service doesn't have to actually be released and made public until works with NES
      • ocharles
        what's the point in writing it until NES then?
      • warp: ok, my suggestion for HTML::FHX::Field::reCAPTCHA is not working out. throwing that work away and shipping yours
      • ijabz
        small steps, parallel working, the lapsed time to delivery is going to be much longer if work isn't started until you've finished NES
      • ocharles
        my small steps is about small *deliverable* steps
      • lfranchi joined the channel
      • and if you can't deliver something until something else is done, you might as well wait for it to be done. sure you could do 'the rest' while waiting, but there isn't really anything that depends on NES
      • plus, it's entirely possible i haven't got NES right and it has to be refined
      • ijabz
        'there isn't really anything that depends on NES' now Im confused, whats the problem then ?
      • ocharles
        warp, you haven't commited register.js :(
      • anything else*
      • i meant there is hardly anything to write about the editable web service without NES
      • the entire service builds on it
      • ijabz
        I don't see that, we have all the web service side for a start
      • Anyway, can't spend all day chatting of for some food
      • warp
        hello!
      • djce joined the channel
      • djce1 joined the channel
      • ocharles: the recaptcha branch is supposed to remove register.js
      • ocharles
        warp: it didn't, but it does now
      • i'm just about to deploy it
      • the_metalgamer joined the channel
      • warp
        cool
      • did you replace the REMOTE_ADDR stuff with $c->req->address ?
      • ocharles
        yea
      • it seems to work on test
      • warp
        good :)
      • cool, I got a google streetview building/house number in the captcha
      • ocharles
        lol
      • warp
        ocharles: tested entering an incorrect and correct captcha, both seem to work as expected on test.musicbrainz.org.
      • ocharles
        warp: do we have musicbrainz.org keys?
      • warp
        I made some this morning, yes.
      • those are the ones in DBDefs on test.
      • ocharles
        ok
      • warp
        but they're tied to a private gmail account. so they'll work for now, but we need to move them somewhere else.
      • (which probably means generating new keys)
      • ocharles
        hum. no captcha on asterix still
      • oh, it's not using $c->req->address cause i forgot to push
      • warp
        hah
      • ocharles
        nope, still nothing
      • warp
        presumably you configured DBDefs on asterix correctly