Programming Leftovers
-
Setting Up a CI System Part 5: Time-sharing your test machines - mupuf.org
This article is part of a series on how to setup a bare-metal CI system for Linux driver development.
-
An alternate ESP32 flashing utility
esputil is a command line tool for managing Espressif devices. It is a replacement for esptool.py.
-
Compiling QML to C++: A 4x speedup
As you may know, you can compile your QML code to C++ these days. There are multiple reasons why you would do this. One of them is that it leads you to better structured code by forcing you to declare the types you're using. The most important one is that the resulting program will run faster.
In my previous posts I've been rather cautious about the actual performance numbers. This is for a reason. The Qt Quick Compiler cannot translate any old JavaScript you throw at it, and depending on the exact characteristics of your code, the resulting speedup varies greatly. We're constantly working on increasing the Qt Quick Compiler's coverage of the QML language, but it's still a long way to go.
-
Permission APIs in Qt 6.5
Many features of today's devices and operating systems can have significant privacy, security, and performance implications, if misused. As a result, it's increasingly common for platforms to require explicit consent from the user before accessing these features.
-
libcpucycles – count CPU cycles on several architectu
libcpucycles is a public-domain microlibrary for counting CPU cycles. Cycle counts are not as detailed as Falk diagrams but are the most precise timers available to typical software; they are central tools used in understanding and improving software performance.
-
This Week in PSC (092) | Perl Steering Council [blogs.perl.org]
Having been off for two weeks, we spent a while just catching up with the state of the world. Not much of note to report this week.
-
John Park’s CircuitPython Parsec: Short vs Long Press
You can use a single button to mean two different things depending on how long you press it! Learn how to use a short duration vs. a long duration button press in CircuitPython.
-
Ross Burton: PySnooper and BitBake
The biggest catch is remembering that BitBake classes and recipes are not Python, they just have Python blocks in, so you can't decorate a function inside a class or recipe. In this case you'll need to use with block.
This looks like a very useful tool and I look forward to using it next time I'm tearing my increasingly greying hair out.
-
How to Install NetBeans on Linux
Apache NetBeans is an open-source IDE that lets you create desktop, mobile, and web applications in various programming languages such as C, C++, Java, PHP, etc. It is a popular choice of IDE for developers around the world due to its versatility, ease of use, and range of features.
NetBeans is available for Windows, Linux, and macOS. Let’s look at some of the features of NetBeans and ways to install it on Linux.