Course Review: Modern APIs with FastAPI, MongoDB and Python
I’ve attended a few of Michael Kennedy’s Python courses over at TalkPython.fm. He’s a great instructor and he really knows his Python. (As well he should, as host of Talk Python and co-host of Python Bytes) His usual courses at Talk Python are pre-recorded and I believe this was Michael’s first time doing an online live class under the Talk Python banner. (Before the pandemic, I think Michael would conduct live, in-person classes for companies)
Web Browsers: Linux Update; Firefox mistakes
It’s been seven months since I last wrote about testing out new browsers on my computers. In addition to talking about what I’m doing, I wanted to muse about whether Mozilla really missed the mark with Firefox.
I’m going to start with the second point first. I forgot what brought them to my attention, but it turns out that while there are less browsers based on Firefox than there used to be (most of them are based on Chromium nowadays), there are at least two browsers based on Firefox that are still being developed: Waterfox and Palemoon. Waterfox is privacy-focused. They make a big deal about that on their site and FAQ. Palemoon is focused on being efficient and (it seems to me) still uses the old Firefox extensions. Why does this mean that Mozilla messed up? Well, first of all, I believe that Mozila sees Firefox as a privacy-focused browser. They may or may not have the same protections as Waterfox, but if they do, they have done a very bad job of marketing it. When it comes to Palemoon, I remember (at least according to commenters on Ars Technica) that when Firefox changed their extension format and caused all the old extensions to be deprecated, a lot of folks left for Chrome. At the time there wasn’t really much distinguishing the browsers, but getting rid of all the extensions, which are heavily used by power users, seemed like a really bad way to keep market share.
Percy Sutton Harlem 5K 2022
The Percy Sutton Harlem 5K was both the next race I’d registered for after the Front Runners LGBT Pride Run, and the first race after my doctors cleared me to start running again (“for reals this time”) after an X-Ray and MRI to make sure things were OK in that tiny area under the big toe where there’s so much going on. Both doctors told me to ease myself back into running. They also both gave me the metric of using the next day’s presence or absence of pain as a way to tell if I was doing OK. After the past couple months of trying things out, I’ve come to the conclusion that the best shoe for me is the New Balance 860. Since my old one was worn out (which is why I switched to the 1080 for the BK Half - which may (at least partly) be the reason for my injury), I got myself a new pair at the New Balance store located inside the NYRR RunCenter when I went to pick up my bib. I also took advantage and had them confirm my shoe size while I was there. For this race I chose to run with a dancer pad since my podiatrist is making me new orthotics with a cutout, both doctors suggested at least starting out using it, and I’d learned a new position for the pad that kept my sesamoid area safe while not causing me pain in the other toes. Bad placement of the pad caused me pain during the Pride Run.
Programming Update May-July 2022
I started working my way back towards spending more time programming as the summer started (in between getting re-addicted to CDProjektRed’s Gwent).
I started off by working on my btrfs snapshot program, Snap in Time. I finally added in the ability for the remote culling to take place. (My backup directories had started getting a LITTLE too big) I also added in official text log files so that I wouldn’t have to rely on my cronjob log file hack.
A Six Year Old's view of Geopolitics
A week ago Stella asked me, “Daddy, why is China fighting Ukraine?”
I told her, “No, China isn’t fighting Ukraine. Russia is fighting Ukraine.”
She thought for a moment and she asked, “Russia wants to take over Ukraine?”
After I answered in the affirmative she asked, “If Ukraine wins the war, does that mean they get to take over Russia?”
After I let her know that wasn’t the case, I did think about how it certainly seems fair play. If losing means losing your country, shouldn’t winning mean that you win the other’s country? And there have certainly been wars like that in the past, but I don’t think any modern wars have followed that pattern.
Front Runners New York LGBT Pride Run 4M
As I mentioned in my Setbacks post, I’ve injured my foot. At first I thought it was metatarsalgia, but it’s a closely related issue - sesamoiditis. My podiatrist cleared me to attempt a run after a week and predicted things would be fully healed by 2 weeks in. There were 2 key changes I had to make. First, I had to change out the shoes I wear daily to work - I’d chosen a New Balance model that didn’t have a rigid enough sole. Second, I had to wear dancer pads while recovering. As opposed to the metatarsal pad I’d originally sought out from CVS, it doesn’t cushion the area receiving pressure. Instead it puts the pressure everywhere else. More about that later. I spoke with the coach I’m using to get ready for the Marathon and we agreed that I could try and run the race, but had to keep my pace lower to reduce the chance of injury.
Who is in Control? The Fitness Tracker or You?
If there’s one thing I always try and do, it’s to see things from the perspective of others. It doesn’t have to mean that I’ll agree with the person or even think they’re also in the right. But sometimes I come across someone who sees things so differently that I can’t quite comprehend how they could see things so differently. The funny thing is that this doesn’t involve the biggest divide in America now - politics. Rather it’s a lack of self-control that, perhaps, makes me sound like the old man I’m becoming?
Setbacks
I’ve already communicated this with most of my family and friends who support me in running, but I’ve suffered my second setback of 2022. The first one was back in January when I had to miss out on my first chance to do an in-person half marathon due to catching a really bad cold or flu. I don’t remember which, only that it wasn’t COVID.
Now, a few days away from my next 10K, I seem to have developed a pain in the ball of my right foot. I will be seeing a doctor to find out what it actually is, but there’s a 99.99999% chance that it would not be a good idea to even attempt to run the 10K at a slow speed if I want a chance of recovering in time for the marathon this fall.
If you get a LEGO Boost set and can't update the firmware...
There’s apparently a bit of a software fail for the LEGO company. When you launch the LEGO Boost app, it won’t continue until you’ve updated the firmware. It asks you to connect so it can update it, but it never actually updates. As I learned in this reddit thread, you actually need to get a different app and use that to update the firmware. Having to use a different bit of software while making you think the software you expect to use can handle the firmware upgrade is a HUGE fail in my book. Hopefully they fix this soon, but if they don’t -at least this resource can be here for anyone searching Google for the answer.