ECMAScript 6 and Array Comprehension

.

Many modern programming languages support list comprehension, a concise way to create a list based another list where each entry is the result of some operations. If comprehension is used properly, it eliminates the need for the traditional and error-prone manual iteration. Next-generation JavaScript will have the similar feature via array comprehension. First of all,… Read more »

W3Conf 2013

.

This year starts with a good event, W3Conf, the annual W3C confer­ence for web pro­fes­sion­als. It will be held in San Francisco, 21-22 Feb. There are many interesting talks, featuring a few known experts in the field. The event is also exciting for me because I have the opportunity to talk about Fluid User Interface… Read more »

Two Years of Wandering Headlessly

.

Line drawing of McDonnell Douglas F-4 Phantom II. It has been two years since I decided to announce my fun WebKit tool and to run it as an open-source project, PhantomJS. Better than the situation a year ago, the traction is increasing as more and more users adopt PhantomJS as a helping utility for various… Read more »

JavaScript Code Complexity Visualization

.

I have written about the concept and the tool for complexity analysis of JavaScript code before. In addition to that complexity monitoring strategy, apparently it is also useful to produce the so-called complexity report. Fortunately, now we have a visualization tool which allows us to prepare such a report. Given a set of JavaScript files,… Read more »

Nexus 4 Web Performance Quick Check

.

Update: Read also the performance quick check of Nexus 5, the successor to Nexus 4. Nexus 4 is the latest generation of stock Android smartphone from Google. It sells like a hot cake. The overall reception seems to be quite favorable (see the reviews from The Verge, Ars Technica, Wired, TechCrunch, and many others). How… Read more »

TrueType Fonts and PhantomJS Crash

.

Some Mac OS X users of PhantomJS reported that it crashed every one and then. This also affects other related projects such as Poltergeist. A reduced test case revealed that it has something to do with the use of some TrueType fonts. I decided to investigate this issue and learned a few things along the… Read more »