Clark Feusier

Software Engineer and Metalogician

14 April 2015

Unix to Know this Command Series: Reverse-i-Search with CTRL-R

If you want to look cool, save time, and live a better life, then spend 5 minutes learning the shell command CTRL-R — sometimes called reverse-i-search. There is rare shell command that I use more often as a software engineer; I would like to pass my love for this wonderful utility on to the rest of the world. Here we go <3

Read more
13 April 2015

Guest Post: 5 Mins to Deployment - Ubuntu 14.04 and PostgreSQL 9.3 on Digital Ocean

My friend and talented colleague, Ryan Leung, wrote this guest tutorial on deploying to Digital Ocean with an Ubuntu and PostgreSQL setup. The following step-by-step guide is from Ryan…

Read more
22 March 2015

Sudoku Solution Validator - Code Example

Five months ago, I was asked to solve a problem with a pair — the challenge was to write a Sudoku solution validator. We were expected to take a two-dimensional array that represented a Sudoku board and determine whether or not the board was ‘solved’ based on the rules of Sudoku.

Read more
19 March 2015

Guest Post: String Primitives and String Objects in JavaScript

My friend and talented young Software Engineer, Paulo Diniz, wrote this guest post to explain the difference between String Primitives and String Objects in JavaScript, and what that might mean to a JavaScript programmer. The following is from Paulo…

Read more
19 February 2015

Variable Hoisting and Function Hoisting in JavaScript

In JavaScript, both variables and functions are hoisted by the interpreter at runtime. However, variables and functions are not hoisted in the same way as each other. Roughly, hoisting is when a line of code is parsed and made available to the runtime environment before the line of code is (seemingly) executed by the interpreter.

Read more
18 January 2015

Popular Interview Question Series: Variations on Asynchronous Map

One of my favorite ‘toy problems,’ often asked in technical interviews during a ‘screening’ phase, is to implement an asynchronous mapping function. This problem can be tricky because it tests your knowledge of asynchronicity and your ability to use callback functions. This knowledge is considered necessary for a web-application engineer — asynchronous programming techniques, event systems, and use of callback functions are standard for building web apps. So, many interviewers use this question to cut to the chase.

Read more
16 January 2015

Popular Interview Question Series: Balanced Parentheses and a Stack

In early-screening technical interviews, the Balanced Parentheses question is quite popular. It goes something like this:

Read more
14 January 2015

Concatenate and Minify JavaScripts and Stylesheets for Production with Grunt

In this post, you will learn why you should concatenate and minify your scripts and stylesheets into one small file using the task runner called Grunt.js. You will also learn how to concatenate and minify your scripts and stylesheets with Grunt.

Read more
11 January 2015

Popular Interview Question Series: Higher-Order Functions and Function Binding

In technical interviews, it is common that the interviewer will throw in a question that tests your knowledge of higher-order functions and function-binding. If you are applying for a job as a JavaScript engineer, then you should expect an interview question in some similar form to the following:

Read more
08 January 2015

Node Basics: How to Create a Simple Server and Router + Node Fundamentals

Who: this post is for anyone looking to learn some of the foundations required for working with Node

Read more