-
- Dymicron now makes diamond discs for replacement surgery: https://invest.dymicron.com/
- Delta is turning on free (viasat) wifi today for most of its planes.
- They’re not just bringing back the mammoth – they’re reintegrating the dodo as well!
- Lots of private work.
- Flew to miami.
- Transferred tender disbursement to TD and prepared positions.
- Added boa to ms and transferred IRA contributions. Since traditional, not roth (contribute after-tax), can deduct the full contribution. Did the maximums, 2022 individual 6k and 2023 individual 6.5k.
- Macbook.
- Changed default shell to bash. (
chsh -s /bin/bash
)
- Copied my dotfiles over.
- Ended up removing those. I’ll just use z shell, good chance to familiarize anyway.
- Added a couple aliases.
- Generated ssh keypairs for various things.
- Installed homebrew.
- Installed the_silver_searcher (ag).
- Installed poetry.
- Installed rosetta 2.
- Installed docker (docker desktop for mac, apple silicon).
- Installed ansible (comes with ansible-playbook).
- Was able to get into the prod EC2.
- Did a prod db backup successfully (remotely).
- By default on new macbooks, Airplay Receiver is listening on port 5000. Disable this in system settings so that you can run your flask apps.
- Successfully got sbsc up locally.
- Frontier charges extra for a carry-on ($65), and it’s more than checked baggage for most other airlines.
- The
compose
utility now comes with docker.
- The strassburg sock is the one for plantar fasciitis that flexes your foot all night.
- SBSC.
- https://gitlab.com/bmahlstedt/supercontest/-/issues/181
- Linted the whole project. Few other little improvements as well.
- Generators are faster, use them for iteration ranges if you don’t need to do anything with the result list (index, fetch item, etc). This just looks like tuple comprehension for literal syntax (list comprehension but replace brackets with parentheses).
- Remember to use custom sqlalchemy expressions for boolean comparison (like pylint singleton-comparison, can’t just do “column is True” in an ORM query).
- Switched to the application factory model for things like sqlalchemy/mail/scheduler/etc instantiation. Previously these objects were instantiated in the main app
init
. Then other modules would import them when they needed them (like models
importing db
, the sqlalchemy object). This creates a ton of cyclic imports. Instead, just instantiate the objects in the submodules and have the main app init.create_app
import them. Then you can do some cool stuff like create multiple apps, all using the same extensions. Or different test harnesses.