Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Nov 10, 2022

=> Leftovers: openSUSE, LibreOffice, Fastly, and Ubuntu | Microsoft's Monopoly Abuse and Surveillance

Understanding qAsConst and std::as_const - KDAB

=> ↺ Understanding qAsConst and std::as_const - KDAB

Every now and then, when I submit some code for a code review, people tell me that I forgot qAsConst.
Now I have one more enemy, namely: Clazy! It has also started saying this, and I guess it’s about time for me to figure out what is going on. When do I need qAsConst and why do I need to know these things?

Qt Creator 9 RC released

=> ↺ Qt Creator 9 RC released

We are happy to announce the release of Qt Creator 9 RC!

How to get started programming in Go | Enable Sysadmin

=> ↺ How to get started programming in Go | Enable Sysadmin

Go is an open source programming language that combines a dynamic language's ease of use with the reliability and performance of a statically typed, compiled language.

Append data to the URL query

=> ↺ Append data to the URL query

curl offered the -d / --data option already in its first release back in 1998. curl 4.0. A trusted old friend.
curl also has some companion versions of this option that work slightly differently, but they all have the common feature that they append data to the the request body. Put simply: with these options users construct the body contents to POST. Very useful and powerful. Still today one of the most commonly used curl options, for apparent reasons.
[...]
This new friend we call --url-query makes -G rather pointless, as this is a more powerful option that does everything -G ever did and a lot more. We will of course still keep -G supported and working. Because that is how we work.
A boring fact of life is that new versions of curl trickle out into the world rather slowly to ordinary users. Because of this, we can be certain that scripts and users all over will need to keep using -G for yet another undefined period of time.

V3D enablement in mailine kernel | Wen.onweb

=> ↺ V3D enablement in mailine kernel | Wen.onweb

If you enjoy using upstream Linux kernel in your Raspberry Pi system or just want to give a try in the freshest kernel graphics drivers there, the good news is that now you can compile and boot the V3D driver from the mainline in your Raspberry Pi 4. Thanks to the work of Stefan, Peter and Nicolas [1] [2], the V3D enablement reached the Linux kernel mainline. That means hacking and using new features available in the upstream V3D driver directly from the source.
However, even for those used to compiling and installing a custom kernel in the Raspberry Pi, there are some quirks to getting the mainline v3d module available in 32-bit and 64-bit systems. I’ve quickly summarized how to compile and install upstream kernel versions (>=6.0) in this short blog post.

MicroPython officially becomes part of the Arduino ecosystem | Arduino Blog

=> ↺ MicroPython officially becomes part of the Arduino ecosystem | Arduino Blog

At Arduino we like to experiment with new technologies to figure out if we can use them to improve the tools we make for our users. We’ve recently been experimenting with the Python language as a possible extension for our programming platforms, considering how it has become the number one language for many types of users. Specifically we’re looking at MicroPython, the version of Python that runs on microcontrollers. We’ve created a partnership with OpenMV, which ported their computer vision oriented virtual machine to some of our products and enabled us to do incredible stuff with the Nicla Vision (for example).

Thonny vs. Visual Studio Code: Which One Is Better for the Raspberry Pi User? [Ed: Microsoft's proprietary software is bad for a large number of reasons; why even entertain it here among a narrow choice?]

=> ↺ Thonny vs. Visual Studio Code: Which One Is Better for the Raspberry Pi User?

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2022/11/10/Programming_Leftovers.2.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
139.786168 milliseconds
Gemini-to-HTML Time
0.785473 milliseconds

This content has been proxied by September (ba2dc).