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

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power