Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bdash
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
151.
▲
by
bdash
14y ago
Resources such as nib files and help files aren't amenable to things like #defines. Filenames and build system metadata fall in to the same cateogry. The source code proper is a different story, but is also trivially updateable via sed or t
152.
▲
by
bdash
14y ago
While I've not measured the performance of the approaches, from reading the Python patch discussed in the article it would appear that Objective-C uses a more intelligent approach to maintaining the reference count in the face of concurrent
153.
▲
by
bdash
14y ago
I believe the non-LLVM backend to GCC was removed from Xcode 4.2, which was released in October 2011.
154.
▲
by
bdash
14y ago
While the WebKit project has a strict review process and a substantial amount of regression testing, code reviews can't catch all issues and WebKit doesn't have complete test coverage for all aspects of web technology. Changes can, and ofte
155.
▲
by
bdash
14y ago
By replacing your system frameworks with those from a WebKit nightly you're going to see trouble with OS X software updates, system-wide instability due to running bleeding-edge code, and a test environment which isn't representative of wha
156.
▲
On spinlocks and sleep() - How removing a call to sleep made WebKit 3.7x faster
(webkit.org)
7 points
by
bdash
14y ago
|
0 comments
157.
▲
by
bdash
14y ago
I don't see how this explanation can be correct given the fact that the code using host_vmxon / host_vmxoff in the revision you point to is guarded by #if VBOX_WITH_HOST_VMX, which the changeset also shows is false. It wasn't turned on unti
158.
▲
by
bdash
14y ago
I think this is because an A record query for www.kodefund.com returns multiple CNAME records, which is not compliant with the DNS specification: mrowe@vega:~$ dig A www.kodefund.com @a.dns.gandi.net ; <<>> Di
159.
▲
by
bdash
14y ago
Hmm… it looks like I misspoke. The "sparse mode" check that Array.prototype.sort performs in JavaScriptCore appears to be different than the its concept of sparse array storage, which is used under the conditions I described. The "sparse mo
160.
▲
by
bdash
14y ago
Apple engineers contributed "Nitro" to the WebKit SVN repository before it even gained that name.
161.
▲
by
bdash
14y ago
The version of JavaScriptCore (and the rest of WebKit) available from svn.webkit.org is exactly what is shipped in Safari on OS X.
162.
▲
by
bdash
14y ago
Can you point me at some code comparing the performance of your JavaScript quicksort implementation to the browser's native sort? I threw together a quick comparison myself and couldn't see any cases where the JavaScript implementation was
163.
▲
by
bdash
14y ago
This is also fast in Safari because the array isn't sparse enough for JavaScriptCore to send it down the fallback path. EDIT: In order to go down the fallback path the array needs to be both sufficiently large and sufficiently sparse (<
164.
▲
by
bdash
14y ago
The AVL tree is used for sorting when there is a custom comparison function because we cannot guarantee that the user-provided comparison function conforms to the requirements of the underlying standard library sort functions. Websites have
165.
▲
by
bdash
15y ago
> A well-designed OS shouldn't require you to keep multiple versions installed on a machine like that. A well-designed OS should require you to install a separate version of Python if the version it provides does not suit your needs.
166.
▲
by
bdash
15y ago
Upgrading the system Python on Mac OS X isn't easy because it's not something you should do. See http://stackoverflow.com/a/1541850 for something of an explanation about this.
167.
▲
by
bdash
15y ago
Amusingly enough, Mail’s compose window uses WebKit for the content area. According to http://webkit.org/b/73888 the issue is specific to the WebKit2 layer that is currently used only by Safari.
168.
▲
by
bdash
15y ago
Try the YouTube5 extension for a happy medium between ClickToFlash and Flash.
169.
▲
by
bdash
15y ago
Yup. It’s really unfortunate. I prefer to opt out of YouTube’s HTML5 mode and use the YouTube5 extension to achieve a similar effect. It also has the added benefit of avoiding the Flash player on videos where YouTube chooses not to use the
170.
▲
by
bdash
15y ago
Do you have Perian installed? Does http://www.youtube.com/html5 report that Safari supports WebM? If so, then what you’re seeing is YouTube preferring WebM over h.264, even though h.264 decoding is hardware accelerated rather than the sof
171.
▲
by
bdash
15y ago
That sandbox violation is not coming from your application. WebProcess is the process used for rendering web content in Safari only.
172.
▲
by
bdash
17y ago
Your post itself was entirely fair, and the improvements to the profiler were great. It is only the title of this posting that I take issue with. If the title had been "280 North makes WebKit's JavaScript Profiler Useful!" I don't think i
173.
▲
by
bdash
17y ago
We clearly have very different understandings of the term "at all". The "heavy" view in the profiler reported incorrect information when recursive function calls were involved. The default view (top-down) of the profiler worked fine, and t
174.
▲
by
bdash
17y ago
The title here is completely inaccurate. Francisco Tolmasky fixed a few bugs in WebKit's existing profiler, he did not contribute "a new JavaScript profiler". Many kudos to him for taking the time to fix these issues, but lets keep things
175.
▲
by
bdash
18y ago
Except for the fact that the real definition is actually more like: #ifdef __cplusplus #define __DARWIN_NULL __null #else /* ! __cplusplus */ #define __DARWIN_NULL ((void *)0) #endif /* __cplusplus */ So the code yo