Shallow Copy-On-Write VM Clones with LibVirt
Using Python to create a virtual machine linked clone
The LibVirt utility virt-clone
, by default, makes a full copy of all qcow2
disks of the original. In this post, I show how to use Python to make new qcow2
disks using the originals as the “backing store” and linking these new images to the LibVirt clone. The resulting virtual machine takes seconds to create and takes up hardly any additional space.
Migrating from Docker Compose to Podman
OpenGL with Python Part 2
Building up a simple foundation of modern OpenGL with shaders using Python, PyOpenGL and GLFW, we introduce the model-view-projection matrix and uniform variables.
[Read More]First Steps with OpenGL Using Python
Modern OpenGL with shaders is used with Python 3.7 via PyOpenGL and GLFW to create a simple hello world script that will be the starting point of diving deep into the GL shader language (GLSL).
[Read More]Controlling Subprocess Window Position from the Terminal
Comparing Python Script Performance Across Platforms
Wrangling cProfile Output
Organizing the results from Python’s profiling module helps compare them across disparate platforms, especially when the code path is different between them.
[Read More]Write Python with the Ease of FORTRAN!
Using Forpy to write a FORTRAN program that links in the Python runtime. This is called “embedding” and is the opposite of what is typically done through “extending” with something like f2py.
[Read More]Ghost Platform Using Docker
running ghost and nginx with docker compose
While ghost was great in that it provided a very convenient editor via the browser, I decided to switch to using Hugo hosting on GitLab. The maintenance of the Linux server hosting Ghost on Azure became too much and upgrading was always painful for some reason. However, I may still go back to Ghost and will keep this post here for future reference. Anywys, this post is mostly about Docker and less about Ghost.
[Read More]