Python’s Random Module – Everything You Need to Know to Get Started

Life is unpredictable. Sometimes good things happen out of the blue like you find $100 on the floor. And sometimes bad things happen, like your flight being canceled because of bad weather. Most programming languages have a module to deal with randomness. Python is no exception coming with the module named random and in this article, we’ll be looking at the most essential functions you need to use it. The Absolute Basics Before we use any function from the random module, we must import it. import random Because we’re dealing…

Read More

Two Images and an API: Everything We Need for Recoloring Products

I recently found a solution to dynamically update the color of any product image. So with just one <img> of a product, we can colorize it in different ways to show different color options. We don’t even need any fancy SVG or CSS to get it done! We’ll be using an image editor (e.g. Photoshop or Sketch) and the image transformation service imgix. (This isn’t a sponsored post and there is no affiliation here — it’s just a technique I want to share.) See the Pen Dynamic Car color by…

Read More

Everything You Need to Know About the 4 Stages of Software Reliability

FYI – The maturity model presented in this post is based on the concept of Continuous Reliability, which you can read more about here. Software reliability is a big deal, especially at the enterprise level, but too often companies are flying blind when it comes to the overall quality and reliability of their applications. It seems like every week, there’s a new report in the news calling out another massive software failure. Sometimes it’s just a glitch on social media causing usability issues, and other times it’s a serious issue…

Read More