RSS Amplifier

Blog

Bartosz Górka

I am a software engineer looking for challenging problems to solve. My specialization is backend development with strong emphasis put on Domain Driven Design, Elixir/OTP principles, and modular software design. I draw a lot of inspiration from distributed systems, Systems Thinking, and artificial intelligence. The goal I constantly pursue is to build modern and amazing products that allow you to change the world with your business. My motto is: Be the change you wish to see in the world.

bartoszgorka.comRSS feed ↗10 posts

Written by

Latest posts

Customize outputs with Inspect protocol

The latest changes to the Inspect protocol can help you change the way data is presented. With the new `optional` option, you can only indicate information when the data has changed.

Features of well-prepared tests

Software development is often a test creation process. To achieve success, it is worth considering what features good tests have. Well-written tests should document the implemented functionality and check the tested function well.

Use GitHub discussion to have comments on your Jekyll blog

I introduced the possibility of commenting on posts directly on the page. With giscus, we can use Discussions on GitHub to store comments. In this simple way, you can add comments to your Jekyll blog!

TIL: Using phash2 for data partitioning

In programming, we often need fairly distribution of data. Using phash2 we can get the same hash for the same Erlang term regardless of machine architecture and ERTS version. This fast function should always be used for hashing any data and limiting the result to a range of integers.

Tech Companies Layoffs

Layoffs have accelerated significantly this year. These layoffs affect the entire tech industry. The same problems can be observed both in the USA and in Europe.

TIL: Only one server will run your migrations

Ecto uses SHARE UPDATE EXCLUSIVE lock to ensure that only one instance is running a migration at a time and only once. Internally stored version and inserted at allows you to modify and improve created files.

Refactoring is the key to success

Refactoring should be an integral part of a developer's day. Systematic refactoring allows for reducing the process of self-degradation of the project. This change makes our code easier to understand and cheaper to maintain.

TIL: Regex with name bindings

In Elixir, regular expressions can extract a lot of useful information. Using Regex and named_captures/3 function, we can parse the input data based on the prepared regex.

Should Team Lead continue to code?

Being promoted from Programmer to Team Leader is not unusual. Should Team Lead continue to code? Managing people becomes your job, among other things. You do not have to stop coding completely. Unfortunately, it will be less than before.

Take care of your health

It is one of the few "things" that will ultimately happen to everyone. How well are you using your life? Do you like your job and the people you work with? Instead of postponing it, just start acting!