Towards ECMAScript 6 with Esprima 2

Posted by & filed under Uncategorized.

Little did I know that the start of my adventure with Esprima three years ago will result in something beyond my expectation. While the syntax tree format used by Esprima is not original (see SpiderMonkey Parser API), this de-facto format gains a lot of traction since it provokes a Cambrian explosion of composable JavaScript language… Read more »

SMTP Bar Joke and EHLO

Posted by & filed under Uncategorized.

Some time ago, I came up with a bar joke involving SMTP. Since I need to explain it a couple of times, I thought I just write it down as a blog post for future reference. The joke goes like this (as a tweet): A man walks into an SMTP bar. He says, "EHLO guys!"…. Read more »

C++ Class and Preventing Object Copy

Posted by & filed under Uncategorized.

In some cases, an instance of a C++ class should not be copied at all. There are three ways to prevent such an object copy: keeping the copy constructor and assignment operator private, using a special non-copyable mixin, or deleting those special member functions. A class that represents a wrapper stream of a file should… Read more »

Shells: bash, dash, and fish

Posted by & filed under Uncategorized.

The most recent Shellshock, a vulnerability in the popular shell bash, got me to evaluate again the unique setup on Ubuntu/Debian. In this setup, script execution is not handled by bash, this job is carred out by dash, the Debian Almquist Shell. Meanwhile, bash is still used for the interactive shell since dash does not… Read more »