milosz sees no way around licensing the data which is not possible for a nonfunded free software project
but if you're doing it as a free app, then you can freely replicate the DB on your own server.
milosz
ok that sounds good
it'll cost me but i'm willing to do that
ruaok
ask for donations from end users to cover your costs.
milosz
sounds like a plan
inhouseuk notes the recent mb traffic spike due to Digg didn't result in many donations
i think what i'll do is
replicate the DB on our own server
route access through there
ask for dontains to cover the costs
and donate all excess donations to MB
ruaok
inhouseuk: sadly true. but that was knowsn. digg/slashdotters are known to be CHEAP.
milosz
coz i really don't want this to be commercial
ruaok
milosz: sounds like a great plan! thanks!
milosz
now "just" need set up MB server on our server o_O lol
ruaok can do it in under an hour now
then it'll take me 2 days
or a week
inhouseuk
the slowest part is importing the data
warp
inhouseuk: well, you can't expect that on the first day.
LotR
milosz: it really isn't hard to just set up the DB.
milosz
well it's just a pgsql database i guess so it shouldn't be too hard
milosz <3 pgsql
warp
inhouseuk: i was using musicbrainz for months before I decided that, "Hey! this is really useful, perhaps I should donate". probably triggered by the nag screen in the tagger at the time.
inhouseuk
:)
warp is already annoyed by how primitive pgsql is compared to mysql.
Wizzcat
milosz: the pgsql is fine, the perl.. not so much
LotR
warp: I think you have that backwards
Wizzcat
warp: I'm constantly annoyed by the opposite, mysql supports fuck all basically
milosz
pgsql is also more a true relational database
srotta
on delete fuck all cascade
milosz
lol
ruaok will return shortly
warp
I'm ported my current pet project from mysql to postgres last sunday, because mysql or the python module for it couldn't the encoding of a query right.
ruaok has quit
LotR, Wizzcat: in my security design, I made use of column level security. mysql supports that, postgresql doesn't. I will have to split up the user table into two seperate tables.
alastairp has quit
milosz is less experienced in MySQL
LotR isn't experienced in either :)
i get to use mysql a lot at work. it's probably good that I get some postgresql experience now.
milosz
at my previous workplace i used to write a lot of pgsql stuff
recently i've been doing more with mysql but can't say it's been the primary focus
warp has been in the mysql trenches so to speak.
warp
actually needed show processlist and killing a few slow queries to calm down a thrashing server.
fun :)
Wizzcat
I still have nightmares about some of the mysql queries I've done, hand-optimizing for hours because the query engine can't do it's damn job
*its
inhouseuk
the pg one isn't always perfect either
inhouseuk has had to tweak a few queries by hand
warp
:)
luks
milosz: ONLY musicbrainz2.webservice.Query calls are WS queries
milosz: and other method call is just local
milosz: in many cases you can also use Includes to avoid multiple queries
milosz
hmmm i thought that getTarget() does a WS call
jcazevedo has quit
luks
you can enable standard Python logging for all loggers to see what hits the WS
milosz
also there are still some bugs in the pymb2 code
but i shuldn't say that as i promised a patch a while ago
luks:like your discogs import script, any chance of it being added to mbsite, I can't see any limits on the discogs site on use of their webservice data
I have a little script which is querying the xml feed, but I would like to reduce impact on the main server, so I'm wondering if the 2007.04.01 edition of the vmware image is infact the latest