Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeresig
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
jeresig
16y ago
"Are all those new fancy DOM traversal, XPath and XSLT APIs really not faster than parsing and joining of strings?" It cannot be understated how much slower touching the DOM is compared to doing string manipulation. Any DOM touching - but
182.
▲
by
jeresig
16y ago
Only quiet because we're working so hard. We're releasing the alpha on October 16th (at the jQuery conference in Boston) so we're a bit frantic at the moment. Either way we're hoping to get a blog post up this week.
183.
▲
by
jeresig
16y ago
The jQuery project has been working on this this particular plugin for a while now. Based upon what Yehuda wrote up in his original Handlebars.js blog post: http://yehudakatz.com/2010/09/09/announcing-handlebars-js/ He also recommends the
184.
▲
by
jeresig
16y ago
We opted not to use this particular technique for two reasons: 1) It's not nearly as versatile. You can use the if statements on elements, attributes, text - anything you wish - there is no restriction on its contents or location. 2) In ord
185.
▲
by
jeresig
16y ago
This was originally posted to the jQuery forum: http://forum.jquery.com/topic/jquery-regular-expression-revi... The changes have already been made: http://github.com/jquery/jquery/commit/9dc6e0c572b9c809a3a4c...
186.
▲
by
jeresig
16y ago
Yep - they're going to be 100% Themeroller-able. It's going to be a bunch of work on our end but the ability to have a unified, good-looking, UI that works across all platforms is just too enticing to ignore.
187.
▲
by
jeresig
16y ago
jQTouch has been out for a couple years at this point - a two month "chill" period before release seems totally appropriate. Honestly, I don't see the "chill" as being a bad thing in this regard: jQTouch and Sencha Touch are doing mobile we
188.
▲
by
jeresig
16y ago
Yep - that's correct. Since jQuery is a completely community-driven project and funded entirely by donations we wanted to open up right away to bring more people in. While we're rather confident in the direction that we're heading - doing i
189.
▲
by
jeresig
16y ago
To preempt a few questions that are bound to pop up: What about jQTouch? While jQTouch is a great framework and we're proud to have it as part of the jQuery community - we really wanted a mobile framework to exist that would truly support a
190.
▲
by
jeresig
16y ago
I've read your comment a couple times now but I'm struggling to think of an example that hasn't improved with the new layout. Not only does the new layout include a much more in-depth listing of properties and methods but it also has a much
191.
▲
by
jeresig
16y ago
It's been over a year since Jack posted to the ExtJS forums: http://www.sencha.com/forum/member.php?2-jack.slocum Probably safe to say that he's no longer involved.
192.
▲
by
jeresig
16y ago
It's a concern of ours (the jQuery Project) as well. We've been actively working on mobile over the last couple months (mostly getting jQuery core in a better state with regards to supporting more mobile platforms). We see one major gap in
193.
▲
by
jeresig
17y ago
Good question - I was inspired heavily by Dean Edwards' original Base Class library, it seemed to make the most sense when I was using it. The original code: http://dean.edwards.name/weblog/2006/03/base/ The current code: http://code.goo
194.
▲
by
jeresig
17y ago
Huh, weird. This seems to crib very heavily from my original Simple JavaScript Inheritance implementation: http://ejohn.org/blog/simple-javascript-inheritance/ It even uses the 'classy' name and logo (stemming from an April Fools joke tha
195.
▲
by
jeresig
17y ago
This was demoed at today's jQuery Conference: There is no canvas used to render the tiles (it's all images). There is some canvas used to compute out the hit detection logic - but I suspect that that's something that could be generated serv
196.
▲
by
jeresig
17y ago
"This has nothing to do with 'existence' of [] (I'm not even sure what existence could mean here)." Ah sorry, I was referring to the fact that the array was already created and within another object that we were referencing. But yeah, thank
197.
▲
by
jeresig
17y ago
To start, you need to know that JavaScript has type coercion. Numbers can become strings, strings can become numbers, and arrays can become strings. Thus, for example: [] in a string context becomes "". "" in a number context becomes 0. Thu
198.
▲
by
jeresig
17y ago
The critical phrase is: "According to the numbers presented by the Taskspeed benchmark..." Is jQuery, as a whole, 2x faster in 1.4.2 compared to 1.4.1? Provably not - we didn't make changes to all of jQuery (and even if we did, how would we
199.
▲
by
jeresig
17y ago
"The project just makes breaking changes way too often, e.g., the earlier 1.4 builds try to take over IE's event model and get it wrong, not only breaking jQuery's own code but also breaking all the tried and tested workarounds we've been u
200.
▲
by
jeresig
17y ago
Other way around - be sure to double-check the raw data at the bottom (3.6 is considerably faster than 3.5).
201.
▲
by
jeresig
17y ago
Erm - how would it slow down people's code? We're already doing a check to see if a tag name is being used and optimize based upon that, we just added one additional check to optimize for body. There is absolutely no way in which the check:
202.
▲
by
jeresig
17y ago
If your question is "How many times in January is [there going to be a code release of] jQuery" then the answer is only twice: jQuery 1.4 and 1.4.1. However we've also released the 14 Days of jQuery (jquery14.com), jQuery.org, the new jQuer
203.
▲
by
jeresig
17y ago
Presumably when the Google team wakes back up on the west coast.
204.
▲
by
jeresig
17y ago
No worries - I definitely appreciate feedback. Glad you're enjoying jQuery :)
205.
▲
by
jeresig
17y ago
I should clarify: We do get a ton of feedback during the alpha/release candidate phases - it's just that there always seems to be a few things that end up slipping through in the end, one way or the other, hence the soon-after .1 release.
206.
▲
by
jeresig
17y ago
I'm always surprised how phenomenally hard it is to get people to test alphas and release candidates - it isn't until the actual major release hits the floor that a ton of input starts to roll in. Every release I think it'll be different bu
207.
▲
by
jeresig
17y ago
Ok, that's absolutely not true in the tech world. I was chatting with some friends that also speak frequently to developer-centric audiences and we were all commiserating how hard it is to get basic necessities when speaking - it's a challe
208.
▲
by
jeresig
17y ago
The announcement post with more details can be found here: http://jquery14.com/day-07/new-jquery-forum The previous discussion is here: http://news.ycombinator.com/item?id=1057012
209.
▲
by
jeresig
17y ago
Test case: http://ejohn.org/files/json-parse/ Firefox 3.5: eval: 549 JSON.parse: 490 Safari 4: eval: 246 JSON.parse: 215 IE 8: eval: 1438 JSON.parse: 1031 Chrome: eval: 241 JSON.parse: 656 So yeah, a bit faster in Firefox and
210.
▲
by
jeresig
17y ago
In some way the browsers already have made the decision. The new JSON.parse method available in Firefox, Safari, and IE 8 is capable of parsing a valid JSON string and turning it into a JavaScript object. The exception is the one provided b
More ›