James Russo

Engineering at Brex

Fullstack engineer who knows nothing about design.
Example: this website.

Bored Hacking

Always Follow Orange Cords

December 23, 2019 | 7 min read

In software development there are a number of things that once had a purpose but after years of refactoring and feature development may no longer serve a purpose. It's important to never accept something as necessary without understanding why it exists and if it's still useful. When you can, take your time to follow and understand every code and system you see so you can become a better developer and help your fellow developers.

Gatsby Plugin Updates Are Annoying

November 17, 2019 | 6 min read

Gatsby.js is a fantastic framework for developing statically generated websites using React. Plugins are a necessary part of Gatsby that allow you to quickly and easily add functionality to your Gatsby generated site. However, a lot of these plugins are updated very frequently and at the same time which can lead to a rather annoying number of pull requests when coupled with Dependabot.

When should you use Gatsby?

November 01, 2019 | 10 min read

Gatsby.js is an up and coming technology for building simple statically generated websites. It has seen a huge adoption, and seemingly everyone in frontend development has heard about it or is talking about it. However, this has led to people trying to use Gatsby in the wrong places instead of other technologies better suited for that situation. This post talks about me falling into this subgroup as well as some of the cases where you should use Gatsby and when you shouldn't use Gatsby.

Automating Deploys to Kubernetes with CircleCI

October 11, 2019 | 9 min read

This tutorial shows how to automate deployments to Kubernetes using CircleCI. This tutorial uses AWS services like ECR and EKS, but it can be generalized and changed for other Kubernetes solutions. This post will go through the entire CircleCI flow of deploying changes for your app to Kubernetes from updating the image and storing it in a repository to deploying the new application on EKS.

Mocking Sentry in Jest and Gatsby

September 23, 2019 | 2 min read

This is a very short and simple tutorial describing how to mock [Sentry](https://sentry.io/) in the Jest testing framework and in a Gatsby.js application. This approach can be used in Jest only, but I will use Gatsby.js and their unit testing tutorial as a basis.

Deploying a Gatsby Application to an S3 Bucket Using CircleCI

August 15, 2019 | 6 min read

This is a tutorial about how to deploy a Gatsby.js application to an S3 bucket using CircleCI.

Avoiding Webscraping Throttling Using Python and Tor as a Proxy

July 08, 2019 | 18 min read

In order to hide your IP address and to try and limit throttling when web scraping, it might be a good idea to use a proxy such as Tor. This post describes how to use Python based web scraping tools and Tor to hide yourself when scraping websites for data. However, it can also be used more broadly when using Python to make requests to hide your actual IP. I do not condone the use of this information for any illegal or illicit activity.

Deploying a New Docker Image to an EKS Cluster on Codeship

May 19, 2019 | 12 min read

This is a tutorial about how to deploy a new Docker image to your Kubernetes worker nodes with Codeship when you've deployed your cluster on EKS. This was based on a combination of tutorials found on Codeship and comments and extraneous links. The documentation on Codeship requires you to look in multiple places and is outdated in some cases, so hopefully this aggregates it in one place and updates it.

Setting Up AWS Elastic Kubernetes Service (EKS) and Deploying

May 15, 2019 | 9 min read

This is a tutorial on how to setup an AWS Elastic Kubernetes Service (EKS) cluster and deploy a Docker container service to EKS. We will mostly follow the AWS tutorial but make some changes to deploy your personal containers instead of the ones provided by the EKS tutorial. This process was used to deploy our Next.js Application.

Setting Up a Next.js Docker Container and Publishing it to AWS ECR

May 13, 2019 | 5 min read

This is a tutorial on how to setup a simple Docker image for a Next.js application so that we can deploy the Docker image to a container registry. We will use AWS Elastic Container Registry (ECR) in this tutorial as our Docker container registry. This way we can access our Docker image from other machines and deploy the image to something like AWS Elastic Kubernetes Server (EKS) or AWS Elastic Container Service (ECS).

Setting Up Google Optimize in a React App Using Segment

April 27, 2019 | 7 min read

Setting up Google Optimize for A/B experiments in a Single Page Application(SPA)

Pipelining Segment Events Back Into Our eCommerce Store

April 27, 2019 | 6 min read

Using AWS Lambda Functions and Kinesis Streams to process and stream Segment.io events

Hello World

April 23, 2019 | 2 min read

Welcome to James Russo's Blog about technology