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

IBM Culling Workers or Pushing Them Out (So That It's Not Framed as Layoffs), Red Hat Mentioned Repeatedly Only Hours Ago
We all know what "reorg" means in the C-suite
Free Software Foundation Subpoenaed by Serial GPL Infringers
These attacks on software freedom are subsidised by serial GPL infringers
 
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 01, 2024
IRC logs for Wednesday, May 01, 2024
Embrace, Extend, Replace the Original (Or Just Hijack the Word 'Sudo')
First comment? A Microsoft employee
Gemini Links 02/05/2024: Firewall Rules Etiquette and Self Host All The Things
Links for the day
Red Hat/IBM Crybullies, GNOME Foundation Bankruptcy, and Microsoft Moles (Operatives) Inside Debian
reminder of the dangers of Microsoft moles inside Debian
PsyOps 007: Paul Tagliamonte wanted Debian Press Team to have license to kill
Reprinted with permission from disguised.work
IBM Raleigh Layoffs (Home of Red Hat)
The former CEO left the company exactly a month ago
Paul R. Tagliamonte, the Pentagon and backstabbing Jacob Appelbaum, part B
Reprinted with permission from disguised.work
Links 01/05/2024: Surveillance and Hadopi, Russia Clones Wikipedia
Links for the day
Links 01/05/2024: FCC Takes on Illegal Data Sharing, Google Layoffs Expand
Links for the day
Links 01/05/2024: Calendaring, Spring Idleness, and Ads
Links for the day
Paul Tagliamonte & Debian: White House, Pentagon, USDS and anti-RMS mob ringleader
Reprinted with permission from disguised.work
Jacob Appelbaum character assassination was pushed from the White House
Reprinted with permission from disguised.work
Why We Revisit the Jacob Appelbaum Story (Demonised and Punished Behind the Scenes by Pentagon Contractor Inside Debian)
If people who got raped are reporting to Twitter instead of reporting to cops, then there's something deeply flawed
Red Hat's Official Web Site is Promoting Microsoft
we're seeing similar things at Canonical's Ubuntu.com
Enrico Zini & Debian: falsified harassment claims
Reprinted with permission from disguised.work
European Parliament Elections 2024: Daniel Pocock Running as an Independent Candidate
I became aware that Daniel Pocock had decided to enter politics
Publicly Posting in Social Control Media About Oneself Makes It Public Information
sheer hypocrisy on privacy is evident in the Debian mailing lists
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, April 30, 2024
IRC logs for Tuesday, April 30, 2024
[Meme] Sometimes Torvalds and RMS Agree on Things
hype around chatbots
[Video] Linus Torvalds on 'Hilarious' AI Hype: "I Hate the Hype" and "I Don't Want to be Part of the Hype", "You Need to Be a Bit Cynical About This Whole Hype Cycle"
Linus Torvalds on LLMs
Colin Watson, Steve McIntyre & Debian, Ubuntu cover-up mission after Frans Pop suicide
Reprinted with permission from disguised.work
Links 30/04/2024: Wireless Carriers Selling Customer Location Data, Facebook Posts Causing Trouble
Links for the day
Frans Pop suicide and Ubuntu grievances
Reprinted with permission from disguised.work
Links 30/04/2024: More Google Layoffs (Wide-Ranging)
Links for the day
Fresh Rumours of Impending Mass Layoffs at IBM Red Hat
"IBM filed a W.A.R.N with the state of North Carolina. That only means one thing."
Workers' Right to Disconnect Won't Matter If Such a Right Isn't Properly Enforced
I was always "on-call" and my main role or function was being "on-call" in case of incidents
Mark Shuttleworth's (MS's) Canonical is Promoting Microsoft This Week (Surveillance Slanted as 'Confidential')
Who runs Canonical these days? Why does Canonical help sell Windows?
A Discussion About Suicides in Science and Technology (Including Debian and the European Patent Office)
In Debian, there is a long history of deaths, suicides, and mysterious disappearances
Federal News Network is Corrupt, It Runs Propaganda Pieces for Microsoft
Federal News Network used to be OK some years ago
What Mark Shuttleworth and Canonical Can to Remedy the Damage Done to Frans Pop's Family
Mr. Shuttleworth and Canonical as a company can at the very least apologise for putting undue pressure
Amnesty International & Debian Day suicides comparison
Reprinted with permission from disguised.work
[Meme] A Way to Get No Real Work Done
Walter White looking at phone: Your changes could not be saved to device
Modern Measures of 'Productivity' Boil Down to Time Wasting and Misguided Measurements/Yardsticks
People are forgetting the value of nature and other human beings
Countries That Beat the United States at RSF's World Press Freedom Index (After US Plunged Some More)
The United States (US) was 17 when these rankings started in 2002
Record Productivity and Preserving People's Past on the Net
We're very productive these days, partly owing to online news slowing down (less time spent on curating Daily Links)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, April 29, 2024
IRC logs for Monday, April 29, 2024
Links 30/04/2024: Malaysian and Russian Governments Crack Down on Journalists
Links for the day
Frans Pop Debian Day suicide, Ubuntu, Google and the DEP-5 machine-readable copyright file
Reprinted with permission from disguised.work
Axel Beckert (ETH Zurich), the mentality of sexual violence on campus
Reprinted with permission from Daniel Pocock
[Meme] Russian Reversal
Mark Shuttleworth: In Soviet Russia's spacecraft... Man exploits peasants
Frans Pop & Debian suicide denial
Reprinted with permission from disguised.work
Hard Evidence Reinforces Suspicion That Mark Shuttleworth May Have Worked Volunteers to Death
Today we start re-publishing articles that contain unaltered E-mails