One of the most useful features that many languages offer is the possibility of sorting arrays and lists of elements in the most disparate ways. Let’s create our array sorting functions.Unlike more typed languages, in the case of Javascript arrays can have profoundly different types of elements, including primitives and […]
Kafka Schema Registry: schema governance in Kafka
In a production Kafka environment, data quality and backward compatibility are not optional, they are critical requirements. Simply serializing data as JSON or raw bytes is a fast track to chaos, especially in microservices architectures where producers and consumers evolve independently. The Confluent Schema Registry provides the solution: a centralized […]
JPA @Enumerated annotation in Spring Boot
In the world of Spring Boot applications, data modeling plays a crucial role and JPA @Enumerated is here for that. JPA provides an elegant way to map Java classes to database tables, while the @Enumerated annotation empowers you to seamlessly represent enumerations as database columns. This article delves into the […]
Easy way to show/hide a password field in Angular
The most easy way to show/hide a password input field in Angular is to toggle a show/hide property. For both methods I will use the FontAwesome icon library but you are free to use the icons you prefer. You can choose between two simple recipes, one with click event and […]
Simple Checkpoint System in Unity games
Often in level games, in very long levels, it can be useful that the user does not go back to the beginning of the game every time. It has not to re-face any monster already faced. With this tutorial he will respawns at the last registered checkpoint, with some of […]