Posts by Category

development

JavaScript Custom Events

1 minute read

Modern web applications rely a lot on JavaScript, and different elements on a page may need to communicate with other elements. What happens if those elemen...

A case for expression reduction

3 minute read

As a software developer you will inevitably have to debug some piece of code you wrote months if not years ago, or code from a colleague that is no longer pa...

Build a simple calculator

2 minute read

The following is my solution to a coding challenge I’ve come across. I’ve implemented it in JavaScript since that is the language I am most comfortable with...

How I Manage My ZSH Plugins

1 minute read

I am a big fan of zsh, so much so that part of my setup script contains instructions to install it and set it as the default shell.

Filtering unique values in an array

less than 1 minute read

Here is a quick and easy way to filter all unique values from an array using the Array.filter and Array.indexOf methods.

Solving the staircase problem in JavaScript

less than 1 minute read

The following is my solution to the Staircase problem. I’m using String.prototype.padStart to add the appropriate number of spaces in order to build the rise...

Find object in array by given key and value

1 minute read

At my current job we work a lot with collections, and one of the operations we run is pulling certain items from the collection based on some combination of ...

Understanding BEM

5 minute read

This post was originally written for the enotes.com engineering blog.

Back to Top ↑

privacy

Alternatives to Zoom

1 minute read

Over the past few weeks businesses and people have been scrambling to adjust to a work from home way of life. People went searching for ways to communicate ...

EARN IT Act is bad for end-to-end encryption

less than 1 minute read

The Eliminating Abusive and Rampant Neglect of Interactive Technologies (EARN IT) Act is a bill that would allow the government to ban encryption on commerci...

Back to Top ↑

blog

Welcome to my blog

less than 1 minute read

After many years of recommending younger developer to start their own blog, I am finally taking my own advice.

Back to Top ↑