ok, I maybe get that, but the negatives would seem to outweigh that saved request.
2009-02-25 05610, 2009
aCiD2
hardly, to stop your escaping issue you just need to run the %INCLUDE% through a %FILTER%
2009-02-25 05611, 2009
brianfreud_
even ignoring escaping the HTML when including it, it's also adding 20+k to the .js file's size, and doing it on all pages we use that script, rather than only pulling it on the pages that actually might ever use it
2009-02-25 05600, 2009
aCiD2
yes, the size I got wrong
2009-02-25 05635, 2009
aCiD2
though I don't think that argument quite holds - just put it in its own JavaScript file, and only include where you use it
2009-02-25 05619, 2009
brianfreud_
ausing bug x in the js)
2009-02-25 05601, 2009
brianfreud_
well, putting it in its own .js - it's html, not js - how is that any different from what I was asking for?
2009-02-25 05613, 2009
brianfreud_
apart from the file's extention, that is
2009-02-25 05618, 2009
aCiD2
No, you move the code to add a new release event to it's own javascript file
2009-02-25 05643, 2009
aCiD2
So you wouldn't include that on the edit release title page
2009-02-25 05639, 2009
brianfreud_
ok - but why would we make it complex, forcing it into a .js to dynamically generate, instead of just having a uri that serves "HTML for Event" "HTML for Track/Artist", etc?
2009-02-25 05625, 2009
brianfreud_
if the user clicks add release event, even assuming that HTML fragment page isn't cached the first time, it's still only a tiny delay for the user to wait for it to load, vs a full page reload
2009-02-25 05631, 2009
aCiD2
Because the majority of these templates do not require any server side processing, which removes the need for AJAX
2009-02-25 05600, 2009
brianfreud_
ok, but this theoretical .js would, for each of the 2 or 3 ESI-type req's I have in, right?
2009-02-25 05631, 2009
brianfreud_
the server side processing bit, I mean
2009-02-25 05616, 2009
brianfreud_
re: AJAX, all of the ES will eventually be loaded in a lazy load manner - I got the new button factory done last night, next up is writing the lazy loader
2009-02-25 05612, 2009
aCiD2
If things have to hit the database, then fine - AJAX is ok - but if they don't need to access server side resources, I don't think they should be served in the same mannor
2009-02-25 05628, 2009
aCiD2
maybe I'm wrong there though
2009-02-25 05604, 2009
brianfreud_
why? The whole point of the templates is consistent (and quick templates to write) HTML generation, right? It's not that it hits the db or not...
2009-02-25 05621, 2009
aCiD2
Yes... and I didn't say "don't use the template" did I?
2009-02-25 05639, 2009
aCiD2
there are other ways we can do this without requiring additional requests
2009-02-25 05651, 2009
aCiD2
do any other devs have any thoughts on this?
2009-02-25 05624, 2009
brianfreud_
well, I think we're close to the same thing by now. You want it to be an %INCLUDE% in a .js, I'd rather keep it out of the .js and load a page fragment only if it's even needed. Either one would still have the %INCLUDE%, it's just whether it's in the .js, or separate
2009-02-25 05631, 2009
aCiD2
I want you to use the template, but I don't want this to be an ESI action. now for release events, it may need to be a full blown action due to the database country list
2009-02-25 05648, 2009
brianfreud_
also the media type list - that one actually is the most likely to not be static
2009-02-25 05659, 2009
brianfreud_
esp with the tt+ NGS release
2009-02-25 05643, 2009
brianfreud_
Gotta go drop the gf off at school, back in 35 min or so
2009-02-25 05648, 2009
aCiD2
ok
2009-02-25 05622, 2009
Freso has quit
2009-02-25 05640, 2009
niklas_ joined the channel
2009-02-25 05648, 2009
CatCat
[03:26] brianfreud_ top right corner of every page, but staying there, sure, but moving with me as I scroll?... ugh
2009-02-25 05655, 2009
CatCat
DUDE, I *HATE* that too
2009-02-25 05656, 2009
CatCat
:D
2009-02-25 05653, 2009
brianfreud_ back
2009-02-25 05657, 2009
brianfreud_
brianfreud_ is now known as brianfreud
2009-02-25 05601, 2009
czaanja has quit
2009-02-25 05620, 2009
CatCat
but guys, when you post the pages of all these development servers with "Uv" buttons
brianfreud: no and no. i see no easy way to fix 2239 inside the naming options page without cluttering everything. and 2394 should be a separate options menu under "advanced" anyway
2009-02-25 05648, 2009
brianfreud
outsidecontext: for 2239, why not a "replace all with _" and "select which character to use to replace each invalid windows character" radio, with a separate popup menu for the latter?
2009-02-25 05607, 2009
brianfreud
sorry, for 2394, I mean
2009-02-25 05626, 2009
brianfreud
and 2239, just a popupable floating window with a reference list?
2009-02-25 05659, 2009
nikkeee
CatCat: mine works fine for me in opera 9.27... are you looking in the right place?
2009-02-25 05649, 2009
CatCat
aCiD2: don't cut your hair!!!
2009-02-25 05639, 2009
CatCat
nikkeee: i seew nothing there
2009-02-25 05605, 2009
CatCat
"HEM'S SERVER" is all the tecxt i see of the top dtuff
but i my thing isn't flashing, it doesn't work witouth a animation
2009-02-25 05625, 2009
LotR
gravatar is lame because I really don't care about seeing you stare back at me from my screen
2009-02-25 05648, 2009
Muz
Filesizes are too large, and they look shit.
2009-02-25 05602, 2009
CatCat
after going trough gravatar atleast
2009-02-25 05656, 2009
brianfreud
LotR: I don't mind them for profiles. If they were in edit notes, that might get a bit too chatboardish for me
2009-02-25 05606, 2009
Muz
No, GIFs always look shit.
2009-02-25 05623, 2009
Wizzcat
apng, hurray
2009-02-25 05624, 2009
Muz
brianfreud: it could be used to help better the "community" aspect of MB.
2009-02-25 05654, 2009
brianfreud
maybe, I'd have to see it in action
2009-02-25 05635, 2009
CatCat
please, please PLEASE. NO avatas in enitnotes and on edit screens
2009-02-25 05637, 2009
LotR
brianfreud: I don't really care all that much, since my ABP rules block everything from gravatar.com :)
2009-02-25 05637, 2009
CatCat
NO
2009-02-25 05646, 2009
CatCat
if that haoppens i serilously leave mb.. maybe :p
2009-02-25 05608, 2009
brianfreud
Muz: My fear would be people would then see edit notes more as chatboards, not edit notes
2009-02-25 05620, 2009
brianfreud
start having random convos in notes, like it was some bulletin board
2009-02-25 05624, 2009
CatCat
Wizzcat: animating png? even better :D only use gig casue thats all i knew animated
2009-02-25 05631, 2009
LotR
CatCat: promises promises!
2009-02-25 05635, 2009
CatCat
brianfreud: exactly
2009-02-25 05635, 2009
Muz
brianfreud: what's stoppping them from doing that now?
2009-02-25 05651, 2009
CatCat
Muz: they still don, but yes
2009-02-25 05608, 2009
CatCat
would make it easier ot see who's saying what, but its unecesary
2009-02-25 05621, 2009
Wizzcat
CatCat: svg is even better, but of course ie supports neither
2009-02-25 05631, 2009
CatCat
I'd want my mutant potato picture, if i can't have that i dont want any thing :p
2009-02-25 05640, 2009
CatCat
Wizzcat: føkk ie :D
2009-02-25 05641, 2009
Muz
How selfish and immature.
2009-02-25 05606, 2009
CatCat
uh, muz, i think yo udidnt see my ":p"
2009-02-25 05643, 2009
Muz
It hardly remains as a valid point to not have them on edit notes. You admit that it'd make it easier to distinguish things and thus improve usability and the UI, but you don't want it. Seems awfully backwards of you.
2009-02-25 05615, 2009
CatCat
oh, yes muz has lost his luls, i forgot that,
2009-02-25 05620, 2009
CatCat
nevermind
2009-02-25 05634, 2009
CatCat
muz is alll grown uuup now
2009-02-25 05638, 2009
CatCat
lol
2009-02-25 05644, 2009
czaanja joined the channel
2009-02-25 05645, 2009
Muz
Besides, there's nothing stopping someone from adding a preference to enable/disable user avatars.
2009-02-25 05602, 2009
Wizzcat
you'd have to police them as well, so the site remains sfw
2009-02-25 05607, 2009
Wizzcat
can be a bit cumbersome
2009-02-25 05657, 2009
Wizzcat
or maybe gravatar actually sorts that out, handy
2009-02-25 05608, 2009
Muz
Gravatar does all that.
2009-02-25 05628, 2009
Muz
Gravatar also sets age ratings, and you can set your site to only show gravatars from certain ratings or higher heh.
2009-02-25 05606, 2009
outsidecontext
brianfreud: "why not a "replace all with _" and "select which character to use to replace each invalid windows character" radio" => Ii would put it on a separate options page and allow the configuration of the general replacement character as well as special replacements for single characters
2009-02-25 05630, 2009
Wizzcat
pretty nice system, I wonder how they monetize i t
2009-02-25 05638, 2009
brianfreud
sure, something like that - make it easy if someone wants just the generic replacement, but still allow the specific replacement
I have to tag approximately 100K files in a one-off operation. Do you think it's worth setting up a local mirror to do this?
2009-02-25 05621, 2009
aCiD2
ok, time to get haircut attempt 2
2009-02-25 05625, 2009
aCiD2
>.>
2009-02-25 05640, 2009
aCiD2
Place was full, so I went to sainsbury's instead
2009-02-25 05601, 2009
Loto_ has quit
2009-02-25 05622, 2009
Munger
Sainsbury's cut hair now ? ;-)
2009-02-25 05614, 2009
Muz
Munger: you could just set it up on a VM to avoid issues with apache2
2009-02-25 05625, 2009
Loto_ joined the channel
2009-02-25 05642, 2009
Munger
Muz, I thought of that. Not sure how much of a drain it will be on the junky old XP box though
2009-02-25 05607, 2009
Muz
Munger: could just give it a crappy Debian VM. 128MB RAM should be sufficient.
2009-02-25 05653, 2009
xlotlu joined the channel
2009-02-25 05629, 2009
Munger
I was going to try the VMWare Player approach first anyway, and see if I want to run a more permanant server later. I have a feeling the time-consuming bit will be generating 100K puid's first
2009-02-25 05608, 2009
Munger
I am not sure how much bandwidth is involved in generating a puid
2009-02-25 05639, 2009
Muz
Not much, it's more of a CPU intensive issue iirc.
2009-02-25 05652, 2009
Muz
And even then, to just generate PUIDs you need to use MusicIP mixer.