Re: [whatwg] Endianness of typed arrays

2012-03-28 Thread John Tamplin
Personally, I think TypedArrays are too closely tied to WebGL -- as they become part of JS and not just tied to WebGL (for example, IE10 will support TypedArrays but not WebGL), they are going to be used for other things. For example, reading/writing binary file formats or exchanging wire

Re: [whatwg] Endianness of typed arrays

2012-03-28 Thread John Tamplin
On Wed, Mar 28, 2012 at 7:30 PM, Glenn Maynard gl...@zewt.org wrote: And for all realistic purposes, the world has standardized on little-endian. Other than network protocols, which are all big-endian. -- John A. Tamplin Software Engineer (GWT), Google

Re: [whatwg] Endianness of typed arrays

2012-03-28 Thread John Tamplin
On Wed, Mar 28, 2012 at 8:04 PM, Glenn Maynard gl...@zewt.org wrote: The result was increased polymorphism at call sites, which defeated the Java VM's optimizing compiler and led to 10x slowdowns in many common situations. FWIW, I think this has no bearing at all on JS. Check out this

Re: [whatwg] Endianness of typed arrays

2012-03-28 Thread John Tamplin
On Wed, Mar 28, 2012 at 8:50 PM, Glenn Maynard gl...@zewt.org wrote: Maybe I misunderstood what he was referring to; I was thinking about the comparative cost of making, say, a C++ function virtual (added dispatch cost). It wouldn't make calls to functions any more polymorphic--you already

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-26 Thread John Tamplin
On Mon, Mar 26, 2012 at 9:11 PM, Kenneth Russell k...@google.com wrote: The rationale for specifying the string encoding and decoding functionality outside the typed array specification is to keep the typed array spec small and easily implementable. The indexed property getters and setters on

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread John Tamplin
On Tue, Mar 13, 2012 at 8:19 PM, Glenn Maynard gl...@zewt.org wrote: Using Views instead of specifying the offset and length sounds good. On Tue, Mar 13, 2012 at 6:28 PM, Ian Hickson i...@hixie.ch wrote: - What's the use case for supporting anything but UTF-8? Other Unicode encodings

Re: [whatwg] Proposal for autocompletetype Attribute in HTML5 Specification

2012-01-26 Thread John Tamplin
On Fri, Jan 20, 2012 at 6:28 PM, Ilya Sherman isher...@chromium.org wrote: Maybe some of the supported keywords could be dropped (e.g. those that are not recommended to use). Since there's no legacy yet, we can reject bad keywords completely and only support the best practice keywords.

Re: [whatwg] Decimal comma in numeric input

2012-01-19 Thread John Tamplin
On Thu, Jan 19, 2012 at 3:38 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 14 Apr 2011, John Tamplin wrote: The entire web application, which includes both client and server-side code, must have the same idea about what locale the user is using. If the app provides a drop-down

Re: [whatwg] Prevent a document from being manipulated by a top document

2011-08-02 Thread John Tamplin
On Tue, Aug 2, 2011 at 7:15 AM, Dennis Joachimsthaler den...@efjot.dewrote: Am 02.08.2011, 13:12 Uhr, schrieb Anne van Kesteren ann...@opera.com If users cannot trust their userscripts and addons (provided they can do unsafe things) they have lost already. True. We do not make standards

Re: [whatwg] Why deflate-stream is required to be enabled by the WebSocket API?

2011-07-20 Thread John Tamplin
On Wed, Jul 20, 2011 at 6:54 PM, Adam Barth w...@adambarth.com wrote: Isn't the obvious solution to both problems to apply compression before masking? Yes. However, that is not what deflate-stream does. There has been a proposal for deflate-frame which would do exactly that, but it has not

Re: [whatwg] Decimal comma in numeric input

2011-04-14 Thread John Tamplin
On Thu, Apr 14, 2011 at 7:23 AM, Jukka K. Korpela jkorp...@cs.tut.fiwrote: I think the main problem is triggering the decimal separator mode (or the order of numeric day and month for that matter) on the UI locale rather than the locale of the page, Well that's certainly at least _one_ of

Re: [whatwg] Decimal comma in numeric input

2011-04-14 Thread John Tamplin
On Thu, Apr 14, 2011 at 12:40 PM, Jukka K. Korpela jkorp...@cs.tut.fiwrote: Well, HTML(5) is not just about client-server applications. It’s also about offline applications and about the bulk of web and intranet content that cannot be characterized as “applications” in any significant meaning.

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-10 Thread John Tamplin
On Thu, Feb 10, 2011 at 5:09 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: Yes, but it's a long way from there to saying that parsing must be a- voided because parsing is inherently slow. As it becomes more common to load very large libraries where you don't actually use most things, or use

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-10 Thread John Tamplin
On Thu, Feb 10, 2011 at 7:39 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: While I am sure that people here have done far more extensive research than what we've heard so far, this is Ian Hickson's mailing list and as I recall, he puts great emphasis on research and the proceedings being

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread John Tamplin
On Tue, Feb 8, 2011 at 10:44 AM, Henri Sivonen hsivo...@iki.fi wrote: I thought the case being addressed here is fetching scripts early but not compiling or evaluating them until the app knows the functionality provided the script is going to be needed. The degradation story depends on the

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread John Tamplin
On Tue, Feb 8, 2011 at 11:10 AM, Anne van Kesteren ann...@opera.com wrote: Is there a specific problem with letting Web Workers handle this use case? They should not interfere with the UI thread. I'm not really the one to answer and I don't know the details of the problem or solution, I was

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread John Tamplin
On Tue, Feb 8, 2011 at 11:35 AM, Anne van Kesteren ann...@opera.com wrote: They have a way to download and execute scripts. So if the UI thread has a minimal script that takes care of creation of workers and creates a tunnel for DOM modifications you could theoretically be all set. (I have not

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread John Tamplin
On Tue, Feb 8, 2011 at 4:13 PM, Boris Zbarsky bzbar...@mit.edu wrote: Here's the thing. Parsing is a black-box behavior. Nothing says a browser needs to do it right before execution, that it needs to happen on the main thread, or that it's happening at all. For example, for Gecko we have

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread John Tamplin
On Tue, Feb 8, 2011 at 11:26 PM, Boris Zbarsky bzbar...@mit.edu wrote: You don't need to be more efficient to avoid freezing the UI. You just have to not do the parsing work in a single shot on the main thread. You can either break it up (cooperative multitasking, effectively), or put it on a

Re: [whatwg] WebSockets: UDP

2010-06-01 Thread John Tamplin
On Tue, Jun 1, 2010 at 11:34 AM, Mike Belshe m...@belshe.com wrote: FYI: SCTP is effectively non-deployable on the internet today due to NAT. +1 on finding ways to enable UDP. It's a key missing component to the web platform. But there is so much infrastructure that would have to be

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-27 Thread John Tamplin
On Thu, May 27, 2010 at 10:28 AM, Simon Pieters sim...@opera.com wrote: From our testing it seems that Vista has a limit of 1398 open sockets. Apparently Ubuntu has a limit of 1024 file descriptors per process. On Linux, that is just the default (which may vary between distros) and can be

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-13 Thread John Tamplin
On Thu, May 13, 2010 at 1:19 PM, Perry Smith pedz...@gmail.com wrote: [[ Note: There is no limit to the number of established WebSocket connections a user agent can have with a single remote host. Servers can refuse to connect users with an excessive number of connections, or disconnect

Re: [whatwg] New File attributes creationDate, modificationDate and size

2010-05-11 Thread John Tamplin
On Tue, May 11, 2010 at 4:43 AM, J Ross Nicoll j...@jrn.me.uk wrote: Looking at http://www.w3.org/TR/2009/WD-FileAPI-20091117/#dfn-file There doesn't appear to be anyway of retrieving creation date, modification date or size of the file. Could I suggest adding attributes creationDate,

Re: [whatwg] Dealing with Stereoscopic displays

2010-04-26 Thread John Tamplin
On Mon, Apr 26, 2010 at 6:09 PM, Silvia Pfeiffer silviapfeiff...@gmail.comwrote: On Tue, Apr 27, 2010 at 2:04 AM, Eoin Kilfeather ekilfeat...@dmc.dit.ie wrote: I was wondering if any though had been given to a consistant way of dealing with stereoscopic displays. A use case has come up in a