Welcome to Yalchin's Blog!


Latest Posts


Card image cap
Over-engineering a telegram bot with microservices

A bit of history Almost 3 years ago I started my fun side project to code. As a heavy telegram user, I thought it would be awesome if I can also integrate my music library into telegram as well. The only dynamic way for this I thought is using...

  • 161
  • Feb 26 2024

Card image cap
Implementing database changelog or history

Introduction In the realm of database management, maintaining an accurate record of changes made to the database structure is paramount. This is where the concept of a database changelog comes into play. A changelog, also known as a record hist...

  • 141
  • Feb 23 2024

Card image cap
Mastering Custom Default Values in Django Database Fields: A Step-by-Step Guide

Handling Custom Default Values in Django Database Fields When adding a new field to a Django model, it's common to want to set a custom default value for that field. This means you don't want to just set the default field on the model level bu...

  • 129
  • Feb 15 2024

Card image cap
How to write decorator with both function and decorator parameters in Python

def modify_multiply_decorator(*args, **kwargs): # coeff=3 def dec(multiply_func): def inner(*nums): # (2, 290) coefficient = kwargs["coefficient"] # 3 result...

  • 524
  • Nov 5 2022

Card image cap
What is the Virtual Environment in Python and How to Set up Virtual Environment in Python

A bit of theory first... If you are using Python, you will always need to use a virtual environment if you want to keep the packages you installed as organized and neat as possible. So basically virtual environment will make it possibl...

  • 1314
  • Jun 16 2022

Card image cap
Accent and Case Insensitive Search and Minimum Distance Calculator in Pymongo

Ellaborate case Before starting with set up and everything, I would love to confess that I find Mongodb and Python combination as pain in the ass. Recently I have got an job offer as Python/Flask developer in one of th...

  • 1029
  • Apr 28 2022