-
RISC-V RV32I assembly with Ripes simulator
Assembly is the closest resembling programming language to pure machine code instructions. The available instructions depend on the architecture and even supported extensions. In this tutorial the available instructions will be limited to the most basic set of RISC-V instructions. This set of instructions is denoted as RV32I meaning that it enta... Read More
-
Getting started with RISC-V
So you have heard of this RISC-V thing typically talked about in the context of microprocessors and to a lesser degree also for desktop processors. RISC-V is an open-source hardware instruction set architecture (ISA). Similarly to how X86 for Intel and AMD is a closed source ISA. Being an open-source ISA any manufacturer can develop new processo... Read More
-
Dynamically adding models to sqlalchemy declarative_base
This is a Python tutorial showing how models can dynamically be added to an instance of declarative_base without triggering pep8 unused import. This example works best if the project uses a directory structure similar to the following (__init__.py has been omitted): database database_manager.py models exam... Read More
-
Installing Ubuntu on Acer Spin UEFI devices
Installing Ubuntu on the Acer Spin 1 has been proving to be quite the hassle to me. Fortunately; following these steps allows other to easily install Ubuntu on the Acer Spin 1 and possible many other Acer UEFI devices. Installing the bootloader will likely fail steps are provided to recover from this and perform bootloader repair. Steps install... Read More
-
xrandr – Treat Multiple Monitors as Single Screen
Many window managers such as xfce, gnome or kde have graphical utilities to help configure a multi monitor setup. However, almost none if any support configuring multiple monitors as a single screen. In the past technologies such as AMD eyefinity or Nvidia Mosaic enabled these features but they are vendor specific. Problems around Linux compatib... Read More