## PostgreSQL Developer – Income and Opportunity

Annual Income According to ZipRecruiter, the annual income of PostgreSQL developers is between \$104,000 for the bottom 25th percentile, \$133,000 for the 75th Percentile, and \$171,500 for the top earners. The monthly pay ranges from \$8,666 to \$14,291 with an average monthly income of \$10,052. Annual Salary Monthly Pay Top Earners \$171,500 \$14,291 75th Percentile … Read more

## Redis Developer – Income and Opportunity

Annual Income The average annual income of a Redis developer is \$113,000 in the US according to PayScale (source). Hourly Rate If you decide to go the route as a freelance Redis developer, you can expect to make between \$45 and \$55 per hour on Upwork (source). ⚡ Note: Do you want to create your … Read more

## List Head and Tail in One Line Python

❗ Problem Formulation: How to assign the first list element to the variable head and the remaining elements to the variable tail? Let’s have a look at the two most Pythonic solutions to this one-liner programming challenge! 🙂 Method 1: Unpacking and Multiple Assignment Given a list. The most Pythonic way to unpack the first … Read more

## Blockchain Engineer – Income and Opportunity

Annual Income The average annual income of a Blockchain engineer is between \$105,180 and \$108,560 according to Glassdoor (source): Hourly Rate If you decide to go the route as a freelance Blockchain engineer, you can expect to make between \$25 and \$80 per hour on Upwork (source). ⚡ Note: Do you want to create your … Read more

## Python Dict Length of Values

This article addresses two problems: Given is a dictionary and a single key. How to get the length of the value associated with the key in the dictionary? Given is a dictionary. How to get the total length, summing over the length of all values in the dictionary? Let’s dive into these two problems and … Read more

## How to Create a Barrier of Entry for Your Freelancer or Software Business

The day will come. You have developed your first app and you’re looking for customers. Congratulations your app is open to the world! But there’s a problem. Not only your customers but your competition can see it too! And make no mistake: they will come and they will take it if you don’t do anything … Read more

## How to Limit the Execution Time of a Function Call?

Problem Formulation Say you need to call a potentially long function but you can only wait for a fixed time duration for the function to terminate. If the function does terminate within the time interval, you take the function’s return value. If the function does not terminate within the time interval, you want to take … Read more

## Python Slice Get First and Last Element

Problem Formulation Given a Python iterable such as a list or a string that can be accessed via slicing. How to use the slicing operation iter[start, stop, step] so that for given values for start, stop, and step the output is an iterable (slice) containing only the first and the last element of the iterable? … Read more

## How To Apply A Function To Each Element Of A Dictionary?

This article shows you how to apply a given function to each element of a Python dictionary. The most Pythonic way to apply a function to each element of a Python dict is combining the dictionary comprehension feature and the dict.items() method like so: {k:f(v) for k,v in dict.items()} Note: All the solutions provided below … Read more

## 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. Did you read the book “The Power of Habit” by Charles Duhigg? This Keystone Habit changed her life… The Pulitzer-Price-winning author talks about forming so-called … Read more

## How To Apply A Function To Each Element Of A Tuple?

This article shows you how to apply a given function to each element of a tuple. The best way to apply a function to each element of a tuple is the Python built-in map(function, iterable) function that takes a function and an iterable as arguments and applies the function to each iterable element. An alternate … Read more