Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • How the Integrated Gradients method works? - Vincent Lequertier's blog

    For artificial intelligence (AI) transparency and to better shape upcoming policies, we need to better understand the AI’s output. In particular, one may want to understand the role attributed to each input. This is hard, because in neural networks input variables don’t have a single weight that could serve as a proxy for determining their importance with regard to the output. Therefore, one have to consider all the neural network’s weights, which may be all interconnected. Here is how Integrated Gradients does this.

  • Want a piece of GitLab? It's going to cost you: IPO price per share settles at $77

    The one-stop shop approach by DevOps darling GitLab appears to have attracted an Initial Public Offering price of $77, giving the loss-making biz a potential valuation of $11bn

    GitLab finally filed for an IPO in September and this week upped the estimated price per share to between $66 and $69. The eventual price has turned out to be $77, well above the initial $55 to $60 first estimated.

    8.42 million shares of Class A common stock are being sold. Founder and CEO Sytse Sijbrandij is selling another 1.98 million shares, according to the filing. Should that $77 price survive the start of trading today, GitLab's market value will nudge past $11bn.

  • Functional vs. object-oriented programming: The basics

    Committing to a programming paradigm is an important step in any application development effort. While they are hardly the only two options when it comes to overarching development models, the choice between functional programming and object-oriented programming is one that an increasing number of developers face today.

  • There is no 'printf'.

    Pop quiz! What will the following program return?

  • Malicious packages mitmproxy2 and mitmproxy-iframe removed from PyPI directory - itsfoss.net

    The author of mitmproxy , a tool for analyzing HTTP / HTTPS traffic, drew attention to the appearance of a fork of his project in the Python Package Index (PyPI) directory. The fork was distributed under the similar name mitmproxy2 and the non-existent version 8.0.1 (current release of mitmproxy 7.0.4) with the expectation that inattentive users will perceive the package as a new version of the main project ( typesquatting ) and wish to try the new version.

    In terms of its composition, mitmproxy2 was similar to mitmproxy, with the exception of changes in the implementation of malicious functionality. The changes were reduced to the termination of setting the HTTP header ” X-Frame-Options: DENY “, which prohibits the processing of content inside the iframe, disabling protection against XSRF attacks and setting the headers ” Access-Control-Allow-Origin: * “, ” Access-Control- Allow-Headers: * “and” Access-Control-Allow-Methods: POST, GET, DELETE, OPTIONS “.

  • Perl Weekly Challenge 134: Pandigital Numbers and Distinct Term Count
  • Sourcing vs executing in Bash

    What if, from the shell prompt, I could source the script, to bring the function definitions into my current environment, and then manually invoke the check function on a single pull request?

    Sourcing the script as it is would have the unwanted effect of running checks on all the pull requests, because the last line in the script actually invokes main, as it’s supposed to.

  • Rust-Based Cloud-Hypervisor 19.0 Released With Improved Live Migration, Faster Boot Time - Phoronix

    Cloud-Hypervisor 19.0 debuted this week as the Intel-led open-source VMM focused on supporting modern cloud workloads and written in the Rust programming language while leveraging the Linux's KVM virtualization code or the Microsoft MSHV hypervisor on Windows.

    Cloud-Hypervisor 19.0 continues to focus on only supporting 64-bit software, providing a minimal attack surface and other security improvements in part by leveraging Rust, and other modern-focused design principals.

  • Dyn async traits, part 6

    A quick update to my last post: first, a better way to do what I was trying to do, and second, a sketch of the crate I’d like to see for experimental purposes.

More in Tux Machines

OpenBoard: An Open Source Interactive Whiteboard for Educators

There are several open-source tools available for education. But, not all of them are impressively well-maintained at the level of commercial software put forward for schools and universities. OpenBoard is one such exceptional free and open-source tool that enables education without any compromises. It is an interactive whiteboard program that features all the essential functionalities along with support for a variety of hardware. Read more

GNOME Mulls ’Cleanup’ of Background Settings in Pursuit of New Features

The plans are a work-in-progress and yet to be confirmed, but if approved they will involve “getting rid of a bunch of features” that are not currently exposed to users in the GNOME Settings app, and whose code is otherwise surplus to requirements. Plus, as is so often the case in situations like this, doing so will ease the maintainability burden. Read more

today's howtos

  • Do you need to manage your money properly? Install Akaunting on Debian 11!

    Hello, friends. In this post, you will learn how to install Akaunting on Debian 11. Thanks to it, you will be able to manage your money properly. Let’s go for

  • Install & Configure Gitlab on Ubuntu 20.04 LTS - LinuxCapable

    GitLab is a free and open-source web-based code repository for collaborative software development for DevOps, written in Ruby and Go programming languages. GitLab’s main motto is “Bring velocity with confidence, security without sacrifice, and visibility into DevOps success.” It is quite a popular alternative to GitHub providing wiki, issue-tracking, and continuous integration and deployment pipeline features, using an open-source license, developed by GitLab Inc. In the following tutorial, you will learn how to install and configure Gitlab on Ubuntu 20.04 LTS Focal Fossa Desktop or Server, along with how to get started by logging in with root so you can begin setting up GitLab to your liking or for your team’s requirements.

  • How to Install and Configure Zabbix Server 5 on Rocky Linux/Alma Linux 8

    Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines and cloud services. Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption. Zabbix has a rich set of features to enable users to monitor more than just hosts, offering great flexibility to administrators when it comes to choosing the most suitable option for each situation. Zabbix uses XML based template which contains elements to monitor. The backend of Zabbix is written in C programming and PHP is used for the web frontend. Zabbix can send you alerts to notify the different events and issues based on metrics and thresholds defined for your IT environment. It supports agent-based and agentless monitoring. But Zabbix agents installation can help you to get detailed monitoring e.g. CPU load, network, disk space utilization. As of the writting of this article, the latest Zabbix version is 5.4. In this guide, we will learn how to install and configure Zabbix on Rocky Linux 8. This guide also works for other RHEL 8 based systems like Oracle Linux 8 and Alma Linux 8.

  • How to enable/disable wayland on Ubuntu 22.04 Desktop

    Wayland is a communication protocol that specifies the communication between a display server and its clients. By default the Ubuntu 22.04 Jammy Jellyfish desktop already uses Wayland but it’s also possible to load to Xorg display server instead. In this tutorial, you will see how to disable and enable Wayland in Ubuntu 22.04 Jammy Jellyfish.

  • How to install Gnome Shell Extensions on Ubuntu 22.04 Jammy Jellyfish Linux Desktop

    The functionalities of the GNOME desktop environment can be expanded by downloading GNOME shell extensions. These are plugins written and submitted by normal users and developers that seek to improve the desktop environment and want to share their extension with other users. In this tutorial, you will learn how to install Gnome Shell Extensions on Ubuntu 22.04 Jammy Jellyfish Desktop.

  • How to install, uninstall and update Firefox on Ubuntu 22.04 Jammy Jellyfish Linux

    Every Ubuntu user that uses a graphical interface will have to interact with Mozilla Firefox in some capacity, since it’s the default internet browser on Ubuntu 22.04 Jammy Jellyfish. Even if you just want to uninstall it and use a different browser, you’ll at least be dealing with it for a short time. In this guide, we’ll show you how you can install, update, and uninstall Firefox on Ubuntu 22.04.

  • Install Python 2 on Ubuntu 22.04 Jammy Jellyfish Linux

    This tutorial will show how to install Python 2 for Ubuntu 22.04 Jammy Jellyfish. Python 2 has not been the default installed version on Ubuntu versions for a few years, but it’s still possible to install Python 2 and to install Python 2.7 on Ubuntu 22.04. Follow the step by step instructions below to see how to install Python 2 and use it as the default Python interpreter on Ubuntu 22.04 Jammy Jellyfish.

  • How to customize dock panel on Ubuntu 22.04 Jammy Jellyfish Linux

    In this article, we will show you a few methods for customizing the dock panel in the default GNOME desktop environment on Ubuntu 22.04 Jammy Jellyfish Linux. GNOME is the default desktop environment for Ubuntu 22.04 Jammy Jellyfish, and one of the first things you’ll see on your desktop is the dock panel to the left of the screen. The dock panel is highly customizable, so it’s easy to tailor it to your liking.

  • Matthew Garrett: Boot Guard and PSB have user-hostile defaults

    Compromising an OS without it being detectable is hard. Modern operating systems support the imposition of a security policy or the launch of some sort of monitoring agent sufficient early in boot that even if you compromise the OS, you're probably going to have left some sort of detectable trace[1]. You can avoid this by attacking the lower layers - if you compromise the bootloader then it can just hotpatch a backdoor into the kernel before executing it, for instance.

  • Ubuntu 22.04 GUI installation

    The purpose of this guide is to install a desktop environment on Ubuntu 22.04 Jammy Jellyfish, whether you already have a GUI installed and wish to use a different desktop environment, or if you are only using the command line and would like access to a GUI. You can also use these instructions to install a GUI on Ubuntu Server 22.04, which doesn’t have a desktop environment installed by default. Follow along with the step by step instructions below to install a GUI on Ubuntu 22.04 Jammy Jellyfish Server and Desktop.

  • How to install Discord on Ubuntu 22.04 Jammy Jellyfish Linux

    Discord is an application for text, image, video and audio communication, which was developed for video gaming communities. Discord runs on various Linux distributions of your choice and, in particular, on Ubuntu 22.04. The objective of this guide is to install Discord, the gamer’s chat platform, on Ubuntu 22.04 Jammy Jellyfish.

  • How to install Steam on Ubuntu 22.04 Jammy Jellyfish Linux

    Steam is easily the most popular PC gaming client, and with hundreds of titles available for Linux systems, it’s no wonder why Linux gamers would want to install Steam on Ubuntu 22.04 Jammy Jellyfish. Valve, the company behind Steam, officially targets Ubuntu and Debian with their Linux support, which is great news for Ubuntu users. In this tutorial, we will guide you through the instructions to install Steam for Ubuntu 22.04 Jammy Jellyfish using the standard Ubuntu repository as well as to perform a manual installation using the official Steam package.

  • Ubuntu 22.04: Connect to WiFi from command line

    The purpose of this tutorial is to connect to a WiFi network via the command line on Ubuntu 22.04 Jammy Jellyfish. This could be useful if you are running a headless Ubuntu 22.04 system such as server or Ubuntu 22.04 on Raspberry Pi. Connecting from command line is done through configuration of Netplan on Ubuntu. Follow the step by step instructions below to see how.

  • How to Install Adobe Acrobat Reader on Ubuntu 22.04 Jammy Jellyfish Linux

    The objective of this tutorial is to install Adobe Acrobat Reader on Ubuntu 22.04 Jammy Jellyfish. Since Ubuntu does not have a native way to open PDF documents by default, users will need to install Adobe Acrobat Reader for Linux, or some other program capable of opening the documents. The advantage of Acrobat Reader, of course, is that it’s the official program and recommended for reading PDF documents in the way they are intended.

  • How to Configure IP Networking with nmcli Command in Linux

    Nmcli (network manager command-line interface) is a command-line utility used to control the NetworkManager daemon which is used to configure network interfaces. With the nmcli utility, you can display, create, edit, enable and disable network interfaces or connections. It is especially handy for servers and headless systems which do not have a GUI. In this tutorial, we focus on how you can configure IP networking with the nmcli command in Linux.

  • Install Pantheon Desktop Environment on Fedora 35 - LinuxCapable

    The Pantheon Desktop Environment is a free, lightweight, fast, and elegant desktop environment that stands out amongst most of its competitors in this field. Pantheon is the default featured desktop environment for elementaryOS, taking inspiration from macOS and combining it with one of the most visually appealing desktops around and a bonus for any macOS users wanting to take the plunge into Linux. In the following tutorial, you will learn how to install the Pantheon Desktop Environment on Fedora 35 Workstation.

Review: instantOS Beta

A project that has been sitting on the DistroWatch waiting list for several months is instantOS. The instantOS project is currently in its beta stage of development, but has been around long enough to review and it claims to offer a number of intriguing features. instantOS is based on Arch Linux and strives to be both light and fast. The distribution's website reports instantOS requires less than 200MB of RAM. The project also ships with its own graphical environment. This custom environment is called instantWM and it reportedly offers both tiling and floating window management. This window manager seems to be the centre piece of the distribution. instantOS is available in a single edition for x86_64 computers and is provided through a 1.4GB download. Booting from the downloaded media brings up a menu which offers options for booting into "Arch Linux". Booting into instantOS brings up a graphical environment. A thin panel is placed across the top of the screen. This panel provides access to an application menu, nine virtual desktops, a clock, and system tray. Shortly after the window manager loads we're presented with a welcome application which looks just like a simple drop-down menu. This menu lists a handful of options, including Get Started, Install, Documentation, Settings, GitHub, Support, and Close. Read more