Bonum Certa Men Certa

Links 19/05/2023: New Beta of deepin Linux and PipeWire 0.3.71



  • GNU/Linux

    • Desktop/Laptop

      • Beebom7 Best Linux Laptops to Buy in 2023 | Beebom

        Linux laptops are still considered pretty niche since not a lot of people are interested in using Linux, let alone purchasing a fully-fledged Linux machine. Although, we have seen the trend shifting lately with more people switching to Linux now than ever before. If you are one of those who’s been using Linux for quite some time and want to buy a Linux laptop, here are all the options you have in the market right now.

        There are not many Linux laptop manufacturers out there, but the ones that are already there are doing an excellent job with the hardware selection. This list contains laptops from the likes of System76, KDE, Star Labs, and others.

      • Beta Newsdeepin Linux V23 can replace Windows 11 on your PC

        If you are dissatisfied with Windows 11 or macOS, and intrigued by Linux, deepin, a distro from China, could be a great choice to switch to. It's one of the most beautiful operating systems around, and sports a well-designed user interface.

        The newest version of that operating system, deepin V23 Beta, is now ready to be downloaded. This updated version of deepin comes with a number of new features including DDE changes, terminal, cross-version upgrades, and application compatibility.

    • Audiocasts/Shows

      • Tux DigitalLinux Out Loud 63: Linux Onboarding

        This week, Linux Out Loud chats about improving onboarding for new linux users. Welcome to episode 63 of Linux Out Loud. We fired up our mics, connected those headphones as we searched the community for themes to expound upon. We kept the banter friendly, the conversation somewhat on topic, and had fun doing it.

    • Kernel Space

      • LWNThe ongoing trouble with get_user_pages()

        The 2018 Linux Storage, Filesystem, and Memory-Management (LSFMM) conference included a session on get_user_pages(), an internal kernel interface that can, in some situations, be used in ways that will lead to data corruption or kernel crashes. As the 2023 LSFMM+BPF event approaches, this problem remains unsolved and is still the topic of ongoing discussion. This patch series from Lorenzo Stoakes, which is another attempt at a partial solution, is the latest focus point.

      • LWNThe rest of the 6.4 merge window

        Linus Torvalds released 6.4-rc1 and closed the merge window on May 7. By that time, 13,044 non-merge changesets had found their way into the mainline repository for the 6.4 release. A little over 5,000 of those changesets came in after our summary of the first half of the merge window was written. Those changes brought a long list of new features and capabilities to the kernel.

      • BootlinYocto Project 4.2 released – Bootlin contributions inside

        The Yocto Project has published its new release: 4.2, also known as "Mickledore". It features improved Rust support, BitBake engine improvements, support for Linux 6.1 (the latest Long Term Support kernel), new QEMU features, testing improvements and of course many other new features and package updates. See the release notes for all details.

    • Graphics/Multimedia

      • The Register UKAsahi Linux developer warns the one true way is Wayland ● The Register

        Hector Martin, one of the lead developers of Asahi Linux, is warning that Wayland is the future of graphical desktops on Apple Silicon Macs.

        In a lengthy post on Mastodon, one of the lead developers of the Asahi Linux project to port Linux to Apple Silicon-powered Mac computers has asked users not to use X.org, saying: "we absolutely do not have the bandwidth to spend time on it."

        Martin warns that the future of graphical desktops on Apple Silicon is Wayland and nothing but Wayland. Xwayland will be supported, so that X.org apps will run under Wayland based desktops, but the developers hope that people will use only Wayland-based environments on Asahi Linux and related distros.

        Up to a point, this is not such a shock for the nascent Linux ecosystem on Arm-ISA-based Macs. These machines have a single family of GPUs, which is closely integrated with the main processor, so there are no questions about which GPU vendor to choose, or what drivers a machine is running – because you have no choice. Additionally, the laptop models' displays, as well as Apple's own external screens, are all hi-DPI devices, or as Apple calls them "retina displays". These effectively mandate the use of fractional scaling – something that X.org does not support well. The Apple Silicon market is a closed one, without the free choice of mix-and-match GPUs and displays found in commodity PCs.

      • PipeWire 0.3.71

        This is a bugfix release that is API and ABI compatible with previous 0.3.x releases.

      • Free Desktoplibei 1.0.0

        libei 1.0.0 RC1 is now available. libei is a library to send Emulated Input (EI) to a matching Emulated Input Server (EIS) which can receive those events with libeis, also part of this project.

      • Dave AirlieDave Airlie (blogspot): lavapipe and sparse memory bindings

        Mike nerdsniped me into wondering how hard sparse memory support would be in lavapipe.

        The answer is unfortunately extremely.

        Sparse binding essentially allows creating a vulkan buffer/image of a certain size, then plugging in chunks of memory to back it in page-size multiple chunks.

        This works great with GPU APIs where we've designed this, but it's actually hard to pull off on the CPU.

        Currently lavapipe allocates memory with an aligned malloc. It allocates objects with no backing and non-sparse bindings connect objects to the malloced memory.

    • Instructionals/Technical

      • Paul HeinleinStatic Addresses in OpenStack Networking

        When you launch a virtual machine on an OpenStack-managed network, the VM generally receives a random address in the active subnet. A researcher at work, however, needed a system for launching instances that have static addresses so he could preconfigure the local /etc/hosts file with all his machines.

      • Richard W.M. Jones: nbdkit’s evil filter

        If you want to simulate how your filesystem behaves with a bad drive underneath you have a few options like the kernel dm-flakey device, writing a bash nbdkit plugin, kernel fault injection or a few others. We didn’t have that facility in nbdkit however so last week I started the “evil filter”.

      • FOSSLinuxTroubleshoot boot problems by reinstalling GRUB on Linux

        The GRand Unified Bootloader, or GRUB, is a crucial component that manages the boot process for Linux systems. Sometimes, due to system errors, updates, or disk corruption, GRUB may malfunction, leading to boot issues. Fortunately, reinstalling GRUB can resolve these problems and get your system up and running again.

      • TecAdminTR Command in Linux: A Guide with Practical Examples

        In the realm of Linux, the `tr` command is a vital tool that users can employ for text processing. TR, short for translate, is utilized to translate or delete characters from standard input, writing to standard output. It may seem simple on the surface, but the `tr` command offers a great depth of functionality.

      • Red HatBuild lean Node.js container images with UBI and Podman

        Building a container image for your Node.js application might sound like a trivial task, but there are some pitfalls you’ll want to avoid along the path to containerizing your application. It is all too easy to accidentally include sensitive files, run more than one process in the container, run as root, or ship bloated container images. Because all of these mistakes reflect an image constructed without due care, reducing bloat reduces them all.

        This post focuses on the “bloated container images” mistake that’s pretty easy to make when building Node.js application container images. Keep reading to learn about container image layers, how you can slim down a Node.js container image based on Red Hat’s Universal Base Images by over 70% (see Figure 1), and even more best practices for building containers.

      • FOSSLinuxA comprehensive guide to Linux Bootloader installation

        The GRand Unified Bootloader, more commonly known as GRUB, is the default bootloader for most Linux distributions. It's the first software that runs when a computer starts and is responsible for loading the operating system into memory. GRUB is especially useful in multi-boot setups, as it allows users to choose from multiple operating systems during startup.

      • Make Use OfManage Package Dependencies on Linux Like a Pro With the ldd Command

        Learn dependency management using the ldd command to better administer your Linux machine and installed packages.

      • Open Source For UWhat Are Subreapers In Linux?



        Zombie and orphan processes are popular concepts that are commonly discussed among system programmers and operating system developers. So what are zombie processes and why does the kernel maintain them? To answer this question, we have to first understand the basics of process cleanup/termination in the Linux kernel.

        In Linux, a process is a running instance of a program or application. It can be seen as an individual task that is being executed on the system. Every process in Linux has a unique process ID (PID), which is a number assigned to it by the operating system. The PID can be used to identify and manage the process. If we close or terminate a program or application, the process exits/terminates.

      • Make Use Ofwhich vs. whereis vs. whatis in Linux: What Are the Differences?

        You might have used which, whereis, and whatis commands on Linux several times. All three commands help you find information about other Linux commands. These commands look similar, but they do have some differences.

        Here's a detailed comparison of the which, whereis, and whatis commands on Linux.

      • HowTo Geek6 Linux Terminal Mistakes Beginners Make

        The Linux command line traces its family tree all the way back to 1969, and it’s still the most efficient way to perform certain tasks. Just make sure you avoid these common mistakes, if you’re just starting out.

    • Games

      • Boiling SteamNew Steam Games with Native Linux Clients with Super Bunny Man and Halftime Heroes – 2023-05-17 Edition

        Between 2023-05-10 and 2023-05-17 there were 19 New Steam games released with Native Linux clients.

      • OMG UbuntuLutris Update Adds Proton Support, Itch.io Integration & More

        A new version of Lutris, the open-source game launcher for Linux, is available to download.

        For those not acquainted with it, Lutris makes it easier to install, launch, and play games on Linux by integrating multiple gaming platforms, including Steam, GOG, and Humble Bundle (amongst others), into a swish-looking, unified “interface”.

        Lutris supports native Linux games, Windows games run through compatibility layers like Wine and Proton, and games run using emulators. Through one UI, gamers can manage their libraries, install dependencies, configure graphics settings, and apply tweaks to improve gaming on Linux.

  • Free, Libre, and Open Source Software

    • GNU Projects

      • LWNThe end of the accounting search [LWN.net]

        Some things, it seems, just cannot be hurried. Back in 2007, your editor first started considering alternatives to the proprietary accounting system that had been used by LWN since the beginning. That search became more urgent in 2012, and returned in 2017 with a focused effort to find something better. But another five years passed before some sort of conclusion was reached. It has finally happened, though; LWN is no longer using proprietary software for its accounting needs.

        The system used until now — QuickBooks — was a legacy from the beginnings of the company in 1997. It has long exhibited a full litany of the sorts of misbehaviors endemic to proprietary systems. Regular (paid) updates were forced, despite the fact that new versions brought little in the way of new capabilities. Crashes were frequent; QuickBooks users know to make backups every few minutes to avoid losing work. The software had arbitrary limits meant to force "upgrades" to the "enterprise" version. More recently, Intuit has discontinued support for the desktop version entirely in an effort to force all users to its online, paid-by-the-month service.

        Enough was finally enough; your editor took some time to go back and review the various systems that had been considered in the past. It turned out that the scripts developed to pry data out of QuickBooks still worked — at least, after a somewhat belated update to Python 3. In the end, the option that won out was GnuCash.

    • Programming/Development

      • Linux HintStrcpy() Function in C Language

        Practical tutorial on how to use the strcpy() function to copy the strings, its input and output arguments, and the data types that are used by each one.

      • Linux HintSetting Decimal Precision in C

        How to implement the decimal precision in C to adjust the precision of floating-point variables and set it in the functions of the standard inputs and outputs.

      • Linux HintCase-Insensitive String Comparison in C++

        Practical tutorial on what the case-insensitive string in C++ language is and how we compare the case-insensitive strings in C++ programming language.

      • Linux HintBit Masking in C++

        Tutorial on what bit masking is and how to implement it in C++ programming language and the different operators to carry out the various bit masking operations.

      • Linux HintCall Base Class Function in C++

        How to utilize the "call base class” function capability to call a method from a derived class to avoid code repitition and make the new class more efficient.

      • Linux HintC++ Cout Format

        The different formats to use for the cout object in C++ to calculate the sum of two variables in cout by utilizing it with the stream insertion operator.

      • Linux HintC++ Multiple Inheritance

        Tutorial on the use of multiple inheritance in C++ by implementing the basic implementation of multiple inheritance and performing the arithmetic operations.

      • Linux HintElse-If Statement in C++

        The concept of if-else-if conditional statements in C++ to check multiple conditions and the value of a variable that is already declared in the program.

      • Linux HintSizeof() Operator in C Language

        Practical guide on how to use the unary sizeof() operator in C language to determine the size of an object and how to use the operator in the most common cases.

      • Linux HintAppending of Vector to Vector in C++

        Various methods of appending of vector to vector with the same data type, either “integer” or as “string”, using the vector.insert() and std::copy() methods.

      • Linux HintStatic Methods in C++

        Practical tutorial on what the static method in C++ programming language is, how to use it in the C++ language, and how to define the static method in C++.

      • Linux HintHow to Use the C++ Memcpy Function

        Practical tutorial on how to use the memcpy() function in the C++ programming language to transfer a certain number of bytes from one memory address to another.

      • Linux HintFibonacci Sequence in C++

        Guide on how to create a Fibonacci sequence in C++: using the for-loop to generate the Fibonacci series and using the while-loop to create the Fibonacci series.

      • Linux HintRandom Access Files in C++

        Practical tutorial on how to use random access file function in C++ to randomly access any random file which lacks the order rather than those sequential ones.

      • Linux HintPostgreSQL Dblink Extension

        How to use the Postgres dblink extension to facilitate the connection to a remote PostgreSQL database and creating the dblink connection on the client machine.

      • Python

        • LWNMicroPython 1.20: Python for microcontrollers

          The MicroPython programming language implements a sizable subset of Python that can run on microcontrollers, thus bringing Python's easy-to-learn syntax, readability, and versatility to the embedded world. With its recent 1.20 release, MicroPython introduces a new package manager, reduces its code size, and adds support for many new boards, including the Raspberry Pi Pico W. The project has come a long way since its inception ten years ago, making it an easy-to-use tool for developing software for resource-constrained environments.

          The MIT-licensed MicroPython was created in 2013 by Damien George as a Kickstarter project, along with the pyboard, a microcontroller board to run it on. LWN looked at MicroPython on the pyboard in 2015. There are still updated versions of the pyboard available in the MicroPython store; they are the official MicroPython boards and their sales support the ongoing development of the project.

        • LWNFaster CPython at PyCon, part one [Ed: Guido van Rossum sold out and gave Microsoft control in exchange for some undisclosed large sum]

          Two members of the Faster CPython team, which was put together at Microsoft at the behest of Guido van Rossum to work on major performance improvements for CPython, came to PyCon 2023 to report on what the team has been working on—and its plans for the future. PEP 659 ("Specializing Adaptive Interpreter") describes the foundation of the current work, some of which has already been released as part of Python 3.11. Brandt Bucher, who gave a popular talk on structural pattern matching at last year's PyCon, was up first, with a talk on what "adaptive" and "specializing" mean in the context of Python, which we cover here in part one. Mark Shannon, whose proposed plan for performance improvements in 2020 was a major impetus for this work, presented on the past, present, and future of the Python performance enhancements, which will be covered in part two.

        • 6 Best Python IDEs available for Ubuntu Linux for coding [Ed: What's awful about this list is that it starts with Microsoft's proprietary spyware instead of a "true" editor for Python]

          While working in Python programming language, if we have a robust IDE (Integrated Development Environment) according to needs, it can surely enhance the coding experience, productivity as well as efficiency of a developer. Well, it is not like you have to be on Windows or MacOS to use the popular Python IDEs, even Ubuntu Linux users can have that because most of them are compatible and support Linux systems as well.

        • Net2Environment Variables in Python

          Environment variables are essential elements in Python programming that store key-value pairs at the system level. They play a crucial role in enhancing the security and flexibility of applications.

        • Linux HintPython Itertools.Islice() Function

          To slice a sequence efficiently in Python, use the “itertools.islice()” function with “start”, “stop”, and “step” values.

      • Shell/Bash/Zsh/Ksh

      • Rust

        • Taking Rust to the Cloud: Blazingly Fast File Sharing

          "rustypaste" is a self-hosted and minimal file upload/pastebin service written in Rust. In this post, I will be talking about its features and telling the story behind how I deployed it to shuttle.rs to make it publicly available for free use.

  • Leftovers



Recent Techrights' Posts

Ex-Red Hat CEO Paul Cormier Did Not Retire, He Just Left IBM/Red Hat a Month Ago (Ahead of Layoff Speculations)
Rather than retire he took a similar position at another company
Linux.com Made Its First 'Article' in Over and Month, It Was 10 Words in Total, and It's Not About Linux
play some 'webapp' and maybe get some digital 'certificate' for a meme like 'clown computing'
The FSF Ought to Protest Against UEFI 'Secure Boot' (Like It Used To)
libreplanet-discuss stuff
GNU/Linux Reaches 6.5% in Canada (Including ChromeOS), Based on statCounter
Not many news sites are left to cover this, let alone advocate for GNU/Linux
The Only Thing the So-called 'Hey Hi Revolution' Gave Microsoft is More Debt
Microsoft bailouts
 
Richard Stallman's Talk, Scheduled for Two Days Ago, Was Not Canceled But Really Delayed
American in Paris
3 More Weeks for Daniel Pocock's Campaign to Win a Seat in European Parliament Elections
Friday 3 weeks from now is polling day
Microsoft Should Have Been Fined and Sanctioned Over UEFI 'Lockout' (Locking GNU/Linux Out of New PCs)
Why did that not happen?
Gemini Links 16/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, Cash Issues
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 16, 2024
IRC logs for Thursday, May 16, 2024
[Meme] Never Appease the Occupiers
Freedom requires truth. Free speech emancipates.
Thorny Issues, Violent Response
They say protests (or strikes) that do not disrupt anything are simply not effective. The same can be said about reporting.
GNU/Linux in Malaysia: From 0.2 Percent to 6+ Percent
That's like 30-fold increase in relative share
Liberty in Liberia? Windows Falls Below 10% and Below iOS
This is clearly a problem for Microsoft
Techrights Congratulates Raspberry Pi (With Caution and Reservations)
Raspberry Pi will "make or break" based on the decisions made in its boardroom
OSI Makes a Killing for Bill Gates and Microsoft (Plagiarism and GPL Violations Whitewashed and Openwashed)
meme and more
People Who Defend Richard Stallman's Right to Deliver Talks About His Work Are Subjected to Online Abuse and Censorship
Stallman video removed
GNU/Linux Grows in Denmark, But Much of That is ChromeOS, Which Means No Freedom
Google never designs operating systems with freedom in mind
Links 16/05/2024: Vehicles Lasting Fewer Years, Habitat Fragmentation Concerns
Links for the day
Links 16/05/2024: Orangutans as Political Props, VMware Calls Proprietary 'Free'
Links for the day
TechTarget (and Computer Weekly et al): We Target 'Audiences' to Sell Your Products (Using Fake Articles and Surveillance)
It is a deeply rogue industry that's killing legitimate journalism by drowning out the signal (real journalism) with sponsored fodder
FUD Alert: 2024 is Not 2011 and Ebury is Not "Linux"
We've seen Microsofers (actual Microsoft employees) putting in a lot of effort to shift the heat to Linux
Links 15/05/2024: XBox Trouble, Slovakia PM Shot 5 Times
Links for the day
Windows in Times of Conflict
In pictures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 15, 2024
IRC logs for Wednesday, May 15, 2024
Gemini Links 15/05/2024: 50 Years of Text Games
Links for the day
Ebury is Not "Linux", That's Just the Media Shifting Attention (Microsoft in the Hot Seat for Total Breach Right Now)
Seems like it may be a Trojan
Links 15/05/2024: Growing Tensions Between East and West, Anticlimax in Chatbot Space
Links for the day
[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Richard Stallman Talk 'Delayed'
"Repousé à une date ultérieur. Du au congé, il n'était pas possible de l'organiser bien dans le temps disponible."
Links 15/05/2024: Toll on Climate Change, Physical Assaults on Politicians
Links for the day
[Meme] Free Society Requires Free Press
The Assange decision is now less than a week away (after several delays and demand for shallow 'assurances')
CyberShow Goes "Live"
The CyberShow has a similar worldview (on technology and ethics) to ours
Latest Status of Site Archives (Static Pages)
article listings are reaching a near-final form
IRC Proceedings: Tuesday, May 14, 2024
IRC logs for Tuesday, May 14, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Today's Talk by Richard Stallman Going Ahead as Planned
That talk will be in French