Ecto.Repo.stream/1 in large data processing

  • 1 min read

The datasets can be too large to handle entirely in-memory, but we should do the processing. With Ecto.Repo.stream/1 we can process it in batches. Tested in practice solution can come in handy when dealing with CSV export, updating indexes, and much more.

Manipulate enumerable: Enum vs. Stream

  • 2 min read

Two ways of handling enumerables dominate Elixir language. Seemingly very similar to each other, offering a matching set of possibilities, but they behave entirely differently.

The enemy of good work and code

  • 3 min read

We spend most of our life at work. Work should not be a place where we are forced to go. Have you considered the enemies of our work? Blame culture, ego, responsibilities - these are only some of the topics worth paying attention to.

The best learning resource: Harvard CS50 course

  • 1 min read

Harvard CS50 - probably the best free introductory programming course you can find. What does it offer, and why is it worth it? An excellent introduction to C and Python languages, data allocation, pointers, heap, and many others concepts.

Document your learning

  • 2 min read

Recently I came across the topic of learning and documenting progress. Sharing our development with others can be done in many ways. I want to share my opinion about the advantages I see.

Top things that annoy programmers

  • 2 min read

Daily work provides many situations to upset, surprise, and even laugh. I asked my friends who are programmers what annoyed them. Please don’t take it as a complaint, but rather as an opportunity to change.

The most important thing in the project

  • 1 min read

No project is perfect from the start. The real problems are very complicated. While something seems simple and fits perfectly, it may not be. I want to present the most critical and unchanging aspect of each project.

Why choose Elixir?

  • 3 min read

Companies operate in an uncertain environment. Uncertain technology is certainly not something that will interest them. What makes companies decide to use Elixir language?

Handling configuration variables in Elixir

  • 2 min read

We have some environmental variables in almost every Elixir application. They change the behavior of the system. They even allow you to reduce variables to be hard-coded somewhere in the depths of the code. I will show how you can use environment variables better.