View Post

The Ultimate Guide to NumPy Reshape() in Python

Most of the function names in Python can be intuitively connected to the meaning of the function. The NumPy reshape() function is not an exception. The reshape() function brings an array into another shape while keeping all the original data. The Shape Property of a NumPy Array Before focusing on the reshape() function, we need to understand some basic NumPy …

View Post

Low Risk High Gain? How to Create a Coding Side Business

Do you dream of becoming self-employed? More than 50% of people in America want to become self-employed and becoming their own boss. But many people have limiting beliefs regarding becoming self-employed. They fear to be forced to file for bankruptcy because of a lack of cash coming in. They fear of creating something new in their life, being dependent on …

View Post

What is Short Circuit Evaluation in Python?

Short circuit evaluation in any programming language is the act of not executing unnecessary parts of a Boolean expression. Say, you want to calculate the result of the expression “A and B” but you already know that “A=False”. Because of your knowledge of the first part of the expression, you already know that the result to the overall expression (it …

View Post

How to Escape 9 to 5 as a Python Freelancer?

Why do YOU want to improve your coding skills? I vividly remember my first semester studying computer science more than 10 years ago. I knew almost nothing about coding. My uncle, a professional software developer, had quickly shown me the programming language “Visual Basic” and told me something which you may find helpful in your own career: “Learning a programming …

View Post

How to Earn Passive Income as a (Python) Coder?

Finxter is at the intersection of programming, business, and productivity so we get this question a lot. In this article, I want to share three ideas on how you can invest one or two weeks coding which will then produce passive income for years to come. Definition: You create a software product or website once and earn passive income for …

View Post

One Line of Code Every Day: A Powerful Habit

Today I want to propose a new habit for you which will ensure that you are on the path of continuous improvement in Python — on the path to mastery. Maybe you have read the book “The Power of Habit” by Charles Duhigg (wiki). The Pulitzer-Price winning author talks about forming keystone habits that will change each and every area …

View Post

Why Most Coders Fail Riding the Curve of Continuous Improvement

In this article, I want to discuss an important topic for me because it’s at the heart of what we are doing at Finxter. At the heart of Finxter is continuous improvement in computer science. For example, in my email series “Coffee Break Python” I deliver one piece of knowledge regarding Python, coding productivity and business, and computer science every …

View Post

Why You Are Stuck in Coding

Today I want to address a very controversial topic. I know why you feel stuck and you don’t improve as a coder anymore. You are stuck in coding because you don’t produce enough — you are consuming way too much. It’s an ugly truth and I’m sorry if you feel offended. But it’s nonetheless the reason why you feel stuck. …

View Post

Code From Home! How to Be Happier & Earn More Money

What is the number one reason why you should consider working from home instead of working from where you work? The number one reason, I find, is commute time. It’s very healthy and good for your happiness and life to skip commute time altogether. For a few years, I had a lot of commute time myself traveling for one hour …

View Post

[Python Powerset] How To Get All Subsets of a Set?

This is a simple algorithm to find all powersets of a given set. What is the Powerset of Set s? The powerset is the set of all subsets of the given set s. A subset is a set that includes an arbitrary number of elements of the original set s. It includes both the empty set {} and the given …

View Post

How to Calculate the Edit Distance in Python

Type “Helo World” into your Google search bar. Google will ask you: “Did you mean: hello world” A simple method to detect these typos is the Levensthein distance (also called edit distance). In fact, Google’s algorithm seems to use some variant of it. (source) By studying this article, you’ll learn about the important practical algorithm to calculate the “Levenshtein distance” …