Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeresig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
301.
▲
by
jeresig
18y ago
This isn't a straight-up integration of liveQuery. We've been very hesitant to bring in liveQuery wholesale because 1) It's quite large and 2) It's very slow (especially when you start using lots of selectors). We didn't want to integrate s
302.
▲
by
jeresig
18y ago
It's primarily helpful to jQuery itself. The problem is that most libraries have blindly assumed that specific browser bugs (such as an Internet Explorer bug) will exist forever in all versions of the browser. When the time comes for IE to
303.
▲
by
jeresig
18y ago
So you were capable of doing this in IE3? I'd pay money to see that.
304.
▲
by
jeresig
18y ago
Do you have any examples? Have you filed any bugs in the jQuery bug tracker? http://dev.jquery.com/
305.
▲
by
jeresig
18y ago
Well, we could certainly inject new stylesheet rules but that's bound to cause problems since we're at the mercy of the browser CSS engines. I suspect that most jQuery users enjoy writing selectors like "div:first > span" which will be
306.
▲
by
jeresig
18y ago
"capable of handling HTTP headers" - can you expand on this a bit? Right now you can set HTTP headers in jQuery like so: $.ajax({ beforeSend: function(xhr){ xhr.setRequestHeader("Accept","application/json"); },
307.
▲
by
jeresig
18y ago
Unfortunately it's not as simple as it is with events. With events you have the advantage of binding to a single point (e.g. the document node) and using the native event bubbling that exists in all browsers to capture any event that occurs
308.
▲
by
jeresig
18y ago
We aren't really talking about the features of this release, yet, since we want people to focus on testing (to make sure we didn't break anything). But here's a rough breakdown of the code that's in: New Selector Engine (Sizzle: http://git
309.
▲
by
jeresig
18y ago
I'm definitely considering a 'FireUnitLite' type project which would have the same functionality but in a little JavaScript file that you could include in your site. I'm not sure what you mean by this, though: "seems like the calls need to
310.
▲
by
jeresig
18y ago
Huh... you're right, it looks totally awesome. I've been using Unison for a while and have been... less than excited about it. I'll have to try this right away.
311.
▲
Genetic A/B Testing with JavaScript
(ejohn.org)
46 points
by
jeresig
18y ago
|
14 comments
312.
▲
by
jeresig
18y ago
Steve is simply labeling the WebKit nightlies as "Safari 4" - it's a little bit heavy-handed but it will, technically, be correct. Probably moving un-released browsers off into another area (Minefield/Firefox 3.1, Safari 4, and IE 8) would
313.
▲
by
jeresig
18y ago
It already had influence. When the tool came out it helped us to find a regression in redirect caching that occurred from Firefox 2 to Firefox 3. We fixed it and it's back to working again in Firefox 3.1. Steve has good clout - he knows his
314.
▲
by
jeresig
18y ago
The point isn't to measure something specific at a rate - it's to measure anything to see if the timer results continue to bin the results. It doesn't matter if it's a microbenchmark, or not, at that point. The issue here is that Chrome a
315.
▲
by
jeresig
18y ago
I definitely didn't intend for it to be that way - only so much as that V8 is the result of a long two years of dedicated work by a team of very smart people who produced an excellent result. Theoretically they reached a point at which they
316.
▲
by
jeresig
18y ago
Sorry about that, back up now!
317.
▲
by
jeresig
18y ago
One comparison was posted in the comments of the blog post: http://www.masonchang.com/2008/08/tracemonkey-vs-squirrelfis...
318.
▲
by
jeresig
18y ago
In my testing the JavaScript version had a better "boot time" (it was able to begin showing results instantly) - and rendered better/faster for simple examples. However, the Java Applets simply scale better. They can handle pretty much anyt
319.
▲
by
jeresig
18y ago
Firefox 3 supports native text rendering. There's a couple demos that show this (although you're out in the cold in other browsers, for now at least).
320.
▲
by
jeresig
19y ago
I don't believe this, at all. A JavaScript library abstracts away frustrating details that aren't related to the JavaScript language: like insane browser bugs. Instead choosing a good library can give you free range to explore the advanced
321.
▲
by
jeresig
19y ago
I should say that /any/ framework is not intended for performance-critical code. A framework is designed to be an abstraction - abstractions implicitly remove you from what you're trying to do, causing a performance hit of some sort. If per