Firstly, a huge thanks to Canonical for giving us this awesome tool for free! Yet another triumph from them for sure. I will try to explain and explore the utility of Multipass in software testing and development cycles, highlighting its advantages and versatility, and also delves into its role in testing Docker Swarm. In the ever-evolving landscape of software development,…
Just a quick note: The writings on this blog are my personal opinions only. They do not reflect the views of my employer or anyone else. This space is, for me, a place to document my journey, both technically, psychologically, and in terms of health and wellbeing, so I can look back and see how I’ve grown. Thank You.
What is python enumerate() function?
The enumerate() function in Python is a built-in function that allows us to iterate over a sequence (such as a list, tuple, or string) while keeping track of the index of the current item. It returns both the index and the value of each item in the sequence as you iterate through it. Here’s a simple example to illustrate how…
How to run PostgreSQL in Docker
PostgreSQL is a powerful relational database management system. For local development, practice and learning one can run Postgres in docker container. This is a step-by-step guide how to run postgres in Docker. This tutorial is for Linux/Ubuntu systems! If you have Docker installed already, then jump to Step 2 Step 1: Install Docker This completes download and install of Docker…
The Significance of Secularism in Promoting Equality
Introduction Secularism, as a principle that separates religion from the affairs of the state, plays a pivotal role in fostering equality in society. The idea of secularism is rooted in the belief that individuals should be free to practice their own religion or belief system without interference from the government or other religious institutions. This essay explores the vital importance…
How I Learn New Technical Concepts: My Black box Method
Learning something new in the tech world is like opening a mysterious Blackbox. You’re faced with complex terms and ideas that need unravelling. My approach, what I call it “The Blackbox Method,” (is a metaphor for the process of diving into complex topics and gradually understanding them, similar to opening a black box to uncover its contents) simplifies this process.…
How to convert decimal numbers to binary in Python: A Step-by-Step Guide
Binary number system is a fundamental concept in computer science, particularly when we deal with low-level operations and digital representation. In this article, I will explore a simple Python code snippet that manually converts a decimal number to its binary equivalent. Understanding the inner workings of this code can provide valuable insights into how binary representation is constructed. The Code:…
Basic Overview of SQL Language / RDBMS
What is SQL? SQL stands for Structured Query Language. SQL is a standard language for accessing and manipulating databases. Just as humans use different languages to communicate with others, so do computers. Structured Query Language (or SQL, often pronounced “sequel”) enables us to talk to their databases. SQL is one of the most useful data analyst tools, especially when working…
Autoindent according to language in VS Code
I am a bit tired off manual handling of indentation, specially when working on full stack projects. Jumping two to four spaces or tabs are not cutting it any more. So out of a bit of rage, made this .editorconfig file for VS Code. It is a configuration file standard that helps maintain consistent coding styles across different programming languages.…