Xah Web Dev Blog Archive 2015-10

JavaScript Encode URL, Escape String (updated)

JavaScript: Tagged Template String

JavaScript: Template String

internet usage day cycle map 000

Global Internet Usage Hour Pattern. Guess when is internet most busy in usa, and when in china. local time.

JavaScript wuwu quiz

// quiz. figure out what does this code do
// 2015-10-29

function foo() {
    var eleName = document.getElementById("x79177");
    alert(
        (function(le) {
            return function(f) {
                return f(f);
            } (function(f) {
                return le(
                    function(x) { return (f(f))(x); }
                );
            });
        }) (function (givenGetDepth) {
            return function (element) {
                return (element === null) ? 0 : givenGetDepth(element.parentNode) + 1;
            };
        }) (document.getElementById(eleName))

    );
};
foo();

JavaScript: Property Key "prototype" (new page)

JavaScript: undefined (new page)

JavaScript: null (new page.)

is xml dead related search 2015-10-17
is XML dead?

On a different note, James Clark (programmer), the top expert of XML, his last blog entry is 5 years ago http://blog.jclark.com/

XML and XHTML is a sad story. Excellent tech, but blown up by enterprise. Now we have the HTML5 soup, back to the roots of random soup.

web design gray text on white Joe Arms Erlang 2015-10-16
can you read the grey text?

another gray on white. This one from the inventor of erlang language. Web Design: Grey Text on White Background?

Buy JavaScript in Depth. New version is out.

This is early stage of selling my tutorial. If you enjoyed it, please help me spread the word. Leave a comment at JavaScript in Depth. Thanks.

major re-organization of the js+dom table of contents page. DOM Scripting Tutorial

v8 comilation quirk: char count

these 2 JavaScript code, one is twice as slow, because its comment has a few 4 more chars.

#NodeJS : A quick optimization advice By Jefferson Rafael K. At https://medium.com/@c2c/nodejs-a-quick-optimization-advice-7353b820c92e

web dev front-end and back-end

the original work: 1600×996. Artist is Hans Arnold.

upgrade to latest node.js (v4.x), then you'll have latest es6 support as Google Chrome browser.

write once, run anywhere. —JavaScript

JavaScript Books Review

Like what you read? Buy JavaScript in Depth
or, buy a new keyboard, see Keyboard Reviews.