Blog


CircleCI→PagerDuty Change Notifications

An important thing when you are setting up PagerDuty is to make sure that that the responder has as much context as possible to recent changes of the system. At PlushCare we use CircleCI heavily and making sure that a responder to an incident can attribute to a recent change is extremely important in making sure that our uptime and SLOs are met. We currently use CircleCI for all deploys to production from a branch named Prod.

Terraform→PagerDuty Change Notifications

An important thing when you are setting up PagerDuty is to make sure that that the responder has as much context as possible to recent changes of the system. At PlushCare we use Terraform heavily and making sure that a responder to an incident can attribute to a recent change is extremely important in making sure that our uptime and SLOs are met. We currently use Terraform Cloud to manage our Terraform state and planning/applying any changes pushed to GitHub.

Configuring uWSGI for Production Deployment

I constantly come back to this article when configuring uWSGI. A majority of time I use a Load Balancer and adding nginx or another server is generally not required as long as the config is setup correctly. Below is my default config when starting a project: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [uwsgi] strict = true master = true need-app = true single-interpreter = true pidfile = /var/run/uwsgi.

Computer Build

featured-image.jpg
It has more than a decade since I last built a computer. In that time a lot has changed and a lot has stayed the same. Last time I build a computer it involved spending a couple hours searching catalogs online for parts and then eventually going to Fry’s Electronics to try to find the parts or equivalent within budget. Today it is so much easier to plan your build and be confident that the parts that you picked will not only be compatible but also fit using PCPartPicker.

Warning: Terraform Provider Moved

featured-image.png
Recently I had an issue where Terraform did not seem to be loading the correct provider. I was getting the following result from a terraform init -upgrade even though I had updated the provider name in versions.tf 1 2 3 4 5 6 7 8 Warning: Additional provider information from registry The remote registry returned warnings for registry.terraform.io/terraform-providers/cloudflare: - For users on Terraform 0.13 or greater, this provider has moved to cloudflare/cloudflare.

Personal AQI Service

featured-image.png
Every year in California the fire season feels like it gets longer and more devastating. This year with everything else going on it feels especially bad. This year I took the time to build a ingestion script of PurpleAir sensor data, graph it with Grafana and send alerts when the air near my apartment reaches >50 AQI. To build this I used PurpleAir’s API to pull sensor data every ~5 minutes and write it to MySQL.


I ordered a new bike

featured01.jpeg
I bought a new bike. It took me months of research, but I finally pulled the trigger on the Trek Allant+ 8s. The plan is to use this e-bike to commute to and from work and around the city. When I was in college I didn’t own a car and hated to drive (I still do). I didn’t get my drivers license until I was 18 and then didn’t drive again for almost 5 years.


Going from macOS to Ubuntu

Something I have thought about many times, but I would still need to have Windows/MacOS around for Lightroom or other photo editing software.