Fix LocalDateTime Serialization with Redis & Spring Boot Cache

Fix LocalDateTime Serialization with Redis

Overview Recently, I added Redis as the cache manager for my web app (https://ukata.io). There is an error regarding JSON LocalDateTime parsing like this: Mind you, I’ve already added the following dependency in my pom.xml file: But I still got that error. I use Spring Boot 3.0 for this project FIY. So, how to fix … Read more

Redis Command CheatSheet

Redis Command CheatSheet

Data Initialization Here is the cheatsheet to initialize different Redis data types: I was able to set the values for different data types. However, when I tried to use GET on a datatypes other than String, I got an error: “(error) WRONGTYPE Operation against a key holding the wrong kind of value”. Key Commands String … Read more

Day 4: Dictionaries and Tuples in Python

Dictionaries and Tuples in Python

Welcome to Day 4 of our Python learning journey! In this lesson, we will explore two important data types in Python: dictionaries and tuples. Dictionaries A dictionary is a collection of key-value pairs, where each key maps to a specific value. Dictionaries are created using curly braces {}, with keys and values separated by colons … Read more

Day 2: Control Structures and Functions

Control Structures and Functions

Welcome back to our Python learning journey! Yesterday, we covered the basics of Python programming, including data types, variables, and input/output. Today, we’ll dive into control structures and functions. Control Structures Control structures are constructs that allow us to control the flow of our program based on certain conditions. The most common control structures are … Read more