- Python Weekly
- Posts
- Python Weekly (Issue 674 October 31 2024)
Python Weekly (Issue 674 October 31 2024)
Python Weekly - Issue 674
Python Weekly
Welcome to issue 674 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks
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.
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.
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.
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.
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.
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.
The talks from PyBay 2024 are now available online.
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
PyPI analytics powered by ClickHouse.
Solve sudokus not in python, but in python packages.
The best OSS video generation models.
Fast and accurate automatic speech recognition (ASR) for edge devices.
Write and execute jq programs with the help of LLM.
A fast, lightweight and easy data contract library.
Financial instrument definitions built with Python and Pydantic.
A minimal interface to Python application.
Upcoming Events and Webinars
There will be a talk, Build Multi-Platform Apps with Flet and Python.
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
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
There will be following talks
Multi-Agent Frameworks: Teaming Up Specialized AI Models to Tackle Complex Tasks
Low-Tech ETL
Peek into Threat Intelligence
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
- 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.