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, 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 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 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, 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 []

        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 to make it publicly available for free use.

  • Leftovers

Recent Techrights' Posts

Linus Torvalds Cannot Easily 'Offend' Companies Anymore, But Weeks Ago He Explained Why (Linux Support and Hardware Documentation Has Significantly Improved)
new clip
Links 08/12/2023: Tidal and Simplilearn Layoffs
Links for the day
IRC Proceedings: Thursday, December 07, 2023
IRC logs for Thursday, December 07, 2023
[Video] The Media Facilitates Microsoft's Abuse, Bribes, and Growing Threats to National Security
The failure of the media to properly and independently explain what's happening will continue to doom the media
[Video] The Next Ten Years of Techrights in a World With Changing Threats and Technological Landscapes (or Trends That Are Buzzwords/Cargo Cults)
The video of today talks about the site's (and capsule's plan) for the future
Wikipedia is Vandalism, Brought to You by Microsoft and Bill Gates
Reprinted with permission from Ryan Farmer
Lennart Poettering and Fellow Microsofters Turn GNU/Linux Into Windows, Expect Poor Reliability With systemd-bsod
turning Linux into Microsoft Windows
The Effort to Silence (Squash) GNU/Linux Advocates and Press Coverage
If nobody even mentions it anymore, does it still exist?
Links 07/12/2023: Climate Events Occupied by Their Enemy, Workers Going on Strike
Links for the day
IRC Proceedings: Wednesday, December 06, 2023
IRC logs for Wednesday, December 06, 2023
A Googlebombing Campaign Targeting "Gemini" Takes on E-mail, Too
Google can do Googlebombing too (the term is even named after it)
[Video] Microsoft Without a So-called 'Common Carrier' (Windows Monoculture)
Windows Has Fallen
[Video] To Combat Efforts to Cancel or Kill the Career (and Reputation) of the People Who Made GNU/Linux We Must Rally the Community
nobody speaks better for projects and for licences than their own founders
Rumour: Major Finance Layoffs at Microsoft Next Week
If the rumour is true, we'll be hearing barely anything from the mainstream media next week
Links 07/12/2023: More EPO Patents Squashed, More Pfizer COVID-19 Vaccine "Glitches" Found
Links for the day
Still Not 'Canceled'
Ted Ts'o, Jan Kara, Linus Torvalds last month
Google is Googlebombing the Term "Gemini"
Could Google not pick a name that's already "taken"?
Links 06/12/2023: Bitcoin Rebound, China Downgraded by American Firm, Yahoo! Layoffs Again
Links for the day
Over at Tux Machines...
GNU/Linux news
Shooting the Messenger Using Bribes and Secrecy Bonds
We seem to live in a world where accountability for the rich and well-connected barely exists anymore
The Myth of an Aging (or Dying) GNU/Linux Leadership
Self-fulfilling prophecies as a tactic?
Links 06/12/2023: Many More December Layoffs
Links for the day
IRC Proceedings: Tuesday, December 05, 2023
IRC logs for Tuesday, December 05, 2023
PipeWire 1.0: Linux audio comes of age
Once upon a time, serious audio users like musicians and audio engineers had real trouble with Linux
This is How 'Linux' Foundation Presents Linux to the World
Right now it even picks Windows over Linux in some cases