Tag: Example

Understanding Transformers: A Step-by-Step Math Example — Part 1

I understand that the transformer architecture may seem scary, and you might have encountered various explanations on YouTube or in blogs. However, in my blog, I will make an effort to clarify it by providing a comprehensive numerical example. By doing so, I hope to simplify the understanding of the...

Understanding Transformers: A Step-by-Step Math Example — Part 1

I understand that the transformer architecture may seem scary, and you might have encountered various explanations on YouTube or in blogs. However, in my blog, I will make an effort to clarify it by providing a comprehensive numerical example. By doing so, I hope to simplify the understanding of the...

Docker For Beginners — With a Python Example

I’ve only been using Docker for a short time, simply because I had trouble understanding what it was and what it could be used for. Indeed, even after reading various articles and the Docker documentation, I find that it’s not very clear for someone who knows nothing about containers. ...

Shimmer effect in Kotlin with example

I recently wrote about how to improve your UI/UX withhelp of ViewPropertyAnimator. Another way to enrich the user experience — adding shimmer effect to the app. Shimmer effect is a technique used to create loading animations in applications. It is essentially a flicker that appears on ...

Java 21 Features With Example

This article provides a comprehensive overview of the new features introduced in JDK 21, as specified by JSR 396 in the Java Community Process. From language improvements to performance optimizations, these features aim to enhance productivity, flexibility, and efficiency in Java development. Let&rs...

SwiftData by Example: iOS 17 & SwiftUI 5 — Part 11

The Query macro holds a pivotal position within the SwiftData ecosystem, primarily serving as a cornerstone for data retrieval and processing. While we’ve utilized this macro to access books from the persistence store, our usage has been limited to basic scenarios thus far. Let’s dive de...

SwiftData by Example: iOS 17 & SwiftUI 5 — Part 12

The Query macro simplifies the process of filtering and sorting data within SwiftData, operating directly at the database level. In the earlier stages of the project, we implemented search functionality for the book list view, but it relied on in-memory searching. While this approach is efficient fo...