-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


Programming Leftovers


Posted by Roy Schestowitz on Aug 23, 2022


SUSE and Red Hat Leftovers

Security: Patches, Flaws, and FUD



accessing webassembly reference-typed arrays from c++ -- wingolog


↺ accessing webassembly reference-typed arrays from c++ -- wingolog


> The WebAssembly garbage collection proposal is coming soonish (really!) and will extend WebAssembly with the the capability to create and access arrays whose memory is automatically managed by the host. As long as some system component has a reference to an array, it will be kept alive, and as soon as nobody references it any more, it becomes "garbage" and is thus eligible for collection.


> (In a way it's funny to define the proposal this way, in terms of what happens to garbage objects that by definition aren't part of the program's future any more; really the interesting thing is the new things you can do with live data, defining new data types and representing them outside of linear memory and passing them between components without copying. But "extensible-arrays-structs-and-other-data-types" just isn't as catchy as "GC". Anyway, I digress!)


> One potential use case for garbage-collected arrays is for passing large buffers between parts of a WebAssembly system. For example, a webcam driver could produce a stream of frames as reference-typed arrays of bytes, and then pass them by reference to a sandboxed WebAssembly instance to, I don't know, identify cats in the images or something. You get the idea. Reference-typed arrays let you avoid copying large video frames.



Why Squish is the best choice for GUI testing


↺ Why Squish is the best choice for GUI testing


> The Squish GUI Test Automation Tool makes it easy to test applications across a range of platforms. Its support for Qt is excellent.



Windows 10 & remove "non-removable" keyboard layouts


↺ Windows 10 & remove "non-removable" keyboard layouts


> The whole thing is indicative of an unintentional "nationalistic" trend whereby software tries to present data in a location-detected language rather than your chosen one.



Nim compiled in OpenEmbedded take-2


↺ Nim compiled in OpenEmbedded take-2


> That first attempt, did compile 'nim' and 'koch', but did not succeed with 'nimble', 'nimgrep' and 'nimsuggest'. However, today have succeeded with those last three. Compiling on a x86_64 host OS, for a i686 32-bit target, which is good, as issues are likely to surface when cross-compiling to a very different architecture, in this case from a 64-bit to a 32-bit CPU.



Nim language documentation


↺ Nim language documentation



OCR batch processing based on internal-multi threading


↺ OCR batch processing based on internal-multi threading



Linux Format 293


↺ Linux Format 293


> Get into coding, the fun way! We take you by the hand and guide you through your first space invaders project, explaining the coding principles, what editor to use, how Git can help and taking your first steps writing your own code and controlling physical Pi projects.



A Guide to Using Bash Arrays: Examples


↺ A Guide to Using Bash Arrays: Examples


> The Bourne Again Shell is the default shell on virtually every Linux distribution. While it’s not as fleshed out as most programming languages, it is considered a programming language by many.


> Software engineers are accustomed to using the Linux command line to navigate several aspects of development. Linux administrators rely on it fully to complete their tasks.


> However, Bash arrays tend to remain one of the more obscure features of the CLI. Besides, the questionable syntax results in many developers turning away from using the arrays.


> Bash arrays are primarily utilized to store data in an indexed manner. You can compare it to storing data in variables, with the difference being that Bash arrays allow you to call back the data using predictable indexed numbers. Furthermore, Bash arrays also allow you to create associations.


> Bash arrays are an often-overlooked aspect of Bash scripting, mastering which can enable you to customize administrative tasks, run several tasks simultaneously, and even automate tasks. They are an invaluable tool to any Linux power user since using the arrays is necessary when working with scripts that store a large volume of information.


> This tutorial walks you through all the fundamental operations of Bash arrays.



Bash 08 – Arrays and For Loops


↺ Bash 08 – Arrays and For Loops


> This article is another one that contains some very important information. Arrays are useful in any programming language and Bash is no exception.


> Arrays are like variable because it holds a value. Let’s look at arrays a little more.




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Fri Jun 14 04:10:21 2024