Converting your Python 2 code to Python 3

Python 2 reached the end of life on January 1, 2020. Python 3 has been available since 2008, but converting from 2 to 3 has been slow because of dependencies on libraries that were not available in Python 3 initially. This tutorial will show you how to convert Python 2 code to Python 3 using the 2to3 tool.

Source: LXer – Converting your Python 2 code to Python 3

Install and Use PHP Composer on CentOS 8

Composer is a dependency manager for PHP. Composer will pull in all the required PHP packages your project depends on and manages them for you. It is used in all modern PHP frameworks and platforms such as Laravel, Symfony, Drupal, and Magento 2. This tutorial goes through the steps of installing Composer on CentOS 8.

Source: LXer – Install and Use PHP Composer on CentOS 8

Open source fights against COVID-19, Googles new security tool written in Python, and more open source news

In this edition of our open source news roundup, we take a look open source solutions for COVID-19, Google[he]#039[/he]s new security tool, code cleanup software from Uber, and more!

Source: LXer – Open source fights against COVID-19, Googles new security tool written in Python, and more open source news

New Linux-powered SoC taps an old ARM9 architecture

Microchip has launched a 600MHz ARM9-based “SAM9X60” processor with a 2D GPU and -40 to 105°C tolerance along with a Linux-driven, $260 “SAM9X60-EK Evaluation Kit” with MikroBus and Raspberry Pi expansion. Microchip has revised the ARM9-based AT91SAM9260 SoC that was introduced in 2006 by its subsidiary Atmel. The new SAM9X60 model has boosted the clock […]

Source: LXer – New Linux-powered SoC taps an old ARM9 architecture

Just another KVM setup on Debian Buster 10.3

Sequence of steps and bridge network configuration on native Debian Buster 10.3 host seemed to me a bit different from manuals which are available in meantime on the Net. Specifically I’ve undertaken some additional steps to fix error with Radeon kernel modesetting enabling also configuration bridge to physical LAN is supposed to be done in the way different from how it works on LXDE 4.

Source: LXer – Just another KVM setup on Debian Buster 10.3

6 tricks for developing a work from home schedule

When you start working from home, one of the first things you might have noticed is that there almost no outside influences on your schedule. You probably have meetings—some over team chat and others over video— that you have to attend, but otherwise, there[he]#039[/he]s nothing requiring you to do anything at any specific time. What you find out pretty quickly, though, is that there[he]#039[/he]s an invisible influence that sneaks up on you: deadlines.

Source: LXer – 6 tricks for developing a work from home schedule

How to detect outdated Kubernetes APIs

Recently, deprecated APIs have been wreaking havoc on everyone[he]#039[/he]s Kubernetes manifests. Why is this happening?!? It[he]#039[/he]s because the objects that we[he]#039[/he]ve come to know and love are moving on to their new homes. And it[he]#039[/he]s not like this happened overnight. Deprecation warnings have been in place for quite a few releases now. We[he]#039[/he]ve all just been lazy and thought the day would never come. Well, it[he]#039[/he]s here!

Source: LXer – How to detect outdated Kubernetes APIs