Language Selection

English French German Italian Portuguese Spanish

Programming: Rust, Perl, Compilers, IBM/Red Hat and More

Filed under
Development
  • GStreamer Rust bindings 0.16.0 release

    A new version of the GStreamer Rust bindings, 0.16.0, was released.

    As usual this release follows the latest gtk-rs release.

    This is the first version that includes optional support for new GStreamer 1.18 APIs. As GStreamer 1.18 was not released yet, these new APIs might still change. The minimum supported version of the bindings is still GStreamer 1.8 and the targetted GStreamer API version can be selected by applications via feature flags.

    Apart from this, new version features mostly features API cleanup and the addition of a few missing APIs. The focus of this release was to make usage of GStreamer from Rust as convenient and complete as possible.

  • Set up Vim as your Rust IDE

    Text editors and integrated development environment (IDE) tools make writing Rust code easier and quicker. There are many editors to choose from, but I believe the Vim editor is a great fit for a Rust IDE. In this article, I'll explain how to set up Vim for Rust application development.

  • It was bound to happen.

    While I don't actually work in Perl these days, and not by choice, I still keep an eye on the community. The language is chugging along nicely. Perl 6 is out, so at least that joke has died down, features are being added, some beneficiary, some not. All is well in perland.

    Then the news dropped. Perl 7. I was very interested. More so when I realised that it was a rebranding of the latest Perl. First, let me say one thing right off the bat. It's a good call. I'm all for it. In fact, I'm so all for it that I called for it in a post from 2011. At the time I suggested using codenames like Apple and others do, or to rebrand Perl 5.14 (at the time) as Perl 14 like Java did.

    Here's why I thought, and still do, that this "rebranding" is a Good Thing:

    It bypass the whole perl5/per6 story. With perl 6 not being perl anymore and Perl 5.32 being rebranded Perl 7 the community will be able to finally move past this whole deal.

  • When a deleted master device file only takes 20 mins out of your maintenance window, but a whole year off your lifespan

    Out of ideas, Jim decided to crash (rather than halt) the system by typing the BREAK sequence at the console. The server would not get the chance to close the file cleanly...

    "We said a small prayer, crossed our fingers, booted the server, and waited for the file system check (fsck) to repair the damage we had done," he recalled.

    "I've never typed the letter 'y' more carefully than when asked if we wanted to re-link orphaned inodes."

    With an elevated heart rate, Jim logged in and checked the file system's lost+found directory.

  • LLVMpipe Now Exposes OpenGL 4.2 For GL On CPUs

    It was just a few days ago that the LLVMpipe OpenGL software rasterizer within Mesa finally achieved OpenGL 4.0 support while today it has crossed both OpenGL 4.1 and 4.2 milestones.

    Thanks to much of GL 4.1 and GL 4.2 support for this Gallium3D software driver already being in place, it didn't take too much work to get it over the latest hurdles.

  • GCC Compiler Support Posted For Intel AMX

    Building upon Intel working on GNU toolchain support for AMX, the newly-detailed Advanced Matrix Extensions being introduced next year with "Sapphire Rapids" Xeon CPUs, the GCC compiler support has been sent out in patch form.

    On top of the GNU bits that began at the end of June following Intel publishing documentation on AMX, AMX started landing in LLVM too a few days ago. The latest is AMX enablement for the GNU Compiler Collection sent out overnight.

  • 9 open source test-automation frameworks

    A test-automation framework is a set of best practices, common tools, and libraries that help quality-assurance testers assess the functionality, security, usability, and accessibility of multiple web and mobile applications. In a "quick-click" digital world, we're accustomed to fulfilling our needs in a jiffy. This is one reason why the software market is flooded with hundreds of test-automation frameworks.

    Although teams could build elaborate automated testing frameworks, there's usually little reason to spend the money, resources, and person-hours to do so when they can achieve equal or even better results with existing open source tools, libraries, and testing frameworks.

  • Profile-guided optimization in Clang: Dealing with modified sources

    Profile-guided optimization (PGO) is a now-common compiler technique for improving the compilation process. In PGO (sometimes pronounced “pogo”), an administrator uses the first version of the binary to collect a profile, through instrumentation or sampling, then uses that information to guide the compilation process.

    Profile-guided optimization can help developers make better decisions, for instance, concerning inlining or block ordering. In some cases, it can also lead to using obsolete profile information to guide compilation. For reasons that I will explain, this feature can benefit large projects. It also puts the burden on the compiler implementation to detect and handle inconsistencies.

    This article focuses on how the Clang compiler implements PGO, and specifically, how it instruments binaries. We will look at what happens when Clang instruments source code during the compilation step to collect profile information during execution. Then, I’ll introduce a real-world bug that demonstrates the pitfalls of the current approach to PGO.

    [...]

    Clang and GCC both support using obsolete profile information to guide the compilation process. If a function body changes, obsolete information is ignored. This feature can be beneficial for large projects, where gathering profile information is costly. This puts an extra burden on the compiler implementation to detect and handle inconsistencies, which also increases the likelihood of a compiler bug.

  • Earn a Red Hat containers certification online

    Lockdowns and travel restrictions due to COVID-19 have meant limited access to testing centers for most certification programs in much of the world. We recently announced that remote exams would be an option in the near future for taking some Red Hat certification exams. In the meantime, many organizations are using the current situation as an opportunity for their teams to learn and build new skills in support of containers and Kubernetes. The need to provide the hands-on validation of these skills provided by Red Hat Certification has never been greater.

    In order to address these limitations and needs, and to help organizations and IT professionals pursue the opportunities offered by these technologies, Red Hat is offering a new certification, Red Hat Certified Specialist in Containers for Kubernetes to people who pass the Preliminary Exam in Containers, Kubernetes, and Openshift (PE180).

    This certification will be given to those who have already taken the exam since it was launched in late 2019 as well as those who pass it going forward. This affordable certification offers IT professionals a remote option to strengthen their Kubernetes skills and embrace a DevOps mindset.

  • Official Gentoo Docker images

    Did you already know that we have official Gentoo Docker images available on Docker Hub?! The most popular one is based on the amd64 stage. Images are created automatically; you can peek at the source code for this on our git server. Thanks to the Gentoo Docker project!

  • Grupo Condis Embraces the Hybrid Cloud with Red Hat OpenShift

    Red Hat, Inc, the world’s leading provider of open source solutions, today announced that Grupo Condis has adopted Red Hat OpenShift, the industry’s most comprehensive enterprise Kubernetes platform, as part of its digital transformation strategy. Building on the back of the world’s leading enterprise Linux platform in Red Hat Enterprise Linux, Red Hat OpenShift helps Condis respond to market needs faster, build greater customer loyalty and create more innovative services without sacrificing the stability of critical operations.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. 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 MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.