Ecto.Repo.stream/1 in large data processing
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
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.
Why New Year’s resolutions fail?
The New Year is an occasion for new resolutions. Most often, they are only for a while. What influences our resignation? What should we do to increase our loyalty?
Chrome extension to start a new Clockify time entry
When I’m developing outside of working time, I like to collect addresses of visited websites. After a long time of collecting it by hand, I decided to change something. With Chrome Extension, I can do it automatically!
The enemy of good work and code
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
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.
TIL: Personal development
I love podcasts because they can change a lot in our lives. Recently I was analyzing one, and I would like to share something that seems extremely important to me.
Document your learning
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
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.
How to be more productive when working remotely?
Remote work, productivity, and time management are important topics. I want to explore the topic of increasing productivity while working from home. Check out my way of better commitment and the opportunity to focus on work duties.
Don’t use Elixir modules in migrations
Most of our projects use databases. We often do not realize that incorrectly used functionality may block our applications. Simple changes can save us from unpleasant consequences.
The most important thing in the project
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.
I started my blog - thoughts
A blog is a great way to learn from your past. You can be your own teacher. Let me show you why I started my blog.
Why choose Elixir?
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
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.