• Saturday

    • Private work.
    • Added US-Dvorak keyboard to my desktop. Faster. Will learn a bit and try.
    • Honey roasted 10lbs peanuts (325 not 350), made PB.
    • Inf is type float in python.
    • Supercontest.
      • Some bugfixes: https://gitlab.com/bmahlstedt/supercontest/-/issues/209
      • The logic for email is from the exact user notification prefs in the db. Email when picks open, email when picks closing, email all picks. The first one is the primary (although pretty much everyone has all 3 set the same, one way or another).
      • Confirmed the late-pick-email-reminder went out at 8pm ET via the autoscheduler.
      • 504 gateway timeouts on the prod url after deploy. I accidentally ran make start-dev on the prod ec2, which (I believe) killed (or orphaned) nginx and caused the ELB target to go unhealthy. The checks are every 30 seconds, and need 5 in a row to be healthy. Don’t start the dev app on the prod server! My proper CICD pipeline will fix this later, as planned.
      • Remember the network path: client -> route53 -> elb -> ec2 -> nginx -> gunicorn -> flask.
      • Apt upgrade/autoremove on ec2. System restart.
      • Restarting wiped whatever the lowlevel problem was. Fixed.