2012-11

Property assignment and the prototype chain

[2012-11-07] dev, javascript, jslang
This blog post examines how the prototype chain of an object affects assignments to its properties. It provides a more detailed look than the previous, more comprehensive, blog post “Properties in JavaScript: definition versus assignment”.

The text “__proto__” can break a webapp

[2012-11-06] esnext, dev, javascript, __proto__, jslang
[This post is part of a series on the special property __proto__]

The text “__proto__” can still break webapps if it appears somewhere in the content, as I was reminded of today, via Domenic Denicola and Peter van der Zee.

What is the best display aspect ratio for tablets?

[2012-11-04] mobile, computers, tablet
One marked difference between current tablets is the aspect ratio of their displays. This blog post explores the pros and cons of the different aspect ratios, along with the question whether one of them is best overall.

2012-10

Online conferences

[2012-10-31] life, business
Intriguing concept: the JavaScript Summit 2012 (Nov 13-15) is an online conference.

Object properties in JavaScript

[2012-10-29] dev, javascript, jslang
Update 2013-08-25: Blog post “Protecting objects in JavaScript” (Object.preventExtensions(), Object.seal(), Object.freeze()).

Properties determine the state of an object in JavaScript. This blog post examines in detail how they work.

The future of Markdown

[2012-10-26] markdown, publishing, computers
The basic idea of Markdown is simple: To create a document, one writes plain text (bullet lists are lines that start with dashes, styles are written **bold** and *italics*, etc.). To display a document, the plain text is converted to HTML. That gives you the best of both worlds: the plain text is to write (much easier than HTML), store and transfer; the rendered HTML is nice to look at. It is amazing how popular Markdown has become: GitHub supports it for files such as readmes and gists; Stack Overflow uses it for comments; Lean Publishing supports no other format for submitting books; many blog engines let you write posts in it; etc.

ECMAScript.next: TC39’s September 2012 meeting

[2012-10-21] esnext, tc39, dev, javascript
Thanks to Rick Waldron, we have a detailed account of the decisions regarding ECMAScript.next that were made by TC39 [1] during its meeting from September 18-20, 2012. This blog post summarizes and explains the highlights.

JavaScript: parallel programming via River Trail coming to Firefox

[2012-10-15] dev, javascript
2013-12-23: A new blog post on ParallelJS (as River Trail is now called) supersedes this post.

River Trail is a set of mechanisms that enable a new functional style of parallel programming in JavaScript. An initial prototype was developed by Intel. Recently, work has started to bring it to Firefox.

Controlling the Mac user interface from the shell

[2012-10-11] jsshell, dev, shell, mac
The Mac OS X shell has several Mac-only commands for communicating with the graphical user interface (GUI). They are useful in three cases: First, when switching back and forth between shell and GUI. Second, when interacting with the system from a language that is not Objective C or AppleScript: Bash, Node.js [1], Python etc.

How to pronounce __proto__

[2012-10-08] esnext, dev, javascript, __proto__, jslang
[This post is part of a series on the special property __proto__]

Bracketing variable names with double underscores is a tradition in Python that JavaScript has borrowed a few times, most prominently for the property __proto__ [1] (which is currently non-standard, but will become part of ECMAScript 6). For Python, the following pronounciation has been suggested by Ned Batchelder: