Python slots - brief comparison

Slots is a way in Python to customize attribute access. Some people love them, some people don't. In my work experience - I didn't really see them too often. If a code was critical enough that this kind of memory savings mattered then it was written in something else and then leveraged by Python, be it as an extension or an entirely separate component.

Recently a friend of mine who has never heard of them, after my brief explanation, asked: "Okay, but how much do they actually save?" and... I couldn't really answer. In this article, I will try to do exactly that!

Read more  ↩︎

Useful stuff for your terminal

In this article I will show you a small set of cool tools that I've gathered that enhance my developer experience on Linux. My hope for this is that you walk away from this article with something meaningful and useful for your daily workflow. If you would rather just look at the source code, you can find it on Github.

Read more  ↩︎

Dicts, Slop and the Dead Internet

Because I'm relatively young and love learning, I try to live on the cutting edge of technology. I don't try every tool there is, but I read about all of them. With some I experiment. I know roughly what's available and how it functions. In this article I will share some of my thoughts, use cases and observations that surprised me, though my general feeling has been rather negative.

Read more  ↩︎

Become poweruser with psql

I think we all love Postgres. It's fast, efficient, and free to use. Nowadays, when I'm thinking of creating a SQL database, I choose Postgres as my primary target. For local development, I pretty much always deploy it in a Docker container, but the question is—how do you access it? Some people use database management interfaces built into IDEs, some use dedicated tools (such as pgAdmin or DBeaver), but for my basic development needs, I stick with psql (and it's in the terminal!). In this article, I'll show you the common useful things you can do with it.

Prerequisites:

  • Basic SQL understanding
  • Terminal
Read more  ↩︎

Book review #1: Cal Newport - Digital Minimalism

In summer of 2024 I went to Turkey for summer holidays. We were in Alanya and unfortunately (or fortunately) the WiFi was pricey. Not only that, but given that we were in the Asian part of Turkey, it meant that my mobile internet was simply not working. This made my phone regress entirely to... being a phone again.

Read more  ↩︎