-
- Talked to the Best Buddies coordinators. They do monthly social hours (last thursday of every month at Q’s billiards in West LA. I’m going to go to the next one.
- Night Crew Labs’ new website! https://www.nightcrewlabs.com/.
- PW
- Sklearn has a ton of cool machine learning capability. You can even do data analysis on text, finding correlations and such.
- WSGI. Request handling and routing is different than application logic.
- Squarespace is a very popular platform for building websites.
- Ag will automatically skip folders like venv, so make sure to take that into account when searching for stuff that might be in site-packages.
- Supercontest
- Reinstantiated a lot of the flask-user routes. Played with them a bit. Tried to customize most of it by integrating the default forms and such into the navbar of my supercontest page. Ultimately decided against the customization. I can do it later, and right now I want to focus on function rather than style.
- The navbar at the top is now in an ok place, with home, user, and signout.
- Played with PyCharm a bit more.
- SCP is great to move files between. It goes source -> destination. For example, to move the production db to your local dev machine, scp -i mykey southbaysupercontest.com:~/code/supercontest/data/supercontest.db ./test.db.
- python manage.py db migrate -m “description of change” after you modify the models. Then go to an existing db and python manage.py db upgrade.
- Pycharm allows you to enter an SQL console on the database in question, which is nice.
- If you have an existing database with a version that isn’t tracked in the current history (the migrations folder), then internet might tell you to init/migrate/upgrade. This is fine, but it’s a shotgun approach. It’s a wipeover. If you know what version the old database is close to, you can just go into the db and overwrite the value in the alembic_version table, then upgrade as usual.
- Copied the database over from the production server and upgraded it to the most recent model, which accommodates users and logins.
- When pycharm is connected to the db, it locks it, so the app can’t write to it. You can disconnect in pycharm with a right-click.
- The prod database now has a user! Me. I deleted the example user.
- Aligned the th.
-
- Played with Pycharm a little bit. Told it which venv/python to use for this project.
- Supercontest
- Added instantpage (https://instant.page/) to the main layout. Should speed page load with prefetch. Seems safe.
- Finished with both seasons of Ozark now.
- Got lunch with jcriss. Checked out the Redondo Beach Bay Club for the first time.
- Started reading the book The Four Agreements. I’ve heard good things. Overall, not very impressed. Seemed straightforward.
- Be impeccable with your word. No gossip. No lies. Pretend you are speaking on live tv at all times.
- Don’t take anything personally. Other people assume something about you? Ignore it, be yourself, and prove them wrong! This applies to compliments as well as insults.
- Don’t make assumptions.
- Always do your best. Take action to enjoy the action, not to expect the reward. Sometimes working twice as many hours won’t mean you get there any faster.
- Be a child! Be a dog! Explore the world with curiosity and delight.
-
- Submitted an application to volunteer with Best Buddies! Honestly teared up a little bit while reading about it.
- Bought and brined the lamb for tomorrow’s cook. First time smoking lamb! The costco business center has a pretty incredible selection of cuts.
- Macros: I’d like to aim for something like 100/200/80 for grams of Carb/Protein/Fat, which is a calorie distribution of 20/40/40%. This totals about 2000kCal/day.
-
- Went and saw a live taping of America’s Funniest Home Videos (AFV)! Overall, was a lot of fun. Carlton is the host now. The audience is pretty involved. Comparing this production to my SpaceX webcast production was very interesting. They’re very similar, and I’m thankful to have the experience. Live is very different. Carlton could retake anything that had a mistake.
- DMV
- Registered the Ninja as PNO (planned non-operation). It’s no longer insured, as well. $22.
- Provided proof to the DMV that the BMW is insured. If they detect a vehicle is registered, but not insured, they will suspend the registration. I went online to provide this proof after I received the DMV letter, but AAA had already provided proof of insurance to the DMV, so the website informed me and all was good.
-
- HN/PW/M/FW:
- I could add this blog to my website and host it personally!
-
- AGM = absorbent glass mat (type of motorcycle battery).
- Was thinking about replacing the BMW battery. The current one is ~3yrs old. It hasn’t really been driven much. Now that the bike is garaged, we’re coming out of winter, and it’s in LA instead of the Bay (higher temp), the battery should last longer. I don’t expect to require trickle charging every week. I’ll drive it about once a week to the gym, and that should keep it tended for at least another year of use. When you do buy another battery, expect about $150.
- All chores now that I’m back. Dishes, cleaned snake tank, opened the center hole for the litter tray up a bit, unpacked.
- Watched a few videos from Athlean X, specifically the tennis elbows ones. He suggests a great stabilizing hang from a bar to strengthen the surround shoulder/forearm muscles to take load off the elbow.
- HN
-
- Drove from the Bay to LA today on the 1200. Crazy trip. Left at 1:30, a little hungover from Nick’s wedding yesterday. Got 5 hours of sleep. Stopped twice before the Grapevine, both for gas/food. Hit the grapevine around 7pm, after the sun had gone down. I was already cold and exhausted. It’s been weirdly freezing here in California lately, even just being outside. The temperatures on Tejon Pass were in the 30s. There was snow everywhere. I was on a motorcycle going 80mph, adding a huge wind chill factor. I was wearing jeans and a sweatshirt lol. It was the coldest I’ve ever been in my entire life. After the summit, I had to pull into a rig’s brakecheck area to sit in Allie’s car and reheat my core before continuing. Total trip time was about 7.5hrs, including the 3 stops.