Some Useful Python Utilities

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.
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]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]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]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]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]