Programming Leftovers
-
PHP Associative Arrays - Pi My Life Up
This tutorial will cover PHP associative arrays and how you can create, edit, and access them. This array type will be helpful in many use cases, especially when you need a clear identifier for a value.
-
Why and How to Learn Lua [Ed: Microsoft apologists and boosters ("FOSSlife Team") only judge Lua by how many projects are controlled by Microsoft, as if nothing else exists]
“Lua is a high-level programming language used for scripting in games and other tasks,” Samuel Ogunleke says. Additionally, “Lua is simpler than Python, and it has a very short learning curve. With its simplicity, all data structures are represented almost the same way. It is easy to write functions, conditional statements, loops, and everything,” he says.
-
Qt for MCUs 2.2.3 LTS Released
Qt for MCUs 2.2.3 LTS (Long-Term Support) has been released and is available for download. As a patch release, Qt for MCUs 2.2.3 LTS provides bug fixes and other improvements, and maintains source compatibility with Qt for MCUs 2.2.x. It does not add any new functionality.
-
Kirkstone-series packages rolled back and forward
Compiling the packages that are intended to be in the new EasyOS Kirkstone-series is a juggling act. I am having to roll some packages back to earlier versions and some forward.
Ghostscript for example, rolled back to 9.20.
OE Kirkstone has ffmpeg 5.0.1; however, vlc in kirkstone won't compile. The OE devs are probably waiting for a later version of vlc that fixes it. But I think that a lot of apps that use ffmpeg are not yet ready for 5.0, due to major api changes. So I rolled back to ffmpeg 4.4.
Kirkstone has rust 1.59; however, I discovered it has some problems, such as unable to create a 'rustc' that will work in the target evironment. OE master has rust 1.65, that I have rolled forward to.
-
16 reasons DDEV will be your new favorite development environment | Opensource.com
In 2022, you have a wide variety of local development environments to choose from, whether you're a designer, developer, tester, or any kind of open source contributor. Because most of the tools and platforms contributors use happen to run on many different operating systems, you probably even have the choice of constructing your own environment. I'm the maintainer of DDEV, and here are 15 reasons I think you'll like it for your development environment.
-
RapidCompact version 6 update: new features - improvements
With the RapidCompact version 6 update we’ve added impressive new features and several improvements for handling your 3D models. Let’s have a look at the most important changes.
-
Day 8: I'll Let You Know Later - Raku Advent Calendar
Back when the web was young the only way that you could know whether a resource had changed its state was to manually re-request the page, this wasn’t really too much of a problem when there was only static pages which didn’t change all that often. Then along came server-side applications, the CGI and the like, these could change their state more frequently in ways that you might be interested in, but in effect you were still stuck with some variation of refreshing the page (albeit possibly initiated by the browser under the instruction of some tag in the page), so if, say, you had an application that kicked off a long running background task it might redirect you to another page that checked the status of the job that would periodically refresh itself then redirect to the results when the task was complete, (in fact I know of at least one reasonably well known reporting application that does just this still in 2022.)
Then sometime around the turn of century things started to get a lot more interactive with the introduction of the XMLHttpRequest API which allowed a script in a web page to make requests to the server and, based on the response, update the view appropriately, thus making it possible for a web page to reflect a change in state in the server without any refreshing ( though still with some polling of the server in the background by the client-side script.) Then along came the WebSocket API which provides for bi-directional communication between the client and server, and Server-Sent Events which provides for server push of events (with associated data.) These technologies provide means to reflect changes in an application state in a web page without needing a page refresh.
-
Rust support coming to GCC
Gccrs — the Rust front-end for GCC — has been approved for merging into the GCC trunk. That means that the next GCC release will be able to compile Rust, sort of; as gccrs developer Arthur Cohen warns: "This is very much an extremely experimental compiler and will still get a lot of changes in the coming weeks and months up until the release". See this article and this one for more details on the current status of gccrs.