Python Weekly - Python Weekly - Issue 674

View this email in your browser

Python Weekly

Welcome to issue 674 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Be Careful With Removing Code Duplication 
This video refactors some tricky, hard-to-detect code duplication, provides an example of when it’s best to leave duplicated code as is, and shares a few tips on how to avoid duplication altogether.

Investigation of a Workbench UI Latency Issue
Netflix engineers investigated a JupyterLab UI latency issue in their Workbench product, tracing it to an unexpected interaction between a resource usage extension and memory allocation. The root cause was identified as the extension's performance degrading linearly with increased virtual memory usage, despite available physical memory.

From Python to CPU instructions: Part 1
In the first part of a two-part series, we’ll compare the same program written in C and Python to reveal what Python hides from us. 
  • Part 2 - In the second part, we’ll dive into how the C program translates into CPU instructions, exploring what the computer does with our human-readable code.

Embeddings are underrated 
The article provides an introduction to embeddings in machine learning, explaining their role in converting data (like text) into numerical representations that capture semantic meaning. It covers various types of embeddings and techniques, showing how they improve tasks such as search and recommendation systems.

You Should Probably Pay Attention to Tokenizers
This article emphasizes the importance of understanding tokenizers in AI applications, particularly for Retrieval-augmented generation (RAG) systems. The author demonstrates how different tokenizers handle various types of text input, including emojis and misspelled words, and explains how tokenization affects embedding quality and overall performance in natural language processing tasks.

Zero Downtime Django Deployments with Multistep Database Changes
Preventing downtime during deployments is crucial for maintaining service availability and ensuring a positive user experience. Blue-green deployments have emerged as a popular strategy to achieve this goal. However, they introduce challenges, especially when dealing with database changes. This article delves into what blue-green deployments are, why database changes can be tricky in this context, and how to navigate common change scenarios effectively in Django.

PyBay 2024 Videos 
The talks from PyBay 2024 are now available online.

Adding keyboard shortcuts to the Python REPL
The article discusses how to enhance the Python REPL (Read-Eval-Print Loop) by adding custom keyboard shortcuts to improve efficiency and user experience. It provides step-by-step instructions for implementing these shortcuts, enabling users to navigate and execute commands more effectively.


Interesting Projects, Tools and Libraries

ClickPy
PyPI analytics powered by ClickHouse.

sudoku-in-python-packaging
Solve sudokus not in python, but in python packages.

Mochi 1
The best OSS video generation models.

Moonshine
Fast and accurate automatic speech recognition (ASR) for edge devices.

llm-jq
Write and execute jq programs with the help of LLM.

Wimsey 
A fast, lightweight and easy data contract library.

Finstruments
Financial instrument definitions built with Python and Pydantic.

Mininterface 
A minimal interface to Python application.


Upcoming Events and Webinars

Michigan Python Meetup November 2024
There will be a talk, Build Multi-Platform Apps with Flet and Python.

PyData London Meetup November 2024
There will be following talks
  • Valuable lessons learned on Kaggle's ARC AGI (LLM) Challenge
  • Unlocking Scalability: Building High-Capacity Vector Databases with Open-Source Techniques 
  • Turn YouTube videos & podcasts into readable Markdown with Whisper and LLMs 

PyData Stockholm Meetup November 2024
There will be following talks
  • How do LLMs work? Building intuition on Neural Networks, Transformers, and LLMs
  • Building RAG for Financial Data: LLM-Powered Hackathon Success in 36 Hours

PyData Prague Meetup November 2024
There will be following talks
  • Multi-Agent Frameworks: Teaming Up Specialized AI Models to Tackle Complex Tasks
  • Low-Tech ETL
  • Peek into Threat Intelligence

PyData Montreal Meetup November 2024
There will be following talks
  • Python as an orchestrator for a RAG (retrieval-augmented generation) Architecture
  • Advancing Deep Learning and Vision Efficiency with Mamba, VMamba, and Vim
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2024 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 673

Thursday, October 24, 2024

View this email in your browser Python Weekly Welcome to issue 673 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Replacing Callbacks with Generators: A

Python Weekly - Issue 672

Sunday, October 20, 2024

View this email in your browser Python Weekly Welcome to issue 672 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Build your first Web App with Cursor AI

Python Weekly - Issue 670

Thursday, October 3, 2024

View this email in your browser Python Weekly Welcome to issue 670 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Last chance to be part of Snyk's DevSeccon 2024

Python Weekly - Issue 669

Thursday, September 26, 2024

View this email in your browser Python Weekly Welcome to issue 669 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Join Snyk at DevSecCon 2024: Developing AI Trust,

Python Weekly - Issue 668

Thursday, September 19, 2024

View this email in your browser Python Weekly Welcome to issue 668 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

You Might Also Like

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for