How I made dependency injection in Python 130× faster: from reflection to compiling the graph
The post shows how a Python dependency injection container was optimized from ~53 µs to 0.40 µs per resolve by caching plans, eliminating unnecessary checks, and compiling dependency graphs into generated code. Along the way, it demonstrates practical performance engineering techniques, including code generation, common-subexpression elimination, fuzz testing, and reproducible benchmarking
https://vshulcz.hashnode.dev/python-dependency-injection-130x-faster
The post shows how a Python dependency injection container was optimized from ~53 µs to 0.40 µs per resolve by caching plans, eliminating unnecessary checks, and compiling dependency graphs into generated code. Along the way, it demonstrates practical performance engineering techniques, including code generation, common-subexpression elimination, fuzz testing, and reproducible benchmarking
https://vshulcz.hashnode.dev/python-dependency-injection-130x-faster
Vlad Shulcz Notes
How I made Python dependency injection 130× faster
How a Python DI container's resolve dropped from ~53 to 0.40 µs/op: plan caching, removing a dead check, and compiling the graph with exec.
How to build your first Scrapy extension
This tutorial uses a simple audio notification plugin to explain how Scrapy extensions work, covering signals, lifecycle hooks, settings, testing, and packaging. It provides a practical introduction to extending Scrapy with custom functionality while showcasing common patterns used across the ecosystem.
https://www.zyte.com/blog/how-to-build-your-first-scrapy-extension/
This tutorial uses a simple audio notification plugin to explain how Scrapy extensions work, covering signals, lifecycle hooks, settings, testing, and packaging. It provides a practical introduction to extending Scrapy with custom functionality while showcasing common patterns used across the ecosystem.
https://www.zyte.com/blog/how-to-build-your-first-scrapy-extension/
Zyte
How to build your first Scrapy extension
My Scrapy project now plays a triumphant fanfare when a crawl finishes clean and a sad trombone when it doesn't, which is also how I finally learned what Scrapy's extension points are actually for.
Array API adoption: what to do with compiled code
The post examines how Array API compatibility and JIT compilation can modernize legacy scientific Python code for GPUs and multicore CPUs. The results suggest developers can achieve significant performance gains across hardware platforms without maintaining specialized accelerator-specific code.
https://labs.quansight.org/blog/array-api-aot-jit
The post examines how Array API compatibility and JIT compilation can modernize legacy scientific Python code for GPUs and multicore CPUs. The results suggest developers can achieve significant performance gains across hardware platforms without maintaining specialized accelerator-specific code.
https://labs.quansight.org/blog/array-api-aot-jit
The Fastest Python Struct?
The article explores the performance tradeoffs of Python's various struct-like types, focusing on startup and type-definition costs rather than runtime business logic. Extensive benchmarks reveal that NamedTuple sits in the middle of the pack, while msgspec and C-backed implementations deliver the fastest type creation and startup times.
https://www.crumpledpaper.tech/2026-06-21-python-struct-profiling/
The article explores the performance tradeoffs of Python's various struct-like types, focusing on startup and type-definition costs rather than runtime business logic. Extensive benchmarks reveal that NamedTuple sits in the middle of the pack, while msgspec and C-backed implementations deliver the fastest type creation and startup times.
https://www.crumpledpaper.tech/2026-06-21-python-struct-profiling/
Crumpled Paper
The Fastest Python Struct?
An adventure in Python struct benchmarking: slotted class, NamedTuple, dataclass, attrs, msgspec, record-type, and a new C extension based on record-type and msgspec. Focus is on import-time, type-construction, memory, and instantiation cost, NOT DE/SERIALIZATION…
Write a coding agent from first principles
This tutorial will show you how to create your own coding agent from first principles. By doing so, you'll understand how coding agents work under the hood.
https://mathspp.com/blog/write-a-coding-agent-from-first-principles
This tutorial will show you how to create your own coding agent from first principles. By doing so, you'll understand how coding agents work under the hood.
https://mathspp.com/blog/write-a-coding-agent-from-first-principles
Mathspp
Write a coding agent from first principles
Learn how to write a coding agent in this Python tutorial that teaches how to interact with an LLM through an API, how to manage the conversation context,...
PixelRAG
PixelRAG replaces traditional text-based web RAG with a pixel-native approach that retrieves and reasons over webpage screenshots. By preserving visual structure and using vision-language models, it aims to improve retrieval accuracy and web understanding.
https://github.com/StarTrail-org/PixelRAG
PixelRAG replaces traditional text-based web RAG with a pixel-native approach that retrieves and reasons over webpage screenshots. By preserving visual structure and using vision-language models, it aims to improve retrieval accuracy and web understanding.
https://github.com/StarTrail-org/PixelRAG
GitHub
GitHub - StarTrail-org/PixelRAG: The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/
The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/ - StarTrail-org/PixelRAG
Wagtail as Django admin on steroids
Wagtail can be used as a drop-in replacement for Django Admin, providing a more polished UI and powerful customization capabilities. The article demonstrates how developers can adopt Wagtail incrementally while retaining their existing Django architecture.
https://timonweb.com/wagtail/wagtail-as-django-admin-on-steroids/
Wagtail can be used as a drop-in replacement for Django Admin, providing a more polished UI and powerful customization capabilities. The article demonstrates how developers can adopt Wagtail incrementally while retaining their existing Django architecture.
https://timonweb.com/wagtail/wagtail-as-django-admin-on-steroids/
timonweb.com
Wagtail as Django admin on steroids
Discover how Wagtail transforms Django admin into a sleek, user-friendly interface with powerful features and easy customization.
NVlabs / Eagle
Eagle: Frontier Vision-Language Models with Data-Centric Strategies
https://github.com/NVlabs/Eagle
Eagle: Frontier Vision-Language Models with Data-Centric Strategies
https://github.com/NVlabs/Eagle
GitHub
GitHub - NVlabs/Eagle: Eagle: Frontier Vision-Language Models with Data-Centric Strategies
Eagle: Frontier Vision-Language Models with Data-Centric Strategies - NVlabs/Eagle
Optocam Zero
Optocam Zero is a Raspberry Pi Zero based compact digital camera made using off the shelf components.
https://github.com/dorukkumkumoglu/optocamzero
Optocam Zero is a Raspberry Pi Zero based compact digital camera made using off the shelf components.
https://github.com/dorukkumkumoglu/optocamzero
GitHub
GitHub - dorukkumkumoglu/optocamzero: Optocam Zero is a Raspberry Pi Zero based compact digital camera made using off the shelf…
Optocam Zero is a Raspberry Pi Zero based compact digital camera made using off the shelf components. - dorukkumkumoglu/optocamzero
Build a fully local voice assistant in 2026
A practical setup for a Raspberry Pi-friendly voice assistant based on Platypush.
https://blog.platypush.tech/article/Local-voice-assistant
A practical setup for a Raspberry Pi-friendly voice assistant based on Platypush.
https://blog.platypush.tech/article/Local-voice-assistant
Platypush
Build a fully local voice assistant in 2026
A practical setup for a Raspberry Pi-friendly voice assistant based on Platypush.
virgiliojr94 / book-to-skill
Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
https://github.com/virgiliojr94/book-to-skill
Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
https://github.com/virgiliojr94/book-to-skill
GitHub
GitHub - virgiliojr94/book-to-skill: Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use…
Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work. - virgiliojr94/book-to-skill
You Don’t Need That Design Pattern
Using Python examples, the video explores the tradeoff between simplicity and abstraction, showing how design patterns can introduce unnecessary complexity when applied too early. It provides a practical rule of thumb for recognizing when a pattern adds value versus when it becomes overengineering.
https://www.youtube.com/watch?v=xns3InDkAiA
Using Python examples, the video explores the tradeoff between simplicity and abstraction, showing how design patterns can introduce unnecessary complexity when applied too early. It provides a practical rule of thumb for recognizing when a pattern adds value versus when it becomes overengineering.
https://www.youtube.com/watch?v=xns3InDkAiA
YouTube
You Don’t Need That Design Pattern
🧱 Build software that lasts. Join the Software Design Mastery waiting list → https://arjan.codes/mastery.
Design patterns aren't bad. But using them too early can make your code more complicated than it needs to be.
In this video, I start with a Python…
Design patterns aren't bad. But using them too early can make your code more complicated than it needs to be.
In this video, I start with a Python…
music-assistant / server
Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assistant and must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike.
https://github.com/music-assistant/server
Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assistant and must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike.
https://github.com/music-assistant/server
GitHub
GitHub - music-assistant/server: Music Assistant is a free, opensource Media library manager that connects to your streaming services…
Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assis...
Graphsignal
Graphsignal is a production-scale inference profiling platform that helps engineers optimize AI performance across models, engines, GPUs, and other accelerators. I
https://github.com/graphsignal/graphsignal-profiler
Graphsignal is a production-scale inference profiling platform that helps engineers optimize AI performance across models, engines, GPUs, and other accelerators. I
https://github.com/graphsignal/graphsignal-profiler
GitHub
GitHub - graphsignal/graphsignal-profiler: Graphsignal Profiler
Graphsignal Profiler. Contribute to graphsignal/graphsignal-profiler development by creating an account on GitHub.
TIRx: An Open Compiler Stack for Evolving Frontier ML Kernels
TIRx introduces an open-source, hardware-native DSL and compiler stack for writing high-performance ML kernels that can keep pace with rapidly evolving AI hardware. Built on Apache TVM, it combines low-level control, compiler-assisted abstractions, and agent-friendly tooling to support expert developers, automated kernel generation, and future accelerator architectures.
https://tvm.apache.org/2026/06/22/tirx
TIRx introduces an open-source, hardware-native DSL and compiler stack for writing high-performance ML kernels that can keep pace with rapidly evolving AI hardware. Built on Apache TVM, it combines low-level control, compiler-assisted abstractions, and agent-friendly tooling to support expert developers, automated kernel generation, and future accelerator architectures.
https://tvm.apache.org/2026/06/22/tirx