ok, I maybe get that, but the negatives would seem to outweigh that saved request.
aCiD2
hardly, to stop your escaping issue you just need to run the %INCLUDE% through a %FILTER%
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
aCiD2
yes, the size I got wrong
though I don't think that argument quite holds - just put it in its own JavaScript file, and only include where you use it
brianfreud_
ausing bug x in the js)
well, putting it in its own .js - it's html, not js - how is that any different from what I was asking for?
apart from the file's extention, that is
aCiD2
No, you move the code to add a new release event to it's own javascript file
So you wouldn't include that on the edit release title page
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?
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
aCiD2
Because the majority of these templates do not require any server side processing, which removes the need for AJAX
brianfreud_
ok, but this theoretical .js would, for each of the 2 or 3 ESI-type req's I have in, right?
the server side processing bit, I mean
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
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
maybe I'm wrong there though
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...
aCiD2
Yes... and I didn't say "don't use the template" did I?
there are other ways we can do this without requiring additional requests
do any other devs have any thoughts on this?
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
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
brianfreud_
also the media type list - that one actually is the most likely to not be static
esp with the tt+ NGS release
Gotta go drop the gf off at school, back in 35 min or so
aCiD2
ok
Freso has quit
niklas_ joined the channel
CatCat
[03:26] brianfreud_top right corner of every page, but staying there, sure, but moving with me as I scroll?... ugh
DUDE, I *HATE* that too
:D
brianfreud_ back
brianfreud_
brianfreud_ is now known as brianfreud
czaanja has quit
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
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?
sorry, for 2394, I mean
and 2239, just a popupable floating window with a reference list?
nikkeee
CatCat: mine works fine for me in opera 9.27... are you looking in the right place?
CatCat
aCiD2: don't cut your hair!!!
nikkeee: i seew nothing there
"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
LotR
gravatar is lame because I really don't care about seeing you stare back at me from my screen
Muz
Filesizes are too large, and they look shit.
CatCat
after going trough gravatar atleast
brianfreud
LotR: I don't mind them for profiles. If they were in edit notes, that might get a bit too chatboardish for me
Muz
No, GIFs always look shit.
Wizzcat
apng, hurray
Muz
brianfreud: it could be used to help better the "community" aspect of MB.
brianfreud
maybe, I'd have to see it in action
CatCat
please, please PLEASE. NO avatas in enitnotes and on edit screens
LotR
brianfreud: I don't really care all that much, since my ABP rules block everything from gravatar.com :)
CatCat
NO
if that haoppens i serilously leave mb.. maybe :p
brianfreud
Muz: My fear would be people would then see edit notes more as chatboards, not edit notes
start having random convos in notes, like it was some bulletin board
CatCat
Wizzcat: animating png? even better :D only use gig casue thats all i knew animated
LotR
CatCat: promises promises!
CatCat
brianfreud: exactly
Muz
brianfreud: what's stoppping them from doing that now?
CatCat
Muz: they still don, but yes
would make it easier ot see who's saying what, but its unecesary
Wizzcat
CatCat: svg is even better, but of course ie supports neither
CatCat
I'd want my mutant potato picture, if i can't have that i dont want any thing :p
Wizzcat: føkk ie :D
Muz
How selfish and immature.
CatCat
uh, muz, i think yo udidnt see my ":p"
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.
CatCat
oh, yes muz has lost his luls, i forgot that,
nevermind
muz is alll grown uuup now
lol
czaanja joined the channel
Muz
Besides, there's nothing stopping someone from adding a preference to enable/disable user avatars.
Wizzcat
you'd have to police them as well, so the site remains sfw
can be a bit cumbersome
or maybe gravatar actually sorts that out, handy
Muz
Gravatar does all that.
Gravatar also sets age ratings, and you can set your site to only show gravatars from certain ratings or higher heh.
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
Wizzcat
pretty nice system, I wonder how they monetize i t
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?
aCiD2
ok, time to get haircut attempt 2
>.>
Place was full, so I went to sainsbury's instead
Loto_ has quit
Munger
Sainsbury's cut hair now ? ;-)
Muz
Munger: you could just set it up on a VM to avoid issues with apache2
Loto_ joined the channel
Munger
Muz, I thought of that. Not sure how much of a drain it will be on the junky old XP box though
Muz
Munger: could just give it a crappy Debian VM. 128MB RAM should be sufficient.
xlotlu joined the channel
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
I am not sure how much bandwidth is involved in generating a puid
Muz
Not much, it's more of a CPU intensive issue iirc.
And even then, to just generate PUIDs you need to use MusicIP mixer.