• Borrowed Byte Buffer in Rust

    It started with re-implementation of gossip-based distributed membership protocol, this time in Rust. I was looking for a fast and simple way to put data into array of bytes, and to get data from an array of bytes. Something like Java’s ByteBuffer.

    Read on →

  • Command prompt setup

    Quite for some time I was taking command prompt for granted, thinking that it is just as it is. But today is the day, I’m setting up the command prompt that I like!

    Read on →

  • Testing RabbitMQ Client in Java

    Writing RabbitMQ client in Java is very well described in the tutorial and client docs, but writing test-coverage for such client can be tricky.

    Read on →

  • Sending Emails Using Java

    When sending an email using Java code is required, good old SMTP and javax.mail package do all the work. What’s left for developer if properly align and pass all required parameters.

    Read on →

  • Testing AWS client with LocalStack

    Using AWS SDK always leaves one question open for me - how to introduce test coverage for the integration code. On one side, it doesn’t make any sense to test/mock the code outside of your control (unless you’re owning AWS SDK code, of course, but I suggest, most probably, you don’t). On the other side, leaving code uncovered doesn’t really look good as well.

    Read on →