WordPress is powering 35% of website. And while it may not be seen as very complex or interesting, it is one of the most prevalent technologies of our time. And many developers, even if they are not working with PHP, have to support some WordPress installation (e.g. a blog like this one). And unfortunately, there are still basic things that ...
Read More »
How to Create a List in Python: Loops, Comprehensions, and More
If you’re working with Python for the first time, you might be interested in learning how to store data. For example, you might want to collect a list of exam scores, so you can average them. If so, the list data structure gets the job done. But, how do you create a list in Python? That’s the topic of today’s ...
Read More »How to Compute Absolute Value in Python: Control Flow, Abs(), and More
As Python is increasingly used for computation, it becomes more important for math related resources to be made available. To aid in that effort, I figured I’d share a few ways to compute absolute value in Python. As it turns out, there are a few ways to compute absolute value in Python. First, there’s the abs() function which comes built ...
Read More »How to Obfuscate Code in Python: A Thought Experiment
As with most articles in this series, I was doing some browsing on Google, and I found that some folks had an interest in learning how to obfuscate code in Python. Naturally, I thought that would be a fun topic. By no means am I an expert, but I’m familiar with the idea. As a result, treat this like a ...
Read More »How to Increment a Number in Python: Operators, Functions, and More
Every once in awhile, I like to revisit Python fundamentals to see if I can learn anything new about the language. This time around I thought it would be fun to look at a few different ways to increment a number in Python. As it turns out, there two straightforward ways to increment a number in Python. First, we could ...
Read More »How to Brute Force Sort a List in Python: Bubble, Insertion, and Selection
Earlier in this series, I wrote a couple of articles on how to sort different types of lists in Python. For instance, I wrote one article on how to sort a list of strings. Then, later I wrote an article on how to sort a list of dictionaries. In both of those article, I used a few elegant solutions that ...
Read More »Image Titler 1.5.2 Supports Logo Insertion
During the first weekend of the semester, I got inspired to do some Python development. Out of the inspiration came the latest feature of the Image Titler took: logo insertion. In this article, we’ll take a look at what that means and how it was implemented. What Is Logo Insertion? As far as names are concerned, logo insertion isn’t a ...
Read More »How to Clean up WordPress Tags
To kick off the new year, I decided to do some website maintenance. In particular, I finally decided to tackle the mess that was my tagging system. Now, instead of rocking 400+ tags, I have just 53 of them. Let’s talk about what I learn and how you can clean up WordPress tags too. What Are WordPress Tags? In the ...
Read More »MicroProfile GraphQL introduction
MicroProfile GraphQL has just released it’s first version (1.0). In this blog post we will explore some of the functionalities available in this release. We will reference an example application, where we use Thorntail as a runtime, manually adding the SmallRye GraphQL Implementation. What is GraphQL? “GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with ...
Read More »