Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on May 30, 2023

=> Linux? What Linux? It Just Works | Audiocasts: Destination Linux, Late Night Linux, and More

Ratatui: Build rich terminal user interfaces using Rust

=> ↺ Ratatui: Build rich terminal user interfaces using Rust

Ratatui came a long way since its transition from the original tui-rs crate. In this post, let's take a look at what's new in the latest version.

=> ↺ Ratatui | ↺ tui-rs

Bash Convert String Lowercase (4 Methods)

=> ↺ Bash Convert String Lowercase (4 Methods)

In programming, you often find yourself working with strings of text. In Bash scripting, one common task you may encounter is the need to convert a string to lowercase. This could be necessary for reasons such as making string comparison case-insensitive or normalizing user input.

Thanks, David Peter!

=> ↺ Thanks, David Peter!

It's too easy to overlook the countless hours of dedication poured into the open source software that powers our digital lives. I want to take a moment to express my appreciation and admiration for one of the many unsung heroes of my digital world, who's software I use all the time.

Making new strides at AWE

=> ↺ Making new strides at AWE

[...]
Collabora's XR team has the experience and knowledge to assist your organization in developing XR-related products and applications that push the boundaries of human-computer interaction in the modern world

Shaping the Future of Digital Experience - UI Framework Workflow

=> ↺ Shaping the Future of Digital Experience - UI Framework Workflow

The first three blogs in this series illustrate the essential features needed for the creation of iconic experiences on digital devices: the cross-platform development and deployment environment empowering game-engine-like graphics quality with performance optimized for embedded environments.

=> ↺ the cross-platform development and deployment environment | ↺ game-engine-like graphics quality | ↺ performance optimized for embedded environments

=> ↺ the cross-platform development and deployment environment | ↺ game-engine-like graphics quality | ↺ performance optimized for embedded environments

Git Rebase: A Practical Guide

=> ↺ Git Rebase: A Practical Guide

Sure, I'd be happy to help with that! Git rebase is a powerful command that allows you to change your project history in many ways, such as editing, deleting, and squashing commits. It's very useful for keeping a clean and readable history.

Seaborn Pairplot

=> ↺ Seaborn Pairplot

In Python, the seaborn “sns.pairplot()” method is used to plot pairwise bivariate distributions in a dataset that is based on the “matplotlib” library.

Python Combine Single String into a List of String

=> ↺ Python Combine Single String into a List of String

Python’s built-in methods, such as the “eval()” method and “ast()” method are used to convert the string into a list of strings.

Python Append to String

=> ↺ Python Append to String

To append two or more strings in Python, the “+” operator, “%” operator, “join()” method, and “format()” method can be used.

Matplotlib Invert Y-Axis

=> ↺ Matplotlib Invert Y-Axis

To revert the graph’s y-axis in Python, the “invert_yaxis()” method, “plt.ylim()” method, and the “plt.axis()” method are used.

Dictionary Comprehension Python

=> ↺ Dictionary Comprehension Python

Dictionary comprehension is a method that changes one dictionary into another in Python. It can be used to replace the “for” loops.

How to Check If a List Is Empty in Python?

=> ↺ How to Check If a List Is Empty in Python?

In Python, multiple functions/operators, such as the “not” operator, “bool()” function, and “len()” function are used for checking if a list is empty.

How to Run a Python Script from PHP

=> ↺ How to Run a Python Script from PHP

It’s very simple to run a Python script from a PHP file with the shell_exec function, which allows you to run Python script files from PHP. PHP (hypertext preprocessor) is a widely used free and open-source scripting language for web developers, and Python is known for its simplicity and versatility, which make it a popular choice...

Louis-Philippe Véronneau: Python 3.11, pip and (breaking) system packages

=> ↺ Louis-Philippe Véronneau: Python 3.11, pip and (breaking) system packages

As we get closer to Debian Bookworm's release, I thought I'd share one change in Python 3.11 that will surely affect many people.

=> ↺ Debian Bookworm's release

Python 3.11 implements the new PEP 668, Marking Python base environments as “externally managed”1. If you use pip regularly on Debian, it's likely you'll eventually hit the externally-managed-environment error: [...]

=> ↺ PEP 668 | ↺ 1

=> ↺ Debian Bookworm's release | ↺ PEP 668 | ↺ 1

Python Function with Parameters, Return and Data Types

=> ↺ Python Function with Parameters, Return and Data Types

In the realm of programming, one concept that holds an indisputable significance is the concept of a 'function'. A function can be understood as a reusable piece of code designed to perform a specific task.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/05/30/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
141.096953 milliseconds
Gemini-to-HTML Time
2.976098 milliseconds

This content has been proxied by September (ba2dc).