• Saturday

    • Fully diluted shares.
      • Authorized shares = the total that can be issued = defined at incorporation (although can be changed).
      • Issued shares = the number of direct shares that have been issued. Usually much lower than the # of authorized shares (the max).
      • Fully diluted shares = The issued shares, plus the equivalent total after the options are exercised, the bonds are converted, preferred stock is converted to common stock, plus any share reserves from previous stock plans, and including any stock awards that haven’t been given out yet. Usually a bit higher than the # of issued shares. This is used as the baseline for EPS (obviously).
    • Quit 1899 after about 2.5 episodes. Just couldn’t get into it. Loved Dark. But don’t like this meta stuff, simulations, scifi. Hollywood never gets computer science stuff correct. Give me more ghost ship.
  • Friday

    • The mona lisa was painted at the start of the 16th century. It’s worth over a billion dollars now.
    • Lots of private work.
    • Sick yesterday, stomach. Today too.
    • Had to manually update the TNF game. The espn return didn’t update scores until after the game (or no one refreshed the page during the game, which my score streaming solution will fix). I didn’t load the page until friday, which is not a score day. So I couldn’t have just waited until the next score day and it would have updated on its own, but I wanted to see the results so I did it manually.
      • Note that coverer is set in commit_scores(), it does not happen continuously based on scores/statuses. So if you’re manually modifying other cols in the scores, you probably have to set the coverer too.
    • Remember Morgan Stanley bought E*TRADE. Shareworks accounts can link to E*TRADE brokerage accounts. I assume this will just share some of the fundamentals (auth, views, analytics, etc) – NOT that shareworks accounts will be given access to a PE marketplace.
  • Wednesday

    • Lots of private work.
    • Updated sbsc banner. Committed lines. Submitted picks. This is second-to-last week. I’m in 3rd place, 3 points back.
      • Nontrivial lines this week. They were give rationally (1/2 lol) but I had already accommodated that.
      • The issue was that this was the first week since the chargers moved from SD to LA that we had an LA vs LA matchup. I had never written the logic to handle that.
      • The ESPN score fetch isn’t by team name, it’s by team city, so Los Angeles vs Los Angeles needs another distinction. Ugh.
      • Propagated home vs visiting to determine uniqueness for the 2 scores.
    • NY’s Billion Oyster Project: https://www.billionoysterproject.org/ – restores the population but also cleans the rivers for us.
    • You can have Harry Mack do a custom freestyle (for birthday, wedding, whatever) for $350: https://shop.harrymackofficial.com/products/custom-freestyle. Another option is a 10min zoom freestyle for $500.
    • Remember jupyter shortcuts: ctrl-enter is to run the cell, arrow down is to select below, shift-enter is to run the cell and select below (same as arrow button in toolbar).
    • pip3 install black[jupyter] then black . --diff to show suggestions (without autoformatting all files in place).
    • Followup on EMF in IR saunas.
      • From the hightechhealth standards, you want magnetic fields <3mG (300nT) and electric fields <300V/m.
      • Direct quote: “In vitro studies have shown increased gene transcription in some oncogenes (cancer causing genes) and in genes associated with growth and development after exposure to just 8mG (0.8 uT) (18), and animal studies have shown oxidative stress in the spleen and testes of male guinea pigs after exposure to electric field as low as 300 V/m (19,20).  Epidemiologic studies have found a significant increase in leukemia in children living near high power lines and chronically exposed to EMF in the range of just 4 mG (0.4 uT) (23). Magnetic field EMFs at just 2 – 3 mG (0.2 – 0.3 uT) were shown to alter the rate of Na/K-ATPase, the pump that creates the electrical gradient across cell membranes required for nerve conduction and other cell functions (25).  In comparison, while sitting inside a typical infrared sauna with carbon-based heaters, you are exposed to EMFs of up to 150 mG magnetic field and 2000 – 3000 V/m electric field.”
      • MiHIGH reported their magnetic field strength is 3-15mG. Since I run it at full power, I assume I’m at ~15mG. They explicitly said that they don’t have a measurement for electric field.
      • Conclusion: won’t use my sauna anymore!
      • By comparison: a phone up to your head is ~50mG temporarily. Electric razor, other appliances (with nominal distance of use) are all about 1-5mG. TVs, fridges, static appliances are a little further away, about same exposure though. Wifi similar ballpark as well.
    • The pandas lib for python is short for “panel data” – never knew. It’s just mean for multidimensional analysis (whereas lists are unidimensional, like other primitives).
    • Vscode navigation reminders:
      • To go to a definition: ctrl-click or F12 to jump, ctrl-alt-click to open def in another tab.
      • To jump back to the reference: shift-F12
  • Tuesday

    • You make baking powder by mixing a base (baking soda) with an acid (monocalcium phosphate) and a buffer (cornstarch). This retains the ability of baking soda (sodium bicarbonate) to increase the ph of the meat’s surface and make it crispier/browner, while neutralizing the weird taste imparted by the alkalinity of the baking soda.
    • IR saunas and EMF.
      • Did a little research since I use the mihigh every day (temp 9 time 60).
      • https://www.hightechhealth.com/dangers-of-emf-and-importance-of-a-low-emf-infrared-sauna/
      • EMF is basically an electric field, magnetic field, and RF. Produced by electronics.
      • EMF causes calcium ions to move around more (esp to heart and brain). This produces oxidative damage. And can mess with hormones and other neurotransmitters in the brain. Can cause acute things: headache, fogginess, depression/anxiety, fatigue. Can cause longterm things: aging, cancer, reproductive problems.
      • Reached out to mihigh, going to pause use until they reply with the requested EMF report.
      • Obviously, this can occur with all the devices in your home. Cell phone, tv, microwave, everything. But being surrounded by high-powered heaters in a sauna is a high-exposure scenario. And then moving them even closer to your body in an IR blanket is moreso.
    • Moved some money around again to prep for a few things. TD is better than Schwab – you can sell a position and withdraw it immediately without triggering margin. Doesn’t have to settle. If you withdraw it via ACH, it still takes a couple days to land in your other account of course – but you don’t use brokerage margin on the withdrawal.
    • AWS.
      • Added the new widgets (security hub, patch, ops, managed instances) to my home screen and moved stuff around.
      • Resources. Mem has been great, sitting around 50 alltime. Cpu low nominally, spike during deploys. Disk increased from 50 to 90 over the past 2 months. Went in and cleaned (docker system prune, which doesn’t affect running containers). This recovered 16GB. Don’t need a permanent fix for this, I’m moving to k8s and proper img caching and all the above. Won’t be managing the EC2 instance directly for much longer.
      • Did some billing analysis. EC2 was as expected. The only slightly surprise was cloudwatch. About the same price as EC2 just to send my custom metrics for resource util. Will remove that later, I imagine.
      • Remember too that Route53 is 50cents a month just to have the hosted zone. I can throw a lot more into this single hosted zone, but right now it’s a bit overkill for one aws app.
    • Hey, someone else caught up with my warriors foul observations! https://twitter.com/DrGuru_/status/1607785037742866433. Last in FT attempts. First in opponent FT attempts. First in technical fouls.
      • Many studies have statistically proven the home court advantage in foul calls. More against visitor, fewer against home.
      • This is correlated with the other fact this season: First in home record. Last in away record.
      • This is true across many variables. About 5% more calls against visiting team. More fouls called against the team who’s currently ahead as well. Statistically evident across most sports. Human nature of referees.
    • Lots of private work.
    • Bone broth is easy to make and excellent for collagen / amino acids.
    • The “Federal Truth in Lending” act requires APR be disclosed to borrowers, avoiding the confusion of nominal interest rates (calculated from simple interest) vs effective interest rates (calculated from compound interest).
    • Remember in excel $ before a row and/or col in a cell reference will lock that to an absolute value. Use this when you have constants (based on another cell) in a formula, but also have some variables you want to move relative references for as you drag the formula.
  • Monday

    • Tons of private work.
    • FIDE World Rapid Championship started today (early in the morning, OTB in Kazakhstan).
    • Roasted/glazed/pulled a scored/brined/rubbed pork butt.
    • Remember that jupyter notebook starts a local server only, and it’s for a single-user case. If you want remote access to your notebooks (to work elsewhere, to share, etc), then you’d do the usually – add certs/ssl and configure your server’s firewall. If you want a full service, where multiple users are on the platform, use jupyterhub.
    • Wrote some python simulations for existing excel models.
    • Finished Dark. Amazing show.
      • Themes:
        • Secrets are bad.
        • Time is a loop, the past is not the beginning and the future is not the end. Trying to affect it is what causes it in the first place.
          • (bootstrap paradox – you find a book on your doorstep one day randomly, and it contains instructions to build a time machine, so you spend a few years building a time machine, then travel back in time to leave yourself a book with instructions on how you did it. Which is first, the chicken or the egg?)
        • You can’t escape your fate. You can’t change your true character.
        • Loss of loved ones is what causes the splits.
        • The number 3, triquetras, trinities. 3 worlds. 33 years between cycles. 3 lives: one that ends when you lose your naivete, one that ends when you lose your innocence, and one that ends when you lose your life itself.
        • You pass your vices down: infidelity, abuse, etc.
        • Dreams and deja vu are just these alternate timelines and worlds creeping into our relative realities.
      • I would have changed the ending:
        • The origin world should have been a split world from someone else’s origin.
        • (true in the show) – Fate was inescapable in the two main worlds, the worlds that Tannhaus split from his origin world after his son/daughterInLaw/granddaughter died.
        • The death of Tannhaus’ family in that accident therefore should have been unavoidable. Maybe it doesn’t happen on that bridge that night (diff time or diff space), but it happens, and Tannhaus creates Jonas’ and Martha’s worlds regardless.
        • And thus we’re all in a recursive loop. Each origin world, each reality we feel as the main character of our lives, is a split world from someone else’s. There is no origin. There’s no absolute. All of our realities are relative!
        • This would have been more consistent with the rest of the show, affirming all of the themes above.
  • Sunday

    • Refilled autofeeder with a huge spread: shrimp, plankton, insect larvae, flake food, wormlike sticks, 3 types of sinking pellets, bloodworms.
    • The breathing exercises have truly worked wonders. Much better control of my heartrate and respiration – which has direct impact on all the emotions behind it, causes and effects.
    • Takes 5gal to water all the plants in my house.
      • Still very tempted to connect these to the aquarium and close the loop for both halves. Nutrient provision, waste removal, clean water circulation. Salt is the issue.
    • Lots of private work.
    • Remember compound interest/yield/whatever is when the change is then folded back into the formula. If you make money from an investment, that extra money starts as a smaller additional investment and makes money on its own. If you accumulate interest on a loan, the interest you owe starts to accumulate additional interest, etc. The opposite of compound = simple. Just sum up the same change on the original principal over the n time periods.
    • Monte carlo simulations. Pass the rules, the input parameters you want to modulate (and the distributions you want to vary them over) and it will output the most likely results.
    • You can write a whole simulation manually, of course. Define your inputs, define the calculations for your outputs. Instantiate all the nodes with whatever randomness you want, permute your inputs however you want, define your run_sim() however you want, loop it, etc.
    • As you can guess: there will be some boilerplate as you define input distributions, process environments, run loop settings, etc. For python, libraries like simpy and stochpy.
  • Saturday

    • Cold hit 7degF this morning – is that the coldest temp I’ve ever been in my life? I think so. Doesn’t compare to the agony of the grapevine on the motorcycle, but this is probably the coldest abs temp.
    • Supercontest had the issue again where you couldn’t select the second-to-last (from the bottom) matchup. Only on mobile.
      • Same as https://gitlab.com/bmahlstedt/supercontest/-/issues/167
      • Was actually able to reproduce on desktop using devtools’ simple device toolbar (iphone 12 pro).
      • It was the dashflo widget for discord chat. Removed it (stopped supporting between seasons a couple years ago, will bring back later).
    • Nearly 4 years later, got the settlement from the equifax data breach in 2019! $5.31.
    • Lots of private work.