Can I inject this class ?

One of the biggest pain points using injection in Java is that if you missed something, you will find it during runtime. Many code commits were made where everything passed the code review, and looked legit, just to find out that it doesn’t work due to a missing injection. Let…

Marking field as required when using Lombok Builder

The builder pattern is nice and useful, and using Lombok @Builder annotation instead of implementing it each time can save a lot of time. However, there is one problem with this. You can’t really define a required field. For example, Let’s assume we have this class: 123456@Value @Builder public class…

Simple item versioning with DynamoDB

Occasionally you want to store information in a database with keeping versioning, so you will be able to retrieve previous versions of the record. In this example, we will use AWS DynamoDB and take advantage of some of its features. For the example, lets take a simple record that contains…

How do I spend less time on compilation

As part of my day job, I write and compile a lot of code. My laptop is not that strong and I find myself wasting a lot of time on compilation. Then I asked myself, why shouldn’t I use the cloud for getting more compute power ? Choosing cloud provider…

Building simple testing framework in Python

Every good product need to have a good testing coverage in order to insure that it works both in “happy scenarios” and in “bad scenarios” – inc. disruptions, limits and etc. Beside unit tests, every module should be tested “end-to-end” as well. In this blog post I’ll demonstrate how to…