Re: [JSMentors] Request for code review: noodles - Async/non-blocking/CPS versions of the higher order functions on `Array.prototype`

2011-01-11 Thread Nick Fitzgerald
Thanks everyone for the incredible feedback, this is way greater than I had ever hoped for! I'm sorry I haven't the time right now to respond to each of you individually, but I have been working on some of the changes that have been proposed and am just trying to track down a little bug before I

Re: [JSMentors] void function ?

2011-01-11 Thread Peter van der Zee
On Tue, Jan 11, 2011 at 8:35 AM, Adrian Olaru agol...@gmail.com wrote: or you just write undefined instead of void(0) or void 0. Minor fyi: While true, do note that in most cases, this incurs a (minor!) overhead for lookup (because undefined is actually a global variable) while void(0) is an

Re: [JSMentors] void function ?

2011-01-11 Thread Adrian Olaru
My point is that void(0) or void 0, is not (that) used in the real world. @peter, @matthias... I know that about undefined. It's a good info for others that don't know, though. On Tue, Jan 11, 2011 at 10:54 AM, Peter van der Zee qfo...@gmail.comwrote: On Tue, Jan 11, 2011 at 8:35 AM, Adrian

[JSMentors] Re: What do you think of my implementation of HATEOAS?

2011-01-11 Thread jmulligan
Hi, So this morning marks my start of removing the extra try/catches and correcting regressions such as el.clear(). I'm expecting to have the documentation system for abaaso.com in place this weekend or next, and that will have some samples to start. More would follow as time passes and I build

Re: [JSMentors] Re: Internet Explorer event handler leaks

2011-01-11 Thread Garrett Smith
On 1/10/11, jdalton john.david.dal...@gmail.com wrote: Yep. But is there a different result in standards mode? That test case is in quirks mode. Yes, I modified the test to switch between standards and quirks and it leaks on both. OK, I see that. I have IE9 running in IE8 document mode. I

Re: [JSMentors] Re: Internet Explorer event handler leaks

2011-01-11 Thread Balázs Galambosi
2011/1/12 Garrett Smith dhtmlkitc...@gmail.com: OK, I see that. I have IE9 running in IE8 document mode. I am using resource monitor and filtering for iexplore.exe. I am looking at the Memory live graph as I navigate between pages. I do not see any increase between any of the three pages.

Re: [JSMentors] Re: XHR.readyState == 3

2011-01-11 Thread Nicholas C. Zakas
?If you're looking for Comet-style interactions, another option is long polling. It's not quite as nifty as HTTP streaming, but it also gets the job done. I did this when I wrote the YUI EventSource component. Details here: http://yuilibrary.com/gallery/show/eventsource The source is fairly

Re: [JSMentors] Re: void function ?

2011-01-11 Thread Nicholas C. Zakas
?To be more precise void is an operator, just typeof. The parentheses are optional, just like you can write -1 or -(1), the same is true for void(0) or void 0, although white space is required when parentheses aren't there for void and typeof. -Nicholas