Language Selection

English French German Italian Portuguese Spanish

Programming: Django, Python, PHP, Java and More

Filed under
Development
  • Django 3.1 release notes - UNDER DEVELOPMENT¶
  • Django 3.1 alpha 1 released

    Django 3.1 alpha 1 is now available. It represents the first stage in the 3.1 release cycle and is an opportunity for you to try out the changes coming in Django 3.1.

    Django 3.1 has a potpourri of new features which you can read about in the in-development 3.1 release notes.

  • Python 3.8.3

    The Python 3.8 series is the newest major release of the Python programming language, and it contains many new features and optimizations.

  • Python 3.8.3 is now available

    On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.8.3, the third maintenance release of Python 3.8. You can find it here:

    https://www.python.org/downloads/release/python-383/

    It contains two months worth of bug fixes. Detailed information about all changes made in 3.8.3 can be found in its change log. Note that compared to 3.8.2, version 3.8.3 also contains the changes introduced in 3.8.3rc1.

    The Python 3.8 series is the newest feature release of the Python language, and it contains many new features and optimizations. See the “What’s New in Python 3.8” document for more information about features included in the 3.8 series.

  • How to Write Middleware using FastAPI

    For one of my project, I needed to host an API service on the RapidAPI platform.
    In order to make sure that all the requests to the application are routed via
    RapidAPI I needed to check special header sent by RapidAPI.

    RapidAPI forwards each valid request to the configured server, but injects
    additional header X-RapidAPI-Proxy-Secret. While a hacker may also send the
    same header, the value of this header will be only known to RapidAPI platform
    and your app.

    I deployed the server on heroku, and defined an environment variable
    PROXY_SECRET which I check against the one sent with the request.

    Sometimes I need to test the server directly, in which case I simply do not set
    this variable (like on my local machine) and this check is bypassed.

  • PHP showing its maturity in release 7.4

    This year PHP turned 25 and, as with all things, the hope is that with age comes wisdom and maturity. Often derided as a great way to write bad (and insecure) code, PHP is hard to ignore completely when it is used in nearly eight out of ten websites. With PHP 7.4.5 released in April, it's worthwhile to take a look at modern PHP, how it has evolved to address the criticisms of the past, and what lies ahead in its future.

    [...]

    In the early days of PHP, two repositories, PEAR and PECL, were created to catalog both reusable PHP code and non-bundled, C-based extensions, respectively. PECL continues to be a valuable collection with over 400 extensions, from authentication to data structures, however it has failed to become a widespread tool allowing PHP developers to use those extensions because they introduce system-level dependencies that are generally unavailable on cheaper hosting providers. PEAR, being pure PHP code, was more successful in adoption yet struggled to become the tool it was intended to be. Unfortunately code age and quality proved to be too big of a hurdle to overcome and, because of this, PEAR was officially disabled by default as of PHP 7.4.

  • [Red Hat/Fedora] PHP version 7.2.31, 7.3.18 and 7.4.6

    RPMs of PHP version 7.4.6 are available in remi repository for Fedora 32 and remi-php74 repository for Fedora 30-31 and Enterprise Linux ≥ 7 (RHEL, CentOS).

    RPMs of PHP version 7.3.18 are available in remi repository for Fedora 30-31 and remi-php73 repository for Enterprise Linux ≥ 6 (RHEL, CentOS).

    RPMs of PHP version 7.2.31 are available in remi-php72 repository for Enterprise Linux ≥ 6 (RHEL, CentOS).

  • JEP 380: Unix-domain socket channels

    Another day, another JEP. The goal of JEP 380 is to introduce support for Unix-domain socket features that are common to the major Unix platforms and Windows. This will be achieved by adding a handful of API elements. Let’s take a closer look.

    A new JDK Enhancement Proposal (JEP) has been put forward by Michael McMahon to add Unix-domain socket support to two APIs in the java.nio.channels package; the socket channel and server-socket channel. JEP 380 also aims to extend the inherited channel mechanism to support Unix-domain socket channels and server socket channels.

  • LLVM Lands Support For The Marvell ThunderX3

    Announced back in March were the Marvell ThunderX3 Arm server processors with up to 96 cores per SoC and support for 4-way SMT to yield up to 384 threads per socket. These 7nm Arm server processors also support eight channels of DDR4-3200 memory, 64 lanes of PCIe 4.0, and other competitive features for a 2020 server CPU. While we await to see how the ThunderX3 processors perform, the compiler support and other Linux software features are getting all buttoned up.

  • The Web Platform Tests project

    Working on Web browsers development is not an easy feat but if there’s something I’m personally very grateful for when it comes to collaborating with this kind of software projects, it is their testing infrastructure and the peace of mind that it provides me with when making changes on a daily basis.

    To help you understand the size of these projects, they involve tens of millions of lines of code (Chromium is ~25 million lines of code, followed closely by Firefox and WebKit) and around 200-300 new patches landing everyday. Try to imagine, for one second, how we could make changes if we didn’t have such testing infrastructure. It would basically be utter and complete chao​s and, more especially, it would mean extremely buggy Web browsers, broken implementations of the Web Platform and tens (hundreds?) of new bugs and crashes piling up every day… not a good thing at all for Web browsers, which are these days some of the most widely used applications (and not just ‘the thing you use to browse the Web’).

  • Norbert Preining: Switching from NVIDIA to AMD (including tensorflow)

    I have been using my Geforce 1060 extensively for deep learning, both with Python and R. But the always painful play with the closed source drivers and kernel updates, paired with the collapse of my computer’s PSU and/or GPU, I decided to finally do the switch to AMD graphic card and open source stack. And you know what, within half a day I had everything, including Tensorflow running. Yeah to Open Source!

  • The logging framework isn't a bottleneck, and other lies your laptop tells you

    Server have, on average, different needs. A Rails app that takes a network request and makes a database call may barely touch disk. A file server often cache files in buffer pools, serving them from RAM rather than disk.

    The default disk you get on GCP, regional persistent disks, will top out around 240MiB/s. That is one order of magnitude slower than the NVMe disk on your laptop.

    Your laptop will make you think your logging framework isn’t your primary bottleneck

  • OTP 23 Release

    Erlang/OTP 23 is a new major release with new features, improvements as well as a few incompatibilities.

  • Making the best of it: online learning and remote teaching

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.