Python Weekly (Issue 580 December 15 2022)

Python Weekly - Issue 580

Python Weekly

Welcome to issue 580 of Python Weekly. Let's get straight to the links this week.

Articles, Tutorials and Talks

This post describes a recent bug finding technique that I've added to the PyPy JIT testing infrastructure. This technique uses the Z3 theorem prover to find bugs in the optimizer of PyPy's JIT, in particular its integer operation optimizations. 

In this post, we explore what I consider to be a vulnerability in GPT referred to as “narrative recursion” (because it sounds cool). Anyone can use this method today to trick the model into producing pretty wild stuff totally outside the bounds of OpenAI’s usage policy.

So in this post we're going to take a look at how to use convolutions, how to compute them and how they are defined mathematically... and we'll also throw in a bit of mad-science!

Master Functions in Python and Deploy to AWS, GCP, and Azure while learning click, pythonfire and FastAPI.

Python 3.7 will stop getting security updates in June 2023. Given the existence of 3.8, 3.9, 3.10, and 3.11, you really should upgrade.

This article will introduce how you can set up monitoring on your microservice application using two of the popular tools in this space, Prometheus , and Grafana .

The fundamentals of text-to-image generation, relevant papers, and experimenting with DDPM.

Interesting Projects, Tools and Libraries

A high-performance, zero-overhead, extensible Python compiler using LLVM.

Python package for statistical data animations.

Web apps in pure Python.

LaViLa (Language augmented Video Language Pretraining) is a new approach to learning video representations from Large Language Models (LLMs). We repurpose LLMs to be visually conditioned "Narrators", and use them to automatically generate video-language paired data. We use this data to then learn a video-langauge representation, outperforming prior work by large margins.

A Multi-Modal Multi-Task Learning System for Building Generalist Models.

Run Jupyter notebooks as jobs.

A smart terminal assistant that helps you find the right command.

A pure Python port of React for ipywidgets.

SkyPilot is a framework for easily running machine learning workloads on any cloud through a unified interface. 

Open-source natural language enrichments at your fingertips. 

Daath AI Parser is an open-source application that uses OpenAI to parse visible text of HTML elements.

Upcoming Events and Webinars

There will be a talk, Introduction to Data Analysis & Visualization with Python.

There will be a talk, An Introduction to Model Drift.

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.