As of this writing I moved on from my previous host and I am now moving to this more modern and secure location. My previous host has been getting more and more expensive and less and less modern featured for years.
It has been quite a while since I last wrote about anything. It has been hard finding a topic that motivated me enough to write about. Python 2 EoL Python 2 has had a long run, longer than it should have. On January 1, 2020, Python 2 reached EoL after…
Installing pyaudio on macOS is almost straightforward, except that you need portaudio installed. The easiest way to remedy this is to use homebrew. If you have your homebrew installing in the recomended location it is as simple as the following: brew install portaudio pipenv install pyaudio However if you have…
Background Sometimes you find yourself needing to work at the byte-level in an application you are working on. I feel that in Python there are not enough examples of how to do this. There is also a lot of potential to over-complicate the solution. This Example I plan to cover…
A Python Oddity I was using Python to encode a CSV file using a custom dialect recently when I noticed something odd. I noticed that the csv writer class takes an optional argument that enables you to change the line terminator. That's ok, however, the csv reader class does not…
The August 21, 2017 Solar Eclipse as photographed from Sparta, TN (35.9727° N, 85.5638° W). This was about 3.2 miles from the center of Totality! These images do not convey the magnitude of the experience. Knowing what to expect in general does not prepare you. If I tried to find…
Awhile back I had some thoughts on communication. If you've ever played World of Tanks Blitz you'd know that basically its a team of tanks against another team of tanks. With the pick up, fast paced nature communication is minimal at best (sometimes limited to a single "<<<<<<<<<" or ">>>>>>>>>"…
Problem: You've got a iPhone 5 that reports that it has 4g LTE service but 0 bars and, if you turn off LTE, it reports No Service under 3g. Solution: The fix, turn off all roaming . Settings > Cellular > Cellular Data Options > Roaming - Turn off…
SSLError Have you ran into trouble with SSLErrors after upgrading to Python 3.6 on macOS Sierra? For me, my first encounter was downloading the bokeh sample data (included here). Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits"…
Pip installs From github Installing a package from github is fairly simple. The following are examples of installing packages from github. # Install repo package from the url, master branch pip3 install git+https://github.com/username/repo.git @ Install repo from the specified branch pip3 install git+https://github.com/username/repo.git@branch # Install repo from the specified commit.…