Petr Filaretov

Petr Filaretov @pfilaretov42

About: Passionate software engineer who is always striving for excellence.

Joined:
Sep 1, 2022

Petr Filaretov
articles - 45 total

[Tiny] Kotlin, Spring Boot, and the Journey of Duration Serialisation

When using Spring with Kotlin, there is one interesting thing with duration fields serialisation. For...

Learn More 0 0Apr 4

[Tiny] You Don’t Need @EnableKafka... Or Do You?

This week, I learned that when we use Kafka, the @EnableKafka annotation is not needed if an...

Learn More 0 0Mar 27

One Container to Rule Them All - Until It Doesn’t

TL;DR Start the container once, let it run throughout, avoid reusable containers unless...

Learn More 0 0Mar 11

[Tiny] Gradle, Show Me the Test Logs!

This week, I learned how to enable logging output for Gradle's test task. Why did I need it? I...

Learn More 0 0Mar 7

Spring Boot Avengers: Uniting Spring Data JDBC and PostgreSQL's JSONB

TL;DR When working with Spring Data JDBC and a jsonb database column, you may face...

Learn More 20 1Oct 1 '24

How to build your interactive resume in 4 simple and 2 easy steps

TL;DR Creating an interactive resume is as simple as copying the game and customising it,...

Learn More 1 0Apr 2 '24

[Tiny] Testcontainers with private docker registry

It is a common practice for an organisation to have a private docker registry which is the only...

Learn More 6 0Mar 5 '24

[Tiny] Kotlin list modification approach

Sometimes you need a class property of a list type with the ability to modify the list at some point...

Learn More 2 0Mar 2 '24

[Tiny] Is a sealed class abstract? Kotlin and Java way.

As you may know, both Kotlin and Java have a feature called sealed classes. Let's play a little with...

Learn More 0 0Feb 12 '24

[Tiny] Partition map in Kotlin

As you may know, Kotlin has a lot of useful functions to work with collections and maps. One such...

Learn More 0 0Jan 29 '24

CodiumAI PR-Agent: AI-powered review for pull requests

TL;DR PR-Agent looks promising for quick feedback, answering questions, and providing...

Learn More 9 0Jan 22 '24

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 18

💾 EdgeDB 4.0: nice mix of a relational and graph databases. It even has Java client. ☕️ Java,...

Learn More 0 0Dec 15 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 17

🌱 Dynamic Entity Graphs in Spring Data JPA: an example of Entity Graph JPA specification usage in...

Learn More 0 1Dec 4 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 16

Hey folks, here are some posts that I found interesting recently. 🌱 Synchronizing with External...

Learn More 0 0Nov 23 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 15

Hey folks, here is what I found interesting this week. 🧩 Unit testing in Kotlin projects with Mockk...

Learn More 0 0Nov 9 '23

[Tiny] Injecting Dependency With Default Value in Spring: What Could Go Wrong?

If you are writing applications in Kotlin, you may be using default value Kotlin feature. Be careful...

Learn More 0 0Oct 26 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 14

☕️ Java ON Conference 2023: the annual Java ON conference will take place on November 15-17 this...

Learn More 0 0Oct 20 '23

The Game of Life, the Universe, and Everything: Java Virtual Threads in Action

TL;DR This little game shows in practice that virtual threads are lightweight and you can...

Learn More 0 0Oct 11 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 13

Hey folks, here is what I found interesting this week. 🌱 All together now: Spring Boot 3.2, GraalVM...

Learn More 0 0Oct 6 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 12

Today's issue of the digest is dedicated to the new Java version - JDK 21, which was released on...

Learn More 0 0Sep 21 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 10 & 11

Hey folks, with a lot of stuff happening around in both work and personal life, I sometimes forget to...

Learn More 0 0Sep 11 '23

[Tiny] The Story of MockK and ClassCastException

Hey folks, today I would like to tell you a story of tests, MockK, and ClassCastException. Hope it...

Learn More 0 0Sep 5 '23

[Tiny] How to Upgrade Gradle Wrapper Using Custom Gradle Distribution

In one of the previous posts, I wrote about upgrading Gradle Wrapper. However, it does not cover the...

Learn More 1 0Aug 29 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 9

Hey folks, I was a bit busy last week and forgot to post the digest. Even though the new issue was...

Learn More 0 0Aug 28 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 8

Hi there, here is what I found interesting this week: 📕 Developer Nation Report: results of the...

Learn More 1 0Aug 18 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 7

Hey folks, I'm back from the holiday, and here is what I have for you this time: ⛑️ From Technical...

Learn More 3 0Aug 10 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 6

Hey folks, here is what I have for you this week: 🌱 New in Spring 6.1: RestClient: Spring 6.1...

Learn More 0 0Jul 28 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 5

Hi everyone! Here is what I found interesting this week: 📦 Our adventures with GraalVM — The good,...

Learn More 1 0Jul 21 '23

[Digest] Java, Kotlin, Spring, Cloud, and More - Episode 4

Hi everyone! Here are some news for this week. 🎉 What's new in Kotlin 1.9.0: our dearly beloved...

Learn More 0 0Jul 13 '23

Java 21 - Java 17 = 42 JEPs view

Java 21 is in Rampdown Phase One since the beginning of June, which means the feature set is frozen....

Learn More 0 0Jul 11 '23