• AppleScript for Chrome profiles

    Recently, I started looking into automating parts of my workflow on my Mac computer. Specifically, I want to open a couple webpages in my Default Chrome profile and a few others in my Work profile. Running open http://google.com from Terminal opens Google’s webpage in the most recently active window of my browser. In order to open it in a specific profile I need to provide --profile-directory to Chrome when it launches.

    Read on →

  • Configuring NGINX to set CORS on 40x and 50x responses

    While working on an application that uses NGINX to set CORS headers, I noticed that my browser would warn about CORS whenever my backend app returned a 40x or 50x status code. After looking at the NGINX docs for add_header, I noticed:

    Read on →

  • Getting started with the Coral USB Accelerator on Windows

    Yesterday I received a Google Coral Edge TPU. This is a USB thumb-drive sized FPGA which can improve ML performance. It works with the TensorFlow-lite library. The device uses ~2-4 watts of power and has good performance.

    Read on →

  • Quick Tabs: improving my browser productivity

    I am a big believer in the ROI of spending a little time every day optimizing my work habits. Yesterday I installed the Chrome/Chromium extension Quick Tabs.

    Read on →

  • Simpson's paradox

    A few months ago while reading Weapons of Math Destruction by Cathy O’Neil I came across Simpson’s Paradox. This paradox highlights how one can innocently arrive at the wrong conclusions when analyzing a dataset.

    Read on →