Comments on: Interview with Ian Hickson, HTML editor https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/ helping you implement HTML5 today Wed, 24 Feb 2016 23:27:01 +0000 hourly 1 By: Web Design https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-36883 Thu, 25 Jul 2013 14:47:17 +0000 http://html5doctor.com/?p=4868#comment-36883 Thanks for the article Bruce!

]]>
By: Matthew M. Kaufman https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-31683 Fri, 22 Feb 2013 19:28:33 +0000 http://html5doctor.com/?p=4868#comment-31683 This is a great interview structure;

Do you have a pre-formed format for conducting your interviews? I saw in the writing that it refered back to a previous interview 2 and a half years ago.

Very dynamic.

]]>
By: fps https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-31006 Fri, 01 Feb 2013 22:57:47 +0000 http://html5doctor.com/?p=4868#comment-31006

Using something like JSON makes sense if what you want to serialise is a static JavaScript structure with no cross-references. If your data structure is something else, then using JSON doesn’t generally make more sense than using a dedicated format — either way, you’re going to have to get the data out and piece it back together into your own internal representation.

There’s an alternative: using RDF

]]>
By: Martin Hjort https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-30154 Sun, 20 Jan 2013 12:54:51 +0000 http://html5doctor.com/?p=4868#comment-30154 Very interesting interview, even for a guy who’s not that deep into specs. Nice to hear a word from a guy “deep down in the mess” ;) and at the same time actually learn something. One of the few longreads I’ve actually completed :-)

]]>
By: Alex Bell https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29913 Tue, 15 Jan 2013 22:11:47 +0000 http://html5doctor.com/?p=4868#comment-29913 “(It’s possible to use postMessage() safely. It’s just that the easiest thing to do is not the safe way, so people get it wrong all the time.)”

What’s the right way, and what’s the wrong way? An explanation, or at least a link here would be great.

]]>
By: Yoav Weiss https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29883 Tue, 15 Jan 2013 12:21:25 +0000 http://html5doctor.com/?p=4868#comment-29883 @Anne (& @Hixie) – since these mechanisms are already specified and implemented for media elements:
* Are current video/audio parsing implementations unreasonably buggy?
* Is it possible to reuse specifications & code to extend the media element’s source also to picture or other elements?

]]>
By: Anne van Kesteren https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29882 Tue, 15 Jan 2013 11:52:27 +0000 http://html5doctor.com/?p=4868#comment-29882 The resulting mess however (as implementations will more likely be buggy) causes pain downstream and reduces the amount of work that can be done in other areas. It’s all tradeoffs.

]]>
By: Bruce Lawson https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29868 Tue, 15 Jan 2013 08:21:54 +0000 http://html5doctor.com/?p=4868#comment-29868 Got an email from Hixie answering this:

Search for “multiple elements”:
Generally, processing models for multi-element structures in the DOM are a disproportionate source of trouble in a wide variety of areas:

  • they introduce the need for much more elaborate error handling, since they have multiple failure modes (what happens if one or another element is found in another, or if the outer element has an unexpected inner element?)
  • the processing model has to deal with changes more complicated than just “change” (what if an element is added or removed, or moved?)
  • it introduces all kinds of complicated questions once you introduce shadow trees (what if you bind something with a special child? what if the shadow tree contains such a child?)
  • it introduces complexities in the algorithms to deal with unexpected text nodes, comment nodes, PIs, etc.
  • it introduces some complexity in the parser, because you have to handle the case where you’re only half-way through parsing the “parent” element when you return to the event loop, with more children elements to process (when does the processing model start? what do you expose in the DOM API half-way through? etc).

Alternatively, check how complicated the
<source> processing model has become in the spec.

I (Bruce) note, however, that these are complexities for implementors and specifiers rather than web developers.

]]>
By: Bruce Lawson https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29831 Mon, 14 Jan 2013 08:45:28 +0000 http://html5doctor.com/?p=4868#comment-29831 A supplementary question for Hixie that’s been niggling at me:

Hixie said “we learnt with <video> and <source> that having multiple elements for selecting a resource is a huge design pitfall”.

Could you elaborate on that those pitfalls are, and how you’ve learned of them since specifying <source>? (I don’t hear many people struggling with how <source> is used.)

]]>
By: Richard Clark https://stevefaulkner.github.io/html5doctored/interview-with-ian-hickson-html-editor/#comment-29797 Sun, 13 Jan 2013 20:24:59 +0000 http://html5doctor.com/?p=4868#comment-29797 re: Why WebSockets implemented more than a raw socket handshake, the main reasons were 1) to maintain interoperability with the browser’s sandboxing model (origin-based security), and 2) interoperate cleanly with HTTP (the “upgrade” mechanism has been in HTTP from the beginning.)

Hixie’s comment about the IETF adding features that “reduced the protocol’s security” is intriguing. I’ll have to go back through the change stream from hixie-76 to RFC-6455 with an eye toward the security implications.

]]>