Updated on February 2, 2020
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.Read More
Updated on July 4, 2019
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 couple hundred nodes, but we had graphs that reached 1000 nodes plus connected edges. Performing simple tasks like selecting a new node, or creating a new node often too 30 seconds or more on these graphs. We needed something better.Read More
Updated on July 7, 2019
In 1958, the Edsel was born. This car had incredible features that were unheard of in mid-range cars of the time. One feature in particular, the Teletouch Transmission, was supposed to carry the car into the future but ended up being part of its demise.Read More
Updated on November 10, 2018
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 keybindings set up so that taking a screenshot involves one hand, allowing you to use the mouse to select a region with the other hand. Ubuntu, however requires you to press the Print Screen button along with the other modifier keys, which is usually on the other side of the keyboard.
Updated on September 10, 2018
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 Bash to display the current branch in parentheses.
Updated on September 10, 2018
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 – mainly for myself.
Posted on November 10, 2017
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 with different colors using the +level-colors filter, but it’s a dumb find-replace method which replaces all instances of white with red. You can see with the image below that it’s just not perfect.
Updated on May 3, 2017
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+, so I decided to try the latest Angular 4 code with robwormald’s ng-universal demo. The intent was to create a simple website with server-side rendering and a couple of minor AJAX service requests.
Updated on April 12, 2017
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 had, from around the Ubuntu 16.04 release is that the scanner drivers no longer work for some people. Hopefully this article can help guide people to the right solution.