In this post, I am sharing my Python code for creating a simple musical keyboard player that can be played using a standard computer keyboard. The app will generate specific musical notes as you press keys A-Z on your keyboard. You can increase a note by half-step or full-step by each press. So, increasing by […]
Tag: coding
Find Superscripts, Subscripts, and Unicode in a text file (Python)
Occasionally, it becomes necessary to search for special characters like superscripts, subscripts, symbols, emojis, or any Unicode characters within a text document. This is crucial when working with data files that should not contain any such characters, unless they are explicitly required and managed. Most editors, including Word, lack a ‘Find’ feature that reveals all […]
How to make a perfect birthday cake in Excel
I’ve been exploring whether it’s possible to create a birthday cake-style chart in Excel. After some adjustments, I’ve reached a point where I can confidently say it’s achievable! You may ask, why not simply download an image from the internet? Well, that’s less engaging, potentially unlawful, and above all, it lacks the customization and scalability […]
Useful apps with PowerApps
With Microsoft PowerApps development platform, it’s convenient and relatively quick to create mobile and PC friendly apps by writing and designing the code just once. The apps are fully responsive on all devices (any manufacturer, any operating system) and supports both mouse and touch on any resolution of the device or computer. They can be […]
Windows 11 Boot MicroAnimation and Wise Monkey using just text
Recently, an ex-colleague of mine brought to our attention the Microsoft font possibly used in creating the spinning dots in Windows 11 boot screen. The font is called “Segoe Boot Semilight” and is a true type font. So, I had to verify that this is true, and I wanted to try to create the animation […]
Different ways to generate a list and array containing numbers
In this post, I show different ways to generate a list and array containing numbers (ints, and floats, positive and negative, mixed) in python…using random, list, and numpy arrays. Why do we need both? NumPy arrays are very efficient for numerical operations and require elements to be of the same data type, whereas lists are […]
Finding min, max in a sequence and plotting the distances
Let’s say that we have a sequence of numbers in consisting of whole numbers, fractions, positive and negative numbers of varying length, that is, of no predefined length (e.g.2.25, 5.25, 6.75, 8.25, 9.75…). What we want to do is to sort the numbers in ascending order, and find the differences between 2 adjacent numbers and […]
Calculate your tank size capacity in gallons (and weight)
Don’t remember how many gallons your tank or pond holds? No worries, this little code below will calculate the amount of gallons the container can hold based on its dimensions you enter. Besides, knowing your actual water volume helps you determine what 10%, 30% water change means in gallons, and precise measurements of additives (conditioner, […]
Estimating the final pH, GH, KH of your water mixture
As a fish and shrimp keeper on different tanks with different creatures requiring different water parameters and conditions, it does me good to keep track of all those especially when replacing or changing water, or adjusting parameters for optimal suitability of the creatures. For example, for the shrimp tank, keeping track of KH, GH are […]
Projecting Neocaridina Shrimp Population
Two months ago I wrote an app for myself to keep track of my new hobby Neocaridina Shrimpkeeping. It was only 2 weeks before that I started the hobby before I recognized that a handy application to keep track of my shrimp’s water parameters, treatments and care with curated, accurate information would be very useful. […]