AWS EventBridge Rule AND operator

In this article you’ll find an answers to these questions: Suppose you want to use two checks for a specific field. Consider the following test event: After some struggling, you may end up with a rule that looks something like this: At a glance, this rule should match events only when event field custom looks […]

READ MORE

AWS EventBridge Rule Emulator

Suppose you have to develop an AWS EventBridge Rule. Most likely, you want to test it with a bunch of edge-cases. It might be the case when actual event emission is not very easy or you really want to know your event work correctly before deploy. All you need to do is make use of […]

READ MORE

gRPC transport and channel providers

Let’s discuss some details around that how gRPC manages transport providers. Remember, that we have two closely related concepts in gRPC: If you didn’t familiar with NameResolvers, I strongly encourage you to peruse previous part of our narrative here: https://mchesnavsky.tech/name-resolution-providers. This article will be about the latter. Alright, we should elaborate, that a gRPC channel […]

READ MORE

gRPC name resolution providers

We have something special today. It all started with that I updated grpc-java version from 1.43.2 to 1.60.0. Alright, I just updated dependency and anticipated it working. However, I run into exception on ManagedChannel build at the client side: Exception I got looks like this: Another modifications: If you’re looking for the simplest & quickest […]

READ MORE

JDK invalid target release

Suppose we just run into this error: And you use IntelliJ IDEA. The thing is that you need to double check at least four places that you have chosen the proper JDK version. Step #1 First things first, make sure that you have JDK 21 selected under File -> Project Settings -> Project -> SDK: […]

READ MORE

Golang pgconn.errTimeout context canceled

Suppose you just received the following error: during database operation attempts in your Go app. Obviously, the first thing you need to check is your query, its performance, and timeout values. You might miss some index creations, etc. If everything is ok with your query and it’s working well and constantly faster than that timeout […]

READ MORE

How to manually give app permissions MacOS

In this article you’ll find the answers to these questions: Some MacOS versions have pretty annoying bug, which is that applications just don’t requesting necessary permissions. Option #1. Install last system updates First things first, you need to double check that you have the most recent MacOS version. If you already have, or if you […]

READ MORE

AWS Developer Associate DVA-C02 learning path

Suppose you want to pass the AWS Developer Associate certification. It is required to have some hands-on experience, even in order to understand some concepts in the courses. If you don’t have it, consider creating some sort of cloud-based pet-project. After you got familiarize yourself with base services like EC2, S3 and Lambda, I highly […]

READ MORE

Golang struct reflection

Suppose we want to know all possible information about the fields of the Go struct. We can get all this stuff using reflection. In this article you’ll find the answers to these questions: You can use this piece of code to get this information from the structure using reflection and print it in tabular form. […]

READ MORE