Programming Leftovers
-
Linux’s sudo and su Are Being Rewritten in Rust
Two of the most important Linux utilities are being rewritten in Rust to provide greater memory safety for the critical functionality they provide.
Linux is a mult-user operating system with a root account that has ultimate access to the system. When a normal user needs to perform a task that would normally require root access, they can use sudo or su to temporarily elevate their privileges. This is a much safer option than logging into the root account directly.
-
How to Access Environment Variables in Python
Environment variables are a crucial aspect of any programming environment. They store configuration settings, system paths, and other essential data that applications rely on. As a Python developer, understanding how to access and manage these variables is vital to creating robust, adaptable, and maintainable applications.
-
Rakudo Weekly 2023.18 Thank You, Moritz
Moritz Lenz is a long time Raku collaborator (3.4K+ commits in the Rakudo, 3.4K+ documentation commits, 1.3K+ commits in roast). Which in itself already deserves a big Thank You! They also have been a TPRF Grant Committee member for a long time. But would like to step down from the Grant Committee soon.
-
Configuring Maui
This new entry will cover ways to configure global preferences for Maui Apps and Maui Shell.
MauiMan
MauiMan stands for Maui Manager, and exists for setting, saving, and syncing the configuration preferences for the Maui Apps ecosystem. These configurations are global, and some of them can be overridden by the apps themselves, but more about that later. To store the configurations MauiMan uses the MauiMan.conf config file, located at your local config path: for example ~/.config/Maui/MauiMan.conf.
(!) The settings modifications are only written/saved when using the MauiMan API directly.
MauiMan consists of two parts, a (1) background server that syncs and broadcasts the preference properties changes to all the running Maui Apps, and a (2) public API, that allows app developers to easily hook their apps to the system preferences. The MauiMan server program is named MauiManServer and uses the DBus IPC.
The public API and the server are divided into modules: for different setting categories, such as Theme, Background, Accessibility, FormFactor, etc.
-
VBA Project References, (Tue, May 2nd)
I was asked where one can find VBA project references inside an ole file with VBA code.
-
10 of the Best Programming Languages for IoT
Sure, no-code and low-code IoT platforms are a thing. But chances are you’ll need to write some code at some point. You may be able to get by running someone else’s code if you’re building a common project, but for the most part, you’ll need to be acquainted with code. /blockquote>