Language Selection

English French German Italian Portuguese Spanish

OpenSource.com

Syndicate content
Updated: 1 hour 14 min ago

My favorite LibreOffice productivity tips

13 hours 12 min ago

LibreOffice is my productivity application of choice. It's one of the most potent reasons for recommending Linux distributions to educators and students, whether PK-12 or higher education. Now that the school year is upon us, I thought I would recommend some LibreOffice shortcuts and tips that might save you valuable time.

Work faster with keyboard shortcuts

I use a lot of keyboard shortcuts. Here are the most common shortcuts that apply to all LibreOffice applications.


read more

Add storage with LVM

13 hours 13 min ago

Logical Volume Manager (LVM) allows for a layer of abstraction between the operating system and the hardware. Normally, your OS looks for disks (/dev/sda, /dev/sdb, and so on) and partitions within those disks (/dev/sda1, /dev/sdb1, and so on).


read more

3 ways to test your API with Python

Tuesday 21st of September 2021 07:01:00 AM

In this tutorial, you'll learn how to unit test code that performs HTTP requests. In other words, you'll see the art of API unit testing in Python.

Unit tests are meant to test a single unit of behavior. In testing, a well-known rule of thumb is to isolate code that reaches external dependencies.

For instance, when testing a code that performs HTTP requests, it's recommended to replace the real call with a fake call during test time. This way, you can unit test it without performing a real HTTP request every time you run the test.


read more

Run containers on your Mac with Lima

Tuesday 21st of September 2021 07:00:00 AM

Running containers on your Mac can be a challenge. After all, containers are based on Linux-specific technologies like cgroups and namespaces.

Luckily, macOS has a built-in hypervisor, allowing virtual machines (VMs) on the Mac. The hypervisor is a low-level kernel feature, not a user-facing one.


read more

Use this Linux command-line tool to learn more about your NVMe drives

Monday 20th of September 2021 07:01:00 AM

NVMe stands for Non-Volatile Memory Express, and it refers to how software and storage communicate across PCIe and other protocols, including TCP. It's an open specification led by a non-profit organization and defines several forms of solid-state storage.

My laptop has an NVMe drive, as does my desktop. And they're fast. I love how quickly my computers boot and how quickly they're able to read and write data. There's no perceptible delay.


read more

Use Vagrant to test your scripts on different operating systems

Monday 20th of September 2021 07:00:00 AM

I've been happy using Vagrant for quite a while now. I work with several DevOps tools, and installing them all on one system can get complicated. Vagrant lets you do cool things without breaking your system because you don't have to experiment on your production system at all.


read more

5 best practices for using open source community leaderboards

Sunday 19th of September 2021 07:00:00 AM

It takes a community of people with varying skill sets and expertise to build open source software. Leaderboards have become a way for open source communities to track progress and showcase and celebrate top-performing contributors. If leaderboards are done right, they can increase participation, motivate contributors with gamification, and enhance the community. But leaderboards can also have adverse outcomes—including discouraging participation.


read more

Why my public library chooses Linux and open source

Saturday 18th of September 2021 07:00:00 AM

The Crawford County Federated Library System has been using Linux and open source software in its IT operations since 1999. They realized early on the potential of open source and integrated it into their enterprise. They were a part of my own Linux journey as I built a content filtering system for our school district. Twenty years ago, there were few models for the use of open source in libraries and education. Meadville Public Library and the Crawford County Federated Library System were the leaders then and now.


read more

Organize your Magic: The Gathering decks with Magic Assistant

Friday 17th of September 2021 07:00:00 AM

The world's first trading card game was Magic: The Gathering, first published in 1993.

It remains popular today because of its great flexibility. With more than 25,000 unique cards published over nearly three decades, there are enough cards for players to build hundreds of different decks for surprisingly unique gameplay experiences.


read more

Start using YAML now

Friday 17th of September 2021 07:00:00 AM

YAML (YAML Ain't Markup Language) is a human-readable data serialization language. Its syntax is simple and human-readable. It does not contain quotation marks, opening and closing tags, or braces. It does not contain anything which might make it harder for humans to parse nesting rules. You can scan your YAML document and immediately know what's going on.

YAML features

YAML has some super features which make it superior to other serialization formats:


read more

Watch commands and tasks with the Linux watch command

Thursday 16th of September 2021 07:02:00 AM

There are many times when you need to wait for something to finish, such as:

  • A file download.
  • Creating or extracting a tar file.
  • An Ansible job.

Some of these processes have some sort of progress indication, but sometimes the process is run through a layer of abstraction, and the only way to measure the progress is through its side effects. Some of these might be:


read more

How I patched Python to include this great Ruby feature

Thursday 16th of September 2021 07:01:00 AM

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

Crunch numbers in Python with NumPy

Thursday 16th of September 2021 07:00:00 AM

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

A guide to web scraping in Python using Beautiful Soup

Wednesday 15th of September 2021 07:01:00 AM

Today we'll discuss how to use the Beautiful Soup library to extract content from an HTML page. After extraction, we'll convert it to a Python list or dictionary using Beautiful Soup.


read more

Build a data sharding service with DistSQL

Wednesday 15th of September 2021 07:00:00 AM

If you're reading this, then you're probably familiar with the data query and programming language, SQL (Structured Query Language). It's also used as the standard language for management systems for accessing data, querying, updating, and managing relational database systems. Like standard SQL, DistSQL, or Distributed SQL, it is a built-in SQL language unique to ShardingSphere that provides incremental functional capabilities beyond standard SQL.


read more

A conversation about open source design and ethical funding

Wednesday 15th of September 2021 07:00:00 AM

Pablo Ruiz-Múzquiz is the CEO and co-founder of Kaleidos and Taiga. I contacted him for an interview to learn more about his latest project: Penpot, an open source, online interface design tool.

Clayton Dewey: I reached out to you because I recently learned about Penpot, an excellent design tool similar to Figma and Sketch. How did Penpot get started?


read more

9 underrated responsibilities of an open source community manager

Tuesday 14th of September 2021 07:01:00 AM

Open source communities don’t just happen. They require work. Sometimes the technical interest in an open source project is enough to attract a group of people to get involved.


read more

Managing the open source product roadmap

Tuesday 14th of September 2021 07:00:00 AM

In the first four parts of this series on the open source software supply chain, I explored open source as a supply chainwhat a product iswhat product managers do, and ways to differentiate open source software products from their upstream projects


read more

Replace smart quotes with the Linux sed command

Monday 13th of September 2021 07:01:00 AM

In typography, a pair of quotation marks were traditionally oriented toward one another. They look like this:

“smart quotes”


read more

How I rediscovered Logo with the Python Turtle module

Monday 13th of September 2021 07:00:00 AM

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

More in Tux Machines

Privacy-focused Linux Distributions to Secure Your Online Presence in 2021

Linux distros are usually more secure than their Windows and Mac counterparts. Linux Operating Systems being open-source leaves very less scope of unauthorized access to its core. However, with the advancement of technologies, incidents of attacks are not rare. Are you in a fix with the coming reports of Linux systems targeted malware attacks? Worried about your online presence? Then maybe it’s time to go for a secure, privacy-focused Linux distro. This article presents a guide to 3 privacy-oriented Linux distributions that respect your privacy online. Read more

Stable Kernels: 5.14.7, 5.10.68, 5.4.148, 4.19.207, 4.14.247, 4.9.283, and 4.4.284

I'm announcing the release of the 5.14.7 kernel.

All users of the 5.14 kernel series must upgrade.

The updated 5.14.y git tree can be found at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.14.y
and can be browsed at the normal kernel.org git web browser:
	https://git.kernel.org/?p=linux/kernel/git/stable/linux-s...

thanks,

greg k-h
Read more Also: Linux 5.10.68 Linux 5.4.148 Linux 4.19.207 Linux 4.14.247 Linux 4.9.283 Linux 4.4.284

i.MX8M Nano based mini-PC features Wirepas mesh networking

SolidRun’s $221-and-up “SolidSense N8 IoT Compact” mini-PC runs Linux on an i.MX8M Nano Solo with GbE, WiFi/BT, USB, and a choice of LTE or PoE. You also get a choice of RS485 with CAN or BLE 5.0 with Wirepas Massive. The SolidSense N8 IoT Compact embedded system follows SolidRun’s i.MX6-based SolidSense N6 Edge Gateway, which similarly offers a bundle of the Wirepas wireless mesh software from Tampere, Finland based Wirepas. The wireless mesh software, which is now called Wirepas Massive, is pre-installed along with software defined radios (SDRs) on two of the four i.MX8M Nano based SolidSense N8 models. Applications include IoT tasks such as automation, asset tracking, security, and smart buildings. Read more

AMD Ryzen processors are getting a performance boost on Linux

Chip giant AMD has shared details about a new driver that promises to improve the performance of its Zen-based processors on Linux. According to reports, the new driver is the result of a joint collaboration between AMD and Valve, with the two companies toiling to enhance performance and power efficiency reportedly in preparation for the launch of the Steam Deck, Valve’s Zen 2-based take on portable gaming. Read more