Cling is a pretty cool C++ interpreter built at CERN, which shortens typical C++ development workflows by giving users a REPL (Read-eval-print loop), which means that you can type your C++ code, press ENTER and see the result almost instantly. However, out of the box Cling does not print the contents of structs, classes etc. In this blog post, I explain how a custom value printer can be added at runtime to expose the encapsulated data.
Over time, I’ve encountered various issues with booting my Windows 10 VM that’s accelerated using PCI-passthrough, VirtIO etc. I believe some of the boot issues to be unique to that kind of setup, and have not always easily found solutions to these problems online, so I wanted to document my experiences for the benefit of others.
I’ve been experimenting a bit with Software Defined Radio, and specifically the gqrx and gnuradio tools. The I/Q (In-Phase/Quadrature components) recorder in gqrx can record .raw files, which handily record the entire spectrum visible in the waterfall window. In this blog post, I will show how to load data from those files, extract a subset of the recording, and save that into a new file. Unlike .wav files (for which a plethora of tools exist), I found little documentation on how to work with these files outside gnuradio/MATLAB/Octave.
In this blog post I describe the journey from buying a Rock64 single board computer (basically a less mainstream but more powerful Raspberry Pi), booting, troubleshooting and porting Arch Linux ARM to it.
In this blog post, I will explain how to compile the Open Overlay Router (OOR) software for MIPS and how to set it up on an Ubiquiti EdgeRouter Lite to participate in the Locator/ID Separation Protocol (LISP) beta network.
Sometimes you might want/need to use NAPTR DNS records as part of your SIP setup. A while ago it was quite difficult to find DNS providers that support them and don’t charge you an arm and a leg for it, but the situation has improved quite a bit. Below are some DNS service providers that …
Setting up a Windows VM to use a graphics card via PCI-passthrough can yield great performance benefits for the VM. However, one loses the flexibility of easily moving the VM’s video output from one monitor to another; in the past, one could just drag the VM’s VirtualBox window from one screen to another and maybe …
My latest hack is for dual-booters: The OS switcher lets you select the operating system (OS) you wish to boot at the flick of a switch, anytime. Booting the OS of your choice no longer requires you to sit in front of your computer, wait for a boot selection screen to show up, and then press some buttons at just the right time.
My quest to setup a perfect VM to replace my native Windows installation continues… Can I install Windows on a dedicated HDD in such a way that I can run it natively as and as a VM? That would allow me to squeeze out the remaining percentages of performance if I absolutely have to.
I’ve finally managed to setup a Windows VM with direct access to my graphics card and my network interface card (NIC)!