Language Selection

English French German Italian Portuguese Spanish

Programming: Buzzwords, Meson, Tracealyzer, LLVM, Python and Rust

Filed under
Development

  • What is DevSecOps? Everything You Need To Know About DevSecOps

    Most people are familiar with the term “DevOps,” but they don’t know how to really utilize it. There’s more to DevOps than just development and operational teams. There’s an essential element of DevOps that is often missing from the equation; IT security. Security should be included in the lifecycle of apps. 

    The reason you need to include security is that security was once assigned to one team that integrated security near the end-stages of development. Taking such a lax approach to security wasn’t such a problem when apps were developed in months or years. The average development cycle has changed quite a bit, though, and apps can be developed in a matter of days or weeks. Outdated security practices like leaving security too late can bring DevOps initiatives to their knees. 

  •   

  • Nibble Stew: The Meson Manual: Good News, Bad News and Good News

    Starting with good news, the Meson Manual has been updated to a third edition. In addition to the usual set of typo fixes, there is an entirely new chapter on converting projects from an existing build system to Meson. Not only are there tips and tricks on each part of the conversion, there is even guidance on how to get it done on projects that are too big to be converted in one go.

  • Percepio Releases Tracealyzer Visual Trace Diagnostics Solution Version 4.4 with Support for Embedded Linux

    Percepio announced the availability of Tracealyzer version 4.4 with support for embedded Linux. Tracealyzer gives developers insight during software debugging and verification at the system level by enabling visual exploratory analysis from the top down. This makes the software suitable for spotting issues during full system testing and drill down into the details to find the cause.

    Version 4.4 adds several views optimized for Linux tracing, in addition to a set of visualizations already in Tracealyzer, and leverages Common Trace Format (CTF) and the widely supported LTTng, an open source tracing framework.

  •   

  • LLVM Adds A SPIR-V CPU Runner For Handling GPU Kernels On The CPU - Phoronix

    LLVM has merged an experimental MLIR-based SPIR-V CPU runner that the developers are working towards being able to handle CPU-based execution of GPU kernels. 

    This new SPIR-V runner is built around the MLIR intermediate representation (Multi-Level Intermediate Representation) with a focus of going from GPU-focused code translated through SPIR-V and to LLVM and then executed on the CPU. The runner focus is similar to that of the MLIR-based runners for NVIDIA CUDA, AMD ROCm, and Vulkan, but just executing on the CPU itself. It was earlier this year LLVM added the MLIR-Vulkan-Runner for handling MLIR on Vulkan hardware. 

  • Python Modulo in Practice: How to Use the % Operator – Real Python

    Python supports a wide range of arithmetic operators that you can use when working with numbers in your code. One of these operators is the modulo operator (%), which returns the remainder of dividing two numbers.

  • Test & Code : Python Testing for Software Engineering 136: Wearable Technology - Sophy Wong

    Wearable technology is not just smart consumer devices like watches and activity trackers.

    Wearable tech also includes one off projects by designers, makers, and hackers and there are more and more people producing tutorials on how to get started. Wearable tech is also a great way to get both kids and adults excited about coding, electronics, and in general, engineering skills.

    Sophy Wong is a designer who makes really cool stuff using code, technology, costuming, soldering, and even jewelry techniques to get tech onto the human body.

  • Librsvg's test suite is now in Rust

    Some days ago, Dunja Lalic rewrote the continuous integration scripts to be much faster. A complete pipeline used to take about 90 minutes to run, now it takes about 15 minutes on average.

    [...]

    The most complicated thing to port was the reference tests. These are the most important ones; each test loads an SVG document, renders it, and compares the result to a reference PNG image. There are some complications in the tests; they have to create a special configuration for Fontconfig and Pango, so as to have reproducible font rendering. The pango-rs bindings do not cover this part of Pango, so we had to do some things by hand.

More in Tux Machines

Videos/Audiocasts/Shows: PulseAudio, Ubuntu Podcast, and BSD Now

  • Does Pulse Audio Deserve The Hate It Gets? - YouTube

    In today's video we're going to talk about Pulse Audio specifically how Pulse Audio gets a lot of hate for being a terrible linux sound system and whether a lot of this hate is actually very justified.

  • Ubuntu Podcast S13E36 – Singing at the dinner table

    This week we have been playing DRAG. We discuss what we’ve been doing during lock down, bring you an extension of love, go over all your wonderful feedback and take a trip to ThinkPad corner. It’s Season 13 Episode 36 of the Ubuntu Podcast! Alan Pope, Mark Johnson and Martin Wimpress are connected and speaking to your brain.

  • BSD Now 378: Networknomicon

    Interview with Michael W. Lucas: SNMP and TLS book, cashflow for creators, book sale and more.

PHP 8.0 Released

PHP 8.0 is a major update of the PHP language. It contains many new features and optimizations including named arguments, union types, attributes, constructor property promotion, match expression, nullsafe operator, JIT, and improvements in the type system, error handling, and consistency. Read more Also: PHP 8.0 Officially Released With Many Language Additions, Better Performance

The Few, the Tired, the Open Source Coders

Sometimes open source coders simply walk away: Let someone else deal with this crap. Studies suggest that about 9.5 percent of all open source code is abandoned, and a quarter is probably close to being so. This can be dangerous: If code isn't regularly updated, it risks causing havoc if someone later relies on it. Worse, abandoned code can be hijacked for ill use. Two years ago, the pseudonymous coder right9ctrl took over a piece of open source code that was used by bitcoin firms—and then rewrote it to try to steal cryptocurrency. No one's quite sure what to do about open source burnout, but some think finding money for the coders might help. Programmer Ashley Williams is a member of the team creating the open source language Rust, and they're trying to set up a foundation to support core contributors, or get firms to keep contributors on staff. (Some of the largest open source projects thrive in precisely this fashion; firms like Facebook or Google pay some employees to work full-time on open source code.) Eghbal thinks subscriptions could offer new ways to pay for the work. Others worry that injecting pay can deform how and why the work is done in the first place. But we need to rethink the very idea of what crowdsourcing is capable of—and understand that it is perhaps more limited than promised. The open source revolution has been carried on the backs of some very weary people. Read more Also: Good News: Academics Can Make Their Articles Published In Top Journal Nature Freely Available As Open Access. Bad News: They Must Pay $11,000 For Each One

today's howtos

  • Add, Delete And Grant Sudo Privileges To Users In CentOS - OSTechNix

    A "sudo" user can run an administrative task or command which a normal user is not allowed to. This guide explains how to add, delete and grant sudo privileges to users in CentOS and other RHEL-based systems. The steps given below are tested in CentOS 8 minimal edition, however it should work on other RPM-based systems as well.

  • How To Install Moodle on CentOS 8 - idroot

    In this tutorial, we will show you how to install Moodle on CentOS 8. For those of you who didn’t know, Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. Moodle brings features to include assignment submission, online quizzes, wiki, grading, instant messages, discussion boards, and others. But since it’s modular software, it can be extended via plugins to add extra functionality. 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 through the step by step installation of Moodle course management system (CMS) on CentOS 8.

  • Solve error: cannot communicate with server dial unix /run/snapd.socket - Linux Shout

    Then this is because, after installation, the Daemon of SNAP is have not started yet and needs to start and enable manually by the user.

  • Running Multiple MariaDB Instances on Ubuntu 20.04 LTS – Linux Hint

    At times you may need to run multiple instances of the MariaDB database server software on the same computer/server. MariaDB has an official tool mysqld_multi to run multiple instances of the MariaDB database server software on the same computer/server. In this article, I am going to show you how to run multiple MariaDB database server instances on the same computer/server running the Ubuntu 20.04 LTS operating system. So, let’s get started.

  • Simple guide to install MongoDB on Ubuntu - LinuxTechLab

    MongoDB is an open-source general-purpose, document-based NoSQL database server which uses JSON documents. It is created keeping the current requirements of the cloud era & application developers in mind. It boasts many features, some of which are, Schemaless Provides replication Easy to scale-out index on any attribute auto-sharding Deep/rich query abilities, etc

  • The Calamares Series – everything you need to know about Calamares

    Like always some of the videos contain more information than the title suggests

  • Everything you need to know about pacman
  • Orchestrate event-driven, distributed services with Serverless Workflow and Kubernetes - Red Hat Developer

    Serverless workflows have gained renewed interest and usefulness with the rise of serverless architectures. Once seen as centralized and monolithic, they now play a key role in cloud-based event and service orchestration. Until recently, there was no vendor-neutral way to describe service orchestration, so developers were dependent on vendors and vendor implementations. We realized that we needed a common, standards-based language for describing serverless workflows. In this article, we introduce the Serverless Workflow specification, now in its 0.5 version release. Our goal with this project is to empower anyone to develop serverless workflow libraries, tooling, and infrastructure for modeling workflows across different cloud platforms.