• Matcha is essentially the same green tea leaves, but instead of steeping them in hot water, they’re stone-ground into a fine powder. I don’t need the highest grade, since I use it for smoothies/shakes mostly.
      • Ceremonial grade is for mixing with water and drinking as tea (up to $20/oz).
      • Culinary grade is for stuff like smoothies, lattes, baking, etc (down to $1/oz).
    • Nike CEO swap.
    • 12 hours of sleep last night, uninterrupted. Yessir.
    • HSBC is the bank. Hulu is owned by Disney.
    • The underscore is usually the object for lodash (hehe, nice) in js.
    • Joe Rogan is 52. Theo Von and Chris D’Elia are 39.
    • Don’t just use regular spinners, there are so many cool ones out there: https://www.react-spinners.com/.
    • Awesome website, timeanddate.com.
    • Supercontest.
      • Just Raj, Wes, and Phil haven’t paid yet.
      • Greg Matthews has this week’s banner.
      • Changed percentages to show the first decimal place, even if it’s zero. This is more consistent. The pick cells are the exception, because 0.5 scores are much rarer, so we coerce whole nums to ints.
      • Strongly increased the contrast for picked/nonpicked games, making both brighter.
        • Switched from rgba, where it was ~30% and ~6%.
        • Now it’s hex, at 50% and ~7%.
      • Changed unsubmitted picks from table-info blue to orange, to make it extremely obvious that you have not submitted them.
      • Removed table-active class coloring for team cells on the matchups tab. Wasn’t worth much, especially conflicting with the deliberate cell coloring of the pick process, and the table-hover of bootstrap’s css. Left the js to change the cursor to a hand (pointer) tho.
      • Reworked the legend. Made it color-white-color again. Added the all-picks vs your-picks difference back.
      • Added a template, view, form, route, and model for email preferences. Rather than tangling it in flask_user and hijacking the edit_user_profile template, I built it into a new template/backend using wtforms and flask-wtf directly (also to get more experience with these).
      • Function to return all emails for users with a specific pref.
      • Consolidated all email subject/body/messaging into util/email, so that the text was easy to compare and keep consistent.
      • Email options are now available to the user:
        • To be notified when picks open.
        • To be notified when picks are about to close and they haven’t picked yet.
    • Colors.
      • Hex.
        • Hex is just like rgb, with a hex num corresponding to each color channel in red, green and blue. 0 is none, f is full, as you’d expect from hex. So 00f is fully blue. #ff0 is yellow (red and green).
        • It’s easy to remember from this: 000, with no color at all, is black. fff, the combination of all colors, is white.
        • While you can get many colors with 3-digit hex, you can get MUCH more with 6 digit hex (which is the standard nowadays). Each of the standard 3-digit hex colors gets 16 more levels of resolution before moving on to the next one (obviously).
        • 3 digit hex = 3 digits of 2^4 = 3 digits of 16 = rgb(R, G, B) where each value is a number from 0-15.
        • 6 digit hex = rgb() where each digit is 0-255 (16*16, or 2^8).
      • Alpha.
        • The A in rgba stands for alpha. The alpha channel is what determines opacity.
        • This exists for hex colors too, but only recently with CSS4. The first 6 digits are the color, and the last two digits are for alpha. Similar to rgba: 00 is fully transparent and ff is fully opaque.
      • Bootstrap.
        • Color ref:
          • primary:    #007bff
          • secondary:     #6c757d
          • success:   #28a745
          • info:     #17a2b8
          • warning:  #ffc107
          • danger:   #dc3545
          • light:     #f8f9fa
          • dark:   #343a40
        • The bg-<> colors are these, with full opacity. The table-<> are the same colors, but with reduced opacity (alpha ~33%).
    • Raw beef/pork meat is pink because of myoglobin. When myoglobin is heated up (cooked), it turns brown. When you burn wood (and charcoal, which is already-burnt wood), it produces nitrogen dioxide. This reacts with the myoglobin as it penetrates the meat, creating a stable molecule that doesn’t turn brown as it increases temperature. Curing salt (sodium nitrate) does the same thing.
      • The pink doesn’t change any flavor itself, it just indicates that meat has been cooked slowly enough to not rise in temp before the wood smoke has penetrated a bit, which means you’re going to get smoke flavor inside the meat.