Pyrefly vs. Ty: Comparing Python's Two New Rust-Based Type Checkers
https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty/
https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty/
Edward Li's Blog
Pyrefly vs. ty: Comparing Python’s Two New Rust-Based Type Checkers
A deep dive into Meta's pyrefly and Astral's ty - two new Rust-based Python type checkers that both promise faster performance and better type inference.
Q-Insight
Understanding Image Quality via Visual Reinforcement Learning.
https://github.com/bytedance/Q-Insight
Understanding Image Quality via Visual Reinforcement Learning.
https://github.com/bytedance/Q-Insight
GitHub
GitHub - bytedance/Q-Insight: Q-Insight: Understanding Image Quality via Visual Reinforcement Learning
Q-Insight: Understanding Image Quality via Visual Reinforcement Learning - bytedance/Q-Insight
Python Tutorial: Type Hinting vs Type Checking vs Data Validation - What’s the Difference?
In this video, we'll be learning about the differences between type hinting, type checking, and data validation in Python. These are three concepts that many developers get confused about, so we'll cover what each one does, when to use them, and how they work together. We'll also look at practical examples using tools like mypy for type checking and Pydantic for data validation. By the e...
https://www.youtube.com/watch?v=fM4O9bModsE
In this video, we'll be learning about the differences between type hinting, type checking, and data validation in Python. These are three concepts that many developers get confused about, so we'll cover what each one does, when to use them, and how they work together. We'll also look at practical examples using tools like mypy for type checking and Pydantic for data validation. By the e...
https://www.youtube.com/watch?v=fM4O9bModsE
YouTube
Python Tutorial: Type Hinting vs Type Checking vs Data Validation - What’s the Difference?
In this video, we'll be learning about the differences between type hinting, type checking, and data validation in Python. These are three concepts that many developers get confused about, so we'll cover what each one does, when to use them, and how they…
BioReason
Incentivizing Multimodal Biological Reasoning within a DNA-LLM Model.
https://github.com/bowang-lab/BioReason
Incentivizing Multimodal Biological Reasoning within a DNA-LLM Model.
https://github.com/bowang-lab/BioReason
GitHub
GitHub - bowang-lab/BioReason: BioReason: Incentivizing Multimodal Biological Reasoning within a DNA-LLM Model
BioReason: Incentivizing Multimodal Biological Reasoning within a DNA-LLM Model - bowang-lab/BioReason
Traffic meter per ASN without logs
The author introduces asncounter, a Python tool that analyzes logs or network traffic to count and group incoming IPs by their Autonomous System Number (ASN), helping identify which organizations are generating the most traffic. It’s designed for quick deployment and practical insight—especially when logs are anonymized or attackers use distributed IPs—making it easier to spot patterns, ...
https://anarc.at/blog/2025-05-30-asncounter/
The author introduces asncounter, a Python tool that analyzes logs or network traffic to count and group incoming IPs by their Autonomous System Number (ASN), helping identify which organizations are generating the most traffic. It’s designed for quick deployment and practical insight—especially when logs are anonymized or attackers use distributed IPs—making it easier to spot patterns, ...
https://anarc.at/blog/2025-05-30-asncounter/
anarc.at
Traffic meter per ASN without logs
anarcat
No GPU left behind: Unlocking Efficiency with Co-located vLLM in TRL
Hugging Face’s new co-location feature lets vLLM inference and model training share the same GPUs and process group, eliminating idle GPU time and costly hardware overhead that plagued the old server-based setup. This integrated approach delivers up to 1.73X faster throughput for large language models, maintains model quality, and simplifies scaling—though it requires careful GPU memory ...
https://huggingface.co/blog/vllm-colocate
Hugging Face’s new co-location feature lets vLLM inference and model training share the same GPUs and process group, eliminating idle GPU time and costly hardware overhead that plagued the old server-based setup. This integrated approach delivers up to 1.73X faster throughput for large language models, maintains model quality, and simplifies scaling—though it requires careful GPU memory ...
https://huggingface.co/blog/vllm-colocate
20 Pandas One-Liners That Can Save You Hours of Work
A curated set of 20 concise Pandas one-liners that leverage advanced features—like Arrow-backed dtypes, vectorized eval, and efficient group-by transforms—to optimize common data preprocessing, filtering, and aggregation tasks. These snippets are designed to streamline data analysis workflows on large datasets by reducing memory usage, speeding up computations, and minimizing boilerplate...
https://www.nb-data.com/p/20-pandas-one-liners-that-can-save
A curated set of 20 concise Pandas one-liners that leverage advanced features—like Arrow-backed dtypes, vectorized eval, and efficient group-by transforms—to optimize common data preprocessing, filtering, and aggregation tasks. These snippets are designed to streamline data analysis workflows on large datasets by reducing memory usage, speeding up computations, and minimizing boilerplate...
https://www.nb-data.com/p/20-pandas-one-liners-that-can-save
Nb-Data
20 Pandas One-Liners That Can Save You Hours of Work
Simple code that you should not miss at all
How local variables work in Python bytecode
The post explains how local variables are managed in Python bytecode: they’re stored in reserved slots at the bottom of each function’s stack frame, with the stack holding references to objects on the heap. By walking through a custom Python interpreter in Rust, the author illustrates how compiled bytecode uses indices (not names) to access these slots, demystifying the stack-based stora...
https://fromscratchcode.com/blog/how-local-variables-work-in-python-bytecode/
The post explains how local variables are managed in Python bytecode: they’re stored in reserved slots at the bottom of each function’s stack frame, with the stack holding references to objects on the heap. By walking through a custom Python interpreter in Rust, the author illustrates how compiled bytecode uses indices (not names) to access these slots, demystifying the stack-based stora...
https://fromscratchcode.com/blog/how-local-variables-work-in-python-bytecode/
Fromscratchcode
How local variables work in Python bytecode
Rust and Python mentorship for developers building expertise and creativity, offered in a supportive and slightly ridiculous environment.
Publish a Python Wheel to GCP Artifact Registry with Poetry
https://sergiolema.dev/2025/06/09/publish-a-python-wheel-to-gcp-artifact-registry-with-poetry/
https://sergiolema.dev/2025/06/09/publish-a-python-wheel-to-gcp-artifact-registry-with-poetry/
The Dev World - Sergio Lema
Publish a Python Wheel to GCP Artifact Registry with Poetry
In this article, I’m building a Python project that outputs a runnable file instead of a Docker image, as I need to directly communicate with GPU drivers. Using Poetry and GCP’s artifac…
Surprisingly Fast AI-Generated Kernels We Didn’t Mean to Publish (Yet)
Stanford researchers show that AI-generated CUDA kernels—created without relying on standard libraries—can now match or even outperform expert-optimized PyTorch kernels on specific tasks, thanks to parallel search and synthetic data generation. Their approach demonstrates that combining strong reasoning with broad exploratory search yields rapid performance gains, highlighting a promisin...
https://crfm.stanford.edu/2025/05/28/fast-kernels.html
Stanford researchers show that AI-generated CUDA kernels—created without relying on standard libraries—can now match or even outperform expert-optimized PyTorch kernels on specific tasks, thanks to parallel search and synthetic data generation. Their approach demonstrates that combining strong reasoning with broad exploratory search yields rapid performance gains, highlighting a promisin...
https://crfm.stanford.edu/2025/05/28/fast-kernels.html
pyleak
Detect leaked asyncio tasks, threads, and event loop blocking in Python. Inspired by goleak.
https://github.com/deepankarm/pyleak
Detect leaked asyncio tasks, threads, and event loop blocking in Python. Inspired by goleak.
https://github.com/deepankarm/pyleak
GitHub
GitHub - deepankarm/pyleak: Detect leaked asyncio tasks, threads, and event loop blocking in Python. Inspired by goleak.
Detect leaked asyncio tasks, threads, and event loop blocking in Python. Inspired by goleak. - deepankarm/pyleak
PyDoll – Async Python scraping engine with native CAPTCHA bypass
https://github.com/autoscrape-labs/pydoll
https://github.com/autoscrape-labs/pydoll
GitHub
GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic…
Pydoll is a library for automating chromium-based browsers without a WebDriver, offering realistic interactions. - GitHub - autoscrape-labs/pydoll: Pydoll is a library for automating chromium-base...
lmms-eval
Accelerating the development of large multimodal models (LMMs) with one-click evaluation module - lmms-eval.
https://github.com/EvolvingLMMs-Lab/lmms-eval
Accelerating the development of large multimodal models (LMMs) with one-click evaluation module - lmms-eval.
https://github.com/EvolvingLMMs-Lab/lmms-eval
GitHub
GitHub - EvolvingLMMs-Lab/lmms-eval: Accelerating the development of large multimodal models (LMMs) with one-click evaluation module…
Accelerating the development of large multimodal models (LMMs) with one-click evaluation module - lmms-eval. - EvolvingLMMs-Lab/lmms-eval
Should You Replace Every For Loop With Map and Filter?
Think map() and filter() are always better than for loops? Not so fast. This video walks you through four situations where functional code actually makes things worse—and explain why the classic for loop still deserves a place in your toolbox.
https://www.youtube.com/watch?v=ylzo04lU9Xs
Think map() and filter() are always better than for loops? Not so fast. This video walks you through four situations where functional code actually makes things worse—and explain why the classic for loop still deserves a place in your toolbox.
https://www.youtube.com/watch?v=ylzo04lU9Xs
YouTube
Let’s Replace All For Loops With Map and Filter
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
Think map() and filter() are always better than for loops? Not so fast. In this video, I’ll walk you through four situations where functional code actually makes things worse—and…
Think map() and filter() are always better than for loops? Not so fast. In this video, I’ll walk you through four situations where functional code actually makes things worse—and…