- Python Weekly
- Posts
- Python Weekly (Issue 567 September 15 2022)
Python Weekly (Issue 567 September 15 2022)
Python Weekly - Issue 567
Python Weekly
Welcome to issue 567 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
Ever wonder how your information stays secure? Dig into the protocols Websocket uses — TLS, CORS, rate limiting, and more!
Learn how to secure your communications and avoid security incidents firsthand by building a Websocket server of your own in Python.
News
The PyTorch Foundation will help maintain open collaboration and standardize resources for AI research. Meta will continue to invest in PyTorch and use it as our primary framework for AI research and production applications at the company.
Articles, Tutorials and Talks
Grigore showed that Java generics are Turing complete by describing a reduction from Turing machines to Java subtyping. We apply Grigore’s algorithm to Python type hints and deduce that they are Turing complete. In addition, we present an alternative reduction in which the Turing machines are simulated in real time, resulting in significantly lower compilation times. Our work is accompanied by a Python implementation of both reductions that compiles Turing machines into Python subtyping machines.
Could an attacker with few lines of Python code shutting down over 7,000 fueling stations in the United States leave the nation crippled?
One of the most common, and most misunderstood, lines in Python involves a variable _name_ and a string '__main__', and typically appears at the end of a module file. What does this line do? Is it required? How does it work?
Understanding memory management is a superpower that will help you design memory-efficient applications and make it easier to debug memory issues. This post is a deep dive into the internals of CPython.
We describe our experiences building cloud-based data analysis pipelines for climate model downscaling, including specific challenges we faced and lessons we learned.
Python's F-strings are incredibly powerful. Knowing how to use them and taking advantage of their formatting options can significantly improve your ability to write logging messages and display information in an understandable manner. In this video, I'll take a deep dive into F-strings and demonstrate some of their uses.
An interactive cookbook to create graphs with Python.
In this tutorial, we will set up our Deepnote environment to work with Kaggle, pull and clean some data from the internet, and then schedule the data to auto-update using Deepnote and the Kaggle library.
We often see pictures in images: comics, for example, combine several pictures into one. And if you have an entertainment app where people post memes, like in our iFunny, you’re going to run into that all the time. Neural networks are already capable of finding animals, people, or other objects, but what if we need to find but another image in the image? Let’s take a closer look at our algorithm so that you can test it with a notebook in Google Colaboratory and even implement it in your project.
To master machine learning models, one of the best things you can do is to implement them yourself. Although it might seem like a difficult task, for most algorithms, it is actually easier than you think. So throughout the next 10 days, we will implement one machine learning algorithm each day using Python and sometimes the help of Numpy for certain calculations.
This article presents three access control methods beginning with Access Control List (ACL) - the mechanism implemented by Multics - then explore Role Based Access (RBAC) followed by Attribute Based Access (ABAC).
In this post, we dive into how we scaled our crypto systems, starting from the need to support hypergrowth in traffic, followed by an extended effort to align on our long-term crypto strategy.
Interesting Projects, Tools and Libraries
Optimize the audio quality of loudspeakers.
A command line utility to check for obsolete, missing and transitive dependencies in a Python project.
Renders your (JSON) resume/CV for online & pretty terminal display.
A simple async/await task queue for Django. One process, no threads, no other dependencies.
Revolutionary commit-based code review and workflow tools for git/github.
Query SQLite files in S3 using s3fs.
A piece of software that shows a traceroute of a URL redirect path.
New Releases
Upcoming Events and Webinars
There will be following talks
Crunching data to catch fraud
QR Codes: let us make some GIFs
There will be a talk, Intro to Pima County GIS and Geopandas.
There will be following talks
DBSCAN for large-scale datasets and network security applications
MLOps for growing startups: why, when, and how
Tiny dataset–based topic modeling
From big data to small, high-quality data: fulfilling the promise of data-centric AI
There will be following talks
Prettymapp - Creating artsy maps with Streamlit & OpenStreetMap data
Software Design Pattern for Data Science
Our Other Newsletters
- A free weekly newsletter for programmers.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.