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  ↩︎

Poetry detour and my first Tanka

During my high school years, I strongly disliked "Polish Language and Literature" classes. I thought they were boring and couldn't understand why poets and writers overthought and elaborated on even the simplest of things. Naturally, back then, I couldn't even fathom changing my mind. It is, therefore, very surprising to me that I now find myself not only enjoying reading short poems but also writing them, albeit terribly..

Read more  ↩︎

The "Forgetful" pattern: A method for Deep Copying with unique instances

In this article I will showcase you a recent trick I've learned when glancing through boto3 source code. There was a particular class which name was even stranger than its usage: ForgetfulDict. We'll break down its surprisingly simple implementation, understand the specific problem it solves within Python's copy module, and see how this pattern can be useful in other contexts.

Prerequisites:

  • Basic Python understanding
Read more  ↩︎