Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development

  • #34 No Backup No Mercy · This Week in GNOME

    Update on what happened across the GNOME project in the week from March 04 to March 11.

  • Firefox Nightly: These Weeks In Firefox: Issue 111
  • SpiderMonkey Newsletter (Firefox 98-99) | SpiderMonkey JavaScript/WebAssembly Engine

    SpiderMonkey is the JavaScript engine used in Mozilla Firefox. This newsletter gives an overview of the JavaScript and WebAssembly work we’ve done as part of the Firefox 98 and 99 Nightly release cycles.

  • How to Use the unique Function in MATLAB

    The following article explains how to use the unique function in MATLAB®. This function will sort the elements of an array and remove duplicate values.
    Its main characteristics and different modes of use will also be detailed in this document.

    This tutorial includes practical examples, some of the most common errors, their corresponding error messages, and fixing them to make programming easier.

  • Qt Creator 7 RC released

    We are happy to announce the release of Qt Creator 7 RC!

  • How to Use ECMAScript Modules With Node.js – CloudSavvy IT

    A standardized way to package code as reusable modules was missing from ECMAScript for most of its history. In the absence of an integrated solution, the CommonJS (CJS) approach became the de facto standard for Node.js development.

  • Rust Compiler March 2022 Steering Cycle

    On Friday, March 11th, the Rust Compiler team had a planning meeting for the March steering cycle.

    Every fourth Friday, the Rust compiler team decides how it is going to use its scheduled steering and design meeting time over the next three Fridays.

    On Friday, 18 March, we will be having a "backlog bonanza", in a similar vein to that done by T-lang, to review the list of unimplemented or partially-implemented features. pnkfelix and Jack Huey will prepare a document to drive the meeting.

  • Rust Static String

    A static variable refers to a type of variable that has a fixed memory location. They are similar to constant variables except they represent a memory location in the program.

    Static variables in rust can have a destructor but that destructor is never run as they have a static lifetime. This means that they never run out of scope in the entire lifetime of the program in which they are declared.

  • NumPy Astype

    To modify the data type of a NumPy array, use the astype(data type) method. It is a popular function in Python used to modify the dtype of the NumPy array we’ve been provided with. We’ll use the numpy.astype() function to modify the dtype of the specified array object. The target data type, in this case, is crucial to be passed as an argument to the calling function. All generic and built-in data types are supported by the function. The astype function is explained in detail with numerous examples below.

  • NumPy Pad

    The NumPy pad() will be covered in this article. We will also take a look at its syntax and arguments for better overall knowledge. Then, using a few examples, we’ll show how all of the theory elements are put into practice. But first, let’s look at the function’s definition to acquire a better understanding of it.

  • Scala Futures

    At times, while performing complex calculations, we expect our programs to perform different tasks concurrently for having a better speed and efficiency. This concept plays a vital role especially when we do not want the time-consuming tasks to block our entire processing. In the Scala programming language, the functionality of threads can be achieved by making use of Scala Futures and we will learn more about them in this article.

  • Scala Write to File

    There is a time when we need to put information into a file, and at the same time, we want to retrieve data from that file. But Scala doesn’t have any feature of writing to file. We have to import the Java.io package from the Java library to write in a file.

  • Scala REPL

    By now, you would be well-aware of using the different functions of the Scala programming language. You have learned to create Scala scripts and execute them through Ubuntu 20.04 terminal. However, the Scala programming language also has a command-line interpreter shell known as REPL. You can create small Scala programs and execute them directly while staying within this shell using this shell. REPL stands for Read-Evaluate-Print-Loop. Whichever Scala expression you try to execute within this shell is first read by REPL, then it is converted into an executable template. Finally, its result is computed by REPL and displayed on the shell. In this guide, we will explicate to you how you can use Scala REPL in Ubuntu 20.04.

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.