Several Cool Things You Can Do with F-Strings in Python
F-strings are a powerful and easy-to-use way to format strings in Python. They are more readable than traditional string formatting methods and offer more flexibility. In this blog post, we will explore five useful F-string formatting tricks that you can use to make your code more readable and maintainable. Use f-string to format number: You can insert any character after the colon in an f-string to add them as thousand separators....
Upgrade Major PostgreSQL version on Docker
Upgrading a PostgreSQL database server to a newer version is a common task for database administrators and developers. In this post, we will discuss how to upgrade a PostgreSQL database server running in a Docker container. On 1 January, I decided to upgrade the PostgreSQL used by my Mastodon instance. It was using PostgreSQL 12 and I think it could used the upgrade to PostgreSQL 15 for that “extra performance and features”....
2023
Happy New Year! It’s hard to believe that another year has come and gone, and we’re already settling into the first few days of the new year. As we look back on the past year, it’s natural to reflect on the challenges and accomplishments of the past 12 months. It’s also a time to set new goals and resolutions for the year ahead. If you’re anything like me, you might be feeling a mix of excitement and nerves as you think about all the possibilities and potential changes the new year brings....
Hey there
It’s been a few years since I last sat down to write a blog post, and a lot has changed in that time. The biggest change, of course, is the loss of my father this year. It’s been a difficult and emotional journey, but I’ve been trying my best to keep moving forward and find ways to honor his memory. One of the things that has helped me through this difficult time is reconnecting with old hobbies and passions....
What happened to self-hosted blogs?
I remember a while ago when all of us run a personal blog on the Internet. And I mean personal, not hosted on some side platform or an addition to their website. I mean personal. Companies and individuals are now using Medium platforms to host and support all their articles, essays and case studies. I understand the drawing and can even list the positive elements: Under the Medium brand there is already a large community....