Understanding Armstrong Numbers in Python
In this post, we’ll explore a classic beginner programming problem: Armstrong Numbers. What is an Armstrong Number? An Armstrong number (also known as a Narcissisti…
Abdur-Rahmaan Janhangeer
Chef
Python · Machine Learning
Quality, author-led articles on Python & machine learning. Learn how to eat through topics, calmly, deeply, and without the noise.
Fresh articles, served often.
In this post, we’ll explore a classic beginner programming problem: Armstrong Numbers. What is an Armstrong Number? An Armstrong number (also known as a Narcissisti…
Abdur-Rahmaan Janhangeer
Chef
Sometimes, a standard CLI tool isn’t enough, but a full-blown programming language is overkill. This is where a Domain Specific Language (DSL) shines. A DSL is a mini-language desi…
Abdur-Rahmaan Janhangeer
Chef
If you’re starting multiple Python projects, you will quickly run into a problem: one project needs Version 1.0 of a library, while another needs Version 2.0. If you install everything globally, yo…
Abdur-Rahmaan Janhangeer
Chef
Regular Expressions, or Regex, are often seen as a “dark art” by beginning programmers. At first glance, they look like a jumble of bizarre symbols and incomprehensible strings. Ho…
Abdur-Rahmaan Janhangeer
Chef
When cleaning data in Pandas, we often need to remove columns. While dropping by name (df.drop(columns=['Name'])) is common, there are many scenarios where it’s more efficient to drop …
Abdur-Rahmaan Janhangeer
Chef
Excel is the world’s most popular data tool, but for advanced analysis and machine learning, we often need to move our data into Python. The Pandas library makes this incredibly ea…
Abdur-Rahmaan Janhangeer
Chef
In data science and machine learning, measuring the similarity between two points is a foundational task. One of the most common ways to do this is by calculating the Euclidean Distance…
Abdur-Rahmaan Janhangeer
Chef
Have you ever wondered how web-based email clients like Gmail or Outlook actually work? At their core, they are web applications that take user input and send it to an email server. In this tutoria…
Abdur-Rahmaan Janhangeer
Chef
OpenCV (Open Source Computer Vision Library) is the industry standard for image processing and computer vision. However, installing it on a Raspberry Pi 3 can be notoriously difficult. While modern…
Abdur-Rahmaan Janhangeer
Chef
One of the greatest features of the Raspberry Pi is that you don’t actually need a dedicated monitor or keyboard to use it. Through SSH (Secure Shell), you can control your Pi’s te…
Abdur-Rahmaan Janhangeer
Chef
If you’ve ever tried to build a code editor or a text processor in Tkinter, you’ve likely used the Text widget tags. Tags are incredibly powerful—they allow you to change the color…
Tim thuma
Coder
The Raspberry Pi is a remarkably powerful credit-card-sized computer, but when you first take it out of the box, it’s a “blank slate.” It has no operating system and no built-in storage. In this fi…
Abdur-Rahmaan Janhangeer
Chef