Xah Web Dev Blog Archive 2014-02

HTML: Character Sets and Encoding (old but useful. minor update.)

JavaScript spec, reformatted one page per chapter. ECMAScript Language Specification - ECMA-262 Edition 5.1

JavaScript: Get Cookie, Set Cookie (minor update)

Google updated their Google Analytics tracker code. Go to your Google Analytics admin page to update. If you want to see the JavaScript code they've used, see Google Analytics Asynchronous Tracking Code

ECMAScript Language Specification - ECMA-262 Edition 5.1. The style sheet modified.

even the the JavaScript standard ECMAScript Language Specification - ECMA-262 Edition 5.1 makes HTML mistakes.

for example,


should've been


probably lots others. Am correcting them as i go.

Web Design: Problem of Header Linking to Table of Contents

Unicode Character Equivalence Support in Web Browsers (oldie but goodie)

Node.js Documentation Problems

another template system. http://jinja.pocoo.org/docs/

new discovery. Mustache (template system)

https://segment.io/ a analytics service company. Not sure exactly what it does, but seems similar to Google Analytics, which i've been using for years.

Python Web Servers: Tornado, CherryPy

Tornado (web server)

Tornado is a scalable, non-blocking web server and web application framework written in Python. It was developed for use by FriendFeed; the company was acquired by Facebook in 2009 and Tornado was open-sourced soon after.


CherryPy is an object-oriented web application framework using the Python programming language. It is designed for rapid development of web applications by wrapping the HTTP protocol but stays at a low level and does not offer much more than what is defined in RFC 2616.

CherryPy can be a web server itself or one can launch it via any WSGI compatible environment (including Apache 2). It does not deal with tasks such as templating for output rendering, backend access or authentication protocols. The framework is extensible with filters, simple interfaces made of seven functions. These are called at defined points in the request/response processing.

Apple Laptop, 2-Fingers Double-Tab UI

Apple, the forever cool company, with Mac laptop + Safari, you can double tab with 2 fingers to magnify the page to just the right size. However, it doesn't work with Google Chrome browser and Firefox.

and also, if you have a standardish 5-buttons mouse, it works in Windows and Linux, without needing drivers. Not in Mac. Of course, money is behind it. Cool company wants you to own cool stuff. Not just any cool stuff, but cool stuff they sell.

also, the Google Chrome term is getting very confusing. Isn't Google naming lots things as Chrome?

comment at https://plus.google.com/+XahLee/posts/U5tiYS1L1xn

〔►see Input Devices: Mouse, Jog Wheel, Touchpad, Pen Tablet, Trackball, Joystick

Industrial Tech: Twilio, SendGrid, Google Cloud Messaging, Apple Push Notification Service

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