In unit testing with wrapture the tests leaned on a timeline and a tape to assert on what happened, and I skipped over what those actually are. This post is about the recording side of wrapture: what gets recorded, what…
Learn how to use these models, how to fine-tune them on diverse, specialized datasets that look nothing like their training data, and how to evaluate the results – all within PyCharm.
Build a fully functioning AI agent from scratch in pure Python, without frameworks, third-party tools, or vibe coding. The course focuses on the core mechanics behind agents so you understand how they work under the…
Wrapture takes a different approach to Python unit testing by wrapping real code instead of replacing it with mocks, preserving real arguments, return values, call structure, and signatures. It makes it easier to test…
Six common OOP practices can make code harder to maintain, including overusing inheritance, building unnecessary class hierarchies, breaking the Liskov Substitution Principle, and abstracting too early. The video…
In this video, we'll look at Django API options, exploring the best modern packages for API-driven development in Django. We will take a look at Django REST Framework, django-ninja, django-bolt, and django-modern-rest -…
The post explains the four caching layers in LLM stacks: KV cache, prefix caching, prompt caching, and semantic caching, covering what each stores, their trade-offs, interactions, and the most common issues that prevent…
The author traces a simple np.add(a, b) call through NumPy’s internals, from Python argument handling and dtype dispatch to iteration strategy and the final SIMD-optimized C loop. Along the way, the post explores ufunc…