Search my blog:
Browse the full archives:
How to create an Installable Django App
Django project is a collection of codes and configuration files for a particular website. Django groups business logic into what it calls…
Read MoreHow to create an Installable Django App
Overview Example migration Here is the (beefy) view in Django REST Framework: ...and here is the (cleaner) view in Django-Ninja: Final…
Read MoreWhat is Redis?
Every organization desires to grow. When an organization grows, it means a large audience interaction, many database requests, and longer…
Read MoreTensorflow vs. PyTorch: A Detailed Comparison
Deep learning is a common technique of solving real-world problems using human-like computers. Deep learning tasks involve the creation of…
Read MoreThe Complete Guide to Django Redirects
When developing a web application, sometimes it is necessary to redirect users to a different part of the application or a third party…
Read MoreHow to Customize the Django Admin Area in Python
The Django framework comes with an integrated administration interface to carry out various administrative tasks. Its purpose is to provide…
Read MoreStock Market Sentiment Analysis in Python
Do you know that the everyday news have an impact on the stock market? Most stock investors make decisions on whether to buy or sell their…
Read MoreHow to Use Python Regular Expressions
Regular expressions are a computer programming concept that allow you to search text for specific patterns. Regular expressions are very…
Read MoreWhy React + Django REST Framework Beats Native Django
In the modern web application development process, we can not rely on a single technology or language. The web has become more…
Read MoreNumPy Arrays vs. Pandas Series: A Performance Comparison
Python provides a number of data structures for data storage. NumPy arrays and Pandas Series are common data storage structures among…
Read MoreHow to Create Database Objects Using Django Migrations
The Django Web Framework uses files, called Django migrations, to make modifications to your database schema. As an example, if you'd like…
Read MoreThe Best Database for Django Web Apps
The Django Web Framework includes support for a number of different databases. Examples include MySQL, MongoDB, and PostgreSQL. This…
Read MoreUseful Features of the Django Shell
The Django shell allows you to write Python statements from the command line as though they're being executed from within the Django Web…
Read MoreHow to Use Django Migrations
Django migrations allow you to change the schema of the database that powers a Django web app. However, they are often misunderstood…
Read MoreHow to Use Celery and Django to Handle Periodic Tasks
Django is one of the world's most popular web application frameworks. Running periodic tasks is an important part of web application…
Read MoreUnderstanding Null in Python
Like most programming languages, Python has a number of ways to represent null values. Some languages use this as a pointer that points to…
Read MoreHow to Use Python Timer Functions for Performance Measurement
Python timer functions allow you to monitor the execution time of a Python script. They are a useful tool for improving performance of…
Read MoreHow to Build a REST API in Python with Django
REST APIs are an important part of modern software tech stacks. However, they are complex, and building them from scratch is a gargantuan…
Read MoreHow to Use the Python map() Function
For programmers looking to iterate over items within a Python list, using a for loop might be the most obvious choice. However, it is not…
Read MoreThe Complete Guide to Python f-Strings
Python f-strings provide an improved method for formatting strings and interpolating values inside of them. While f-strings are powerful…
Read MoreThe Complete Guide to Python Decorators
Python decorators provide simple syntax for calling higher-order functions. Decorators are functions that accept another function and extend…
Read MoreHow to Build a LinkedIn Bot with Python and Selenium
LinkedIn is a well-known professional social networking platform that hosts more than 600 million professional profiles. It supplies an…
Read MoreHow to Write a Merge Sort Algorithm in Java
Java is an object-oriented programming language that allows cross-platform integration. Java is highly versatile and known for its fast…
Read MoreHow to Write an Insertion Sort Algorithm in Java
Computer programmers should be familiar with a number of different sorting algorithms. In this article I'll explain how you can write an…
Read MoreHow to Build a Facebook Bot in Python with Flask
Ever noticed automated assistants in Facebook pages of different organizations and companies responding really fast to customer inquiries…
Read MoreHow to Write a Bubble Sort Algorithm in Python
Python is a versatile and robust programming language. While it is better known for its prowess in AI and Machine Learning applications…
Read MoreHow to Build a RESTful API in Python with Flask
When software and applications are being developed, it is sometimes important that the teams are able to share their work and publicize it…
Read MoreA Guide to Python Correlation Statistics with NumPy, SciPy, & Pandas
When dealing with data, it's important to establish the unknown relationships between various variables. Other than discovering the…
Read MoreThe Ultimate Guide to Using APIs in Python
Python is one of the most versatile languages that can be used to write programs across many disciplines. Most of the time, these projects…
Read MoreA Complete Guide to Writing Comments in Java
Commenting is an integral part of any programming language for it is a guide that helps in better understanding and functionality of a…
Read MoreJava vs. JavaScript: 10 Major Differences
Java and JavaScript sound similar, and if you are new to the programming world, you might wonder if there is some sort of link between the…
Read MoreHow To Write C++ Variables
Variables are an important part of any software application. However, every programming language has different variable characteristics…
Read MoreHow to Use the Ternary Operator in JavaScript
The if statement is one of the most used conditional statements in all programming languages. In JavaScript, there is an operator known as…
Read MoreUnderstanding the Python Global Interpreter Lock (GIL)
Python is an interpreted language. This means that it is in Python's nature for the interpreter to compile the code to bytecode. After that…
Read MoreThe Ultimate Guide to Reading and Writing Files in Python
Python is one of the best languages for many of the elements of computer science including data science, server-side developments, and…
Read MoreHow to Write Python Lambda Functions
Python is one of the most versatile languages available. Many programming languages today are becoming more and more Pythonic due to this…
Read MoreHow to Build a Discord Bot in Python
Having a bot in a social media site is no different than having a personal assistant to welcome people, check out different topics, make…
Read MoreHow to Use Python Sleep
Sleep is one of the most useful functions in programming languages - including Python. As the name suggests, sleep function is used to…
Read MorePython Recommendation Engines with Collaborative Filtering
Recommendation systems are one of the most powerful types of machine learning models. Within recommendation systems, collaborative filtering…
Read MoreThe Complete Guide to Linked Lists in Python
Linked lists are one of the more esoteric data structures included in the Python programming language. However, they are very useful. By…
Read MoreHow to Generate Random Numbers in Python
Random numbers have been an integral part of humans' lives for ages. Letting a die or a coin decide the fate of a person or a game has been…
Read MoreHow to Save a NumPy Array to File
The beauty of Python is in its ability to work with a diverse range of datasets in a very optimized manner. If you’re even a beginner in…
Read MoreBuilding a Twitter Bot in Python with Tweepy
Twitter is one of the world's largest social media companies. It's an excellent way to drive engagement for both organizations and…
Read MorePandas loc vs. iloc for Accessing Data in Python
Python is widely considered the best programming language for data science. This is largely because of its rich ecosystem. Python has…
Read MoreHow to Compare Objects in Python
In Python, the identity operators ( is and is not) and the equality operators ( == and != ) have a small difference between them. You would…
Read MoreThe History of Python Package Managers
Package managers are an integral part of the Python ecosystem. Without package managers, it would be much harder for developers to use open…
Read MoreSyntaxError in Python: How to Handle Invalid Syntax in Python
Syntax errors are the single most common error encountered in programming. Regardless of the language used, programming experience, or the…
Read MoreThe Ultimate Guide to Polynomial Regression in Python
The Hello World of machine learning and computational neural networks usually start with a technique called regression that comes in…
Read MoreHow to Use Python Command Line Arguments
Python command line arguments allow you to change the behavior of a Python script when running it from a command line. There are many…
Read MoreHow to Run Monte Carlo Simulations in Python
Monte Carlo method is a technique that is widely used to find numerical solutions to problems using the repetition of random sampling. Its…
Read MoreHow to Calculate Vector Norm in Python
In linear algebra, vector norms are a common metric used to describe a vector's length. Vector norm calculations are stragithforward for low…
Read MorePython Data Type Conversion Tutorial
In this tutorial, you will be learning about the various different data types in Python and how you can perform implicit and explicit type…
Read MoreHow to Define Main Functions in Python
Python is a very interesting programming language to learn. In programming languages, when an operating system runs a program, a special…
Read MoreHow to Use the Walrus Operator in Python
In this article, I will talk about the walrus operator in Python. The biggest change in Python is the introduction of assignment…
Read MoreStatistical Power Analysis in Python
While performing an experiment, you would like to ensure that the power of your experiment is at least 80%. To achieve this, you need to…
Read MoreHow to Install Anaconda on Windows
It is advisable to use virtual environments while working with Python. A virtual environment is a way to isolate projects into different…
Read MoreA Guide to Python Threading
In Python, threading allows you to run different parts of your program concurrently. Threading can help you simplify the design of your…
Read MoreWhat is Exploratory Data Analysis?
Exploratory data analysis (EDA) is a critical component of any data scientist's tool box. EDA involves learning about a data set to make…
Read MoreA Guide to Python Dictionary Comprehension
Dictionary comprehesion allows Python developers to better work with data stored in dictionaries. However, dictionary comprehension is often…
Read MoreHow to Send Emails With Python
Python is a highly versatile programming language. It has a diverse ecosystem of open-source libraries that make it easy to build common…
Read MoreHow to Clean Text in Python for Machine Learning Models
Textual data plays a huge role in machine learning. They are also one of the key types of data in addition to numerical data values. Text…
Read MoreHow to Write C++ Comments
Writing good comments is one of the most important skill for software developers. Great commenting requires you to strike a delicate balance…
Read MoreA Complete Guide to Python Exceptions
A Python program will terminate as soon as it encounters an error. These errors can be syntax errors or they can be . An exception is an…
Read MorePython vs. JavaScript: The 11 Major Differences
Stack Overflow (a question-answering platform for software professionals and developers) surveys more than 100,000 software developers…
Read MoreHow to Run Python Scripts
Python is one of the most popular programming languages in the world. It is extremely powerful, has easy syntax and plenty of useful…
Read MorePython 3 Installation & Setup Tutorial
Python is one of the easiest to learn and the most versatile programming languages available. It is highly popular among data science…
Read MoreHow to Write Anonymous Functions in JavaScript
There are a number of different ways to write functions in JavaScript. One of the types of JavaScript functions is called . As its name…
Read MoreHow to Use Python Pointers
Have you ever worked in programming languages like C++ or C? If yes, you would have definitely come across the term . Every variable has a…
Read MorePython Pass - Doing Nothing, and Why That's Useful
The Python keyword allows you to skip over a block of Python code. Said differently, it allows you to create a block (whether in a…
Read MorePython Speech Recognition - a Step-by-Step Guide
Have you used Shazam, the app that identifies music that is playing around you? If yes, how often have you wondered about the technology…
Read MoreHow to Use JavaScript onclick Events
When writing code in JavaScript, you will often want to execute code when the user interacts with the webpage. For example, you want to do…
Read MoreHow to Write a Bubble Sort Algorithm in JavaScript
The bubble sort algorithm is a simple comparison-based sorting algorithm. In this algorithm, each element in an array is compared to the…
Read MoreHow to Create a Beautiful Soup Web Scraper in Python
The internet is brimming with data about any topic you can imagine. Much of this data exists on websites on public domains that you can…
Read MoreCreating a Python GUI using Tkinter
Tkinter is the native Python GUI framework that comes bundled with the standard Python distribution. There are numerous other Python GUI…
Read MoreObject-Oriented Programming (OOP) in Python
Python inherently an object-oriented programming language, which makes it easy to work with classes and objects in Python. Object-oriented…
Read MoreThe Python `turtle` Library - A Step-by-Step Tutorial
The Python programming language, like most languages, is purely text-based. This can make it quite boring for young learners. Visual tools…
Read MoreThe 10 Best JavaScript Libraries and Frameworks for 2020 (and Beyond!)
There has never been a better time to be a JavaScript developer. Not only is there a multitude of frameworks, libraries, and tools…
Read MoreHow to Write Java Variables
Java is a robust language and is used to build many programs. Variables are the building blocks of any language. Variables in Java have a…
Read MoreThe 10 Best Java Frameworks for 2020 (and Beyond)
Java is one of the most robust programming languages that has ever existed. Combined with frameworks, Java can provide excellent solutions…
Read MoreHow To Write Java Comments The Right Way
Commenting is an integral part of any programming language. Tt is a guide that helps in better understanding the functionality of a program…
Read MoreThe Best Python IDEs for 2020 (and Beyond)
So, you want to do some Python development and are looking to evaluate the integrated development environment (IDE) options out there. In…
Read MorePython vs. C++: A Comprehensive Comparison
The debate between Python and C++ has been hot in the programming world for as long as anyone can remember. Both languages have valuable…
Read MoreHow To Write Java Loops
Loops are an important part of any computer application. Similarly, learning the syntax for writing loops is a crucial step in learning a…
Read MoreHow To Handle KeyError Exceptions in Python
KeyError exceptions are a common error encountered by junior Python developers. Unfortunately, it's not always clear how to handle these…
Read Morenp.append() - How To Use NumPy Append in Python
The NumPy programming library is considered to be a best-of-breed solution for numerical computing in Python. NumPy stands out for its data…
Read Morenp.reshape - How to Manipulate Arrays Using NumPy's Reshape Function
NumPy is the most popular Python library for numerical and scientific computing. NumPy's most important capability is the ability to use…
Read MoreHow To Use the Python Square Root Function
There are many situations in which you will want to find the square root of a function in a Python application. Fortunately, Python includes…
Read MoreHow To Use the Python Zip Function for Multiple Iteration
The Python function is an important tool that makes it easy to group data from multiple data structures. It is commonly used to loops over…
Read Morenp.arange() - How To Use the NumPy arange() Method
NumPy is a Python library widely considered to be the most important library for numerical computing. Within NumPy, the most important data…
Read MoreHow To Write C++ Variables
Variables are an important part of any software application. However, every programming language has different variable characteristics…
Read MoreThe Best PHP Frameworks For 2020 (and Beyond)
PHP has come a long way in the last 25 years. What used to be a relatively under-powered scripting language has now become a powerful tool…
Read MoreHow To Write Python Classes: Code, Examples, & More
Python is an object-oriented programming (OOP) language. OOP is methodology used by programmers that enables a system or program to be…
Read MoreHow To Write Python Comments: The 2020 Guide
For programmers, it is important that your code is easily understood by outside users. While professionals might not find it difficult to…
Read MoreHow To Write React JSX Comments
Writing detailed comments is an important component of writing software. However, every language and framework has its own syntax for…
Read MoreCoronavirus Cases, Deaths, and Recoveries by Country
The coronavirus pandemic continues to worsen. It is more important than ever to make decisions based on data, not fear or panic. On this…
Read MoreThe Essays of Warren Buffett: Quotes From the Best Investor of All Time
Warren Buffett is unquestionably one of the best investors to have ever lived. Moreover, he has been very willing to share his writing with…
Read MoreHow to Profile Python Code: Accurately Measure the Performance of your Software
As software engineers, we are paid to create high-quality code that performs. Performance can be measured in a number of ways: the problems…
Read MoreCoronavirus Tests, Cases, and Deaths by US State
The coronavirus pandemic continues to worsen, both in terms of the actual health impact of patients and the broader effect it has had on our…
Read MoreThe Ride of a Lifetime: Lessons from the Remarkable Career of Bob Iger
I just finished reading "The Ride of a Lifetime" about Bob Iger's career and his time leading the Walt Disney Company. It was a phenomenal…
Read MoreBlog Like A Hacker: Build Your Website Using Jekyll, GitHub Pages and AWS
I have been writing on the Internet in some capacity since 2014. This article explains by current blogging setup, which is excellent for…
Read MoreHow I Taught Myself to Code in 6 Months (and How You Can Too)
Over the last six months, I’ve been on an unbelievably fun journey teaching myself how to code. I wrote this article to share my journey. To…
Read MoreThe 5 Best Python Libraries for Quantitative Finance
Python is arguably the most widely-used programming language in the world of quantitative finance. Investors, asset managers, and investment…
Read MorePartners Value Investments LP (PVF.UN): Cheap Exposure to Brookfield Asset Management
The single largest position in my holding company's portfolio is Brookfield Asset Management (BAM.A) (BAM), an alternative asset manager…
Read MoreEliud Kipchoge’s Fastest Marathon Time: The Story Behind 2:01:39
Eliud Kipchoge has earned himself a spot among the most successful marathoners of all time. From the London and Berlin Marathons to the Rio…
Read MoreKeto Diet – Facts, Myths, and (Most of All) Science
Unless you’ve been living under a rock for the past fifteen years, you’ve heard of the keto diet. In the simplest sense, the keto diet…
Read MoreIs the Paleo Diet the Key to Optimal Health?
The paleo diet directly contradicts the following common-sense statement: the world is a better place today than it was a few hundred years…
Read MoreShin Splints: What They Are and How To Treat Them
If you exercise regularly, then it’s likely that you’ve experienced shin splints before. Characterized by a dull ache in the front part of…
Read MoreHex Bar Deadlifts: How to Use the Trap Bar to Improve Your Main Lift
This article will take a look at hex bar deadlifts and how they might be able to improve your traditional deadlifts. There are very few…
Read MoreMinimalist Living: How and Why I Own Little Stuff
Anyone who knows me personally recognizes that I own very little stuff. Everything I own can fit in my car (if you count strapping my bed to…
Read More