Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?

Comment 96K times several factors, plus China (Score 1) 188

I just checked the installation on my PC and the minified JQuery file (jquery-1.11.1.min.js) is all of 96 kilobytes.

I've read that it's common for scripts hosted on separate sites to import separate copies of jQuery so that widgets on the page don't break when a new version of jQuery changes some otherwise unspecified behavior. With noConflict mode, you end up with jquery-1.11.1.min.js, jquery-1.otherversion.min.js, and jquery-1.yetanother.min.js. So that's 96 kilobytes, times a factor accounting for the overhead of JIT compilation, times the number of copies of jQuery loaded into a single page, times the number of tabs open in your browser. It also adds latency to the page load, especially on cellular and satellite. And loading it from Google's CDN causes problems for users in China.

Comment You might not need jQuery (Score 2) 188

I agree with you that there are clean ways to do things in plain ECMAScript 5 and HTML DOM. So long as you don't absolutely need to support obsolete* versions of Windows Internet Explorer, you might not even need jQuery.

* IE 8 and especially 7 cause the most problems, but all currently supported Windows operating systems (10, 8, 7, and Vista) can upgrade to at least IE 9.

Comment VOD, except for sports (Score 1) 84

and maybe they're betting that more and more content will be streamed rather than recorded

Especially with the "TV Everywhere" video-on-demand offerings available over the Internet as a perk for subscribers to participating multichannel pay TV providers. The hardest thing to get on demand as I understand it is sports, but there's a strong tradition of watching sports live, or at least (in the case of baseball or American football) delayed by no more than two hours so that the viewer can fast forward past all the downtime.

Comment Every human language leaves out information (Score 1) 49

when the source language admits to intentionally leaving out information

Every human language leaves out information. Different languages just leave out different amounts in different ways in different circumstances. This is why instead of relying on Google Translate, the author of an Hour of Code activity this year is going to have to hire a professional translator who can ask the author for the information that one language left out for use in a translation to another language.

Be careful when a loop exits to the same place from side and bottom.