Language Selection

English French German Italian Portuguese Spanish

IBM/Red Hat Leftovers

Filed under
Red Hat
  • New C++ features in GCC 10

    The GNU Compiler Collection (GCC) 10.1 was released in May 2020. Like every other GCC release, this version brought many additions, improvements, bug fixes, and new features. Fedora 32 already ships GCC 10 as the system compiler, but it’s also possible to try GCC 10 on other platforms (see godbolt.org, for example). Red Hat Enterprise Linux (RHEL) users will get GCC 10 in the Red Hat Developer Toolset (RHEL 7), or the Red Hat GCC Toolset (RHEL 8).

    This article focuses on the part of the GCC compiler on which I spend most of my time: The C++ front end. My goal is to present new features that might be of interest to C++ application programmers. Note that I do not discuss developments in the C++ language itself, although some language updates overlap with compiler updates. I also do not discuss changes in the standard C++ library that comes with GCC 10.

    We implemented many C++20 proposals in GCC 10. For the sake of brevity, I won’t describe them in great detail. The default dialect in GCC 10 is -std=gnu++14; to enable C++20 features, use the -std=c++20 or -std=gnu++20 command-line option. (Note that the latter option allows GNU extensions.)

  • Yes, you can run VMs on Kubernetes with KubeVirt

    Cloud-native apps stand on four pillars: containers, DevOps, continuous integration/continuous delivery (CI/CD), and microservices. Migrating a legacy, monolithic application to become cloud-native usually demands a significant refactoring effort. Sometimes a VM is better than a container, for example, with LDAP/Active Directory applications, tokenization applications, and applications requiring intensive GPU workloads.
    But it can get complicated when you have some cloud-native applications running on a Kubernetes platform and other applications running on non-Kubernetes platforms. What if you could run both containers and VMs on a Kubernetes platform? Wouldn't the world be beautiful?

    Enter KubeVirt, an open source project distributed under an Apache 2.0 License. It was created by Red Hat engineers to enable Kubernetes to provision, manage, and control VMs alongside container resources. KubeVirt can make it easier for an enterprise to move from a VM-based infrastructure to a Kubernetes and container-based stack, one application at a time.

  • 7 things you can do with Ansible right now

    As a computer geek, I tend to unintentionally collect computers. Sometimes they're computers I rescue from the rubbish bin, other times they're computers people give me as payment for helping them transfer their data to their newer computer, and still other times, it's a small fleet of machines I manage for charity organizations lacking finances for a "real IT guy." I can attest that anything from two to 200 computers is too many to set up and configure manually.

  • Share Ceph Storage Between Kubernetes Clusters With OpenShift Container Storage

    This week Red Hat announced the release of OpenShift Container Storage 4.5. We invited Pete Brey, Sr. Product Marketing Manager at Red Hat to deep dive into this release. One of the major highlights of this release is ‘External Mode’ that allow customer to tap into their standalone Ceph Storage platform that’s not connected to any Kubernetes cluster. It allows users to set-up a shared storage platform between different Kubernetes Clusters.

More in Tux Machines

today's howtos

  • Switching Xorg keyboard layout on OpenBSD

    Here’s a few minimalistic options to switch keyboard layout on OpenBSD.

  • Update all Docker Images
  • The Baseline

    Writing your technical documentation so it is easy to understand is good. This does not mean you have to remove information or “dumb down” your text. Often it just means moving things around, changing the focus of a few sentences, or expanding a couple of paragraphs. The content remains the same. What changes is the way you present it. But if you still need convincing on why you should bother going that extra mile, let’s run through some of the reasons. The truth is you never really know who your audience is going to be or how much they know. Internal documentation, aimed initially at a very specific group of people, is often pushed out elsewhere because “it is good enough”, or “we don’t have time (or money) to change it”, or someone found it on the Internet and simply started using it and linking to it. Hence, your documentation will most certainly be used in more ways than you originally anticipated. Your technical manual can get recycled into a user manual, for example. Or Darryl, from sales, may need to convince clients of the benefits of the product, and all he has to build his case on is your technical manual. [...] You could’ve written that paragraph more formally and it would’ve still been easier to understand than the original. Note also how the re-written version contains essentially the same information as the original. The original is just obtuse. Dig out a baseline to kick off your text, yes, but also every time you are about to begin a new section, any time you introduce a new topic, or simply have a tricky paragraph you are not sure how to approach. The baseline will help you focus your text, making the usefulness of what you are describing clearer to the reader throughout. The aim is that your reader, regardless of their level of technical knowledge, can always come away with a broad idea of what you are talking about. If you start by listing features or the libraries used, stating what the thing is instead of what it is used for, or forgetting about your audience entirely (and all these things happen waaaaaaaaaaaaaay more often than you think), the chances of you never getting through but to a small number of readers is virtually guaranteed.

  • 12 Tips to improve GNU/Linux server security | LibreByte

    Any server or device with a public IP address becomes a target for attackers. Therefore, it is of utmost importance to harden the security in order to neutralize any malicious activity, here are 12 tips that will help you improve the security of your server.

  • Create Windows 10 Install Media (USB flash drive) on Linux
  • How to install Teamviewer on Ubuntu 20.04 via command line - Linux Shout

    Here are the commands to install TeamViewer on Ubuntu 20.04 Linux using the official repository of this free remote desktop software

  • How To Install Apache Subversion on Ubuntu 20.04 LTS - idroot

    In this tutorial we will show you how to install Apache Subversion on Ubuntu 20.04 LTS, as well as some extra required package by Apache

  • Install Bacula Backup Server on Ubuntu 20.04

    Bacula is an open-source backup tool that can be used to backup and restore data across the network. It is simple and easy to use tool, and offers many advanced storage management features that help you to backup and recover your lost files easily. It supports Linux, Windows and macOS backup client and also supports a wide range of backup devices. Bacula is made from several components including, Bacula directory, Bacula, console, Bacula storage, Bacula file and Bacula catalog. Each components are responsible for managing specific jobs.

  • How to Run Android on Linux Using Virtual Machine | Beebom

    Learn how to run Android on Linux using Virtual Machine. You can install Android apps and games on Linux and the performance will be better than emulators.

  • How to Use AppImage on Linux (Beginner Guide) – TecAdmin

    The Linux system uses a package manager tool with central repositories like Apt, Yum etc. Which is the traditional way for the applications installation on any Linux system. Some of the application comes with extension .appimage. It may be, you are not much aware about these files. In this tutorial you will learn about the AppImage file. Also you will found details to how to install and use AppImage files on a Linux machine.

  • How to Change Color Schemes in Vim

    Vim is a text editor that can be used to edit all kinds of plain text, especially useful for writing and editing programs. It is also one of the customizable text editors heavily used in Linux operating system. The suitable color in the editor helps you to categorize, analyze and identify bug in the code. You can change color schemes that come with the software package or install vim themes. We are going to use and set Vim color schemes in centos 7 or 8. Though the tutorial is prepared on centos 8, the procedure is same for all the Linux distribution.

  • How to check TLS/SSL certificate expiration date from command-line - nixCraft

    Explains how to check the TLS/SSL certificate expiration date from Linux or Unix CLI and send an email alert using a simple script.

  • How to develop Gstreamer-based video conferencing apps for RDK & Linux set-top boxes

    CNXSoft: This is a guest post by Promwad that explains the basic steps to develop a video conferencing app with Gstreamer on TV boxes running Linux.

  • GStreamer 1.16.3 old-stable bug fix release

    The GStreamer team is pleased to announce the third and likely last bug fix release in the stable 1.16 release series of your favourite cross-platform multimedia framework! This release contains important security fixes. We suggest you upgrade at your earliest convenience, either to 1.16.3 or 1.18.

Audiocasts/Shows: Coder Radio, The Linux Link Tech Show, Talk Python and FLOSS Weekly

  • Leaping Lizard People | Coder Radio 384

    It's confession hour on the podcast, and your hosts surprise each other with several twists and turns.

  • The Linux Link Tech Show Episode 876

    repairing 3ds, power issues, ubuntu 20.10, games

  • Episode #287 Testing without dependencies, mocking in Python - [Talk Python To Me Podcast]

    We know our unit tests should be relatively independent from other parts of the system. For example, running a test shouldn't generally call a credit card possessing API and talk to a database when your goal is just to test the argument validation. And yet, your method does all three of those and more. What do you do? Some languages use elaborate dependency passing frameworks that go under the banner of inversion of control (IoC) and dependency injections (DI). In Python, the most common fix is to temporarily redefine what those two functions do using patching and mocking. On this episode, we welcome back Anna-Lena Pokes to talk us through the whole spectrum of test doubles, dummies, mocks, and more.

  • FLOSS Weekly 601: Open Source Creative - Blender, Gimp, Audacity

    Looking at open source software from a creative lens and discussing the importance and ease of using open-source software to make art, graphics, video, and more. Doc Searls and Jonathan Bennett talk with Jason van Gumster a creator, engineer, and host of the podcast, Open Source Creative. They talk about the positive side of customizing your workplace with open source software such as Blender, Gimp, Hydrogen, and Audacity. They also discuss the simplicity of open source creative software support and the great community surrounding open source creative software.

Ubuntu 20.10 Arrives Today! Here are 11 New Features in Ubuntu 20.10 Groovy Gorilla

Ubuntu 20.10 releases today. An Ubuntu fan may get excited about the new features it brings. Ubuntu 20.10 codenamed Groovy Gorilla is a non-LTS release with nine months of life cycle. You cannot expect drastic changes between subsequent releases. It doesn’t mean you won’t find new things in Ubuntu 20.10. There are some performance improvements, new Linux kernel and visual changes thanks to the latest release of GNOME 3.38 (and other desktop environments in various other Ubuntu flavors). Let’s see what new features Ubuntu 20.10 brings. Read more

Android Leftovers