Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development

  • 27 Best IDE's or Source Code Editors for Linux

    C++, an extension of well known C language, is an excellent, powerful and general-purpose programming language that offers modern and generic programming features for developing large-scale applications ranging from video games, search engines, other computer software to operating systems.

    C++ is highly reliable and also enables low-level memory manipulation for more advanced programming requirements.

  • Structuring R projects

    There are some things that I call Smith goods:1 things I want, nay, require, but hate doing. A clean room is one of these – I have a visceral need to have some semblance of tidiness around me, I just absolutely hate tidying, especially in the summer.2 Starting and structuring packages and projects is another of these things, which is why I’m so happy things like cookiecutter exist that do it for you in Python.

    While I don’t like structuring R projects, I keep doing it, because I know it matters. That’s a pearl of wisdom that came occasionally at a great price. I am famously laid back about structuring R projects – my chill attitude is only occasionally compared to the Holy Inquisition, the other Holy Inquisition and Gunny R. Lee Ermey’s portrayal of Drill Sgt. Hartman, and it’s been months since I last gutted an intern for messing up namespaces.3 So while I don’t like structuring R projects, I keep doing it, because I know it matters. That’s a pearl of wisdom that came occasionally at a great price, some of which I am hoping to save you by this post.

  • RStudio Voices – Julia Silge

    For the first piece in our new RStudio Voices series, we decided to interview one of our open source package developers as their work defines our organization’s focus on making data science tools available to everyone. We spoke with Julia Silge, who is a maintainer of the tidytext package, which uses tidy data principles to make text mining tasks easier and more effective for R developers.

    Beyond simply a legal entity, any corporation is a collective. It is the sum of its individual employees’ work and principles weighted by their roles in the company. My name is Michael Demsko Jr. For the past three years, I have worked at RStudio, and my goal is to show you, the reader, developer, contributor, or customer what RStudio is by showing you who RStudio is– to allow each agent of our mission to introduce themselves to you, one at a time, in their own voices.

  • Key Mapper: a visual tool for remapping keys (and more) on Linux

    Mapping keys has never been easier in Linux.

  • The stablereq workflow for Python packages – Michał Górny

    I have been taking care of periodic mass stabilization of Python packages in Gentoo for some time already. Per Guilherme Amadio‘s suggestion, I’d like to share the workflow I use for this. I think it could be helpful to others dealing with large sets of heterogeneous packages.

  • Python Functions - Definition with Examples – TecAdmin

    Functions are subprograms in the main program that contain a bundle of related statements of code that only run when they are called. They are written in order to perform particular tasks. Functions help us break our code into smaller chunks and avoid repetitiveness in code. They make the code more organized and increase its readability.

  • JavaScript Date Formats

    JavaScript has an inbuilt object called Date Object, which works with date and time in a platform-independent format; it represents the number of seconds passed since midnight of January 1970 by the ECMAScript standard.

    In this post, we will learn different methods to change the format of date in JavaScript;

    but to do that, first, we will need a variable to store the value of the date. JavaScript has an inbuilt data type (date object) that can be used to store dates.

  • What is JavaScript Console? Explained.

    All major web browsers have developer tools built into them. This tool kit consists of the console, debugger, network activity analyzer, inspect element, etc., and makes web developers’ lives a lot easier.

    All modern browsers have a console that can be opened using a shortcut key from the keyboard.

  • JavaScript Arrays Tutorials – Explained with Examples for Beginners

    While learning any programming language, we come across the learning of Arrays. Arrays come in helpful when there is a need to store several different values in a single variable. Arrays application is seen at many places, like implementing the matrices, data structures or storing data in tabular form.

    The concept of arrays came from the arrangement of objects in real life. The way we arrange objects in real life, we can arrange the data in programming. So this post is all about learning the core and basic concepts of Arrays in JavaScript. Let’s dive in and have a clear understanding of an array, how to create it, and use it to assign, access, and change values.

  • JavaScript Array Shift and Unshift Method

    When we work in any programming language, arrays play an essential role in fulfilling programming tasks. In javascript, arrays store the same data types, like strings, integers, arrays, or even functions.

    While working with arrays, we often need to add or remove elements in an array. For fulfilling this need, shift() and unshift() methods come to the rescue. In this post, we will have a brief discussion about shift() and unshift() functions in JavaScript and a couple of examples to have a profound understanding of these functions.

  • JavaScript Array Length Property

    While writing code, we might need to store multiple values. We can use a data type named array to meet this need. An array is a variable type in any programming language used to store multiple values of the same data type, such as a list of students or employees [Jane, John, Jack].

  • JavaScript Array Push and Pop Method

    Arrays are crucial when working in any programming language to complete programming tasks. Arrays store the same data types in javascript, such as strings, integers, arrays, and even functions.

    When working with arrays, we frequently need to add or remove elements. The push() and pop() methods come to the rescue in this situation. In this post, we’ll go over what the push() and pop() functions in JavaScript are, as well as some examples to help you understand them better.

  • How to Use indexOf Method in JavaScript

    indexOf() method is used to search for the index of an element in a given array; it can also be used to find the position of a character or a substring in a string. The indexOf() method returns the position of the element/substring if it is found; else, it returns -1. The indexing starts from 0, so the first element of an array and the first word in a string always return 0.

  • Download Top 10 JavaScript Books

    JavaScript is a dynamically typed scripting language commonly used to engage the user by making interactive web pages. It adds dynamic elements to a static webpage that catch the user’s attention.

    A few years ago, JavaScript could only run on the client-side and was known as a client-side scripting language. JavaScript can now also be used on the server-side using environments such as Node.js.

    The JavaScript source code is executed in the client’s browser, and it can be processed without any communication with the server. Slideshows are a common example of an interactive element added by JavaScript to a website.

    There is a misconception that Java and JavaScript are the same languages. While Java may influence it, it has no direct relationship. Its syntax is closely related to that of C.

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.