Piotr Proszowski

Assertiveness. The Missing Puzzle.

We despise and abhor the bully, the brawler, the oppressor, whether in private or public life, but we despise no less the coward and the voluptuary. No man is worth calling a man who will not fight rather than submit to infamy or see those that are dear to him suffer wrong. ~ Theodore Roosevelt TL;DR Assertiveness is much more than saying no. Once I grasped this concept and began honing my assertiveness skills my life became… well… brighter.

Confitura 2023

“It’s Saturday, beautiful weather outside so… let’s code something fun” (loosely translated) ~ Krzysztof KudryƄski “It’s a model pulled out of an ass” ~ Jakub Nabrdalik Today, I had the pleasure of attending Confitura 2023, and I want to share some insights from the discussions I participated in there. Disrupting the Banking Industry The keynote speaker, Paul Clark, CIO of Chase Bank, engaged us in a discussion on how technology disrupts different industries.

Test Driven Development. Hot or not?

TL;DR In this post I share some insights of what is my current understanding of Test Driven Development. Additionally, I review some materials I recently encountered on this matter. Context Test Driven Development and Pair Programming were practices that always attracted me. They seem to be pretty neglected in our industry (at least in places I had opportunity to work so far) but I see a lot of benefits coming from them.

Few words about interviews

TL;DR Interview is a great tool for companies and people looking for a job. It works not only as a form of exam, but it can deliver data to both sides if they will make a good deal or not. And even if they don’t make a deal - they can benefit a lot from gaining new perspectives and there is nothing they can loose - apart from time. Context When I was looking for the first intern/job as a Software Engineer I remember that I was really stressed out by this.

Mapping HTTP request to sealed class with Jackson

TL;DR Today I learned how to map http request to sealed class in Kotlin and decided to share that with you. Context Sometimes it can happen that our REST API consumes jsons that have conditional fields. Let’s say we have a following endpoint in our application: POST /bet-offers It is used for adding a new bet offer to our application which offers betting on different sport events. There are different types of bet offers:

Sharded MongoDB in Integration Tests

Sharded Mongo Db in Test Containers TLDR; Recently I had a pleasure to fix integration tests in one of inherited projects from another team. It used to run from 8 to 15 minutes (!!!), failed to run on M1 Apple Silicon Chip and was leaving some mess on machine where it executed. The root of those troubles was setting up sharded MongoDb with use of de.flapdoodle.embed.mongo . After using TestContainers and few tweaks they need around 4 minutes to finish, developers with M1 Apple Silicon Chip are able to run them and they leave machine in clean state.