Ruby, unlike Python, makes lots of things implicit, and there's a special kind of if expression that demonstrates this well. It's often referred to as an "inline-if" or "conditional modifier", and this special syntax is able to return one value when a condition is true, but another value (nil, specifically) when a condition is false. Here's an example: read more
NumPy, or Numerical Python, is a library that makes it easy to do statistical and set operations on linear series and matrices in Python. It is orders of magnitude faster than Python lists, which I covered in my notes on Python Data Types. NumPy is used quite frequently in data analysis and scientific calculations. read more
The Academy Software Foundation (ASWF), a project hosted by The Linux Foundation, provides a neutral forum for open source software developers in the motion picture and broader media industries to share resources and collaborate on image creation, visual effects, animation, and sound technologies. It was created in 2018 after the conclusion of an investigation […]
The first long-term support version of Java, Java 17, in years has finally arrived.
In the first four parts of this series on the open source software supply chain, I explored open source as a supply chain, what a product is, what product managers do, and ways to differentiate open source software products from their upstream projects. read more
'One of the messier merge windows' means the new stuff might sneak in next week. Linus Torvalds has loosed the first release candidate for version 5.15 of the Linux kernel, with but isn't sure if it's a big 'un or nothing to get excited about.…
Django is a free and open-source web development framework written in Python. It is used for developing complex and database-driven Python applications. In this tutorial, I will explain how to set up Django in Python virtual environment using the PostgreSQL database on Debian 11.
When I was in high school, one of the very first programming languages I was introduced to was Logo. It was interactive and visual. With basic movement commands, you could have your cursor (“turtle”) draw basic shapes and intricate patterns. It was a great way to introduce the compelling concept of an algorithm—a series of instructions for a computer to execute. Fortunately, the Logo programming language is available today as a Python package. So let’s jump right in, and you can discover the possibilities with Logo as we go along. read more
We recently interviewed Fedora user Stuart D. Gathman on how he uses Fedora Linux. This is a part of a series on the Fedora Magazine where we profile users and how they use Fedora Linux to get things done. If you are interested in being interviewed for a further installment in this series you can […]
This tutorial shows you how to identify and list unsuccessful SSH logins on the Linux shell.
Redis is a popular and open-source in-memory key-value data store. It supports various data structures such as Hash, Lists, Sets, Strings, and many more. In this guide, you will learn how to install Redis on Rocky Linux.
In typography, a pair of quotation marks were traditionally oriented toward one another. They look like this: “smart quotes” read more
Have you ever needed to migrate a WordPress website to a new host? I have done it several times and found the process to be quite easy. Of course, I don't use the recommended methods for doing most things, and this is no exception–I use the easy way, and that is what I recommend. This migration is non-destructive, so it is simple to revert to the original server if that should be necessary for any reason.
My father has always been fond of model trains, and I remember watching him building a track around the Christmas tree when I was young. When Lego train sets were released, he and I transitioned to them for their convenience and inherent extensibility. We built and operated Lego trains and monorail tracks over the course of many years. I've often imagined a possible future in which I have a garage or a basement dedicated to miniature landscapes and electric whistling trains.
MERN stack consists of four key technologies MongoDB, Express, React, and Node. It is specially designed for easier and faster deployment of full-stack web applications. In this tutorial, we will show you how to install the MERN stack on Debian 11.
Red Hat may no longer support old-style CentOS Linux, but other groups have forked CentOS and now they're offering technical support. This now includes CIQ offering support services for Rocky Linux.
Use Inkscape's Ink/Stitch extension to create breathtaking designs that can be stitched on your home embroidery machine!
Regardless of how organized I resolve to be, it seems there are always times when I just can't locate a file. Sometimes it's because I can't remember the name of the file in the first place. Other times, I know the name, but I can't recall where I decided to save it. There are even times when I need a file that I didn't create in the first place. No matter what the quandary, though, I know that on a POSIX system, I always have the find command.
And names a new CTO. VMware has kind-of announced a hypervisor for Arm CPUs, or at least one of them: Apple's M1 system-on-a-chip.…