• Thursday

    Something new every day: Picked cucumbers. Full size, sliced into spears. Rice vinegar, salt, pepper, garlic, chili flakes, and homegrown dill.

    • SBF’s twitter thread on crypto regulation: https://twitter.com/SBF_FTX/status/1582835426116575235
      • And https://www.ftxpolicy.com/posts/possible-digital-asset-industry-standards
      • 5-5 standard. Hackers/exploiters keep either 5% or 5M, whichever is smaller.
    • Unsubscribed from a bunch that I usually gloss over:
      • Marketwatch.
      • Bloomberg Opinion – Points of Return (John Authors).
    • Google’s new OS is KataOS. Mostly implemented in rust.
    • Supercontest.
      • https://gitlab.com/bmahlstedt/supercontest/-/issues/164.
        • Currently running postgres 11.16. SELECT version();
        • Major version 15 just came out.
        • Upgraded.
        • Rather than using pg_upgrade in place, just updated the docker image to postgres:15.
        • And specified a new mount volume.
        • pg_dump before and pg_restore after.
        • Tested locally. Confirmed that score fetchs and picks still committed just fine.
      • Unrelated – tested a few endpoints. statistics/ is obviously the most memory-heavy.
      • Created a new ticket to fix/improve CICD: https://gitlab.com/bmahlstedt/supercontest/-/issues/165.
        • Remember EKS gives you full control of the lower-level. ECS is a higher-level wrapper.
        • Not using ECS since I don’t want orchestration yet, at least managed. I’ll run on my local k8s cluster if so.
        • I can still use ECR (the container registry) as my artifact store. It’s pretty cheap, and I can slim down my images. Makes it easy to version, compare, restore, backup, more.
        • I’ll only do this for the app image, obviously. The db container is backed up separately.
        • The db is 120KB right now.
        • The app image is 1.82GB total. But only 1.24 non-virtual, the writeable layer unique to each container. The rest is all shared layers that only count once across all versions.
        • Say I slim it down to 1GB (def possible, it’s just a bunch of python wheels). ECR is $0.10/GB/mo. Double that for data transfer. So ECR will be about a quarter a month.
        • You can just directly store your images on s3 (like any other files), but ECR does that under the hood anyway. It’s not either/or. ECR provides image-specific helpers like compression, encryption, security, etc; it’s s3 catered to docker images.
        • And cloudformation is AWS terraform; infra as code. I’ll use that to deploy from ECR to EC2.
    • All 4 major sports (NFL/NBA/MLB/NHL) have games today – this is apparently only the 27th time this has ever happened.
    • New AHS season started! AHS: NYC.
    • Upgraded a few vscode extensions.
    • Watched The Greatest Showman – didn’t realize it was a musical.
    • Tesla’s mcap is about 4x SpaceX right now. It’s #5 overall, with the other 4 over 1T (apple, microsoft, alphabet, amazon).
    • If you flip the side dnd switch on the iphone MID call, it will affect immediately. Surprising. I would have guessed the software checks at the beginning of the event, not continuously.
    • Chess.
      • Hans breaks the twitter silence after 6 weeks!
        • https://twitter.com/HansMokeNiemann/status/1583164606029365248
        • He filed a lawsuit against magnus, danny rensch, and hikaru.
        • Alleged collusion between magnus group, chess.com, and affiliates.
        • Basically that blacklisting has led and will lead to cancellations/uninvites that amount to 100M in career opportunity cost.
      • Insane ending for women’s us chess championship, Krush/Yu. Went to tiebreaks after 2 weeks, each won 1 rapid, then armageddon saw a full piece blunder early by Yu only to later flag and win on time in a lost position.
    • Remember that the porterhouse and tbone are both cut from the loin and both contain NY strip on one side of the bone and filet on the other. A porterhouse has more filet, a tbone has more strip. I prefer flavor over tenderness, so more strip and less filet, so tbone over porterhouse.
      • Far from the rib section, where prime rib and ribeyes are cut. A tomahawk is a ribeye with the attached/frenched rib bone.
    • The Sherman Act: https://en.wikipedia.org/wiki/Sherman_Antitrust_Act
      • Antitrust. Prohibits anything that unfairly discourages competition. Prohibits anything that moves significantly toward monopolization.