Category: Articles

Using React Hooks and Global State with ReactN

I’ve been pretty happy with the addition of Hooks to React, along with functional components. In this post I’ll provide examples on how to use ReactN to cascade global state updates to functional components.

react-digraph: Path to 5,000 Nodes

About 2 years ago I was hired to Uber on a team developing internal tools. One of these tools is a website that uses an Uber-built open source project called react-digraph. Back then, react-digraph could only handle a… Read More

The effects of a cold on a Type 1 Diabetic

Monday was a normal day, my son was staying home with a cold. My wife had hers going as well, and my almost 2 year old was fine like me. No issues yet for the two of us.

Taking a screenshot on Ubuntu like a Mac

Like Mac, Ubuntu has some screenshot abilities built in that allow for a more friendly screenshot experience. One tool that I really enjoy using is the “screenshot of an area”, sometimes called a “region screenshot”. Macs have the… Read More

Adding Git Branch to Bash

When working with Git, it’s important to know what branch you’re currently on. Ubuntu doesn’t list the branch by default, so we need to modify Bash in order to display the branch name. Below we will be modifying… Read More

React Advice for Faster Rendering

This is some advice that I’ve discovered through working on various React projects. Some of these practices are in response to issues with these projects. They are not intended to be a standard, but more of a guide… Read More

Changing car colors with ImageMagick

I was asked by a colleague if it’s possible to replace the color of a stock car image with a different color using an automated script. I found that ImageMagick has the ability to replace black and white… Read More

My experience with Angular 4 and server-side rendering using platform-server

Let me first state that I’m a professional Angular 1.x developer. I know Angular inside and out, and have fully grasped many of the complexities within Angular’s framework. However, I have little to no experience with Angular 2+,… Read More

Making Brother Scanner Drivers work with Ubuntu 16.10

I have a Brother HL-2280DW network printer which is also a scanner, as many printers are nowadays. Brother, to their benefit, has decent Linux drivers and the printers are great for their reliability. The problem people have recently… Read More

Similarities between Angular 2+ objects and Angular 1 objects

This article will attempt to draw similarities between the various Angular scaffold types in regards to Angular 1 and Angular 2+ (known as AngularJS). The sections will be separated by Angular 2+ scaffold types, while the similar Angular… Read More