Bonum Certa Men Certa

Links 17/08/2022: CloudNativePG 1.16.1 and 1.15.3 Released



  • GNU/Linux

    • Welcome to the New (and Much Lighter) Tux Machines News Section

      LAST night we made the final changes -- alternations that have been planned since June. The migration has thus far gone smoothly. The "old" site is still there, working as before, but new stories will be posted only here.

      As noted above, this site's CMS (custom-made) is still in its "testing" phase. It seems to have matured enough for a 'stable' deployment (fingers crossed; famous last words!). We do expect some bugs. We've already heard from readers who have suggestions. They're being added to our TODO list.

      Do you have further feedback on the site? Come and tell us in IRC. It's the best and the quickest way to contact us.

    • Desktop/Laptop

      • Its FOSSDesktop Linux Market Share: August 2022

        Of course, Linux dominates the entire cloud industry (Web host, cloud computing, data warehouse, etc.). Here, we focus only on the desktop Linux market share.

        One day, we hope that Linux distributions dominate the desktop operating market share in the future. But, what do the current trends say? Is it the year of the Linux desktop yet?

        The trends change every month. Last year, Linux could have a better grip over the market share compared to this year. So, it is vital to track the latest reports.

    • Kernel Space

      • /bÉ‘s ˈtjɛ̃ no ˈse ʁɑ/ (hadess) | News: Speeding up the kernel testing loop

        When I create kernel contributions, I usually rely on a specific hardware, which makes using a system on which I need to deploy kernels too complicated or time-consuming to be worth it. Yes, I'm an idiot that hacks the kernel directly on their main machine, though in my defense, I usually just need to compile drivers rather than full kernels.

        But sometimes I work on a part of the kernel that can't be easily swapped out, like the USB sub-system. In which case I need to test out full kernels.

        I usually prefer compiling full kernels as RPMs, on my Fedora system as it makes it easier to remove old test versions and clearly tag more information in the changelog or version numbers if I need to.

        [...]

        Easy enough. Now we can use fedpkg or rpmbuild to create RPMs. Don't forget to run those under “powerprofilesctl launch” to speed things up a bit.

        [...]

        I believe there's still significant speed ups that could be done, in the kernel, by parallelising some of the symbols manipulation, caching the BTF parsing for modules, switching the single-threaded vmlinux bzip2 compression, and not generating a headers RPM

      • WCCF TechAMD CPU microcode loading to be optimized to per-thread on Linux

        Previously, any new processor microcodes for AMD-based CPUs had to be checked to guarantee that the open-source developers working with the company installed each physical core with the latest microcode. Not only did this leave out updates for coinciding threads for SMT processors, but it would be a lengthy process, which this new update will fix the per-thread updating within Linux.

    • Applications

      • Linux LinksBest Free and Open Source Alternatives to Microsoft Snipping Tool

         Snipping Tool is a screenshot utility. It can take still screenshots of an open window, rectangular areas, a free-form area, or the entire screen.

        Snipping Tool has been included with Windows since the release of Windows Vista (remember that monstrosity?). It’s proprietary software. We recommend the best free and open source alternatives.

      • Kushal Das: johnnycanencrypt 0.7.0 released [Ed: Maybe Johnnycanencrypt, but Johnny should not rely on encryption software controlled by Microsoft and the NSA in proprietary GitHub (for a number of practical reasons)]

        Today I released Johnnycanencrypt 0.7.0.

    • Instructionals/Technical

      • Linux HintLinux Find What is Using Disk Space

        “It’s crucial to manage storage capacity on a Linux system. Programs that act as package managers, for instance, alert you to the amount of disc space needed for setup. You need to be aware of the amount of free space on your machine for that knowledge to be useful. There are several utilities available in the Linux systems to discover what is using the disk space of our system. Discover how to examine the disc space in Ubuntu using the df utility as well as how to view the file system’s disc space consumption using the “du” tool throughout this lesson.”

      • Linux HintMonitoring Network Traffic Using Ntop on Raspberry Pi

        Ntop, formerly known as Ntopng, is an open-source network monitoring solution that provides users with their systems’ real-time network usage information. It uses the web interface to analyze your system’s network traffic and you can easily visualize your network performance and system health on your browser tab.

        In this article, we will guide you on how you can monitor your Raspberry Pi network traffic by setting up Ntop on your device. So, let’s move toward the setup process.

      • ID RootHow To Install Linux Kernel 5.19 on Ubuntu 22.04 LTS - idroot

        In this tutorial, we will show you how to install Linux Kernel 5.19 on Ubuntu 22.04 LTS. For those of you who didn’t know, Linux Kernel is a free and open-source, monolithic, modular, multitasking Unix-like operating system. It is the main component of a Linux operating system and is the core interface between the computer’s hardware and its processes. Linus Torvalds announced the Linux Kernel 5.19 which is available to download for general usage with new features, Major ARM updates, improvements, better hardware support, and other new updates.

        This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Linux Kernel 5.19 on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.

      • A simple way to share folders in Ubuntu Desktop [Ed: GNU/Linux has directories, not "folders"]

        Looking for a file shredder app for Linux? Raider is the one with a stupid simple user interface.

        There are already a few good ways to securely delete files in Ubuntu Linux, such as BleachBit and Nautilus wipe extension. But for a large list of files or those do shred files frequently, this app could be more efficient.

        It’s Raider, also known as File Shredder, a free open-source GTK4 application. With it, you can just drag and drop files into app window, then shred as many files as you want via single mouse click.

      • Red Hat OfficialHow to configure a hostname on a Linux system

        Each person has a unique identity, such as their name and birth date. Computers also have individual identities, specifically, their hostnames and internet protocol (IP) addresses. Each machine has a valid IP address, but referring to a system by its IP address is not practical.

        Instead, you can configure a computer's hostname, which is the machine's human-friendly name. You can map the hostname to the IP address so that it's easy to connect to a machine using its name.

      • AddictiveTipsHow to set up Kali Linux with a GUI On Windows

        Kali Linux is a powerful operating system that tests network security vulnerabilities and other avenues. If you’re on Windows and want to run Kali, you’ll need a VM. This guide will show you how to set up a Kali Linux VM on your Windows PC.

      • Ubuntu PitHow To Customize Chromebook Desktop

        ChromeOS is a web browser-based operating system that helps you start browsing the web immediately. ChromeOS always provides almost the same appearance and functionality. If you have been using a Chromebook for a while, you have become frustrated with this lack of customization option. On the other hand, if you are a new Chromebook user who recently shifted from another operating system, you might want to make some little changes to the user interface to personalize it.

        Do not worry about this Chromebook customization limitation option. The good news is that there are a few methods to customize Chromebook’s desktop. Let’s go through this complete guide and learn some simple and easy tips to personalize your Chromebook interface.

      • OSNoteHow to Install Microsoft Edge on Ubuntu and Linux Mint [Ed: It's outright irresponsible to help people install malware that steals all the users' passwords on an OS that Microsoft is attacking while grabbing all this data
      • H2S MediaCommands to Remove a package in Ubuntu - Linux Shout

        Here in this tutorial, we will discuss the ways we can use to uninstall Debian packages from Ubuntu Linux using the DPKG or APT.

        If you want to remove a program on Linux Ubuntu, there are two different approaches – one is using its graphical Software Center and the other with the help of a command terminal. However, we cannot uninstall all the packages via Software Center such as the Apache web server. Nevertheless, in this guide, we will show you how to use both methods.

      • H2S MediaCommand to List Installed Snap Packages - Linux Shout

        Learn the simple command to list the SNAP packages installed on your Ubuntu, CentOS, Linux Mint, and other Linux distros.

        Snap is a package format that was largely developed by Canonical and can be installed and used without conflict alongside DEB packages from “normal” package management. Snap is also available for many other Linux distributions.

      • Linux Shell TipsHow to Recover Lost and Deleted Data in Linux

        Consider this scenario, you are pursuing your daily computing objectives on your Linux distribution and later realize you accidentally deleted a file that is paramount to your computing objective.

        Also, the file that you deleted cannot even be traced in the system Trash. Your first reaction will be to panic since it is never a comforting feeling to lose data while on a maze called the Linux operating system.

        However, this article is here to comfort us from the grief of losing data while in a Linux OS environment.

      • Linux HintCat EOF

        Cat is one of the most common and useful command-line utilities in the Linux ecosystem. It allows you to read or concatenate the contents of a file in a simple and easy to navigate manner. When combined with other tools such as awk, sed, less and more, cat can be one of the most powerful tools in your Linux arsenal.

        In this article, we will explore how we can use the cat command and the EOF feature to perform tasks such as writing multi-line strings to a file and more.

      • Linux HandbookFind Files Modified in Last N Minutes in Linux

        Finding recently modified files is a helpful parameter when troubleshooting your code or server.

        What log files were modified? What files changed when I ran this command? The versatile find command can help you get the answers.

        The command below will find all the files that have been modified in the last five minutes in the current directory.

      • Linux HintHow to Play Mp4 on Firefox in Ubuntu 22.04

        If you are a beginner Ubuntu user or recently upgraded to Ubuntu 22.04, you may wonder how you can play mp4 files. By default, Ubuntu lacks the needed multimedia codecs to support mp4 files, especially if you want to play a locally stored video. It gets worse when you try opening your favorite platform like YouTube or Facebook or when you try to load the live videos and you get the annoying error that your browser can’t play the given video file.

        We’ll discuss how to play mp4 files in Ubuntu 22.04 and check out how to fix it when you get errors when attempting to play videos on Firefox. So, stick around, and let’s get started.

      • Linux Shell Tipsmps-youtube – A Terminal Based YouTube Player and Downloader

        Ever felt like wanting to complete most of your Linux computing tasks from the command-line environment without having to navigate to and from the GUI (Graphical User Interface)? A Linux operating system is an endless maze of rich computing knowledge and experience.

        Most of the Linux materials either have technical documentation or none. Sometimes we might find the appropriate documentation that meets the objective we want to accomplish under a Linux environment but end up taking too much time consuming and implementing the retrieved material data.

        The YouTube platform provides an easier way of understanding a Linux computing concept since video files are easier and faster to consume than documentation files.

      • TecMint4 Ways to View Disks and Partitions in Linux

        In this guide, we will show how to list storage disks and partitions in Linux systems. We will cover both command-line tools and GUI utilities. By the end of this guide, you will learn how to view or report information about disks and partitions on your Linux server or desktop computer, or workstation.

      • AddictiveTipsHow to play Volcanoids on Linux

        Volcanoids is a base-building open-world survival game developed and published by Volcanoid. It was released for Windows and Linux. Here’s how you can play Volcanoids on your Linux PC.

    • Games

    • Desktop Environments/WMs

      • K Desktop Environment/KDE SC/Qt

        • I am going to KDE Akademy 2022 | iBlog Efstathios Iosifidis

          Happy traveller is back. Happy open source conference guy is ready for another trip. This time my destination is KDE Akademy and Barcelona. It's my first time attending to Akademy and I am soooooo excited. It's also my second time in Barcelona. Thanks to my highschool, I have been to Barcelona participating in the Erasmus + mobility program (article in Greek). According to the legent, maybe me kissing weird things in Girona worked just fine (click to see the picture).

          You don't need to be a "KDE expert" to join, I know I am not. If you're interested in KDE you should really attend if you can (in person if possible), and not only the weekend of talks, but the whole week! And you should register today!

      • GNOME Desktop/GTK

        • The Register UKThere's no place like GNOME: Project hits 25, going on 43

          The two original developers behind the GNOME project started work 25 years ago, and the 43rd version of their brainchild is nearly here.

          The GNOME project is celebrating its quarter century, not long behind that of the KDE project, whose version 5.23 was its corresponding birthday last year. They're close for a reason, but it's ancient history in Linux terms.

          As we've covered in some depth before, KDE uses the Qt toolkit, which is written in and designed for use with C++. When the KDE project started, Qt wasn't GPL. As a result, Red Hat refused to bundle KDE with its distro (which is how Mandrake Linux got started – it was Red Hat Linux, but bundled with KDE).

          A second issue is that Linux is mostly written in C, just like Unix before it. Some traditional Unix types remain suspicious of C++ and prefer to avoid it. The result was GNOME – a desktop written in C, using the all-GPL GTK toolkit. For years thereafter, if you installed Red Hat Linux, you got GNOME.

        • DebugPointGNOME 43: Top New Features and Release Wiki

          An extensive feature analysis of the GNOME 43 desktop environment bringing impactful changes to your day-to-day needs and workflow.

  • Distributions and Operating Systems

    • Arch Family

      • 9to5LinuxManjaro ARM 22.08 Released with Orange Pi 3 and 4 LTS Support, Linux Kernel 5.19

        Manjaro ARM 22.08 is here about two months after Manjaro ARM 22.06, which introduced PipeWire by default for all editions. The new release brings support for the Orange Pi 3 LTS and Orange Pi 4 LTS devices, official images for many RK356x devices, the latest KDE Plasma 5.25 desktop environment, and Linux kernel 5.19 (not available on all editions).

        Other than that, Manjaro ARM 22.08 ships with the latest Pacman 6.0 as the default package manager, as well as various new and updated packages from upstream and Manjaro ARM. However, this release doesn’t contain any major internal changes that would block the upgrade from Manjaro ARM 22.06.

    • Fedora Family / IBM

      • Enterprisers ProjectEdge computing: 4 key security issues for CIOs to prioritize

        With many enterprise edge computing strategies still in their early days, edge security could likewise appear as a new – a potential risky – frontier.

        The highly distributed nature of edge computing does expand an organization’s threat surface and overall complexity. But edge itself shouldn’t be viewed as scary or insecure – security just needs to be properly prioritized, much like your cloud and on-premises environments.

        “Edge computing can create more complexity, and this can make securing the entire system more difficult,” says Jeremy Linden, the senior director of product management at Asimily. “Still, there is nothing inherently less secure about edge computing.”

        The big edge security risks should sound familiar – compromised credentials, malware and other malicious code, DDoS attacks, and so forth.

      • Red HatHow Ansible simplifies JBoss EAP deployment on Azure [Ed: IBM/Red Hat is having a "dick-sucking competition" (to borrow Torvalds' words) with Canonical]

        This article demonstrates how to deploy Red Hat JBoss Enterprise Application Platform (JBoss EAP) on Microsoft Azure using Ansible automation. Currently, Red Hat has a Microsoft Azure Marketplace offering of JBoss EAP, but it's available only through the Bring-Your-Own-Subscription (BYOS) model, which is relatively complex. This article creates Azure resources using Ansible Collections for Azure and then deploys JBoss EAP using the WildFly service provided by the Ansible Middleware project.

    • Debian Family

      • Daniel PocockDebian & Open Source volunteer suicides: who pays compensation?

        The comparisons between the Debian Day suicide and Amnesty International suicides have resonated with many people. We see similarities in the way these people died but dramatic differences in the way organizations respond. Amnesty commissioned a public report about each case. Debian fought tooth-and-nail to keep the details secret.

        After the Amnesty suicides, somebody leaked details about a €1 million (€£800,000) compensation payment to the family of one victim.

        Debian financial backers like Ubuntu and Google may not want to make a similar payment. Could this be the reason some Debian people want to maintain secrecy about the suicide? Over the last twenty-four hours, they have launched an unprecedented pestering campaign to have moderators purge references to Frans Pop from online forums, Reddit and social media.

        When the misfits start one of these pestering campaigns, forum owners only see one side of the story, the five or six misfits clicking the "report" button over and over again. Even if this noise comes from less than one percent of the community, if the other ninety-nine percent are simply passive then the moderator might be duped or might simply remove a post as a result of fatigue. There is no button for people to click to "un-report" a post so the majority of people who value these posts are largely invisible.

        [...]

        Due to the way so much of Debian activity is conducted through electronic channels that are not visible to employers and families, his family may be completely unaware how much unrelenting pressure Frans Pop experienced.

      • Its FOSSWhat’s the difference between apt-get upgrade vs dist-upgrade?

        The apt-get update part updates the local package cache and thus tells your system about the packages that can be upgraded.

        However, many Linux users get confused between the use of apt-get upgrade and apt-get dist-upgrade.

        Are they the same, or is there a difference? In which cases should you use apt-get upgrade and when should you use apt-get dist-upgrade?

        In this article, I’ll explain the difference between apt-get upgrade and dist-upgrade. I’ll also discuss how apt upgrade and apt full-upgrade do things differently.

    • Canonical/Ubuntu Family

      • Its FOSSDeepin 23 is Introducing a New Package Format and Repository, Sounds Interesting! - It's FOSS News

        Deepin remains one of the most beautiful Linux distributions out there.

        While the entire user experience may not be hassle-free, it certainly looks good. The developers of deepin have experimented with intriguing customizations that make it stand out from the crowd.

        If you are learning about it for the first time, you should know that it is one of the interesting distributions based on Debian Linux.

      • DebugPointCanonical Officially Announced .NET Availability in Ubuntu 22.04 [Ed: This is not good news. This is Canonical and Ubuntu defecting to Microsoft's proprietary fold.]

        Canonical and Microsft jointly announce official .NET SDK and runtime availability in Ubuntu 22.04 Jammy Jellyfish.

        In a blog post today, Canonical said that .NET runtime and SDK version 6, ASP.NET SDK is available to install in Ubuntu 22.04 LTS. This enables .NET developers directly start developing products and services in Ubuntu. In addition, an OCI container image with .NET core and runtime is also available for further deployment and development.

      • InfoWorldMicrosoft .NET 6 bundled with Ubuntu Linux | InfoWorld [Ed: As "Editor at Large, InfoWorld" Paul Krill continues to produce Microsoft puff pieces in IDG.]

        Microsoft’s flagship cross-platform development platform, .NET 6, is now available in Canonical’s Ubuntu Linux distribution. The goal is to simplify access to Microsoft’s development platform and improve Ubuntu as a platform for .NET application development, the companies said.

      • Forget Ubuntu Forever, Try These 5 Easiest Linux - Gearrice

        It is true that not everyone has the necessary knowledge to take full advantage and advantages that these open source operating systems offer us. However, the developers of most of these distributions try to make things easy for their clients and users in order to attract them to their projects. While Ubuntu It is perhaps the best known and most used Linux distribution, there are many other more than interesting alternatives.

        In fact, below, we are going to talk about some proposals in this same sense that can be considered easier to use. This means that for those who wish to enter this sector of the open source software or simply learn Linux, the proposals that we will talk about can be an excellent alternative decision to Ubuntu.

        [...]

        In the event that we do not want to complicate our daily life with the PC too much when using Linux, here we have a minimalist distribution of Ubuntu itself.

    • Devices/Embedded

      • OpenSource.comMeasure latency for embedded systems with this open source tool



        Luos is an open source software and a modular methodology to simplify the creation and sharing of embedded features. Luos encapsulates hardware and software functions as microservices so that each electronic device has a set of functions that communicate and recognize each other but remain independent.

        Without Luos, the developer must synchronize timelines. It's up to the developer to control latency and to update the dates on each system so that each one has the same time repository. It's hard to do and uses a lot of resources.

      • The DIY LifeI Turned The New LattePanda 3 Delta Into A Rugged Cyberdeck - The DIY Life

        The LattePand 3 Delta is a pocket-sized single board computer with a powerful processor and a great combination of IO. It can run a range of operating systems, like Windows 10 or 11 and distributions of Linux and it even has an onboard Arduino that provides 12 Analogue inputs, and 23 digital IO pins.

        As the name suggests, this is the 3rd generation of LattePanda board and it features a few upgrades, the most significant being the new quad-core Intel N5105 processor running at 2.0Ghz, with a burst frequency of up to 2.9Ghz. It provides double the CPU performance of the previous LattePanda and three times the GPU performance.

        [...]

        The LattePanda 3 Delta comes with Windows 10 pre-installed but it’s easy to set up to dual boot a Linux OS as well.

    • Mobile Systems/Mobile Applications

  • Free, Libre, and Open Source Software

    • Releasing new libre Malayalam font ‘Karuna’ – Soliloquies

      Today, on the auspicious day of Malayalam new year (ചിങ്ങം ൧), I am pleased to announce the release of a new libre font for Malayalam script ‘Karuna’ by Rachana Institute of Typography. Karuna is a display typeface suitable for titling and headlines.

    • SaaS/Back End/Databases

    • Programming/Development

      • Jetpack 5.0.2 with Jetson Linux 35.1 is now live!

        We are very pleased to announce that JetPack 5.0.2 is now released!

        JetPack 5.0.2 production release replaces JetPack 5.0/5.0.1 Developer preview release which were for development purposes only. JetPack 5.0.2 is the first production release for Jetson AGX Orin. JetPack 5.0.2 includes Jetson Linux 35.1 BSP with Linux Kernel 5.10, an Ubuntu 20.04 based root file system, a UEFI based bootloader, and OP-TEE as Trusted Execution Environment. JetPack 5.0.2 includes the latest compute stack on Jetson with CUDA 11.4, TensorRT 8.4.1, cuDNN 8.4.1

        This release supports Jetson AGX Orin 32 GB production module and Jetson AGX Orin Developer Kit. It also supports Jetson AGX Xavier series and Jetson Xavier NX series modules, as well as Jetson AGX Xavier Developer Kit and Jetson Xavier NX Developer Kit.

      • QtQt for MCUs 2.2.1 Released

        Qt for MCUs 2.2.1 has been released and is available for download. As a patch release, Qt for MCUs 2.2.1 provides bug fixes and other improvements, and maintains source compatibility with Qt for MCUs 2.2.0. It does not add any new functionality.

      • CNX SoftwareTinyMaix is a lightweight machine learning library for microcontrollers - CNX Software

        Sipeed TinyMaix open-source machine learning library is designed for microcontrollers, and lightweight enough to run on a Microchip ATmega328 MCU found in the Arduino UNO board and its many clones.

        Developed during a weekend hackathon, the core code of TinyMax is about 400 lines long, with a binary size of about 3KB, and low RAM usage, enabling it to run the MNIST handwritten digit classification on an ATmega320 MCU with just 2KB SRAM and 32KB flash.

      • OpenSource.com4 common issues with implementing Agile and how to address them

        While working on the open source ZenTao project, I get constant feedback that getting Agile up and running is a big task in many organizations. As with any new process, you will run into issues, and many of them will feel unique to your organization. While context is important, there's a certain amount of abstraction possible after you've coached enough teams. This article covers the four most common issues I've encountered. While your Agile coach should analyze any actual problems in the context of your organization, knowing these general issues can help better prepare you and your teams for the transitional process.

        Note that I only discuss issues that have been found and not how to find issues, which is another topic entirely!

      • Using the crypt() Function in PHP - Pi My Life Up

        The crypt() function in PHP allows you to generate a hash of the specified string using a variety of hashing algorithms.

        Some of this function’s supported hashes include blowfish, SHA-256, and MD5.

        If you are planning on using this to encrypt passwords, we recommend that you use the password_hash() function instead. This function is a wrapper for PHP’s crypt() function but uses strong encryption and a strong salt by default.

      • C++

        • Linux HintNull in C++

          A null pointer points to nothing. The default constant null has a value of 0. Similar to how C++ end strings, the character 0 is used to end strings. Null is another possible value for a pointer, and unless the CPU supports a particular bit pattern for null pointers, it has the same meaning as zero. Something has no value when marked with the SQL special marker null or referred to as NULL. Frequently used as a separator, terminator, or filler is the zero-valued ASCII character known as “null” or “NUL”. This symbol has no visible representation. An object pointer (or reference) not currently set to point to an object is known as a null pointer or reference. It may also be written as None, NULL, or nil.

        • Linux HintDefault Constructor in C++

          “When an object is created in C++, a special technique named the function Constructor is immediately called. In general, it is utilized to configure member functions of new classes. In C++, the class name serves as the title of the Constructor. Whenever we create an object, we have to invoke the Constructor. It creates the values, i.e., supplies the element with data; this is why it is referred to as a Constructor.

          The default constructor is utilized to generate the objects without a predefined initial value. A constructor can have default parameters as well as default values. If the user does not specify a default constructor, the compiler may automatically construct one and define it as required. Some configurations of the class intervals must be performed by the default constructor specified by the compiler. But depending on the situation, the compiler creates instructions for the default constructor.

          We’ll go over the default constructor’s functionality in this article.”

        • Linux HintC++ Comments

          “The purpose of comments is to serve as a reminder to you and to let others know how your program works. Large text code explanations and code snippets that need to be commented out while debugging applications are both examples of multiline comments. The compiler doesn’t take comments into account. The comments in C++ can be one or more lines long. Any character that is present inside a comment is disregarded by the C++ compiler. Your comments should make it possible for outside users to understand your code.

          If comments regarding program details are not supplied, someone reading a huge amount of code will be perplexed. Making a code more comprehensible by adding extra descriptions is possible with comments. To make the code understandable, comments may contain an algorithm description. If code needs to be reused after a significant break, comments can be useful for the individual as well. Comments shouldn’t be used as a stand-in for an English language explanation of badly written code. Writing clean, self-explanatory code should always be a priority. Next, use the comments section.”

        • Linux HintC++ Map Functions

          “Maps are associative containers that are used to store objects in a mapped manner. Every key in a key-value pair containing all the components of a map is distinct. Keys are used for ordering, but every key has a set of related values. Data could be added and removed when needed. In the C++ programming language, maps hold items created by combining a key value and a defined value.

          For two primary purposes, C++ programmers may find the map structure useful. First, by use of the key, a map enables quick and easy accessibility to the value. Creating any type of index or pointer can benefit from this attribute. A key must be unique throughout the integrated data framework, which the map provides to do. This prevents data duplication; therefore, it is another benefit of using the map.

          For example, if you’re creating a trading app and have to keep asset values by ticker sign, a map is a useful approach due to these two benefits. A map would be an efficient method to provide and check the existing weather in many cities all over the world if we had been developing a weather app. We will probably use a map at an online marketplace to locate products by brands or categories.”

        • Linux HintAbstract Classes C++

          “A class in C++ Programming language is considered abstract if it contains at least a single virtual method. The virtual method can be defined by the classes that inherit the abstract class; otherwise, the subclass would have become an abstract class. Abstract classes have been used to construct the C++ APIs; however, data abstraction, which will be the idea of maintaining configuration settings apart from associated data, may not be mixed up with abstract methods. An abstract class operates as a base class from which certain classes may derive. Let’s see the different examples of an abstract class.”

      • Python

        • Linux HintPlotly.Graph_objects.scattermapbox

          “In this article, we will explore how we can create scatter plots on Maps using the Mapbox API.

          Keep in mind that you will require a Mapbox account and access token to access the Mapbox API and create various types of plots.

          To learn more about that, check our tutorial on the plotly set_mapbox_access_token function.”

          That being said, let’s dive in.

        • Linux HintWhere Are Python Packages Installed in Linux

          This article focuses on Python packages location in different Linux distributions.

          By reading this tutorial, you will learn where the Python packages and modules are installed in your system and other Linux distributions. But the most important teaching in this tutorial is in the last section, where you will learn how to find the Python packages without memorizing the directories independently of the Linux distribution or installation method.

          All examples shown in this article include screenshots, making it easy for every Linux user to understand them independently of their knowledge level.

        • Linux HintNumPy.Square

          The square function in NumPy allows you to perform an element-wise square of an input array. Once you provide an array, the function will return an array of similar shape with each element in the source array squared.

          This function does not perform the operation in-place. Hence, the input array remains unchanged.

        • Linux HintDecorators in Python

          Python’s decorators are an extremely helpful feature as they let the programmers customize how a method or class behaves. Decorators enable us to encapsulate another function to modify its functionality temporarily while extending the functionality of the wrapped method. Let’s first comprehend a few concepts that would be helpful while learning about decorators before we get too deeply into them.

      • Java

        • Linux HintWhat Is Spring Framework?

          Spring is a Java-based application framework that can be used to create any type of application, such as stand-alone, web, or enterprise application. It was designed and created by Rod Johnson to deliver a refine and improved version of the JEE development architecture. The Rod was first released in June 2003 with the Apache 2.0 license.

  • Leftovers

    • Hardware

    • Security

      • Privacy/Surveillance

        • Jupiter BroadcastingApple's Mob Move | Coder Radio 479

          New leaks reveal how hollow Apple's claims of fighting for user privacy are. We discuss their scheme to monetize the downturn.

        • Internet Freedom FoundationDelhi Police's claims that FRT is accurate with a 80% match are 100% scary

          After being directed by the Delhi High Court to respond afresh to our RTI requests seeking information on use of facial recognition (FRT) in policing, the Delhi Police has revealed that it treats all results above 80% similarity as positive results. Read our analysis of the responses received below.

          RTI responses shine new light on how the Delhi Police uses FRT

          In 2020 and 2021, we filed three RTI requests with the Delhi Police seeking information on their use of FRT. The information was refused under Section 8 of the RTI Act. Some information was refused on the ground that it is not available. The Delhi Police also said they have “Nil” information on CCTV cameras! Our first appeals against these responses were rejected, so we filed Second Appeals with the Central Information Commission. They were heard on June 29, 2022, and the Delhi Police were directed to revise their response to the RTI applications, in compliance with the RTI Act.

    • AstroTurf/Lobbying/Politics

      • AccessNowCivil society to Meta: Stop censoring reproductive rights content

        Access Now, Amnesty International USA, Fight for the Future, Human Rights Watch, and Planned Parenthood Federation of America are calling on Meta to come clean in regards to its dangerous censorship of reproductive rights content in a post-Roe world.

        In the weeks following the Dobbs v. Jackson Women’s Health Organization decision, reports began to emerge detailing cases where Meta censored reproductive health-related information in the United States, including posts and hashtags that used the words “abortion pills” and abortion medication “mifepristone.”

        Then news broke that Facebook turned over the messages of a teenager in Nebraska to law enforcement over charges that she broke a state law banning abortions after 20 weeks.

        These cases are incredibly alarming when it comes to Meta, its platforms, and how (or if) it intends to protect peoples’ rights to seek, receive, and impart information related to sexual and reproductive health. While the company has made public comments about plans to protect its employees’ access to reproductive healthcare, it has not said if it will do the same for the millions of people who use its platforms in the U.S.

        Civil society calls on the company to clarify how and why Meta’s Community Standards and other policies led to the removal of abortion-related content, and to assess whether these policies contravene the human right to abortion.

    • Civil Rights/Policing

      • Internet Freedom FoundationMonsoon Session 2022: A Digital Rights Review

        The Monsoon session of Parliament was held from July 18, 2022 to August 8, 2022. Parliament adjourned sine die two working days ahead of schedule, having sat for 16 days. In the ongoing 17th Lok Sabha, this is the seventh consecutive session that has been cut short. This session saw the election of the new President and Vice President (who is also the Chairman of the Rajya Sabha). Debates on several prominent issues, including discussion on price rise, led to frequent disruptions during the Monsoon Session. Approximately 23 Members of Parliament (“MPs”) were also suspended during the course of the session. In this post, we take a look at these disruptions, suspensions, bills passed/ withdrawn and analyse how the Parliament fared with respect to digital rights. Unfortunately, from a key legislation on data protection being withdrawn to parliamentary questions posed by suspended MPs going unanswered, the parliament saw very limited activity.

        [...]

        This Monsoon Session was a huge setback for digital rights: the withdrawal of the DPB, 2021 sent us back more than four years, when the consultation process for the data protection legislation began. The upcoming ‘comprehensive legal framework’ will set the tone for India’s data protection regulatory regime and thus it is essential that the comments, feedback and deliberations serve to inform the government about the issues that various stakeholders, especially the civil society, want a data protection legislation to address. Thus, we hope that when the government finally presents the new Bill, it conducts comprehensive public consultation and discussions on the Bill in Parliament, and provides its rationale for either accepting or rejecting each of the recommendations of the JPC. We also hope that in the upcoming sessions, parliamentary procedures are conducted in good faith, such that we are able to fathom the veracious account of digital rights in India.

  • Gemini* and Gopher

    • Personal

    • Politics

      • The Viper Manchin

        The United States Inflation Reduction Act of 2022 is poisoned.

        It’s bad enough that it divided the climate money by ten and then changed it to be about “energy security” (probably better known as drill mania), taking our earmarked climate change save-the-world money and instead dedicating much of it to burning the world.

        The snake in the grass is hiding in section 50265. This section says blocks sun&wind power on federal land until oil and gas have gotten a stab first, in each calendar year.

    • Technical

      • Writing offline

        I have always liked writing digitally, particularly because of the speed at which you can convey thoughts and the easy formatting. Recently, I have taken a new approach towards writing: putting my thoughts down on paper then transcribing them here.

        Writing on paper is a whole different environment from digital writing, so I will discuss various aspects of it.

      • Internet/Gemini

        • Capsule design

          Recently, I have re-designed my capsule, inspired by a post from idiomdrottning[1] about designing your capsule for simplicity.

          I switched from using the ISO8601 format dates in the URL, to including the full post title, no date. The date could induce FOMO as in "oh, what other posts are there this is from N date", while I do not want it to be that. Besides, the principle of presenting every resource as a first-class citizen is a good idea, not piggy-backing off your posts in order to redirect people to your capsule. The content matters, not views.

          Although, the URLs might get a tad too long if there is a lengthy title, I will see how I shorten it, perhaps not including linker words.

        • Reclog

          Sometimes I read posts that I find interesting and that I would like to share with others but that I don't have anything particularly good to say about. Following a recent post introducing Re:logs, I just had the idea of starting a "recommendations log".


* Gemini (Primer) links can be opened using Gemini software. It's like the World Wide Web but a lot lighter.



Recent Techrights' Posts

United States Entering the $100 Trillion Debt Trap, We Compare GAFAM Debt
Google's debt is about 6 times less than Amazon's
Software Freedom Conservancy (SFC), Inc. vs. Vizio, Inc. Is Costing the Free Software Foundation Money
FSF subpoena and deposition
They Try to Replace the Creators of GNU/Linux and Hijack Their Word, Work, and Reputation
gnu.org is down at the moment; now I'm told it's back but very slow. DDoS?
Links 05/05/2024: Political Cyberattacks From Russia and Google Getting a Lot Worse
Links for the day
 
Links 06/05/2024: Scams and Politics
Links for the day
Gemini Links 06/05/2024: Reading and Computers
Links for the day
GitLab's Losses Grew From $172,311,000 to $424,174,000 Per Annum
Letting this company have control over your (or your company's) development/code forge may cost you a lot in the future
statCounter's Latest: Android Bouncing to New All-Time Highs, Windows Down to Unprecedented Lows
Android rising
Can't Bear the Thought We're Happy and Productive
If someone is now harassing online friends, attacking the wife, attacking my family (not just attacking and defaming people I know online) there are legal ramifications
On Character Assassination Tactics
The people who leverage these dirty politics typically champion projection tactics
IRC Proceedings: Sunday, May 05, 2024
IRC logs for Sunday, May 05, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Erinn Clark & Debian: Justice or another Open Source vendetta?
Reprinted with permission from disguised.work
Death of Michael Anthony Bordlee, New Orleans, Louisiana
Reprinted with permission from disguised.work
The Revolution Continues
Today we've published over 20 pages and tomorrow we expect more or less the same
Death of Dr Alex Blewitt, UK
Reprinted with permission from disguised.work
Following the Herd (or HURD)
Society advances owing to people who think differently and promote positive change, not corporate shills
Thiemo Seufer & Debian deaths: examining accidents and suicides
Reprinted with permission from disguised.work
Gemini Links 05/05/2024: Infobesity and Profectus Beta 1.0
Links for the day
Running This Site Mostly a Joyful Activity
The real problem or the thing that we need to cancel is this "Cancel Culture"
Australia Has Finally Joined the "4% Club" (ChromeOS+GNU/Linux)
statCounter stats
Debian as a Hazardous Workplace Where No Accountability Exists (Nor Salaries)
systematic exploitation of skilled developers by free 'riders' (or freeloaders) like Google, IBM, and Microsoft
Clownflare Isn't Free and Its CEO Openly Boasted They'd Start Charging Everyone to Offset the Considerable Losses (It's a Trap, It's Just Bait)
Clownflare has collapsed
Apple Delivered Very Disappointing Results, Said It Would Buy Its Own Shares (Nobody Will Check This), Company's Debt Now Exceeds Its Monetary Assets
US debt is now 99.98 trillion dollars
FSFE Still Boasts About Working Underage People for No Pay
without even paying them
IRC Proceedings: Saturday, May 04, 2024
IRC logs for Saturday, May 04, 2024
Over at Tux Machines...
GNU/Linux news for the past day
The Persecution of Richard Stallman
WebM version of a new video
Molly de Blanc has been terminated, Magdalen Berns' knockout punch and the Wizard of Oz
Reprinted with permission from disguised.work
[Meme] IBM's Idea of Sharing (to IBM)
the so-called founder of IBM worshiped and saluted Adolf Hitler himself
Neil McGovern & Debian: GNOME and Mollygate
Reprinted with permission from disguised.work
[Meme] People Who Don't Write Code Demanding the Removal of Those Who Do
She has blue hair and she sleeps with the Debian Project Leader
Jaminy Prabaharan & Debian: the GSoC admin who failed GSoC
Reprinted with permission from disguised.work
Jonathan Carter, Matthew Miller & Debian, Fedora: Community, Cult, Fraud
Reprinted with permission from disguised.work
Techrights This May
We strive to keep it lean and fast
Links 04/05/2024: Attacks on Workers and the Press
Links for the day
Gemini Links 04/05/2024: Abstractions in Development Considered Harmful
Links for the day
Links 04/05/2024: Tesla a "Tech-Bubble", YouTube Ads When Pausing
Links for the day
Free Software Community/Volunteers Aren't Circus Animals of GAFAM, IBM, Canonical and So On...
Playing with people's lives for capital gain or "entertainment" isn't acceptable
[Meme] The Cancer Culture
Mission accomplished?
Germany Transitioning to GNU/Linux
Why aren't more German federal states following the footsteps of Schleswig-Holstein?
IRC Proceedings: Friday, May 03, 2024
IRC logs for Friday, May 03, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Alexander Wirt, Bucha executions & Debian political prisoners
Reprinted with permission from disguised.work
Links 03/05/2024: Clownflare Collapses and China Deploys Homegrown Aircraft Carrier
Links for the day
IBM's Decision to Acquire HashiCorp is Bad News for Red Hat
IBM acquired functionality that it had already acquired before
Apparently Mass Layoffs at Microsoft Again (Late Friday), Meaning Mass Layoffs Every Month This Year Including May
not familiar with the source site though