Bonum Certa Men Certa

Links 9/2/2021: KWinFT 5.21 Beta, Microsoft Inside Rust Foundation Board, and ECharts as a Top-Level Project (TLP) in Apache



  • GNU/Linux

    • Audiocasts/Shows

      • LHS Episode #392: Display Server Deathmatch

        Hello and welcome to the 392nd episode of Linux in the Ham Shack. In this episode, the hosts discuss amateur radio related horror films, an ISS EVA snafu, ham radio in the BSA, YOTA, Microsoft on the Raspberry Pi, software freedom, display servers and much more. We hope you enjoy this episode and also have a safe and prosperous upcoming week.

      • New Kernel To Change Linux Gaming Forever
      • Destination Linux 212: SUSE Interview with Gerald Pfeifer (CTO at SUSE & Chairman of openSUSE Board) - Destination Linux

        This week we are joined by Dr. Gerald Pfeifer, the Chief Technology Officer of SUSE and Chairman of the openSUSE Board for an interview about SUSE, openSUSE & his journey in Linux. Later in the show, we’re also covering Ubuntu’s new fluttering Desktop Installer and in the gaming section, we’ll travel to the viking world of Valheim. Plus we’ve also got our famous tips, tricks and software picks. All of this and so much more this week on Destination Linux.

    • Kernel Space

      • Network adaptive streaming with Hwangsaeul

        When flying above a cityscape, we can't demand our wireless provider to build more base stations or ask the passersby to kindly refrain from watching cat videos on their phones and let our stream through. We can't fix the network, but maybe we can adapt to it.

        Hwangsaeul, or H8L, a remote surveillance streaming solution, utilizes the capability of libsrt to collect statistics from open SRT sockets and by continuously analyzing the available data tries to detect potential connectivity issues. When a problem is diagnosed, a customizable logic may decide to change some parameters of the video encoding process, sacrificing quality to preserve smooth and steady streaming at lower bitrate.

      • Graphics Stack

        • Panfrost Gallium3D Lands Its New Bifrost Scheduler In Mesa 21.1 - Phoronix

          Hitting Mesa 21.1 this morning is a scheduler implementation for Panfrost Gallium3D, the open-source Arm Mali graphics driver.

          Lead Panfrost developer Alyssa Rosenzweig has been working to implement a scheduler in panfrost for the Arm Bifrost graphics code path. The scheduler has been in the works for a number of months and is passing the relevant conformance tests and has now been merged.

        • AMDVLK 2021.Q1.3 Brings Performance Tuning For War Thunder - Phoronix

          AMDVLK 2021.Q1.3 is out this morning as the latest snapshot of the official open-source AMD Radeon Vulkan driver for Linux systems that is derived from their shared platform driver sources.

          AMDVLK 2021.Q1.3 is on the lighter side with AMDVLK 2021.Q1.2 having arrived just over one week ago.

          Of the two listed driver changes, AMDVLK 2021.Q1.3 is rebuilt against the Vulkan API 1.2.168 headers.

        • Freedreno's MSM DRM Driver Adds More Adreno Support, Speedbin Capability For Linux 5.12 - Phoronix

          The MSM Direct Rendering Manager driver originally developed as part of the Freedreno effort for open-source Qualcomm Adreno graphics on Linux while now supported by the likes of Google and Qualcomm's Code Aurora engineers has some notable changes in store for the next Linux kernel cycle.

          New Adreno hardware support coming with Linux 5.12 is the A508, A509, and A512. The Adreno 508 is part of the Snapdragon 630 SoC, the mid-range Adreno 509 is found with the Snapdragon 636, and the Adreno 512 is what was found in the Snapdragon 660.

        • Intel "Protected Xe Path" Code Updated For Hardware-Protected GPU Sessions - Phoronix

          Intel PXP -- Protected Xe Path -- is a means of hardware-protected sessions for graphics clients on Gen12 / Xe Graphics. The support code for enabling PXP with their open-source Linux driver stack was updated this past week.

          While it's still under a "request for comments" flag and too late for possibly seeing it come with the soon-to-open Linux 5.12 merge window, this Intel PXP functionality is moving along and will be important for Xe server GPUs in public cloud type deployments where protected sessions are desirable for better segregation between shared resources.

    • Applications

      • The Allure of The Terminal

        Ignore for a moment it’s a GNOME Terminal window on Ubuntu with the Yaru theme, it’s the contents of the window that’s alluring to me. That and the IBM Plex font showing it off so well.

        In around 1988, the first “IBM Compatible” I owned was an Epson 8086 PC with a Monochrome Display Adapter (MDA). It had a mono screen which could only output text, no graphics.

        In 1990, I had to upgrade to a Hercules Graphics Card if I wanted to see anything other than text and symbols from code page 437.

    • Instructionals/Technical

      • How To Login With A USB Flash Drive Instead Of A Password On Linux Using pam_usb (Fork) - Linux Uprising Blog

        pam_usb is a PAM module that provides hardware authentication for Linux using ordinary USB flash drives, SD cards, MMC, etc.

        Using this, you'll be able to login without a password, by simply connecting a USB stick or memory card to your computer. This USB authentication also works when running terminal commands that require superuser - you will not be prompted for a password when using sudo for example.

        pam_usb works with any application supporting PAM, such as login managers (GDM, Lightdm, etc.), and su / sudo.

        For authentication, pam_usb makes use of the USB flash drive / memory card serial number, model and vendor, as well as optional One Time Pads (OTP). When One Time Pads are enabled (this is enabled by default, but you can disable it), the public user pad file is stored on the USB / memory card in a hidden folder called .pamusb, while the private key is stored in a hidden folder with the same name, stored in the user home directory.

      • Enable Disable Unattended Upgrades in Ubuntu – Linux Hint

        Update packages are essential for the system to protect the data because these packages have specific security patches. However, Ubuntu’s feature called Unattended Upgrades installs all of the latest security-related updates automatically.

      • How to install Autodesk on a Chromebook - also known as Eagle

        Today we are looking at how to install Autodesk on a Chromebook, also known as Eagle, on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

      • A Guide to the Wireshark Command Line Interface “tshark” – Linux Hint

        In the earlier tutorials for Wireshark, we have covered fundamental to advanced level topics. In this article, we will understand and cover a command-line interface for Wireshark, i.e., tshark. The terminal version of Wireshark supports similar options and is a lot useful when a Graphical User Interface (GUI) isn’t available.

        Even though a graphical user interface is, theoretically, a lot easier to use, not all environments support it, especially server environments with only command-line options. Hence, at some point in time, as a network administrator or a security engineer, you will have to use a command-line interface. Important to note that tshark is sometimes used as a substitute for tcpdump. Even though both tools are almost equivalent in traffic capturing functionality, tshark is a lot more powerful.

      • How to Install Oracle JRE on Fedora – Linux Hint

        Java is one of the most used programming languages. Due to its object-oriented nature, it is preferred by developers. Java can be used to develop Mobile, Desktop and Web-based applications. Java allows running java programs on many platforms with the help of JVM. JVM has a JRE or Java Run-time Environment that provides resources and class libraries to Java code for execution. JDK is only needed for developing Java applications.

      • How to Upgrade Fedora Linux? – Linux Hint

        Fedora is a Linux distribution that is sponsored by Red Hat. The best thing is that it is free and open source. It is also available for desktop, server, and IoT systems. It has a different desktop environment like KDE Plasma, XFCE, LXQT, etc.

      • How to Install MySQL on Fedora – Linux Hint

        MySQL is a database system that provides database services for storing and managing data. It is one of the popular open-source databases.

        MySQL comes with the following commercial products:

        MySQL Standard Edition MySQL Enterprise Edition MySQL Cluster Carrier Grade Edition

        All these editions come with a price tag and are mostly suitable for commercial use. We will use the MySQL Community Edition, which is available for free usage under the GPL license for our this guide.

      • Elasticsearch Shard List – Linux Hint

        Elasticsearch’s cat API is very handy because it allows users to view information related to various Elasticsearch engine resources in Compact and Aligned Text (CAT).

        This tutorial will show you how to use the _cat API to view information about shards in an Elasticsearch cluster, what node the replica is, the size it takes up the disk, and more.

      • Elasticsearch Shard Rebalancing Tutorial – Linux Hint

        An Elasticsearch shard is a unit that allows the Elasticsearch engine to distribute data in a cluster. In Elasticsearch, we say that a cluster is “balanced” when it contains an equal number of shards on every node without having a large concentration of shards on a single node. Depending on how you configure Elasticsearch, it automatically performs shards rebalancing in your cluster to improve performance.

        Automatic shard rebalancing conforms to restrictions and rules like allocation filtering and forced awareness, leading to the most efficient and well-balanced cluster possible.

        NOTE: Do not confuse shard reallocation, which is the process of finding and moving unassigned shards to the nodes in which they reside, with rebalancing. Rebalancing takes assigned shards and moves them evenly to various nodes, the purpose being the equal distribution of shards per node.

      • Elasticsearch Reindex in Place – Linux Hint

        Elasticsearch indexing is an important feature that allows the engine to perform fast and accurately.

        However, as you know, once data gets mapped into an index, it’s unmodifiable. To do this, you will need to reindex the data with the modifications you require. This process may lead to downtime, which is not a very good practice, especially for a service that is already in circulation.

        To circumvent this, we can use index aliases, which allow us to switch between indices seamlessly.

      • Elasticsearch Reindex Change Field Type – Linux Hint

        Working with databases is very fun but can sometimes be challenging, especially when dealing with already-existing data.

        For example, if you want to change the type of a specific field, it might require you to take the service down, which can have grave repercussions, especially in services that process large amounts of data.

        Fortunately, we can use Elasticsearch’s powerful features such as Reindexing, ingest nodes, pipelines, and processors to make such tasks very easy.

        This tutorial will show you how to change a field type in a specific index to another, using Elasticsearch Ingest nodes. Using this approach will eliminate downtime that affects services while still managing to perform the field type change tasks.

      • Elasticsearch Create User – Linux Hint

        Users, privileges, and permissions are some of Elasticsearch’s primary security features. Security features allow you to secure your clusters and manage how users interact with the engine.

        In this quick guide, we will examine how to enable Elasticsearch Xpack security features and how to use security API to create users and roles.

    • Games

      • Failbetter Games launched a Kickstarter for Mask of the Rose: a Fallen London romance | GamingOnLinux

        Mask of the Rose: a Fallen London romance is an upcoming romantic visual novel set in the same universe as Fallen London, Sunless Sea, and Sunless Skies. Considering their history you know it's going to be good, with deep writing and probably plenty of really weird characters to meet.

        "Mask of the Rose begins in 1862, just months after London was stolen by bats and relocated to the Neath: a vast cavern far below the earth. Down here, the sun doesn't shine, and Parliament has sunk into the Thames. Queen Victoria never emerges from her palace. Cats spy on their owners and whisper their secrets abroad. And it's rapidly becoming clear that London isn't going to be returning to the Surface any time soon…"

    • Desktop Environments/WMs

      • K Desktop Environment/KDE SC/Qt

        • Roman Gilg: The Windowing Revolution

          The beta for the upcoming 5.21 release of the KWinFT projects is now available. It contains a monumental rewrite of KWinFT's windowing logic. Read on for an overview of the changes and why this rewrite was necessary.

          A Confused Heart

          Let's define first what windowing logic is. In my definition this means all structures and algorithms in code to decide where a window should be stacked, placed, moved or in which other ways its geometry can be manipulated to allow the user to interact with and organize the totality of all windows.

          And if you agree to such windowing logic being of central importance for a windowing manager and what distinguishes it in the end from others, we may call it the heart of KWinFT.

          The KWinFT compositor is based on KWin, KDE's official compositor for the Plasma Workspace. KWin was founded over two decades ago. Necessarily some of its code is very old, does not adhere to any modern development principles and sometimes, due to changes in other levels of the graphics stack, it is just plain wrong.

          It is kind of unexpected though, that this has been in particular the case for the windowing logic, the heart of KWinFT. For example at the HEAD of KWin's current master branch do a git-blame over the ludicrous code in layers.cpp responsible for all window stacking and count how many lines are older than a decade.

          But old code is not necessarily bad. The reason why this old code is bad, is two-fold: for one under the leadership of the former maintainer the Wayland support was shoehorned into an already complex code base and secondly he followed a strategy to keep the old code untouched as much as possible. Instead of doing necessary incremental refactors to the old code, he tried to firewall it with an abundance of tests.

          For sure one can find reasons and excuses to pick such a strategy, but ultimately one has to say it failed. This can not be judged of course from the outside, but I feel comfortable in making this assessment as someone who knows the code in detail and because I am not the only one who abandoned his strategy.

        • KWinFT 5.21 Beta Pushes a "Monumental Rewrite" Of The Windowing Logic

          KDE developer Roman Gilg continues pushing ahead with KWinFT as a fork of the KWin window manager / compositor and other select components. He spent a lot of time last year better optimizing the X11 and Wayland handling while he's been relentlessly working this year to push it even further.

          Roman has released the KWinFT 5.21 Beta following what he describes as a "monumental rewrite" to the windowing logic as part of an overall "windowing revolution." For this windowing revolution Gilg has been working on flattening/simplifying the window/surface hierarchy, making the code cleaner and more comprehensible, and ultimately to improve the Wayland sub-surfaces support.

        • Autocrypt support in Kontact

          Autocrypt support is now in Kontact! This has been several weeks of work. Autocrypt makes it easier for you to use encrypted messages, as is handles key transfer for you automatically.

          There are several parts involved in supporting Autocrypt. First, Autocrypt uses Protected Headers, implemented already. Within Autocrypt I found some issues and fixed them. Than I began implementing the receiving of Autocrypt messages. The key concept of Autocrypt is to always send the public key within each email, so the receivers are always able to answer encrypted. The first step was extraction of the key and saving it to disk. Because Autocrypt sends keys unverified at the moment, I decided to not import the Autocrypt keys into the users' keyrings, but keep them separately in json files under ~/.local/share/autocrypt.

    • Distributions

      • Screenshots/Screencasts

        • Debian 10.8 Run Through

          In this video, we are looking at Debian 10.8.

        • Debian 10.8

          Today we are looking at Debian 10.8. It comes with Linux Kernel 4.19, XFCE 4.12, and uses about 400-500 MB of ram when idling.

      • SUSE/OpenSUSE

        • Reducing the scope of software.opensuse.org

          We have some exciting news to share regarding the consolidation of our web pages.

          [...]

          Both sites were offering similar functionality for downloading install media. Both sites had to be updated with every Alpha, Beta, or changes to media descriptions. The new reduced scope of software-o-o will be purely browsing of available software. The scope of get-o-o won’t change. It will be media downloads and pointers to relevant documentation such as installation or upgrade instructions. We believe that these changes will help to keep it small and simple.

          We’re happy to reduce duplication of efforts while not introducing further fragmentation as get.opensuse.org has been around for quite some time already.

      • IBM/Red Hat/Fedora

        • How to use Red Hat Insights to maintain your Linux systems

          Red Hat Insights is a Software-as-a-Service (SaaS) product that helps administrators report on applicable errata and known configuration issues as well as proactively identify security issues. Insights makes you aware of potential service-impacting problems before they happen, letting you plan how to address them before there is an issue that might affect production. Access to Red Hat Insights is included with every Red Hat Enterprise Linux (RHEL) subscription, so there is nothing extra to buy. This article covers the basics of how to register with Red Hat Insights, how to use it, and a couple of examples to demonstrate its remediation capabilities.

      • Canonical/Ubuntu Family

        • Ubuntu Backports a Major App Update to Ubuntu 20.04 LTS

          Thunderbird 78 is being backported to Ubuntu 20.04 LTS — no PPAs, Snaps, or Flatpaks required!

          Ubuntu 20.04 LTS shipped with Thunderbird 68.x but this version is no longer supported upstream. This leaves Ubuntu developers will a problem: backport individual security fixes to Thunderbird 68, or port the newer (and still-supported) Thunderbird 78 to LTS users?

        • Ubuntu Blog: Ubuntu in the wild – 9th of February 2021

          The Ubuntu in the wild blog post ropes in the latest highlights about Ubuntu and Canonical around the world on a bi-weekly basis. It is a summary of all the things that made us feel proud to be part of this journey. What do you think of it?

        • The Fridge: Ubuntu Weekly Newsletter Issue 669

          Welcome to the Ubuntu Weekly Newsletter, Issue 669 for the week of January 31 – February 6, 2021. The full version of this issue is available here.

        • Design and Web team summary – 8 February 2021

          The web team at Canonical run two-week iterations building and maintaining all of Canonical websites and product web interfaces. Here are some of the highlights of our completed work from this iteration.

    • Devices/Embedded

      • Ryzen Embedded V1807B AI Edge PC supports dual-slot graphics cards

        The embedded AI computer supports Windows 10/7 and Linux distributions, and can optionally wall-mounted via a mounting bracket. Vecow says the PC supports NVIDIA Tesla/Quadro/GeForce and AMD Radeon Graphics, as well as the latest NVIDIA RTX 30 series powered by Ampere architecture featuring DLSS AI acceleration up to max 10496 CUDA cores for expanded AI computing capability.

      • Lisperati1000 Lisp portable programming workstation features Raspberry Pi Zero W, ultra-wide display

        Conrad Barski (Lisperati) wanted a portable “workstation” to write in Lisp and see all those parentheses. Since there aren’t many devices with an ultra-wide display, he decided to build his own “Lisperati1000” ultra-compact Lisp programming workstation powered by a Raspberry Pi Zero W, and equipped with an ultra-wide 1920×480 8.8-inch display, a compact keyboard made of Cherry Brown switches, and a 4,400mAh dual battery all housed in a 3D printed enclosure.

      • Open Hardware/Modding

        • Arduino Blog €» eMBee ONE turns an Arduino and an Altoids tin into an ’80s-style pocket computer

          Matthew Begg wanted a pocket computer that had some of the charm of his 1980s vintage Casio FX-730P, so he decided to build his own.

          His prototype device uses an Arduino Nano to boot into BASIC, and features a 1.54″ OLED display as well as a PCB-based QWERTY keyboard. Power is provided via a pair of AAA batteries, along with a boost converter. Most notably, however, the entire thing is meant to fit inside of an Altoids tin.

        • ESP8266 board with 24-pin ATX connector drives RGB LED strips

          “Adding Open Hardware to Open Software for a More Equitable IoT” talk at FOSDEM 2021 discussed the importance of open-source hardware and software for IoT devices, notably to avoid getting a brick after the cloud service is suddenly terminated.

          Adrian McEwen then specifically talked about his “My Baby’s Got LED” ESP8266 open-source hardware board powered by… a USB charger? nope. A battery? You’ve got to be kidding. Instead, the ESP8266 board is equipped with an ATX connector taking a standard power supply found in PC towers and desktops.

      • Mobile Systems/Mobile Applications

        • Sailfish OS 4.0.1 No Longer Support The Jolla Phone But Has Many Other Improvements

          Jolla's Sailfish OS 4.0.1 was released this past week to early access subscribers as a major milestone for Sailfish OS 4.

          Sailfish OS 4.0.1 "Koli" is available currently to early access users since Thursday. With Sailfish OS 4.0.1, Jolla Phone is no longer supported as their original smartphone ambition. Supported by Sailfish OS 4 remain the Jolla C, Jolla Tablet, and Sony Xperia 10 / XA2 models, Gemini PDA x25/x27, and other select devices.

        • [release notes] Koli 4.0.1 - Announcements - Sailfish OS Forum

          Jolla Phone is not supported any more. OS release 3.4.0 was the last one for this device launched 7 years ago.

          The lowest supported kernel version of Sailfish 4 in the remaining Sailfish OS devices is 3.10. It is in Jolla C, Jolla Tablet and Xperia X

          The instructions for installing Sailfish OS to Sony Xperia X, Xperia XA2 and Xperia 10 devices are here - covering Windows, Linux, and macOS computers.

          Read this, please, to learn about the Sailfish X licence.

    • Free, Libre, and Open Source Software

      • The Apache Software Foundation Announces Apache€® ECharts™ as a Top-Level Project : The Apache Software Foundation Blog

        The Apache Software Foundation (ASF), the all-volunteer developers, stewards, and incubators of more than 350 Open Source projects and initiatives, announced today Apache€® ECharts™ as a Top-Level Project (TLP).

        Apache ECharts is an intuitive, interactive, and powerful charting and visualization library ideally suited for commercial-grade presentations. The project originated in 2013 at Baidu and entered the Apache Incubator in January 2018.

        [...]

        The project has recently released ECharts 5, which provides rendering ability for tens of millions of data points, and supports accessibility requirements in compliance with W3C’s Web Accessibility Initiative Accessible Rich Internet Applications Suite (WAI-ARIA) standards.

        Building on EChart’s core features, ECharts 5 makes it even easier for developers to tell the story behind the data through 15 new features and improvements in story-telling and data expression, optimized visualization and responsive design, interaction and performance enhancement, developer experience, internationalization, and more.

      • Events

        • Open source, teamwork and mental health: my FOSDEM 2021

          For the past 4 years I have participated to FOSDEM, a conference about free and open source software for developers. I love this event. It’s a welcome opportunity to see friends, watch great talks and drink excellent Belgium beer.

          This year unfortunately it was a remote event. The event was all managed via matrix, a decentralized communication system. There were a few network issues at the beginning, with a pick of more than 11.000 people simultaneously, but in general it went pretty smoothly.

          I participated mostly in the “community”, “open source design” and “web performance” rooms. Here is a little summary of what a saw. Hope there is stuff that might trigger your curiosity.

        • Handling PDF digital signatures with PDFium FOSDEM talk

          The next step in the recent PDFium-based signature verification story is my Handling PDF digital signatures in LibreOffice with PDFium talk at FOSDEM 2021, in the LibreOffice devroom (pre-recorded video). The talk gives you an overview of digital signing in general, all the ODF/OOXML/PDF handling, signing/verification, various other related past Collabora projects, and then goes into details regarding how PDFium was improved and is used to do a better PDF signature verification in LibreOffice when opening PDF files in Draw.

          The virtual room had around 150 participants and the Matrix based online conference was well-organized. Speakers even got a free t-shirt before the event, I appreciated the "bring your own beer" joke :-)

          An other benefit of this unusual setup was to avoid the dreaded room is full problems, where you carefully selected a talk to attend and then failed to hear it.

        • The State of Apache OpenOffice As Of Early 2021

          It's rare to hear of OpenOffice usage these days compared to LibreOffice, but the open-source office suite is still going ahead under its volunteer work at the Apache Software Foundation. This past weekend at FOSDEM 2021 was a status update on Apache OpenOffice.

          Peter Kovacs provided a status update on Apache OpenOffice on the work and milestones over the past year. Compared to LibreOffice 7.0 in 2020 with Vulkan rendering support and many other new features, Apache OpenOffice just had a maintenance release. But even with OpenOffice not being in the limelight like it once was, it's still seeing over one million downloads per month.

      • Web Browsers

        • Mozilla

          • Mike Taylor: Obsolete RFCs and obsolete Cookie Path checking comments

            The other day I was reading Firefox’s CookieService.cpp to figure out how Firefox determines its maximum cookie size (more on that one day, maybe) when the following comment (from 2002, according to blame) caught my eye:

            The following test is part of the RFC2109 spec. Loosely speaking, it says that a site cannot set a cookie for a path that it is not on. See bug 155083. However this patch broke several sites -- nordea (bug 155768) and citibank (bug 156725). So this test has been disabled, unless we can evangelize these sites. Note 1: Anything having to do with broken websites is wont to catch my attention, especially olde bugs (let’s face it, in 2002 the internet was basically the High Middle Ages. Like yeah, we were killing it with the technological innovation on top of windmills and we’re getting pretty good at farming and what not, but it’s still the Middle Ages compared to today and kind of sucked).

            Note 2: The two sites referenced in the Firefox comment are banks (see 155768 and 156725). And one of the axioms of web compatibility is that if you break a bank with some cool new API or non-security bug fix, game over, it’s getting reverted. And I’m pretty sure you can’t legally create test accounts for banks to run tests against and Silk Road got taken down by the feds.

      • CMS

        • WordPress Plugins

          Welcome back to WordPress 101 series. In this 4th part of the series, we’ll learn about WordPress plugins, the biggest reason behind WordPress’s massive usage on the Internet.

          From creating a simple blog to launching an e-commerce store, WordPress does it all very well. It solves some of the most frustrating problems when starting a new online business.

          Any business needs improvements. One may start a business website with a few products in the store. As the store sells more products, the website needs to be upgraded for better customer satisfaction. From launching a new customer forum to an entire professional customer support system, everything is extremely easy in WordPress.

      • Programming/Development

        • Macro in C language – Linux Hint

          A macro in C language is a piece of code which has been assigned a name. When the name is used anywhere in the program, the macro value is replaced before the program’s compilation. In this article, we will see in detail how to write a macro in C language.

        • Exception Handling in C++ – Linux Hint

          There are three types of software errors that exist. These are Syntax Errors, Logic Errors, and Runtime Errors.

        • C++ Qualifiers and Storage Class Specifiers – Linux Hint

          CV stands for Constant-Volatile. The declaration of an object that is not preceded by const and/or volatile is a cv-unqualified type. On the other hand, the declaration of an object that is preceded by const and/or volatile is a cv-qualified type. If an object is declared const, the value in its location cannot be changed. A volatile variable is a variable whose value is under the influence of the programmer, and hence cannot be changed by the compiler.Storage Class Specifiers refer to the life, place, and way in which a type exists. Storage class specifiers are static, mutable, thread_local, and extern.

          This article explains C++ Qualifiers and Storage Class Specifiers. Thus, some preliminary knowledge in C++ comes in handy to really appreciate the article.

        • Overloading in C++ – Linux Hint

          C++ does not allow a function that adds two integers and return an integer, to add two floats and return a float. Imagine that there is a function to add two integers and return an integer. Would it not be nice to have another function with the same name, that adds but two or even more floats to return a float? Doing so is said to be, overloading the first function. Arithmetic operators are typically used for arithmetic operations. Is it not nice to have the +, join two strings? Enabling that is said to be overloading the arithmetic addition operator, for strings.

          The increment operator, ++ adds 1 to an int or a float. When dealing with pointers, it does not add 1 to the pointer. It makes the pointer point to the next consecutive object in memory. An iterator points to the next object in a linked-list, but the linked-list objects are in different places in memory (not in consecutive regions). Would it not be nice to overload the increment operator for an iterator, to increment but point to the following element, in the linked-list?

          This article explains overloading in C++. It is divided into two parts: function overloading and operator overloading. Having already basic knowledge in C++ is necessary to understand the rest of the article.

        • Building The Linux Kernel With Clang Continues To Be Useful, New Features Pursued - Phoronix

          At last month's Linux.Conf.Au virtual conference was a presentation by Google engineer Nick Desaulniers on the current state of building the Linux kernel with LLVM Clang as an alternative to GCC.

          Over the past year the "ClangBuiltLinux" effort has continued maturing with more Linux kernel code issues resolved to improve the portability across compilers. The industry interest has been around using Clang to build the Linux kernel for reasons including ensuring better code portability / testing, making use of various LLVM/Clang functionality not offered currently by GCC, some vendors using Clang as their preferred code compiler for licensing or other reasons, and in the case of Google they have already been using Clang to build their Linux kernel for a while and have been working to upstream more of the support.

        • Shell/Bash/Zsh/Ksh

          • [Older] Bash Advanced Variable Idioms for Case Sensitivity Management

            Whenever we work with textual strings, sooner or later the issue of case comes up. Does a word need to be fully uppercase, fully lowercase, with a capitalized letter at the start of the word or sentence, and so on.

            An idiom is a natural language expression of a simple programming task. For example, in the sleep 10 command (which will pause the terminal one is working in for ten seconds), the word sleep is a natural language expression of what is a time based coding construct, developed in the Bash GNU coreutils software package.

            There are a number of special variable-bound idioms (i.e. suffixes which can be added to a variable name, indicating what we would like to do with a given variable), which can be used in Bash to more easily do these types of conversions on the fly instead of having to use for example the Sed Stream Editor with a Regular Expression to do the same.

        • Rust

          • The Rust language gets a foundation

            The newly formed Rust Foundation has announced its existence.

          • Rust Foundation Established To Steward The Rust Programming Language

            Mozilla has been sponsoring the Rust programming language for more than a decade while in 2020 as part of Mozilla's big round of layoffs most of the Rust team was let go along with dropping the Servo web engine team. Following that plans were drafted to create the Rust Foundation as an independent entity.

          • Hello World! [Ed: Microsoft is in the Board of the Rust Foundation]

            Today, on behalf of the Rust Core team, I’m excited to announce the Rust Foundation, a new independent non-profit organization to steward the Rust programming language and ecosystem, with a unique focus on supporting the set of maintainers that govern and develop the project. The Rust Foundation will hold its first board meeting tomorrow, February 9th, at 4pm CT. The board of directors is composed of 5 directors from our Founding member companies, AWS, Huawei, Google, Microsoft, and Mozilla, as well as 5 directors from project leadership, 2 representing the Core Team, as well as 3 project areas: Reliability, Quality, and Collaboration.

  • Leftovers

    • Integrity/Availability

    • Monopolies

      • Patents

        • Patent Term Adjustment: What Happens When Examiner Withdraws Case from Appeal?

          Chudik filed his patent application back in 2006. After receiving a final rejection back in 2010, Chudik filed a request for continued examination (RCE). At that point the examiner withdrew the prior rejection, but then rejected the claims on an alternative ground. Chukik appealed to the PTAB, but the Board did not get a chance to hear the case. Rather, the examiner again withdrew their rejection and re-opened prosecution with a new alternative ground for rejection. That appeal-withdraw-new-ground process happened again. Then it happened again.

          Now we’re up to 2017. Chudik had filed four appeals in the same case but the PTAB with the examiner backing-down each time. Finally, on the fourth go-round, the examiner issued a notice of allowance after withdrawing the rejection. His patent: US 9,968,459. Good job Chudik. The patent covers a medical device used in shoulder surgery. This is the type of invention that – if its use becomes widespread – will use-up the whole 20-year patent term.



Recent Techrights' Posts

Many Anniversaries
Many anniversaries in quick succession
 
Rumours of Further IBM Shutdowns
IBM is going out of existence
Brigading Against Women - Part II - Threatening Women Using the Human Rights Tribunal of Ontario (HRTO) and Then False Threats Miscarrying the Name of a Court
In this series we intend to show the threats, the outcomes of those threats, the response to those threats
Collapse of MElon Companies a Taste of What's to Come for Slop Bubble and GAFAM (Trillions in Debt, Justified as Slop "Investments")
One good example of this was SpaceX
The 'Hyperinflation' in Hardware Dooms Video Hosting (Very Large Files)
a terabyte of video files would be expensive
Rumours of Silent Layoffs in Microsoft This Month (August 2026), PIPs and Global Voluntary Separation Agreement (GVSA), aka "Buyouts"
Will any investigative journalism follow or just shallow puff pieces and LLM trash from slopfarms?
Links 04/08/2026: "Framework for Musician Burnout" and Alexa+ "is a Buggy Embarrassment"
Links for the day
Signs That XBox as a Console is Coming to an End, Windows Gaming Will be Called "XBox"
"XBox" is the next "Surface"
Microsoft's Share in Search Falls Sharply in Europe
The layoffs at Microsoft's Bing will carry on
Romania: GNU/Linux Reaches 4% (Less Than EU Average)
We expect this same upward trend to carry on
Microsoft Sites or Sites Sponsored by Microsoft Angry That GNU/Linux is Gaining
The Microsofters cannot easily dismiss reports of GNU/Linux growth as "bots" or just allege that statCounter alone is wrong
Ableism in the Free Software Movement Typically Comes From GAFAM Operatives and Proprietary Software Apologists
And their hired guns
Afghanistan: GNU/Linux Steadily Rises to 9%
Windows is steadily declining
IBM Innovation: It Has Invented New Methods of Silent Layoffs or Secret RAs
How IBM disguises mass layoffs now
LLM Slop Won't Replace People and Jobs (in the Long Run)
At the end of the day, people who know their job offer more useful information, whereas LLMs waste people's time (typically an 'externality' to the entity deploying chatbots)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, August 03, 2026
IRC logs for Monday, August 03, 2026
Over 3,500 Known Gemini Capsules Accessible and Active According to Lupa
It finally happened this morning
Gemini Links 04/08/2026: Library Cards, Dead Ends in Software Development, and DOS on USB Key
Links for the day
IBM Has Embraced and Rewarded Liars
The IBM culture vanished
statCounter Estimates GNU/Linux at 5.32% in Kuwait, Years Ago It Was Near 0%
Kuwait rose to fame in the 1990s because of a war
Swatting People Who Write About Corruption, Misogyny, Criminal Misuse of Funds
we've given ourselves a decade to cover all those stories
GNU/Linux Rises Above 6% in Colombia
In Colombia, which is a large south American country, GNU/Linux has risen steadily in recent years
SLAPP Censorship - Part 138 Out of 200: Garrett Has Basically "Lost" and It is "Embarrassing" to Them
they just wound up costing hundreds of thousands of pounds
Gemini Links 03/08/2026: Great Exodus, xkcd as Text, and Dead Ends
Links for the day
GNU/Linux Has Surged to 6.3% in Madagascar
Madagascar's adoption of Free software is a subject we covered a lot in past years
Microsoft's Slop Bet is Killing the XBox Even Faster
LLMs destroy almost anything they touch
The Cyber Show on "Weaponised Antisocial Technology"
by Andy
Alexandre Oliva on Slippery Slop (LLMs)
By Alexandre Oliva
RMS Won the Argument and Now GNU Wins Over Computer Users
He can look back at nearly 43 years of GNU and say, "I was right..."
statCounter Corrects GNU/Linux Estimates, Now Measured at 9% Worldwide
Windows has sunk like a rock
GNU/Linux-Centric Blogs Belatedly Pick Up News About GNU/Linux Gains: 4-8% Depending on the Surveyor
more people will get curious and give it a go
Links 03/08/2026: Strike By Flight Attendants (WestJet) and Greedflation
Links for the day
Links 03/08/2026: EU Curtailed Slop, Frank Zappa Recalled
Links for the day
Daniel Pocock on Sky News This Morning
No harm done
Morten Linderud Has Helped Microsoft Put Locks (and Kill Switches) on the PCs of Arch Linux Users
"the first rule of "secure boot" is to disable "secure boot"
In Poor Peru, GNU/Linux Surges From 1% to 5% in a Few Years
Windows is dying
All Social Control Media is a Weapon (Against Its Users, Serving the Real Owners)
That social control networks are weaponised isn't a new concept
Fanning the Flames of Journalism
This week we have several surprises coming
Forcing the Slop Bubble to Implode Fully to Save the Economy From an Even Greater Collapse and Societal Harm
Let's blow up the bubble. The sooner, the better
GNU/Linux at 8% in Croatia
somewhat of a GNU/Linux adoption hotbed
It's Easy to Predict Microsoft Layoffs for October 2026 Because of the Financial 'Results' That Month (More Faking, More Secret Debt and Buzzwords to Perfume This Debt as "Investment")
From what we've read, Microsoft is silently laying off people this month based on LITE, which leads to PIPs
Not Hard to Guess Who Will Pay for IBM's Collapse (Due to False Statements Made to Shareholders), Red Hat May Disappear
IBM's leadership is never being punished for its failures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, August 02, 2026
IRC logs for Sunday, August 02, 2026
Gemini Links 03/08/2026: Collectibles, Cities of the Red Night, and Lali Lambda
Links for the day
IBM's August 2026 Promotions (Annual Ritual) Can Turn Into a "Bloodbath" (RAs, Layoffs)
IBM Common Stock is set to open in the red (minus) on Monday
Microsoft Culture Explained by People Who Work at Microsoft
"Be ready for politicking and working over time and weekends."
Codes of Conduct Attract Hoarders and Sociopaths, They Are Intolerant Towards Good People
Codes of Conduct (CoCs) are also promoted using violence
XBox is in Trouble, Sunday News Shows How Serious a Problem It Now Faces
it seems impossible to resuscitate at this point
statCounter Observes GNU/Linux at 10% in Libya
this month statCounter finally sees GNU/Linux approaching "double-figures" there
Thailand: GNU/Linux Approaching 15%, Windows in a Freefall
It makes perfect sense for Thailand to adopt GNU/Linux for technical reasons, not just political reasons
GNU/Linux in Bulgaria Back Up
part of a trend in Europe
Cuba Sees Leap in GNU/Linux Usage, as Reported by statCounter
For the ordinary Cuban it makes sense to reduce a dependence on GAFAM
Gemini Links 02/08/2026: Drift, Crawlers in Gopher Space, Purpose, and Python
Links for the day
Links 02/08/2026: Some Large Slop Investors "Crumbling", Russia Intensifies Bombing of Kiev
Links for the day
IBMers Discuss Who Killed IBM (It Impacts Red Hat)
Fedora is fast becoming like another CentOS
GNU/Linux Rises to 6% in Mexico
Did the soccer (football) matches have some impact or just the "unknowns" being deciphered (or omitted) by statCounter?
GNU/Linux Leaps to 8% in Asia
In Asia, is it a bit higher because of GAFAM distrust? Maybe some other factor/s?
Clownflare Web Usage Survey: About 10% in North America Use GNU/Linux, Worldwide 6.7%
surveyors that showed GNU/Linux growth
SLAPP Censorship - Part 137 Out of 200: Discovering That Spending a Million British Pounds (1,348,250.01 United States Dollars) on Lawyers Cannot Take Down One's Critics
just outright bullying and criminality
Steam Survey, analytics.usa.gov, and statCounter All Point to GNU/Linux Gains (Again)
This must be very annoying to Microsoft
GNU/Linux Exceeds 6% in Spain
In recent years the "market share" steadily grew from 3% to over 6%
Brazil: GNU/Linux Record High, 5%
On average, GNU/Linux has evidence of growth in many countries this summer
Amid 2026 Bing Layoffs Microsoft Share in Search Collapses
How much longer before Microsoft throws in the towel or rebrands again?
United Kingdom: GNU/Linux up to 7%, ChromeOS Another 5% (Total 12%)
further significant gains for GNU/Linux this month
Links 02/08/2026: Cheeto "Blurted Out Vile Plot to Censor ABC"; New York Times Fights 'Intimidation'
Links for the day
Why Techrights Will Still be Active a Decade From Now
Techrights will carry on for many years to come
We Are Witnessing the End of IBM
IBM cannot find growth by moving downwards, by lowering standards
The Slop Presumption Rule
Tainting oneself can take one day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, August 01, 2026
IRC logs for Saturday, August 01, 2026
Gemini Links 02/08/2026: Older Books, Esperanto Music History, and Slop Making Things Worse
Links for the day