4 ms·
I already posted this on Lobsters, but the "1,217 specifications totalling 114 million words" is pretty off-base. To copy my comment from there: This calculati
by Carpetsmoker 7y ago
I already posted this on Lobsters, but the "1,217 specifications totalling 114 million words" is pretty off-base. To copy my comment from there:
This calculation is wrong. For example searching for HTML[1] reveals different versions of the same document, various informative notes ("HTML5 Differences from HTML4", "HTML/XML Task Force Report"), things no one uses like XForms, and other documents that really shouldn't be counted.
I looked at the full URL list[2] and it includes things like the HTML 3.2 specification from 1997[3]. A quick spot-check reveals many URLs that shouldn't be counted.
I'm reminded by the time in high school when I mixed up some numbers in some calculation and ended up with a door bell using 10A of power. The teacher, quite rightfully, berated me for blindly trusting the result of my calculations without looking at the result and judging if it's vaguely in the right ballpark. This is the same; 114 millions words is a ridiculously large result, and the author should have known this, and investigated further to ensure this number is correct (it's not) before writing about it.
I wouldn't be surprised if the actual word count is two orders of a magnitude smaller; perhaps more.
[1]: https://www.w3.org/TR/?title=html https://www.w3.org/TR/?title=html
[2]: https://paste.sr.ht/~sircmpwn/fd74cf95eb6c1740f4af3aaaf2a0f4d22ce22719 https://paste.sr.ht/~sircmpwn/fd74cf95eb6c1740f4af3aaaf2a0f4...
[3]: https://www.w3.org/TR/2018/SPSD-html32-20180315/ https://www.w3.org/TR/2018/SPSD-html32-20180315/
- ddevault 7y agoThose specifications from 1997 are still relevant. That's why we end up with things like quirks mode: https://quirks.spec.whatwg.org/ https://quirks.spec.whatwg.org/ And on the subject of WHATWG, all of them were excluded from the word count. And, the JavaScript spec, and nearly all of the JavaScript APIs browsers are implementing. Things omitted include WebGL, Web Bluetooth and Web USB, the native filesystem API, WebXR, Speech APIs... and, the informative notes you mentioned are (1) a rounding error when compared to the specs, and (2) are also included in the word counts for POSIX, C11, and so on. And the word count I gave in the article is half of the real count I ended up with, and I didn't even finish downloading all of the specs to consider. My full write-up on the methodology is here: https://paste.sr.ht/~sircmpwn/13c1951014a256e9f551296a129bf6d10e9303dc https://paste.sr.ht/~sircmpwn/13c1951014a256e9f551296a129bf6... Anyone who thinks that the web isn't hundreds or thousands of times more complicated than almost anything else out there is lying to themselves.
- joshuamorton 7y agoI just poked through 50+ the first ~4000 things in that list. Of them, every single one was either - Unrelated to an actual web standard (such as a guide for authors of web pages(www.w3.org/TR/html5-author/dimension-attributes.html ), or a guide on how to create a PDF for a W3 event (https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20160317/pdf_notes.html) https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20160317/pdf_no...) - a raw xml file (www.w3.org/TR/2012/WD-its20-20121023/examples/xml/EX-locale-filter-selector-2.xml) - a diff (www.w3.org/TR/prov-dm/diff.html) - an error (www.w3.org/TR/unicode-xml/index.html) None were actual signal that relates to the web's specifications.
- ddevault 7y ago>such as a guide for authors of web pages I explained why I included these in my methodology doc. They felt this necessary to document, so I included it. The same is true of other specs I compared against, such as POSIX. >a raw xml file This XML file is 18 words according to my measurement. The total words I claim in my article are 113 million. Do you really think that this changes anything? >a diff Okay, I should have caught that. There are ~700 of these and I am computing the difference these make to the word count now. I expect it will be within the >100M word margin I left on these figures. [Edit: 28M words from diffs, which eats up about 25% of the 100M word budget I allocated for errors] >an error 123 words. See my XML comment. Out of curiosity, is it your intention to also look for flaws in my approach to word-counting the non-web specs I compared against?
- joshuamorton 7y agoI don't think you fully appreciated my comment. I've looked at now 100+ documents from that list. Not a single one has had actual content related to the web standard. I was finally able to find one, by looking elsewhere: https://www.w3.org/TR/css-grid-1/ https://www.w3.org/TR/css-grid-1/. You include 8 copies of the css-grid-1 standard in your count. So of the small fraction of documents that are actually web standards, you're miscounting by an order of magnitude. In other words, I expect that the actual count here is off by 2 orders of magnitude and that the real size of the "relevant" web standard is 1-2 million words, and the rest is just bad measurement. > Out of curiosity, is it your intention to also look for flaws in my approach to word-counting the non-web specs I compared against? No, I think pointing out a 2-3 order of magnitude mistake in your methodology speaks for itself. > They felt this necessary to document, so I included it. The same is true of other specs I compared against, such as POSIX. The posix spec includes examples and docs yes. But so do the actual web specs (see again the css grid spec doc). What the posix spec doesn't include is a parallel version of the docs meant entirely for posix users, that is wholly irrelevant to people who are building a posix shell. Again, you're including an analysis of which PDF readers to test the accessibility of the PDF you're writing in an analysis of web standards. Edit: For an even more egregious example, https://www.w3.org/TR/2013/CR-xpath-datamodel-30-20130108/ https://www.w3.org/TR/2013/CR-xpath-datamodel-30-20130108/ is one of eighty versions of the xpath datamodel spec that you count, and xpath isn't even an officially supported browser thing.