• Friday

    • Added vscode shortcut to shell:startup.
    • Bought an air purifier (levoit core 300). I have the airthings for sense, now this provides a control (along with window).
    • Private work.
    • Airthings masters finished. Winners bracket winner won the grand final in all 3 divisions: magnus, fabi, sevian.
    • Received and setup the wave plus. Pretty cool. Air quality is good to start, but sensors need some time to calibrate.
      • Global radon map is here: https://radonmap.com/
      • To check air quality: open the mobile app, wave your hand in front of the device (only red/yellow/green response), or the web dash: https://dashboard.airthings.com/
    • SBSC. Finished the typing ticket from yesterday.
    • Split the “by user and by week” defaultdicts in the results module into separate dicts, one for pick status counts and one for teams (they were joined before, which just complicated things – readability, default behavior, types, etc).
    • Use dict subscription when all keys have the same type and all values have the same type, eg myDict: dict[str, int]
    • Use typing.TypedDict when known keys have known types. Use typing.NotRequired to specify keys as optional.
    • Black defaults to 88 line length. Pylint defaults to 100. I changed both to 100, and synced my vertical rulers in vscode.
    • Good reference on writing type stubs: https://typing.readthedocs.io/en/latest/source/stubs.html
    • More details on ticket.