Conan's CMakeDeps
and CMakeToolchain
generators provide "transparent" integration with CMake, and support for
multi-config builds. By "transparent", we mean you can use Conan to supply the dependencies for a CMake project without modifying its CMakeLists.txt file.
By multi-config, we mean the ability to compile Debug or Release binaries in …
Other articles
Using Ansible to Manage Personal Computers
Static Runtime Polymorphism
Disclaimer I am not a computer scientist, nor a C++ expert. If the terminology I use in this post is not 100% accurate, I apologize.
Introduction
When writing C++ libraries, I tend to shy away from inheritance. Now, sometimes inheritance is the right tool for the job, and if you …
read moreSimple Type Erasure in C++ with Legacy Code Integration: Part II
Disclaimer I am not a computer scientist, nor a C++ expert. If the terminology I use in this post is not 100% accurate, I apologize.
In the previous post, I showed how to implement a basic type erasure class that could be used with legacy inheritance-base classes. The pattern required …
read moreSimple Type Erasure in C++ with Legacy Code Integration
Introduction
Disclaimer I am not a computer scientist, nor a C++ expert. If the terminology I use in this post is not 100% accurate, I apologize.
Sometimes in C++, you need to store an object whose type is not known until runtime. For example, it may depend on user input …
read moreUsing OBS with Zoom
Using a physical drive with VirtualBox
Linux is my main operating system, but there are times when I need to use a Windows machine. So, I have a Windows install running in VirtualBox. I used to run a Windows virtual machine that was installed onto virtual hard drive, but I then found that you can also …
read moreOpen a terminal in the current working directory
Machine Learning and Regression Models with PyTorch: Part II
Introduction
In the first part of this series, we walked through an example of using PyTorch to do linear function fitting. In this part, we will see how to use a "neural network" model. The example will only require a few modifications to the examples from the previous post.
As …
read more