In this post, I’ll demonstrate implementation of what’s known as a General Tree (not binary tree…that’ll be discussed soon in a different post)…it’s a unique data structure that Queue or Stacks cannot easily handle or at all. The key characteristic of this DS is that it allows for hierarchical data representation and relationships…think, taxonomy. Real-world […]
Category: STEM
Multi-threading in Python
Most of the python code you encounter while searching online is single-threaded and in most cases, it’s perfectly fine. Such programs has one main thread in the code and it may call various functions one after another or conditionally…the cpu will execute the code in each line of code one after another until the program […]
Queue and Stack Data Structures — Explained
Hi visitors! This post is about explaining the very essential data structures such as Queue and Stacks in a simple way, and provide you with some animations to help. Then I’ll explain how you can implement either data structures in a real-world situation using Python (or any other language, once you understand these fundamentals). I […]
CPU-generated structural art – CONSTABUILD
This program I dub ‘Constabuild’ is a cross-platform Python app I wrote that generates ‘random’ shapes in ‘random’ colors, in ‘random’ starting positions, for ‘random’ repetition of the selelected shape and color…creating unique patterns/art every time it’s executed. While the app is 100% self-running, there are also some fun commands user can give at run-time […]
New games added
Howdy! I’ve added a couple of new games from last month and this month…be sure to check them out in my Games page here! All are completely free (no adds, no data collection/sharing) for your educational and entertainment purposes. Enjoy!
War Card Game in Python…free download
This is a classic War card game implemented in Python for Windows. It’s a very easy game to learn and play. The coding of it was actually more fun and challenging. It’s a 2-player game that even kids can play and is a great time-spender. In this game you’re playing against the CPU. The game […]
Array of dictionaries – Python datastructure
The internet is littered with simple examples of dictonary object examples in Python. Interestingly, they are all the same copy/pasted code with the same old tired examples and bad coding styles 😂. What we need is examples of more complex, real-world data structures that are more practical. In this blog, I share some valuable techniques […]
A Manifestation Formula
Will your dream come true? If so, how likely is it? What really is your desire composed of? And are there factors that affect that, if so, what are they; and which ones can we control? Following the search for answers to these questions, my ultimate quest was: Can we manufacture a formulation for quantifying […]
Eiesenhower Matrix in Excel (Quadrant Matrix)
Former US President Eisenhower is known to have said: “What is important is seldom urgent and what is urgent is seldom important.” This is reflected in a popular quadrant design, often referred to as “The Eisenhower Matrix”, used to effectively prioritize tasks according to their urgency and importance. This can be expressed in a quadrant matrix (image) […]
HOW TO CREATE AN ORGANIZATIONAL CHART FROM EXCEL DATA
If you’ve worked with Visio or PowerPoint, you may have used their built-in organizational charts…and manually enter the information for each node. But what if you have the data already as a table, as in a CSV or Excel file? You can use that data and create an organizaitonal chart right within Excel. However, you’ll […]