I’ve always thought it is cool to have a pet project. Creating something single-handedly lets you get an insight into problems that you won’t come across when you’re just one out of many people engaged in the project. One of such things is setting up proper operations and deployment process. Sure, for something small even […]
The Vicious Circle of Code Quality
What’s wrong with our code quality? I’ve recently came across a talk given by “Uncle Bob” Martin on the object-oriented programming. What struck me most, however, was not how precisely and thoroughly he grasped the very core of OOP, but the introduction he gave. We, as programmers, tend to sacrifice the code quality in order […]
Java Manifest Crash Course

I’m recently learning about AWS features and one of them are “Lambdas”. Those are functions that can be deployed and triggered on various events (like HTTP request, or file upload), but you don’t have to maintain the servers that run them. By default AWS provides several runtimes like NodeJS, Python and Java. Since I’m recently […]
Optimizing Django Queries – Part 4
Time to say goodbye to yet another series. But before we do so, let’s once again ask the question: “how can I make Django database queries faster?” Today I’m going to show another aspect of this problem, namely leveraging the hardware architecture for optimizing Django queries. Let’s create a read replica and set up the […]
Optimizing Django Database Queries – Part 3
In the last 2 parts I mostly talked about proper indexing. But indexing is not everything. Sure, it might be helpful in some situations, but today I’d like to show you a situation where a search can be improved without them. Disclaimer: I failed to write queries returning proper results. I have no idea why […]
Optimizing Django Database Queries – Part 2
In the previous post about optimizing Django database queries I showed how to detect and improper use of indexes and what Django creates by default. Today I’d like to show a better usage of indexing on a potentially expensive operation which is text searching. Task: Search an Author By Name As you might remember the […]
Optimizing Django Database Queries
Before we move on to the topic, I’d like to apologize for the irregular updates, but I’m going through a few courses that take a lot of time. On the other hand, from time to time they result in inspirations for new posts. One of such a case is a course focused on working with […]
How to Manage Project Dependencies with GitLab – Part 2.
In the previous post I’ve talked about creating and installing own Python packages using GitLab’s tools. Today I’d like to focus a bit more on the topic and show how you can make this process even better. We’re going to use GitLab’s CI to build the PyPi packages automatically. Problems Let’s imagine an average Cathy, […]
Hardware upgrades!
I’ve finally managed to upgrade my setup. I was hoping that I would be able to write a regular article, but due to the fact that I needed to return the monitor and waited for a week for another one, I still haven’t started writing it. Nonetheless I’d like to share with you what I’ve […]
How to Manage Project Dependencies with GitLab
Sometimes when we have a bigger project or a set of projects we want to extract some code in order to make it reusable. When integrating it with project we run into a question: how do I manage such dependencies (in GitLab)? Submodules and other Git Features One of the common approaches is using submodules. […]