Language Selection

English French German Italian Portuguese Spanish

Python Releases, Programming and News

Filed under
Gaming
  • Train Neural Networks Faster with Google’s TPU from your LapTop.

    You know the drill, you got that sweet deep neural network architecture, but it is taking forever to train. At this moment you start browsing Amazon for the cheapest GPU you can find to train your models, even though you are not even sure how plug that into your machine, but anything is better than those hours your model is taking to train one set of hyper-parameters. Well, before you start spending hundreds of dollars in hardware, you should consider the Tensor Processing Units (TPUs) from Google. TPUs are a hardware component meant to speed up machine learning models training and prediction so researchers and engineers can focus on their solutions to their favorite humans, instead of going crazy over life-long epochs.

  • sphinxcontrib-spelling 5.3.0

    sphinxcontrib-spelling is a spelling checker for Sphinx-based documentation. It uses PyEnchant to produce a report showing misspelled words.

  • EuroPython Society General Assembly 2020

    As with our EuroPython conference, we are holding the General Assembly (GA) of the EuroPython Society (EPS) online for this year.

    Normally, we’d have the General Assembly at the EuroPython conference. Due to the difficulties in switching from in-person to online, the board decided to first focus on the conference and run the GA after the event in a separate session.

  • Returns a sequence of all the even characters from a string with Python

    In this example, I will write a Python function that will return a sequence (index begins with 1) of all the even characters from a string. If the string is smaller than two characters or longer than 100 characters, the function should return “invalid string”.

  • Python 3.6.12

    Python 3.6.12 is the latest security fix release of Python 3.6.

  • Python 3.7.9

    Python 3.7.9 is the latest security fix release of Python 3.7.

  • Python 3.7.9 and 3.6.12 security updates now available

    Python 3.7.9 and 3.6.12, the lastest security fix rollups for Python 3.7 and Python 3.6, are now available.

  • Real Python Office Hours

    The Real Python Office Hours is a weekly hangout where members of Real Python get the chance to meet fellow Pythonistas to chat about your learning progress, ask questions, and discuss Python tips & tricks via screen sharing.

  • Writing Faster Python - Introduction

    A few years ago, I made a presentation called “Writing Faster Python,” which got quite popular (as for a technical talk). But I made it for Python 2, and even though most advice applies to Python 3, I need to update it at some point. And I will, but first, I need some examples that I can use.

    So, today I’m starting a series of articles where I take some common Python code structures and show how they can be improved. In many cases, simply writing idiomatic code and avoiding anti-patterns will result in better and faster code, and that’s what I want to focus on. I will also show how you can significantly speed up your programs by using a different interpreter (like PyPy), just-in-time compilers like Numba and other tools. Some code examples are mere curiosities with a marginal impact on the execution time (like replacing dict() with {}), but I want to show you how they work and when I would use one over the other. Finally, there will be cases when the “improved” code is faster but less readable, and I wouldn’t use it in my programs - I will clearly warn you when this happens.

  • Wing Python IDE 7.2.4 - August 17, 2020

    Wing 7.2.4 introduces support for Python 3.9, adds a preference to set the size of white space indicators, and makes a number of usability improvements.

    [...]

    Wing 7.2 adds support for Black and YAPF for code reformatting, in addition to the previously available built-in autopep8 reformatting. To use Black or YAPF, they must first be installed into your Python with pip, conda, or other package manager. Reformatting options are available from the Source > Reformatting menu group, and automatic reformatting may be configured in the Editor > Auto-reformatting preferences group.

  • Learn PyQt: Creating Dialogs With Qt Designer

    Most PyQt GUI applications consist of a main window and several dialogs. Dialogs are small-sized windows that allow you to communicate with your users, either by showing messages on the screen or by taking the user's input. You can use Qt Designer to create dialogs taking advantage of the variety of options that this tool offers.

    In this tutorial, we'll learn how to create and customize dialogs using Qt Designer. We'll also learn two different ways of using and launching dialogs in our GUI applications. With this knowledge, we'll be able to add dialogs to our applications quickly and easily.

    For a better understanding of the topics we'll cover in this tutorial, it will help to have some previous knowledge about PyQt applications, widgets, layouts and signals and slots.

  • GSoC Weekly Blog #6

    The most tough part for me has been writing tests this week. I wish there was a better testing support for PyQt because there are many simple things which are missing from it and the documentation of is also not completed. However, I have been able to keep a good test coverage of all my work.

  • PSF GSoC students blogs: Weekly Blog Post | GSoc | #12
  • PSF GSoC students blogs: Weekly Check-in #11
  • PyCoder’s Weekly: Issue #434 (Aug. 18, 2020)

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.