• Thursday

    • JinjaX has some improvements over standard templates: https://jinjax.scaletti.dev/
    • Lots of private work.
    • SBSC.
      • Ticket cleanup, planning next sprint.
      • Did some side-by-side comparisons of matchups/picks/leaderboard views between SBSC and westgate. Not even close.
    • Added/removed a few accounts in mint.
    • Volo Sports for the manhattan rec leagues. Will look at dodgeball and kickball in spring. Would consider cornhole and volleyball too.
    • Added morgan stanley mobile.
    • Liquidated all schwab positions. Merging to TD.
    • Remember direct listing is like an IPO but you don’t raise any money at the same time. Just offer the shares on a public exchange.
    • Rise Garden (Ryan) came to pick up my plants for The Today Show on-set displays (airing Monday 2023-01-30?). 2 eggplant, 4 bok choi, 2 lemon pepper, 4 marigold. Getting replacement seeds/cups/trays/lids/caps, and a gratis garden (Originally personal $349, upgraded to v2 charcoal triple $1349! They’re actually giving me the garden that will be used for the today show). Cleaned up afterward, 1 tray and reservoir.
    • Junoon!
    • Cancelled my massage envy membership. They add you to a callback list (manager has to do it). She’ll reach out in 24-48hrs (confirmed this will happen before next bill, Feb 3, 1 week from now).
    • Allstar starters announced. West: curry, luka, bron, zion, jokic. East: durant, giannia, kyrie, tatum, mitchell. Bron and Giannis captains. The rest of the teams will be drafted on game night.
    • Figured out some logistics and content for miami podcast next week.
    • Poetry has issues installing scipy on mac. Needs the system-level package for Basic Linear Algebra Subprograms: brew install openblas
  • Wednesday

    • Jan 29 is the latest (ever) first snowfall in NYC. We got a very brief session today (Jan 25) which counts. Boooo. It didn’t stick, and isn’t supposed to actually snow for at least another week. Almost beat the record.
    • Checked butcherbox, no duck.
    • Amazon launched RxPass: https://pharmacy.amazon.com/rxpass
    • Haircut. 90min massage. Made smoothies. Oat milk. Gym. All the usual.
    • Spotify cutting 6%, add to big tech list (although remember this tagline is misleading, tech/software core usually fine).
    • Forge report on private markets: https://forgeglobal.com/insights/reports/investors-eye-next-wave-of-2023-unicorns/
    • Seed round dilution is usually ~15%, then A is ~20%, then subsequent rounds less and less.
    • Lots of private work.
    • PIK = Payment in Kind. A PIK loan can be paid with something other than cash (service, product, equity, whatever).
    • UBT = Unincorporated Business Tax. 4% for NYC.
    • Limited Partnerships and LLC structures of venture funds / PE: management entity, GP entity, LP entity.
    • TLSA beat EPS by >7% (lol). Revenue match.
    • Forward flow is when someone has originated a set of loans and another party buys them. Just forwarding principal+interest payments on to a new recipient. There’s effectively a new lender (investor).
    • For lunar new year: Gonna buy whole ducks from the asian market. Pluck and separate breasts + legs. Breasts will be roasted and served like steaks. Carcass will be rendered down into broth + fat. Legs will be cured and baked in the fat for duck confit. I’ll keep the broth for drinking next week.
      • 6 whole ducks means everyone gets a half breast and a half leg confit (expecting ~24 people).
      • Remember config just means “preserved” (or candied) in french.
  • Tuesday

    • Big banks (JPM Chase, Wells Fargo, BoA, others) are working on a digital wallet to rival apple pay. I’m not sure why? You can just pay with their credit cards through apple wallet. I guess it’s just linked to a different account. But same convenience.
      • It’s being built by the company that built Zelle, Early Warning Services. Not sure if it will support crytpocurrencies or just fiat.
    • Lots of private work.
    • Saw cavs knicks at the garden.
    • Got my xmas tree picked up. Just call front desk. They come to your unit and put it in a bag so you don’t get needles all over the building on the way out.
    • Sequoia pitch template: https://perfectpitchdeck.com/2018/01/30/sequoia-capital-pitch-deck-template/
    • Added Ryan (and maybe same +1) for saturday lunar new year (~25 rn), after talking with Bala about climate datasets and potential pipeline opportunities.
    • MS received the IRA rollover, will place investments soon.
    • Remember material design is google’s set of tools and standards and stuff for cross-platform UI designs / elements.
    • Matt Levine posted about Elon. Three segments today! Shocker!
    • Rise Gardens reached out to put my plants on The Today Show. They’re filming in NYC over the next few days. They don’t film in your location, they just take the plants (and reimburse, with extra gifts).
    • Went through amazon’s return/replacement/refund workflow (which is usually amazing) for the broken cap on the honey, wasn’t great. The automated form flows all failed. Had to go to manual chat for the refund.
    • Biggest platform for private equity data (I think): https://notice.co/c/spacex
    • SBSC.
      • Alltime league pick percentage (nearly 25k picks) is 49.8%. Go Vegas.
      • Petty and Jeremy tied for most total points, Grdich and Harner tied for 2nd most total points.
      • Petty leading pick percentages at 54.4% over 9 seasons (insane). Teej comin in HOT at 55.1% over the 4 half-seasons he’s played.
      • Our best season as a full league was 2017 (52%). Worst was 2022 (46.7%).
      • Added a js function to calculate ordinal suffix (1st, 2nd, 3rd, etc).
      • Katilin requested a pick-5-random button as well as a user-specific verify=False for late picks (lol).
      • Upgraded the entire app to bootstrap 5: https://gitlab.com/bmahlstedt/supercontest/-/issues/178
      • Upgraded jquery and popper as well.
      • Implemented Datatables so the leaderboards could be sorted by other columns, but (1) it conflicted with colspans (2) it conflicted with bootstrap styling (3) it conflicted with the serverside sorting.
  • Monday

    • LCH’s annual list of hedge fund perf has citadel at #1, estimating >16B in profit. This is the largest ever, by any fund. And it was in 2022 when most were red.
    • Google lays off ~12k. Big.
    • Duck is ~$20/lb.
    • Got a ticket for Meet the Breeds on sunday.
    • You can nest defaultdicts in python, of course.
    • Matt Levine posted about Elon today! What a shocker!
    • Opening vegas lines are chiefs -1.5 eagles -2.5. I’m picking niners bengals.
      • So far, I have gotten every wild card round and divisional round pick correct except vikings (9 out of 10).
      • And then niners over bengals in superbowl (simply cannot bet against).
      • So if the remaining 3 matches hit, I’ll be 12/13 for NFL postseason.
      • And if you count standard bracket points exponentially (1 for wild card winner correct, 2 for divisional winner correct, 4 for conf winner correct, 8 for superbowl winner correct), then that’s 13/14 points right now, and would be 29/30 points if niners beat bengals in superbowl.
    • Uninstalled the rainbow brackets extension, it’s built into vscode natively now.
    • Tilde version requirements: “3.8.*” is the same as “~3.8” – it will allow everything up to 3.9. (whereas “^3.1234514325.5412315” just means up to the next version of the leftmost nonzero digit, so anything up until major version 4).
    • Looked into making the supercontest leaderboard tables sortable. Using bootstrap 4, can do with datatables. Will just require a little bit of an upgrade. I’ll probably create another ticket for this.
    • SBSC. Created the alltime leaderboard: https://gitlab.com/bmahlstedt/supercontest/-/issues/170.
  • Sunday

    • (includes saturday)
    • Liquid death is at 700M: https://www.youtube.com/watch?v=mTOlIWSEexM. It’s water!
    • 9 Olympian muses: Calliope (epic poetry), Clio (history), Erato (erotic poetry), Euterpe (lyric poetry), Melpomene (tragedy), Polyhymnia (hymns), Terpsichore (dancing), Thalia (comedy), Urania (astronomy).
      • Calliope was the lead, of course. She’s the mother of Orpheus.
    • All the usual mealprep. Pb, bars, powders, liver, rice, oat milk.
    • To make puffed rice: Boil normally, spread on tray (oil or parchment paper) and bake for about 2hr at 250 to dry, and then fry in oil (only takes about 10sec).
      • You can do ONLY the bake part and not the fry; this leaves smaller crunchier dry rice (still useful for certain things) rather than the puffed out standard version.
    • NFL divisional round done (got all 4 picks correct!), UFC, dubs/nets (minus kd).
      • Watched niners at commissioner in brooklyn (same as last year).
    • An “adam’s apple” is just cartilage that protects your larynx. Men and women both have them. It’s just less cartilage for women.
    • SBSC. Added a convenient little function to give a copy-paste-able list of all emails for all paid players for a season.
  • Friday

    • We have a $31.4T debt ceiling (congress controls this, and raises every year-ish). Like a country LoC at 100% draw. We’ve never defaulted on our debt, but do hit the ceiling every couple years (on avg). When that happens, we pipe cashflow away from some less critical govt funds and sell some govt investments. Countries (federal governments) have credit ratings, just like companies and individuals, and they’re assigned by US agencies to determine creditworthiness.
    • Lots of private work.
    • SBSC.
      • https://gitlab.com/bmahlstedt/supercontest/-/issues/169
      • Full restructuring of the results module. Basically left the views as simple as possible, just some conditioning logic then oneliner calls to results.
      • Moved all clientside calculation to serverside. Python now generates the LB views (previously it passed half the raw data to the frontend, which run some calculations, and calculated the other half serverside to pass it directly).
      • The LB is composed of 3 returns now: the main columns (points per week per user), the rollup cols per user (season record, points, pick percentage, rank, payout), and the leaguewide row on top (pick percentages per week and overall season).
      • Added the payout column. Logser at p=0.9 with some cute rounding.
      • Also shows party fund and weekly prizes.
  • Thursday

    • Genesis filing bankruptcy.
    • Private work.
    • DePIN = decentralized physical infrastructure networks.
    • NBA trade deadline is Feb 9.
    • SQLalchemy.
      • Remember sqlalchemy relationships. One-one, many-one, one-many are all “back populating” relationships. Just places foreign keys so a column matches another table. Can be unidirectional or bidirectional. The many-many case requires an association table. This can just be a simple table with 2 cols, id FK for the first association and id FK for the second association. Or you can make the logic more complicated.
      • These relationships at the ORM level allow you to query on back-populated properties. I can query on User.leagues in python, for example (in psql you cannot query users.leagues, you’d have to join/query league_user_association).
      • Remember to be careful using op.execute mixed with ORM commands inside of scripts (like alembic migrations). I’m not sure of the exact terminology, but there’s (session, base, flushing?) behavior that’s different between the two. A lot of my core functions use the ORM to query, which won’t pick up immediate results of things like inserts and updates from raw op executions right before.
      • You can use db.session.execute (and then db.session.commit right after) or direct with db.engine.execute which is basically the same as op.execute or psql.
      • With an ORM, you don’t insert directly into the association tables. Just update the relationship columns on the main tables and sqlalchemy will insert into the association table as necessary.
    • SBSC.
      • Added the paid leagues, unique for each season.
      • https://gitlab.com/bmahlstedt/supercontest/-/issues/173
      • This obviously requires an association table. Note also though; the role table can technically just be an FK, or even an is_admin col in the users table.
      • Piped everything through all views. The frontend now defaults to the paid league (for allpicks, lb, and graph) if you’re in it for that season, or free if not.