showartist and showalbum seem to be leading amont the ordinary pages ..
2003-02-15 04639, 2003
djce
I doubt it. You mean the "unique usernames" bit?
2003-02-15 04637, 2003
djce
At the moment that would be taken directly from the access logs; so user "-" for 99.99% for all requests, and other names for some other HTTP requests (but not for the main web site)
2003-02-15 04602, 2003
djce
But if I make the change I mentioned a minute ago, that stat would become useful...
2003-02-15 04640, 2003
salisan
Right, but you can get what pages have most requests now anyway, just not if they are from logged in users or not ;)
2003-02-15 04654, 2003
djce
yes
2003-02-15 04659, 2003
ruaok|snug is off to spend time with the lead MB donor.
2003-02-15 04612, 2003
intrep
ok, im not familiar with mason so i have a quick question
2003-02-15 04635, 2003
intrep
at the bottom of showartist.html there is a tag <& /comp/footer &>, i am going to take a wild guess that this is the end of the generated html, is there any way to get mason to dump the html for the whole page into a variable at this point?
2003-02-15 04626, 2003
djce
Hmmm...
2003-02-15 04651, 2003
djce
You can call $m->scomp($page) to "run" a page and capture its output
2003-02-15 04611, 2003
djce
i.e. $output = $m->comp("/path/to/component", @args)
2003-02-15 04635, 2003
djce
If you haven't been called as $m->scomp, I don't know if it's possible.
2003-02-15 04600, 2003
intrep
mason has its own object cache
2003-02-15 04621, 2003
intrep
keeps expire times and everything
2003-02-15 04639, 2003
intrep
interesting...
2003-02-15 04610, 2003
djce
yes, that's useful, if you know what you're "expire" conditions are.
2003-02-15 04654, 2003
djce
For small parts of pages, e.g. the "top moderators" panel in the sidebar, the cache is useful then since it only depends on time, not any other inputs.
2003-02-15 04636, 2003
intrep
well, i would think the entire page for anonymous lookups of showartist and showalbum could be cached for say, five minutes or so
2003-02-15 04608, 2003
djce
Except for the "expand" settings on the album page.
2003-02-15 04614, 2003
djce
Album pages are easier.
2003-02-15 04654, 2003
intrep
the expand pages could be cached too really
2003-02-15 04647, 2003
intrep
but i would bet that the showartist main page for each artist is accessed about 3 times as often as the expansion pages, making it very valuable to cache
2003-02-15 04613, 2003
djce
Only for anon visitors, right?
2003-02-15 04617, 2003
intrep
right
2003-02-15 04618, 2003
djce
Interesting...
2003-02-15 04628, 2003
intrep
logged in users get fresh content all the time
2003-02-15 04650, 2003
djce
And you're talking about cached as in returning a "304" response, not just getting the "200" response but faster?
2003-02-15 04651, 2003
intrep
you really could cache a lot of the info for logged in users as well
2003-02-15 04602, 2003
intrep
you could do it either way
2003-02-15 04623, 2003
djce
The latter is technically easier; the former is more beneficial to the visitor.
2003-02-15 04640, 2003
intrep
yeah, and better for your bandwidth
2003-02-15 04646, 2003
djce
Yes!
2003-02-15 04648, 2003
djce
That's definitely going on the TODO list then. Let me know if you make any progress yourself...
2003-02-15 04613, 2003
intrep
hmm, you could also, if you wanted to get really tricky, stick some squid caches out on people machines that will redirect to your main site and cache some stuff.
2003-02-15 04621, 2003
intrep
taking a lot of load off of your main site
2003-02-15 04649, 2003
Mutiny
180980 mp3list.txt
2003-02-15 04650, 2003
Mutiny
133589 trmdb.txt
2003-02-15 04652, 2003
intrep
a sort of squid mirror
2003-02-15 04656, 2003
Mutiny raps his fingers.
2003-02-15 04615, 2003
djce
squid: The yet-to-be-created mirror system would handle that too.
2003-02-15 04645, 2003
djce
180,000 MP3 files? Wow.
2003-02-15 04621, 2003
intrep
i need food
2003-02-15 04639, 2003
intrep is afk for grub
2003-02-15 04617, 2003
Mutiny
mmm
2003-02-15 04645, 2003
Mutiny
637gb, all downloadable and streamable courtsey of unixpunx.org
2003-02-15 04656, 2003
rjmunro
rjmunro (~rjmunro@62.53.126.173) has joined #musicbrainz
2003-02-15 04609, 2003
djce
That would take a while :-)
2003-02-15 04622, 2003
djce
Are you volunteering to add all that data to MB?
2003-02-15 04613, 2003
Mutiny
if he wants it, he's welcome to it
2003-02-15 04600, 2003
rjmunro
Anyone heard anything from MusicMoz?
2003-02-15 04612, 2003
djce
not I
2003-02-15 04649, 2003
Mutiny
the database will have filenames, id3 tag, encoding info, and duration
2003-02-15 04653, 2003
Mutiny
if it'll be useful to anybody
2003-02-15 04633, 2003
djce
The database as in those two text files, yes? Not all of the audio files themselves?
2003-02-15 04642, 2003
djce is away: I'm busy
2003-02-15 04630, 2003
Mutiny
no, just the metadata on the archive
2003-02-15 04624, 2003
djce
Possibly. How accurate is the data, I wonder?
2003-02-15 04637, 2003
Mutiny
the id3 tags are probably not too accurate, but the file info is pretty accurate
2003-02-15 04602, 2003
Mutiny
the filename + path will give the artist/album/title, that's how we try to organize the archive
It was mentioned a month or so ago that we need a more responsive way of dealing with those, so we would be more likely to keep them up-to-date.
2003-02-15 04652, 2003
djce
My TODO list tends mainly to be small bug-fix-like things. Rob's TODO list tends to be more oriented towards the big picture (e.g. "implement mirroring")
2003-02-15 04610, 2003
intrep
perhaps bugzilla, file bugs for things that need to be done
2003-02-15 04623, 2003
djce
We've got the sourceforge bug list too
2003-02-15 04637, 2003
intrep
yeah, maybe just file your todo items as bugs
2003-02-15 04659, 2003
djce
That's a mixture of bugs reported by users, potential bugs spotted by us, and RFEs
2003-02-15 04632, 2003
djce
Yes, but how much easier is just appending two lines to a local text file than posting a web form? :-)
2003-02-15 04642, 2003
intrep
very true
2003-02-15 04601, 2003
intrep
you could write a script to autopost your text file as bugs :)
2003-02-15 04617, 2003
intrep
you just have to format your text file more carefully
2003-02-15 04652, 2003
djce
Interesting idea. It would be a start just to copy my TODO file to the web, like I did for you just now, and link to it from the main site.
2003-02-15 04605, 2003
djce
(and do so regularly)
2003-02-15 04629, 2003
intrep
write a script to copy the file to the web server and run it from cron