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

💻 Why I Still Buy Hard Drives for My PC — Avoid Filling Your iPhone Up With Screenshots

Thursday, November 7, 2024

Also: Perfecting Your PlayStation 5 Remote Play Setup, and More! How-To Geek Logo November 7, 2024 Did You Know It's not the coloration or flavor that gives grapefruit its name, but the way that

JSK Daily for Nov 7, 2024

Thursday, November 7, 2024

JSK Daily for Nov 7, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Unveiling the New Angular 3D Circular Charts Component The Angular 3D Circular Charts

Daily Coding Problem: Problem #1601 [Easy]

Thursday, November 7, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This question was asked by Apple. Given a binary tree, find a minimum path sum from root to a leaf. For example,

Mapped | Median Home Sale Price by U.S. State 🏘️

Thursday, November 7, 2024

As of August 2024, the median home sales price for a single-family home in the US is about $385000. Which states have the highest prices? View Online | Subscribe | Download Our App Presented by:

Spyglass Dispatch: Trump's PayPals • Threads Real-Time Fail • Streaming Clint Eastwood • The True Value of Xitter

Thursday, November 7, 2024

Trump's PayPals • Threads Real-Time Fail • Streaming Clint Eastwood • The True Value of Xitter The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel free to forward it on to

Issue 338 - Blind spot safety for parked vehicles

Thursday, November 7, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 338 -

We're revealing our biggest secrets... 🔓

Thursday, November 7, 2024

After 13 years of pioneering data storytelling, Visual Capitalist is revealing the secrets behind its success. View Online | Subscribe | Download Our App We're revealing our biggest secrets... The

Programmer Weekly - Issue 230

Thursday, November 7, 2024

View this email in your browser Programmer Weekly Welcome to issue 230 of Programmer Weekly. Let's get straight to the links this week. From Our Sponsor How Google handles authorization at scale

AI Does No-Coding Web App in Minutes, Non-Commercial JetBrains Rider IDE vs. VS 2022 Community Edition, More

Thursday, November 7, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight November 7, 2024 THIS ISSUE SPONSORED BY: ■ Build Great UI With Easily Customizable Page Templates and Building Blocks ■ VSLive!

Data Science Weekly - Issue 572

Thursday, November 7, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏