• Friday

    • Private work.
    • Startup CTO handbook: https://github.com/ZachGoldberg/Startup-CTO-Handbook/blob/main/StartupCTOHandbook.md
    • // and % as two separate operations are a faster pair than a single invocation of divmod.
    • Longest palindromic substring: https://en.wikipedia.org/wiki/Longest_palindromic_substring#Manacher’s_algorithm
    • Next.js 13 getting a lot of hate.
    • Replaced full disposal bag in irobot base.
    • Fire cider started fermentation on sept 24, so it’s ready to bottle now.
    • Meta’s data warehouse is millions of Apache Hive tables. Most data engineers use spark to query/transform/analyze.
    • Billions series finale.
    • NBA revenue is only 28% tix. 51% from media. Warriors have the highest valuation rn (7.7B). Knicks are #2.
    • Updated docker desktop (4.24.2).
    • Leetcode’s daily puzzle rolls over at midnight UTC (nice). So 8pm eastern.
    • Supercontest.
      • Static media served from s3 (via route 53 -> cloudfront behavior for /route match) rather than the app (via route 53 -> cloudfront default -> elb -> ec2 -> nginx -> gunicorn -> flask) is so much better. Regardless of geodistribution/WAF/otherBenefits, it’s just fewer requests to the load balancer. The app logic is just the app logic, no errant things. In the server logs, a request is now just a request (not a bunch of fluff from favicon, banner, etc). Also cheaper to serve from s3 than elb. Still need to move css/js static out of the app.
      • Lots of work on the cognito side.
      • Created user pool. Can control sign-in behavior (username/email/phone), even federated identities (considered but didn’t allow google/apple/amazon, did not enable facebook/saml/okta/AD). MFA Password requirements. Account recovery. Comms prefs (email, sms, etc). Chose to use their UIs (not just API), hosted as endpoints on my custom domain.
      • Created email (sbsc@) and associated domain (sbsc.com) in SES, to attach to cognito for comms. Verified both. Didn’t add observability yet (can publish to cloudwatch). Production access isn’t approved yet; waited about 2hrs.
      • Could move sbsc@gmail to a proper google workspace, under my domain.