• Friday

    Breakfast every day for the last few years. Premade powder jars. Throw one in a blender bottle with homemade oat milk. Shake and go. Make a new batch every 12 days.

    Ingredients

    • 1 tbsp cocoa
    • 1 tbsp sesame seeds
    • 1 tbsp chia seeds
    • 1 tbsp ground flaxseed
    • 1 tsp ceylon cinnamon
    • 1 1sp amla
    • 1 tsp matcha
    • 1 tsp maca
    • 1/4 tsp glutamine
    • 1/4 tsp lion’s mane
  • Wednesday

    • “NFT Gaming is Snake Oil” – https://datagenetics.com/blog/january12022/index.html.
    • Bitcoin ATM fees are pretty high.
    • Crypto-backed loans are a bit higher than secured loans. Varies widely, but 5-10% APR and only ~50% of asset (did a quick blockfi check).
    • WeWork ~$400/mo for shared workspace, all locations?
    • Microsoft blizzard 70b.
    • Lots of blockchain discussion. Notes to come later.
    • Finalized 8 sleep hub setup, ready.

  • Tuesday

    • Overall unimpressed with the new features of windows 11, since windows 10 came out in 2015. The OS works great, it just hasn’t changed much. No substantial novelties.
    • Bitcoin node.
      • Remember WSL runs a virtual NIC that is NAT-ed behind the host windows network (instead of a bridge). WSL does some automatic local port forwarding but you need to set it up manually (port forwarding and firewall) to reach WSL from other devices on the network (example https://github.com/microsoft/WSL/issues/4150#issuecomment-504209723).
      • Can reserve a static IP in fios’ DHCP to allow incoming connections on the full node (rather than just wallet and outbound) but then I’d have to set up port forwarding and firewall exceptions for the WSL2 instance. I’d rather just go proper with docker (albeit Docker Desktop) and a volume to store the blockchain.
      • There are a few options for bitcoind Dockerfiles. I’ll write my own.
      • ExpressVPN, of course, masks another IP replacement. But downstream of my own (ISP -> router DHCP -> winHost -> linGuest)? Nope, express doesn’t support port forwarding. Have to go directly through your own router.
      • Docker runs a bridge network driver by default. Containers on the same bridge can communicate, others can’t. You can also just use the host’s network directly (host) or set up your own addressing (ipvlan).
      • Enabled private/public ICMPv4/6-in on windows defender for testing.
      • Added task scheduler action (on login) to detect the IP of the WSL2 dist (changes on host reboot), add a netsh interface portproxy at that IP and custom port, and add a firewall rule to open that port on the host. Confirmed with telnet: (remote -> host), and (host -> wsl). Windows telnet = Test-NetConnection <ip> -p <port>.
      • Ended up doing the static router config, reservation and single port forwarding (btc main and test nets).
      • Why do I always forget 192.168.X.X = private IPs.
      • Still no luck, tried a packet capture netsh -> etl -> tracerpt.
      • Tweaked the fios firewall a bit.
      • Finally got my public IP recognized on bitnode. All clear.
      • Confirmed in final state that VPN is a true negative.
      • Played with the cli a bit more, now that the node is fully set up. Added bitcoin.conf to keep settings in sync, I switch between GUI and CLI often.
      • SatStack connects ledger to your node: https://github.com/LedgerHQ/satstack.
    • Android does sound/notification management better than ios.
    • Windows Hello facial recognition requires a camera with IR capability.
    • Onion tor ip masks.
    • Set up git/gitlab on wsl.
    • Eth node.
      • Many options for node clients. All wrap the formal spec in the eth yellowpaper. 90% of nodes use geth (go). https://etherscan.io/nodetracker.
      • Set up a test node, light sync on gorli.

  • Monday

    • Supercontest.
      • Updated to bring season_end in, fixed some logic, default route to leaderboard, banner for winner.
    • Upgraded my computer to windows 11.
      • Had to enable TPM (trusted platform module, hw-based security, available on custom motherboards but usually disabled by default) in BIOS first.
      • For secure boot, UEFI (Unified Extensible Firmware Interface) instead of CSM (Compatibility Support Module, legacy BIOS support). The storage device (boot partition) must also be GPT (GUID Partition Table) instead of MBR (Master Boot Record, legacy). My disk has 3 partitions, system reserved (50MB NTFS), recovery (500MB), C (1TB). It was MBR, so I had to mbr2gpt.exe to convert to GPT. Had to reagentc /disable the enable after (RE = Recovery Environment).
      • Had to run installation agent twice, peculiar. Also had to reinstall speaker drivers to fix sound after.
      • Looks like this fixed my second-monitor-lagginess as well.
    • Setup wsl+x11.
      • Installed vGPU driver for nvidia geforce (win11).
      • I always forget: CUDA = Compute Unified Device Architecture.
      • Updated WSL to 5.10.60.1 (includes linux gui support).
      • Can copy-paste between win and lin, tab through windows across both OSs, more.
      • Expanded the ext4 VDH to 512GB to store the whole btc blockchain.
    C:\WINDOWS\system32>diskpart
    
    Microsoft DiskPart version 10.0.22000.1
    
    Copyright (C) Microsoft Corporation.
    On computer: BMAHLSTEDT
    
    DISKPART> Select vdisk file="%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_<x>\LocalState\ext4.vhdx"
    
    DiskPart successfully selected the virtual disk file.
    
    DISKPART> detail vdisk
    
    Device type ID: 0 (Unknown)
    Vendor ID: {00000000-0000-0000-0000-000000000000} (Unknown)
    State: Added
    Virtual size:  256 GB
    Physical size: 3103 MB
    Filename: C:\Users\Brian Mahlstedt\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_<x>\LocalState\ext4.vhdx
    Is Child: No
    Parent Filename:
    Associated disk#: Not found.
    
    DISKPART> expand vdisk maximum=512000
    
      100 percent completed
    
    DiskPart successfully expanded the virtual disk file.
    • Bitcoin node.
      • https://bitcoin.org/en/download.
      • bitcoin-qt for the gui or bitcoind to start core then bitcoin-cli.
      • Synced 100% (13 years!) of the blockchain. Express was disconnecting me (and throttling) every couple minutes so had to disable vpn.

  • Sunday

    • Set up full btc, eth, and sol nodes on my desktop.
    • DPoS: https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md.
    • 8am (ET) Tata Steel chess for the next 2 weeks.
    • https://btc.com/stats/pool. (last 3d) antpool still has 15.69% of the hashrate (has mined >60k blocks). Foundry, f2pool, pool, binance pool, others.
    • For eth it’s obv Ethermine (30.5%). https://etherscan.io/stat/miner?range=7&blocktype=blocks.
    • Solana Marinade, 7m SOL: https://solanacompass.com/stake-pools.
    • Current bitcoin blockchain 385GB. https://ycharts.com/indicators/bitcoin_blockchain_size. https://www.blockchain.com/charts/blocks-size.
    • bitcoin-cli or https://www.blockchain.com/explorer.
    • My custom rig is 1Tssd/6cores/21Gram.
    • https://etherscan.io/nodetracker US is 35% germany 15% UK 14% canada 10% (at least by IP).
    • Eth yellowpaper.

  • Saturday

    • https://medium.com/@ticketpark/nft-tickets-a-realistic-look-at-a-big-trend-ae813d6f885d.
    • Lots of research on taker fees, staking returns and interest rates, liquidity pool yields, deposit/withdrawal fees, regulation, much more. DEX included. Binance (+us), ftx (+us), kraken, coinbase, gemini, nexo, kucoin, blockchain, blockfi, paypal, robinhood, uniswap, pancakeswap, raydium, many more.
    • Decent summary of the fee side: https://www.cointracker.io/blog/2019-crypto-exchange-fee-comparison.
    • Medium-dive into bsc. Pancakeswap is a hard fork of uniswap, just like bsc hard fork of eth.
    • BitLicense for NY, https://en.wikipedia.org/wiki/BitLicense, circle gemini square coinbase robinhood.
    • https://www.ledger.com/supported-crypto-assets.
    • Remember robinhood won’t let you withdraw/transfer crypto, have to sell.
    • Uniswap is a true AMM, only providing liquidity between ERC20-compatible tokens (although there’s still WBTC of course). Raydium runs on Serum’s central order book, so can trade anything. Radium fees 0.25% (22 to liquidity pool, 3 to RAY staking).
    • Played with solflare and metamask and electrum. Remember ledger can store solana but the ledger live app won’t show it (just manage through solarflare). Metamask has native capability to sync to a cold ledger wallet, removes the export private key feature, etc.
    • Potential path: Bank USD -> (free) -> coinbase pro USD -> (free) -> USDC -> (6 day withdrawal block) -> (variable fee, dependent on network) -> non-custodial wallet.
    • Ledger Live doesn’t store your accounts/keys/etc on a central Ledger server. It’s local. You can sync access across multiple devices by exporting accounts from desktop then importing on mobile. All syncing is done via the blockchain though, not ledger, and not between devices.
    • Also mobile wallets are sketchy. Bluetooth for connection to cold. Local storage vs server sync. All around better to keep only 1 device configured, and 0 devices connected.
    • I don’t like video games but I can’t ignore the size of this market: Axie Infinity (>3b spent in-game so far), DeFi Kingdoms, in-game tokens and collectibles, very lucrative applications.

  • Friday

    • Postgres: statement_timeout, pg_stat_statements, log_min_duration_statement, pgbouncer: https://blog.crunchydata.com/blog/five-tips-for-a-healthier-postgres-database-in-the-new-year.
    • Called about the Eight Sleep missing hub again (2 weeks now!) – phone support was much more apologetic and helpful than email. Overnighted the hub (although fedex no weekends and Monday is MLK so expected arrival next Wed..) and $50 amazon.
    • Pfizer 27 by market cap right now, 307b. Jpm 12 466b. Nvidia 10 662b. A market cap of 100b puts you rank ~155.
    • Remember chrome has __web-inspector-hide-shortcut__ (or just hotkey h while highlighting an element) so you don’t have to type visibility:hidden.
    • ~2mo for everything I’ve ever gotten off Etsy. Crazy.
    • Read https://curve.fi/files/stableswap-paper.pdf.