« first day (20 days earlier)      last day (4933 days later) » 

1:00 PM
I've added a comment
 
Uh Apple is ditching their overpriced servers
 
I wonder if what I'm doing here is a good way to do constructors:
var Constructor = function(additionalFunctions){
    this.a = function(){ ... };

    for(var i in additionalFunctions){
        this[i] = additionalFunctions[i];
    }
);

var obj = new Constructor({
    a: function(){ ... },
    b: function(){ ... },
    c: 'property'
});
Would this work?
 
of course that works
 
It's similar to the many implementations of extend, except it applies to a single instance only.
 
@IvoWetzel Well, yeah, stupid question. I mean, is this a good practice or is there a better way
 
1:09 PM
@YiJiang I use it quite a lot, it's simple and gets the job done
 
hello all
 
@YiJiang Something like function Enemy(class) { // apply the classes methods to this instance
 
Is changing the users cursor icon to a waiting cursor silly?
@YiJiang thats cloning an object lieteral
 
btw.. math.stackexchange.com wasn't that helpful, got a comment pointing me to smooth functions now I'm just doing trial and error for nearly an hour -.-"
 
var obj = new Constructor({
    a: function(){ ... },
    b: function(){ ... },
    c: 'property'
});

var obj = {
    a: function(){ ... },
    b: function(){ ... },
    c: 'property'
};
@YiJiang why not just assign obj to the object literal?
 
1:13 PM
is there any "stokeWidth()" property in canvas api ?
 
@NinjaDude context.lineWidth iirc
yes that's it
like context.lineWidth = 4
 
@YiJiang Oh I guess you dont always want this.a to be overwritten :P yes your generic example is fine
 
@Raynos Yes, that's what I want
 
@IvoWetzel Thanks dude
 
Good Morning All.
I have a best practices question
 
1:17 PM
@whobutsb Good Morning
 
Is there anything wrong with creating up my own custom tags in HTML DOM elements
 
@whobutsb morning. Shoot
 
like <div foo="2"></div>
 
@whobutsb yes
@whobutsb custom attributes (foo) are not as bad as custom tags (<foo>)
 
@whobutsb It's bad, both from a practical and a semantic point of view
 
1:18 PM
i'm sorry not tages
*tags
attributes
 
@whobutsb in HTML5 you can have any custom attribute in the format data-name for storing data. In general though avoid custom attributes like the plague
 
ok!
I was working on a project and I already had the class and id attributes in use
 
Don't a lot of JS libs use custom tags and attributes?
 
so I created my own custom attr data-doc-clip-id=""
so its ok in HTML5 to create custom attr if you append the "data-" in front of it
 
@whobutsb yes. But as good web developers you should avoid these custom tags
@JasonStoltz not really
 
1:24 PM
luckily I'm writing my apps specifically for Chrome, FF, and Safari
so I don't need to be a good "web developer"
:[
:p
 
@whobutsb your still not going to use custom attributes :)
@whobutsb store data in javascript rather then in html
@whobutsb rather hard coding data or attributes into html store then hardcoded in javascript or databases
 
That would be a better way of doing that
I might refactor my code to accomodate that approach
 
@whobutsb if you must you can use $(obj).attr or use javascript to attach custom attributes. Dynamically attaching custom attributes rather then having it into the source hard coded is slightly better since the raw source is 4.01 compliant
@whobutsb Mind you i have a whole bunch of horrid legacy code with hardcoded
<obj customAttr = <%# ASPif ? a : b %> >
Which is hideous!
 
oh yea!
at the time though it worked!
 
Oh my god, so fail, searching google for my bezier problem, first hit, my question over at math -.-"
 
1:28 PM
<3
@IvoWetzel "so fail"
 
haha
 
@IvoWetzel Haha... the SE network's really got some Google juice, eh?
 
New question: has anyone used phpQuery or QueryPath?
 
@YiJiang That doesn't help me though trying to solve this: youtube.com/watch?v=EIJg1WFbjh4 for 2 hours nows
 
@whobutsb I tried phpQuery once
 
1:29 PM
@Chouchenos any thoughts on it?
I'm using it for a function in my project
 
@whobutsb from recommendations I think querypath is slightly better
@whobutsb unless you know exactly what you want
 
I tried them both
I rather an article saying phpQuery was quicker
I started with QueryPath
 
It does its job... tried it because of this page blog.dt.in.th/2010/07/phpquery-scraping (this guy is good btw) but don't need it yet.
 
Thanks for the help guys
Have good day!
I'll probably get stuck on something and be back!
 
1:45 PM
Okay, this is very weird
Can anybody check this very crude performance test for me
 
@YiJiang shoot
 
On Firefox the times are: Original: 11 New: 8, on Chrome it's an incredible Original: 634 New: 683
Did I set up my tests incorrectly?
 
firefox 7 : 3
Chrome 300 : 300
 
Opera's giving 4/5. Okay, why is Chrome 100x slower?
1
Q: Optimizing jquery selector for Chrome

IndyberHi all. I have the following jquery code to loop over 525 (I know, alot!) checkboxes: var elements = $("#profile-list table tr input[type=checkbox].email-checkout:not(:checked)"); $.each(elements, function(i) { $(elements[i]).attr('checked', 'checked'); }); When I run this code in Firefo...

 
1:56 PM
 
whos testing in chrome 8 & 9 :)
I cant tell on jsperf whether some browsers are slower then others or whether its a pc difference
jspref clearly shows chrome is faster
 
Grrr... the results are annoying me. One moment it was the original, the next it was the new code that's more performant.
Logically speaking the new code should win, since it does away with using attr(), which should be a major bottleneck
 
<3
$.each(elements, function(i) {
 elements[i].checked = true;
});
@YiJiang using $.each instead of $.fn.each is far faster
@YiJiang the bottle neck is using $(obj).each rather then using .attr
 
2:12 PM
@Raynos I don't think so - jQuery.fn.each simply uses $.each under the hood
function (callback, args) {
    return jQuery.each(this, callback, args);
}
 
@YiJiang Then its the caching of the selector
 
jsperf.com/jquery-checkbox-selector-test/2 Comparing directly .attr is a bottle neck of a factor of 9
are event.screenx and event.offsetx bad?
 
There, I updated the original so that the selectors match. Now the performance is even worse then before. jsperf.com/jquery-checkbox-selector-test
Okay, maybe :checkbox ?
 
:checkbox is definitely slower, yes
 
2:24 PM
Wheres is the underlying javascript event system well documented?
 
mozilla?
 
oo excellent
 
obj.createTextRange is an obscure ie only thing rihgt?
 
2:40 PM
@Raynos: yes
 
@Raynos - think of it as ActiveX, without the gaping security hole
 
Joys. I guess I learn what a range object is. Havn't used those before
 
@NickCraver: didn't I hear of a Google Chrome extension that integrated ActiveX?
 
@NickCraver Never used ActiveX :) I wasnt active in the ie5 days
 
@AndyE - maybe, there's IETab at least
@Raynos - it's there in IE8, probably 9
 
2:43 PM
ActiveX won't be going away, I don't think. Too many client-side apps will use it.
 
@NickCraver but I assume ActiveX was used before cross browser frameworks
 
Loads of mine do.
 
Okay, I got it. :not(:checked) through sizzle.js would be extremely slow, but with querySelectorAll would actually be faster
 
ActiveX covers a different area than JavaScript, e.g. accessing/writing files even
 
@Raynos: I still see ActiveX controls used on the web - my dad's security camera system requires that you login remotely through IE because of its ActiveX control.
 
2:44 PM
think of it as the prequel to true thin clients
on in terms of security holes, think of ActiveX as a prequel to flash
 
It's amazing how the the human mind does not process the the fact that I used the the word "the" twice each time it was used in this sentence.
 
sure it does...caused me to stop reading your sentence mid way and double check it
 
@shogun It's amazing how irrelevant that comment is to the topic of discussion of this room. It's also amazing how many times that comment has been repeated across the interwebs :)
 
lol
i kno wi pasted it on the wrong wibndow
i just realized :/
i joined this room to ask a JS question
is there any pitfalls or issues i should be aware of when attempting to move away from a flash multimedia player to go totally html/javascript
customers are complaining that flash is too slow
the thing plays video, has a side tree menu, does quizzes, interactive things, timed audio, bullets that slide in in timing with audio, etc
as far as i can tell i should be able to do all this with javascript/html
 
@shogun Dont expect it to be faster
@shogun Well actaully flash can be a bit slow these days. just html/javascript should be faster
@shogun your main concern is that you can do it with javascript/html. But only in latest browsers.
 
2:58 PM
yeah we dont support ie6
i think we could optimize the flash but we want to do away with it anyways
 
@NickCraver whats wrong with window.setTimeout("MakeAlert();", 0);
 
so its more worth the time to go for jQuery/HTML5
 
window.setTimeout(MakeAlert, 0);
 
though html5 will be a secondary option if detected that it is available
 
@shogun Oh doing videos and audio requires html5. Its a pain to do it without html5 or flash
 
3:00 PM
@Raynos It's evaling the string in the global scope, so a) don't eval, and b) MakeAlert() has to be defined in the global scope
 
@YiJiang Everything is evalled in the global scope. the full snippet is
eval("..." +
... +
"window.setTimeout(\"MakeAlert();\", 0);" +
... +
);
 
It's still bad practice, why eval at all?
and that's still doesn't garuntee that MakeAlert() will be window.MakeAlert()
 
@NickCraver self modifying source code?
 
no, let's say your string was this:
 
Yeah, you should avoid eval for almost any reason you can think of. There's rarely an excuse for it.
 
3:02 PM
$(function() {
  function MakeAlert() { alert("hi"); }
  window.setTimeout("MakeAlert();", 0);
});
that would fail, since MakeAlert() isn't in the global (widow) scope
however this would be fine in all cases:
$(function() {
  function MakeAlert() { alert("hi"); }
  window.setTimeout(MakeAlert, 0);
});
 
@NickCraver I see eval in setTimeout is always global
 
correct
 
Remind me again why is eval evil?
 
Say, does anybody here has a more concise explanation of the cross domain restrictions on media playback with HTML5, specifically the <audio> tag's source?
 
3:05 PM
"does anybody here has a more concise explanation of the cross domain restrictions on media playback with HTML5, specifically the <audio> tag's source?"
 
More concise, than MDC, I mean, with it's 2000 word article on the topic
@AndyE Oy
 
i see what you did there
 
Sorry, couldn't resist. It's the Police Squad! lover in me.
 
Yes petty uses of eval are silly.
Eval can do some rather interesting stuff though :)
 
like?
 
3:07 PM
@Raynos: eval is a tool, but just like any other tools it has specific purposes. I don't personally buy into the whole "eval is evil" thing because I know when I need to use it and when I don't.
 
@AndyE whatever, evil doer
 
It's like saying cars are evil because people get run over :-P
 
@NickCraver self editing source code is the only thing I can think of
var source = "...";
var flag = true;
while(flag) eval(source);
 
@AndyE - when a car comes after you we'll see how you change your tune
 
3:09 PM
while(true) eval("alert('I\'m annoying');");
3
 
Now look here. Theres nothing wrong with self editing source code
 
eval has another humongous pitfall, compilation
 
@Raynos say that after a pleasant evening debugging three-year-old self-editing source code left by a long-departed predecessor
 
Stupid chrome.
 
Hey I have a quick question about Markdown
 
3:12 PM
i only like eval() in concept, not in application.. it's just cool that i can do that
 
@NickCraver your \' should be double-escaped :p
 
If I wanted to use it for a "baby CMS" in an app, like for pushing "What's new?" content from product people out to customers ...
 
@Pointy - we don't call those "predecessors", we call them "assholes"
 
I'm inclined to want to use one of the JS implementations, and maintain everything as raw "source" text, and do the conversion in the browser. Does that sound like a bad idea?
 
@AndyE way to tell me after the 2 minute window, it's stuck like that forever!
 
3:14 PM
@Pointy: yes, that sounds like a bad idea to me
 
@Pointy I thought the usual method is to maintain the source in the database, then process it server side before sending over the HTML to display
 
@NickCraver: sorry :)
 
yeah that'll cause issues I believe @Pointy
 
showdown.js isn't very fast I think
 
@Andy ok wow thanks ...
Well I won't have that much content, and I can keep it under control (limit the number of "articles")
The appeal for the idea was the guarantee (well almost guarantee) that it'd look the same for the product dude creating the content as it would for customers reading it
 
3:15 PM
sending it to the client as JSON?
 
@Pointy You want self editing self documenting self debuggin source code.
 
Well as JSON or just embedded as text in a <script type='text/html'> or whatever
 
wait, is this an internal or internet facing app?
 
The entry of content would be internal, the viewing external
 
then definitely not, indexing goes out the window
 
3:16 PM
@Pointy Well then just use showdown.js to render a preview, like they do here
 
do like SO does, it's a pretty good approach IMO
show a preview best you can, get an actual preview from the server every so often
 
Ah ok ... hmm that sort-of makes sense I guess. I'd have to play with it; if "showdown.js" is slow for dumb reasons I wonder if it'd be fixable
We're already in the situation that lack of JS On the client is a non-starter (a long sad story)
 
@Pointy The source states that it's not written like a conventional parser, but rather a direct port of the original perl version, to keep compatibility as tight as possible
 
@Nick "indexing"? Not sure what you mean - like for searching or something?
 
google
 
3:19 PM
@Yi Jiang ah that's interesting
Oh - well that's not an issue; this is a login-only registered customers web application
 
oh, nevermind my babble then, carry on :)
 
Well I do appreciate the info - I'll have to play with the various options because (dumb) I hadn't really considered the possibility that the JS versions would be slow
 
@Pointy: is there a chance any of them (users) may have JS disabled?
 
@Andy they'd be extremely unhappy with our app if so :-)
Basically what happened is that my early (early) proof-of-concept design demo got hijacked and is now the actual product :-(
Lesson: make sure your proofs-of-concept suck
 
@pointy that always happens
my widget-based BI dashboard that allows for drag and drop is a hack, and everyone LOVES it
 
3:23 PM
Like, make sure they only run on an Apple ][-E or something
 
I put maybe two weeks effort into it
 
@drachenstern oh hi der
 
@shogun I can't let you hog ALL the chatrooms
 
0
Q: Is there a reliable way to time javascript animations with an audio file playing in the browser?

shogunFor example, I want the page to play an audio file while at the same time have some bullets slide into view at just the right moment that said bullet is talked about in the audio file. A similar effect would also be used for closed captioning. When I say reliable I mean specifically that the timi...

 
3:23 PM
hehe
 
Tom
@Pointy, what's the problem with rendering raw html dynamically using javascript? Sorry I didn't really follow the convo
 
is there a way, I can Render webfonts code.google.com/apis/webfonts on canvas
 
@Tom The suggestions was that it might be slow, which (based on what Yi Jiang says about "showdown.js") may be a problem
 
Tom
@Pointy, slow? It seems near instant to what I've tried.. how long are your pages?
 
anybody got a moment to answer a jsfiddle question? I know that I have two fiddles, cos they're in my browser address, but they aren't showing in my list of fiddles, what do I need to do? how do I retain them for later without memorizing the address?
 
3:26 PM
not everyone has machines or browser that we do, always remember that
 
@NinjaDude yes you can set context.font to anything you'd put in a CSS rule
 
people with IE7 have a much slower experience
 
@Tom It's merely a suggestion. I'm not saying that it's not necessarily going to be slow, just that this is not something conventionally done client side
 
@NickCraver yes I test with IE7 on a limited-RAM virtual machine - it's really slow.
 
@Pointy I tried the same, It's working in my case :(
 
3:27 PM
@NickCraver people with IE7 get upgraded automatically to IE8 by visiting my website and being tricked.
 
oops, it's not*
 
Hmm -- well are you sure you've pulled the font with a CSS @font rule? In other words, does the font work with plain CSS styles in HTML elements?
 
Tom
@YiJiang, alright, but I'm having problems understanding why a browser would be much slower in rendering if it's input is provided by javascript rather than the conventional method
 
yes
 
@Tom Because the Javascript code has to parse the Markdown source and create DOM elements. Both of those could possibly be slow (esp. in IE7), though there would have to be a lot of source for parsing to be slow unless it's done really badly
 
Tom
3:29 PM
@Pointy, if you load the raw html into the document before it gets parsed, it should make no difference
As javascript does not have to parse anything
Actually maybe that is not possible, not sure
 
@Tom well what I was contemplating was for the server to maintain and deliver (somehow) the markdown source, and then at page "ready" time the Javascript would translate it.
(Or maybe the script would translate when the user clicks a "More information" button; I don't have a design yet.)
@NinjaDude well I'm no <canvas> expert - I've just played with it for a couple of toy projects and js1k etc.
 
Tom
@Pointy, right. User clicks button, server sends you source - javascript simply injects this source into HTML as a string, no need for javascript to parse anything, right? That's my assumption anyway
 
@Tom The problem is that "source" here means Markdown source, not HTML source.
At least, that's what I'm trying to decide.
 
Tom
@Pointy could you define Markdown source?
 
Markdown is the stuff like when you type questions in Stackoverflow (or here, for that matter)
Like **asterisks** for bold etc.
 
3:35 PM
@Pointy Thanks for your time, Now its works [what I expected]
see what have I done http://jsbin.com/edude4
 
It's easier than HTML or Wiki markup, so the idea is that our customer service and/or customer implementation people can manage that sort of content through an inward-facing page, without needing developers to do actual HTML work and drop new code etc.
 
Tom
@Pointy, that wouldn't make much sense though. It makes sense for the publisher to send markdown source to the server, but not for the server to send markdown code to the client - as each client would have to convert it to normal html. That'd be unnecessary, why not just convert the markdown source to html as soon as the server retrieves it? One time thing, server side. Then you pass it to javascript on request and it'll inject the html, no need for parsing
 
@tom to reduce duplication of effort
 
@Tom My thinking was that if there's exactly one Markdown interpreter involved, then the output will be consistent between what our people edit and what customers see.
 
if it's stored in the server as markdown then we can update the markdown source once and get the new interpretation, instead of having to reparse the code on the server
and it's lighter to send to the browser as markdown, so it reduces communication time as well
 
3:38 PM
@drachenstern yes exactly - however I asked here because I have zero experience with stuff like that
 
@tom, the real answer to why it's processed on the client, as to most other programming questions, is because you should be LAZY as a programmer
 
Tom
@drachenstern you actually create more effort by letting every client convert it while it coulbe done once
@Pointy that should be a valid assumption if your interpreter is cross browser
 
@tom do you mean "wasted kwh" more effort?
 
Tom
@drachenstern just talking about processing power
 
@Tom That's true Tom but if it's not too slow, then I don't mind using client CPUs to do work that my servers would have to do
 
Tom
3:39 PM
@Pointy, hmm, yeah possibly if you think it'll cost your server that much
 
@Tom and as far as I know, "showdown.js" (I think that's the one I was looking at) is cross-browser
 
@tom ... well I'm lazy and don't mind paying for more processing power ... but that's just me
 
Tom
I see what you mean, if you have really basic markup you can do a simple string substitution rather than parsing everything
@Pointy
 
This contains the source for both the wmd editor and showdown.js
 
3:44 PM
so now that the room has slowed down, I wanna try again ;)

anybody got a moment to answer a jsfiddle question? I know that I have two fiddles, cos they're in my browser address, but they aren't showing in my list of fiddles, what do I need to do? how do I retain them for later without memorizing the address?
 
@drachenstern Did you start them or was it someone elses?
 
I did
after I started my account
and it has my name in the url
 
Did you push "Update"
 
yep
oh, I was clicking on the wrong place I think ... I expected them to be under public fiddles but I should have clicked my name
then dashboard
that was unintuitive to me
 
Yeah... Ive done that too
That seemed lengthy so I wouldnt want to lose that either :/
 
3:47 PM
oh dear, that was me goofing off yesterday
@Tek mentioned something about how does one go about doing a commenting system like on SO, and if one existed, so I was waiting on my database and decided I would goof off
 
Well thanks for the feedback everybody - now I can sound like I know something about the topic :-)
 
Tom
Hey... are there any public VOIP channels for programmers? Eg, a ventrilo server for Javascript? Would be great
 
@Tom really? you would want to be stuck on voice chat talking about javascript ? It would just get messy
@Tom unless you hit & run with your questions/problems etc.
 
10 mins until I go home for the weekend
 
Tom
@Raynos, well, more about ideas and general chatting really
@Raynos great source for project inspritation
And cooperations, etc
You wouldn't want to pronounce code, no ^^
 
3:56 PM
@Tom depends whether your at a work environment
 
Tom
@Raynos yea of course
 
@Tom I think this is enough of a timesink balanced out by good aid with issues and problems
 
Tom
@Raynos, it'd be for during free time etc. actually I always spend my free time coding :p
 
@Tom I want to do that. The transition from uni to 40hour programming week killed my free time coding.
 
Tom
@Raynos, yea I can imagine - that's why I only work freelance on my own projects and sell them
I just sold a project so I need another wave of inspiration too
 
3:58 PM
is replacing a single line of $("#id").val("x") with document.getElementById("id").value = x; premature optimisation?
 
@Raynos Yes, probably
 
Tom
@Raynos I would not even call it an optimisation in the general sense of the word
performance optimisation maybe
 
@Tom its faster :)
 
Tom
@Raynos, true, that's just one of the things you need though ;)
 
I mean if im not doing anything else with $("#id") is there any point in using jQuery rather then native javascript
 
4:00 PM
@Raynos Use native Javascript, duh
 
I feel that im becoming one of those "jQuery reliant/abuser" by just not using document.getElementById anymore
 
Tom
@Raynos, you probably want a unified syntax
which has all kinds of advantages
 
@Tom what do you mean?
 
Well typing document.getElementById(...) is a drag
 
Tom
@Raynos if you do it in method A at place B and with another method somewhere else it can get messy
 
4:01 PM
@Tom I'm pretty sure document.getElementById is universally supported
 
Tom
@YiJiang yes, I'm more talking about syntax though
 
function ItemDeleted()
            {
                document.getElementById('SelectedKeyString_hid').value="";
                LockAdminRefresh_sec(null);
            }
 
Tom
I'd find it pretty confusing if you'd mix them all up depending on each situation
 
I extend my environment with $$ and $.$ - the first is improved getElementById and the second returns a jQuery wrapper
 
I was tempted to use $("#SelectedKetString_hid").val(""); instead, is that considered "overusing jQuery" ?
 
4:02 PM
You have to "improve" the basic function because IE does you the favor of returning elements based on their name if it can't find an "id" for you. Or even if it can, sometimes.
 
@Pointy what do you mean by jquery wrapper?
 
Tom
@Raynos that's how I would do it. It's not like you're building 4 dimensional games in javascript.
 
@Tom I am. Writing my 4d graphics engine in JS
 
Well var elem = $$('id') just gets the DOM element, while $.$ is like $($$('id'))
 
Tom
@Raynos, really? Then you probably shouldn't use jquery at all (?)
 
4:04 PM
@Tom $.make(4dGame) Done! See, that was easy...
 
@Tom I jest
Still no-one constructively answered as to whether that is overusing jQuery and whether overusing jQuery is considered "bad"
 
Well "bad" is in the eyes of the beholder - in some ways, leaning on the framework can reduce chances for silly bugs
 
Tom
@Raynos there is no universal answer as overusing jquery is not a defined term, anyway I said no because you do not need the speed increase in most cases and it makes your syntax look better.
 
However, you have to realize that those jQuery calls aren't free - it all depends on your application and its complexity
 
@Raynos The load for your users, obviously. jQuery core isn't lightweight by any definition of the term
 
4:07 PM
For some apps that show lots of data in tabular views (saw a presentation by a guy from HomeAway about this), the cost of jQuery operations multiplied by those hundreds of table cells etc actually adds up
 
If you're only using it for one, easily replaceable line, then really there's no need to load that library
 
@YiJiang jQuery is included in by default in the background everywhere for the heavyweight stuff. Im just wondering whether I should wrap small lightweight stuff in jQuery objects. The actauly library load time is irrelevant
@Pointy Yes I have that. Its quite heavy to use jQuery but it makes live a lot easier
"the ichor permeates all MY FACE MY FACE" what is this? -.-
There seem to be easter eggs lying around. Ill go ask the sandbox
its in the masterchat.js source file
 
@Raynos It's in the Egg global object - check the DOM tab if you're on Firebug
 
@YiJiang I just have Eggs
@YiJiang my actual question is what is the point?
 
4:23 PM
 
@YiJiang I can see that function, What is the point?
 
Tom
@YiJiang how do you survive with that many tabs :o
 
@Tom thats not too many. Imagine having that many programs on your bar at the bottom :) 12-15 programs open at one time. tab tab tab tab :0
 
Tom
@Raynos I wonder if these people need to use 12-15 programs at a time or if they're too lazy to shut them down ^^
 
@Tom I regularly cull the tabs and restart Firefox with killall firefox-bin && firefox-bin to reap the leaked memory
@Raynos It's the easter egg for SO chat
in Sandbox, Oct 21 at 1:02, by Yi Jiang
<[^>]>
Should be the trigger I think, though I think they updated it
 
4:35 PM
<[^>]>
yes that is it
That is ridiculious
it is very silly
 
Tom
<[^>]> hmmm?
It makes my browser run slow
 
in firefox it makes text creep the screen
 
What is up my brothers?
 
question: i am using jquery validation bassistance.de/jquery-plugins/jquery-plugin-validation , how do i make the errors alert on submit?
 
4:51 PM
@tpae - be a bit clearer?
 
Are scheme-relative URLs that big of a secret? the comments on these answers sure make it seem like it
10
A: Does HTTPS connection disabled jQuery?

Nick CraverIt's probably the browser not displaying insecure (http) content on https pages, there's a simple fix though, use a scheme relative URL, like this: <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> This way you'll get http://a...

 
but it's getting database errors
 
@NickCraver One of the top "secrets feature" of HTML also seems to be this
They're certainly not well known, or at least not used often enough to come to one's mind when faced with this problem
 
shame, real handy for the CDN includes
app i'm working on right now is strictly https...but our dev environments (and local) aren't, makes things to much simpler
 
4:58 PM
@NickCraver yes that's a secret. I've never heard of that. Figured the browser would do something dumb like http://server/includes//api.googlecdn.....
 
ah nope, it has to start with it to work tho
 
@NickCraver Honestly, I'm not even sure I was directly aware of that myself, heh. It makes sense, but I guess I've never been in a situation where I wasn't using some URL generation code that appropriately filled in the scheme part for me.
 

« first day (20 days earlier)      last day (4933 days later) »