Codecs error handling with register_error
Python supports built-in handlers to cope with encoding errors. Not only that, we can also define our own handlers and register them with the codecs module.
About technology stuff that piqued my interest
Python supports built-in handlers to cope with encoding errors. Not only that, we can also define our own handlers and register them with the codecs module.
Naming fields in ValueTuple is not a ground-breaking feature. After all, it is just syntactic sugar. But have you ever wondered how that feature is implemented?
To avoid hard-coding attribute names in LINQ code of the IQueryable
The Task.Yield method can “creates an awaitable task that asynchronously yields back to the current context when awaited”. Let’s find out what that means today.
In ASP.NET Core, Tag Helpers can be used to create custom HTML tags, or to create custom attributes for other tags. Let’s find out how to do that.
In the last article, we went through the basics of Polly. Today, we will find out how to use Polly to create our own custom policy.
The Polly library is my go-to choice whenever I need to retry my HTTP requests. In today’s article, we will see how it works.
The deep copy method makes sure that changes made to a copy don’t affect the original object. Today, we will see how it works behind the scenes.
Context manager is an interesting feature in Python. Its main use is to manage resources. But today, we will explore some of its more exotic uses.
Testing time dependent classes can be tricky. Fortunately, the NodaTime and NodaTime.Testing package can assist us in resolving this issue.