• Thursday

    • Private work.
    • Thought a lot about how to short PE.
    • Sawada coffee on canal, shabby alley, amazing interior/restaurant/cafe/bar.
    • UNLOGGED setting on postgres tables to use as a cache. No WAL, gone on restart. Not as fast as redis (but simplifies overall stack).
    • Paid ortho.
    • RIA = Registered Investment Advisor.
    • CSO = Chief Securities Officer.
    • Asked BoA to waive the overdraft via live chat, quick success.
    • Coinbase funds landed in checking, moved to brokerage and placed in simples (SPYV/VTI/whatever).
    • Planned/prepped for six flags frightfest tomorrow.
    • Setup new autofeeder.
    • Supercontest. Updated gitlab ssh key on EC2 instance.
    • Rectangle broke when I updated my macbook to sonoma (14). This is known: https://www.reddit.com/r/MacOSBeta/comments/15ej96v/rectangle_app/
  • Wednesday

    • Private work.
    • Read through some Bedrock (from old colleague): https://caylent.com/blog/amazon-bedrock-everything-you-need-to-know
    • Tightened the comment settings on this blog (all spam).
    • Aquarium.
      • Tomato clown bonded to the old bubbletip (evicting the 2 old perculas). Sebae clown bonded to the new bubbletip. Old ocellaris still homeless.
      • Sally lightfoot was apex for quite some time. Now the engineering gobies are large enough and have started nipping at the crabs.
    • Deep RL.
      • OpenAI’s docs: https://spinningup.openai.com/
      • Install spinningup and libopenmpi-dev and mujoco-py.
      • OpenMPI = Message Passage Interface (for HPC): https://www.open-mpi.org/
      • MuJoCo = Multi Joint dynamics with Contact. It’s a physics engine. https://mujoco.readthedocs.io/. OpenAI maintains a python lib for it: https://github.com/openai/mujoco-py
      • Neural network libs: pytorch, tensorflow.
      • OpenCV = Computer Vision. Python bindings for this (wheel takes a bit of time to build fyi).
      • Can run multiple algorithms, policies, sims, plot outputs, more.
      • Some good educational overviews on there too: policies for what actions to take in which states, cost/reward functions, Bellman equations.
      • Algos: Vanilla Policy Gradient (VPG), Trust Region Policy Optimization (TRPO), Proximal Policy Optimization (PPO), Deep Deterministic Policy Gradient (DDPG), Twin Delayed DDPG (TD3), Soft Actor-Critic (SAC).
    • Switched trays, first tightening.
    • Colab is Google’s jupyter implementation: https://colab.research.google.com/. Python in the browser.
    • TensorFlow.
      • Ran 5-10 notebooks to play with some of the functionality.
      • Watched https://www.youtube.com/playlist?list=PLQY2H8rRoyvwWuPiWnuTDBHe7I0fMSsfO
      • Fitting data, pulling different models, training in other ways.
      • Comes with a bunch of existing datasets to train against (keras.datasets). Computer vision example: 100,000 images of cats and dogs, and a classification of each as cat or dog. Then the trained model can see new images and predict the classification.
      • Specify loss (like mean squared, how to measure inaccuracy) and optimizer (how to choose the next guess).
      • You can use convoluted filters for feature extraction. Basically just many different layers, which one best produces output.
      • This was probably my fav notebook from the examples: https://www.tensorflow.org/tutorials/keras/classification
    • Crypto.
      • Submitted withdrawal request for gOhm from tokemak was week. Today noon was cycle rollover, so was able to complete the withdrawal.
      • Swapped directly for gOHM -> USDC on uniswap (+ one extra transaction to approve gOHM). Could have “unstaked” on olympus to convert gOHM -> OHM, but that’s another unnecessary tx.
      • Then transferred USDC from metamask to coinbase, converted to USD, withdrew to bank, and transferred to TD for equities.
      • Overall, I expected to get crushed by olympus; I hadn’t checked it in about 1yr and crypto has fallen considerably. I thought this token would be ~10% of my basis. It was 94%!
      • The metamask dapp has some cool portfolio tools: https://portfolio.metamask.io/
      • The new (well, I haven’t used in a long time) coinbase advanced trade interfaces is much better than the old pro.coinbase: https://www.coinbase.com/advanced-trade
    • Supercontest.
      • Banner/lines/picks.
      • Westgate posted MNF football with the date a week off (the monday prior), so my app flagged the lines as old and didn’t commit them.
      • https://gitlab.com/bmahlstedt/supercontest/-/issues/215
    • Emergency alert system ran a test on all phones at 2:18pm ET.
    • Went to Jazba in EV, Junoon’s new spinoff.
    • Overdrafted BoA by accident.
    • Emptied hydroponics. Will do full clean tomorrow, and replant soon after.
    • Updated vscode.
  • Tuesday

    • Private work.
    • @memoize was available in py2. If you’re in py3, use @lru_cache. This comes with the ability to control max size (for eviction), and whether type is considered in arg comparisons. If you don’t need those, and just want a faster/simpler/unbounded cache, just use @cache.
    • Dropped the automatic feeder into the aquarium yesterday and shorted it. After drying, it still doesn’t work today. Bought another and will manually feed until it arrives.
    • Received liveaquaria! (no notification, yesterday gmail autofiltered the shipping email to spam).
      • Got: tomato clownfish, sebae clownfish, green bubbletip anemone, sexy anemone shrimp, red tuxedo urchin, scarlet skunk cleaner shrimp, sleeper gold head goby.
      • Not in stock: long tentacle anemone, mexican turbo snails, diamond watchman goby.
      • Everything good and healthy. All 3 damselfish attacked the sebae clown for a bit, but should settle out. The tomato clown (bigger) evicted the two other clowns from the original bubbletip.
      • All my clowns (ocellaris, percula, tomato) are compatible with bubbletips. Sebae clowns go with sebae+haddon’s anemones.
      • They overcharged the order. I grabbed the invoice and submitted a csr dispute.
    • Supercontest.
      • Was down last night. https://gitlab.com/bmahlstedt/supercontest/-/issues/214
      • Added tues to score days (only in prod, so it will get wiped on next deploy) to pull the MNF results.
      • Added weekly user pick score/grade. Pretty cool: https://gitlab.com/bmahlstedt/supercontest/-/issues/168
    • Saw X.
    • Used virtual cards in the google wallet for the first time, went well.
    • Bought ticket for the gala: https://secure.qgiv.com/event/wb6thfcb/
    • Notes on some of the inaccuracies in Dumb Money and general market misinterpretations.
  • Monday

    • Private work.
    • Remember PFOF provides price improvement to the retail investor. Spreads are way too high on direct exchanges for market makers to participate in that volume without a broker kickback.
    • Short squeeze refresher, obviously the mechanism for (panic) exit is a buy order, pushing the price up higher. Remember too, naked short selling = when the stock wasn’t transacted (doesn’t have to exist), illegal.
    • New Rise Roma: basically a 2-level garden but the top tray is a trellis instead of a solid water basin. Then the bottom tray can grow plants twice as tall (38″). https://risegardens.com/products/rise-roma-garden
    • Saw Dumb Money.
    • The laminate on the underside of my aquarium lid was peeling. It was probably intended to be removed during install.
    • Spacex reunion in nyc.
    • Put way too much cayenne in the smoothies.
    • Kidney checks were all good (cyastin c 0.6-1.2mg/L, eGFR>59/mL/min/BSA). Regular bloodwork just shows creatinine slightly high, but this in common in people who exercise a lot.
  • Sunday

    • Private work.
    • Dvorak training reduced by qwerty speed by ~20WPM.
    • Supercontest. Confirmed alltimelb now filters out in-progress games.
    • I like the bright white bulbs more than day/warm light.
    • Ultrasonic+UV bath is super easy. Fill water, clear retainers in, push single button. Automatically shuts off after 10 minutes. Empty water.