coding

How to add your contribution stats to your Github Profile README

How to add your contribution stats to your Github Profile README

So you want to update Your README with your Contribution Stats? Well you have come to the right blog post, Today I will walk you through how you can do that Step 1: Go to the Repository Go to LordDashMe's Github Page, then click on Repositories and Scroll down until you see this: LordDashMe/github-contribution-stats or click on the Repository from the Pinned section ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4uz20ihmjimuirh74hzt.png Step 2: Copy link Go to the repo and scroll down to the README and go copy the following code: [![Contribution Stats](https://github-contribution-stats.vercel.app/api/?username=lorddashme)](https://github.com/LordDashMe/github-contribution-stats/) Enter fullscreen mode Exit fullscreen mode Step 3: Change to your username Change…
Read More
A Beginner’s Guide to Binary Numbers and Operations

A Beginner’s Guide to Binary Numbers and Operations

In this post I will explain what binary numbers are, and show you how to do some basic operations in binary. We typically use the decimal number system in our daily lives, from counting money, to telling time, most likely it's due to the count of our fingers. Every digit in the decimal system represents a distinct power of ten. For example, 365 = 3×10^2+5×10^1+6×10^0. However, computers are unable to use the decimal system instead, they can use binary numbers, sometimes called base-2 numbers. Millions, if not billions, of tiny switches known as transistors make up computers. There are only…
Read More
Top 5 Cheap VPS Providers

Top 5 Cheap VPS Providers

OH NO. ANOTHER ONE OF THOSE POSTS. Don't worry, none of these providers paid me to write this. As the founder of a small cloud hosting provider (sliplane.io), I've been doing a lot of research on the best VPS providers that we can partner with. And in the process, I've found and used easily 50+ different providers, today I want to share with you 5 of my favorites if you are looking for a cheap VPS. 1. Hetzner Hetzner should be a name that rings a bell for most people, since they are really having a boom in the last…
Read More
How to Stop Procrastination as a Work-from-Home Programmer

How to Stop Procrastination as a Work-from-Home Programmer

Practical Tips to Break the Cycle and Get Stuff Done Working from home as a software engineer is a double-edged sword. On the one hand, you’ve got the flexibility to work in your pajamas, enjoy your cozy setup, and avoid the commute. On the other hand, the same flexibility can sometimes lead to a dangerous trap—procrastination. As someone who’s spent time coding in bed, surrounded by distractions, I know how easy it is to fall into that cycle. But breaking out of procrastination as a programmer is possible! In this guide, I'll walk you through some effective strategies to help…
Read More
10 Software Design and Programming Best Practices for Developers

10 Software Design and Programming Best Practices for Developers

Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article. image_credit - ByteByteGo Hello friends, Software design and System Design a critical aspects of the development process that can significantly impact the success and maintainability of a project. While mastering software design takes time and experience, there are key best practices that developers can quickly learn to enhance the quality of their code. Earlier, I have explained key system design concepts like API Gateway vs load balancer, Forward Proxy vs Reverse Proxy as well common System…
Read More
From Dependency Inversion to Dependency Injection in Python

From Dependency Inversion to Dependency Injection in Python

Introduction The Dependency Inversion Principle (DIP) and Dependency Injection (DI) are powerful concepts that can significantly improve the design of your Python code. In this post, we will explore these principles in detail, starting with a high-level overview and progressing to practical examples. By the end, you’ll have a deeper understanding of how to write modular, maintainable, and flexible Python code that adheres to these best practices. Let’s start with a famous quote from Robert C. Martin: “High-level modules should not depend on low-level modules; both should depend on abstractions. Abstractions should not depend on details; details should depend upon…
Read More
Combining Flexbox and Grid for a Personal Website Landing Page

Combining Flexbox and Grid for a Personal Website Landing Page

In the previous article, we discussed how CSS Flexbox and CSS Grid simplify responsive design by making layouts adaptable to different screen sizes. Now, let’s take things a step further and see how we can combine both Flexbox and Grid to create a personal website landing page. This landing page will include: A header with navigation links. A main section with a profile photo, a short description, and social media links. A footer for copyright information. We'll use CSS Grid to manage the overall structure and Flexbox to align the content inside specific sections. By combining both, we can create…
Read More
Streamline Error Handling with JavaScript’s New ?= Operator

Streamline Error Handling with JavaScript’s New ?= Operator

JavaScript developers, tired of messy try-catch blocks? The new ECMAScript Safe Assignment Operator (?=) is here to make error handling simpler and cleaner. Here’s what it does: What is the ?= Operator? Instead of writing multiple try-catch blocks, ?= handles errors in one line. It returns two values: [error, result]. If there’s an error, the first value is the error, otherwise, it’s null and the result is returned. const [error, result] = ?= someOperation();if (error) {console.error('Error occurred:', error);} else {console.log('success:', result);}Why You’ll Love It: Source link lol
Read More
Why BookMyShow “Failed” but Hotstar Succeeded – A System Design Perspective

Why BookMyShow “Failed” but Hotstar Succeeded – A System Design Perspective

I've seen a lot of people asking why BookMyShow struggled during events like the Coldplay concert, while platforms like Hotstar seem to manage massive traffic, especially during big cricket matches. To answer that, we need to understand this from a system design and infrastructure perspective—and it's not exactly a fair comparison. Apples to Oranges: Read-heavy vs Write-heavy Systems Hotstar and BookMyShow are fundamentally different in how they handle user interaction. Hotstar is read-heavy, where millions of users are simply streaming content (reading data). On the other hand, BookMyShow is write-heavy during high-demand events like concert ticket sales, with a surge…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.