Recent Posts

C++ Dev Containers: Custom Environments for VS Code
VS Code’s dev containers are useful for C++, where the option of using Docker to overcome C++ tooling limitations really shines. Run locally or in CodeSpaces.

A CMake Starter Project
Introduction This article is a follow-on to my recent article, Running the CMake Tutorial in a VS Code Container. Toward the end of that tutorial,

Running the CMake Tutorial in a VS Code Dev Container
The VS Code Dev Containers plugin works great with custom containers. Build a custom container for C++ and CMake, and debug code in it seamlessly.
Featured

How To Use Docker Python Images and Docker Compose With Python
Docker and Python are two great tools that work great together to simplify the development and deployment of an application. Most of my readers are naturally already quite familiar with Python, and I’m sure most are familiar with Docker, but if you’re not, don’t worry. The answer to can you

How to Work With Google Sheets In Python and Pandas
Working with spreadsheets in Python on your local machine is relatively simple. For example, Pandas can open a spreadsheet into a DataFrame using read_excel. To do this, Pandas relies on another package for reading and writing spreadsheets, openpyxl. Once you’ve installed this package using your favorite package manager, the process

NumPy Examples — Practice Questions Make You an Expert
Have you learned some NumPy, but now your learning has stalled because you don’t have any practice questions or exercises to review what you’ve learned? This practice set of forty-five NumPy examples features NumPy questions in varying degrees of difficulty. Some are very common examples of NumPy arrays, others get

SymPy: Solving Math Equations in Python and Jupyter
SymPy is a Python library for symbolic mathematics. It’s free and open source, and because it’s written entirely in Python, it’s easy to install and use. Symbolic math software tools, also called Computer Algebra Systems (CAS), allow you to work with mathematical equations more or less as you would on

Creating a Python Interactive Plot Using Matplotlib in Jupyter
While static plots tell a story with data, interactive plots let your users explore that story on their own. Simple interactive plots allow for basic operations like scaling or panning a view, which is often necessary to make the data relationships appear at all. More advanced plots allow the user

Pandas Examples and Review Questions to Make You an Expert
Pandas is a hugely popular tool for data analysis and machine learning. It builds on the strengths and speed of Numpy to allow for mixed column types in a two-dimensional DataFrame that is indexable by column or row. As popular as it is, Pandas offers so many different ways to