Programming Leftovers
-
AQEMU GUI for QEMU compiled in OE
This morning I posted about compiling QtEmu:
https://bkhome.org/news/202307/qtemu-gui-for-qemu-compiled-in-oe.html
Prior to that, I had tried a few other GUIs for QEMU, with limited success. I did try AQEMU, but it crashed at startup, with "Segmentation fault". The official project is here:
https://github.com/tobimensch/aqemu
...but the latest source from there crashes. I also tried version 0.9.4 from here, which also crashed at startup:
The Debian package maintainers are still on 0.9.2, but with several patches: [...]
-
Pretty Print a JSON String in Python
JSON, short for JavaScript Object Notation, is a popular data format used extensively in data interchange. It is compact, easy to read, and easy to parse, making it a common choice for data storage and transmission over networks.
-
ESP32-S3 based Arduino Nano ESP32 board supports Arduino and MicroPython programming
The Arduino Nano ESP32 is an ESP32-S3-based WiFi and Bluetooth microcontroller board designed for IoT applications for hobbyists and enterprise use cases. The new Nano board comes with 8 MB PSRAM and 16 MB flash storage and can be programmed with either the Arduino or MicroPython languages. It’s not the first ESP32 board from Arduino, as the Nano RP2040 Connect pairs a Raspberry Pi RP2040 MCU with an ESP32 module from u-Blox and the just-released Arduino UNO R4 WiFi marries a Renesas RA4M1 Arm Cortex-M33 MCU with an ESP32-S3-MINI-1 module.
-
Cython 3.0.0
Since Cython 3.0.0 started development, CPython 3.8-3.11 were released. All these are supported in Cython, including experimental support for the in-development CPython 3.12. On the other end of the spectrum, support for Python 2.6 was dropped.
Cython interacts very closely with the C-API of Python, which is where most of the adaptation work happens. Independently, Cython strives to be able to parse newer Python constructs for use with its pure python mode, which has been a focus. In short, this allows to compile a wider range of Python code into optimized C code.
-
Cython 3.0 released [LWN.net]
Version 3.0 of Cython (described as ""a programming language that makes writing C extensions for the Python language as easy as Python itself"") has been released. Changes include support for Python through 3.11 (but 2.6 support was dropped), the implementation of a number of PEPs, initial support for the CPython limited API, better exception handling, and more.
-
Bash Basics Series #6: Handling String Operations
In this chapter of the Bash Basics series, learn to perform various common string operations like extracting, replacing and deleting substrings.