I’ve written a story generator application that spews out stories differently every time it’s executed! I did this thinking of kids and family activities, while having nerdy fun on my end. This story generator creates a semi-random* story based on a skeleton storyline and changes the characters, objects, mood, locations, accessories and placeholders/keywords in the […]
Search Results for: magic
Creating Magic 8 Ball Game in Python
Howdy! If you’re getting tired of Magic 8 ball game implementations in different languages, I have good news. I’ll stop (for now) with this last variant…this, in Python. The simplest, quickest code block happens to be in Python…as far as logic goes. In order to do graphics, animation, sound stuff, it’s not that great as […]
Creating Magic 8 Ball Game in C/C++
I’ll continue with the Magic 8 ball theme in this coding series. Previously, I posted a fun implementation in Scratch here. If you’re not familiar with it, that’s the best place to start as it has visual aspects and a video clip. This time, I’ll implement the same concept in C/C++ (mostly in C++). To […]
Creating Magic 8 Ball Game in JavaScript
I’ll continue with the Magic 8 ball theme in this coding series. Previously, I posted a fun implementation in Scratch here. If you’re not familiar with it, that’s the best place to start as it has visual aspects and a video clip. This time, I’ll implement the same concept in JavaScript. However, because I’m tired […]
Creating Magic 8 Ball Game in Scratch
Welcome back. Today, I’m sharing my version of the Magic 8 Ball game…you know, the one where you concentrate, and ask a question and shake the 8 ball to get the answer? I’m going to share its implementation in various languages (remember, I’m not a “programmer”, I’m a computer scientist…that means, I don’t like to […]
Powerful auto-transcription using AI (openAI’s Whisper)
Today, I’ll show you how to tap into the “world’s most powerful speech-to-text API” from our own applications. We’ll be using Deepgram, which is based on OpenAI’s Whisper AI SST technology. Deepgram claims to have trained their AI model with10,000+ years worth of audio data. (For more of my posts about Text to Speech and vice […]
Wanna be a weather reporter? Me neither! So let’s do Machine Learning (AI)! Part 2/2
This is a continuation of weather prediction via ML and is the final part (2/2) where I demonstrate how to write Python code to leverage a neural network algorithm called Neural Prophet, a quite straight-forward and useful model. Be sure to read the first part that focuses on understanding the data in Excel and some […]
Working with 2D Arrays in Python and Graphics
In this post, I’ll share tips on how to create a 2D array and map it to a visual grid to depict it using Python. 2D arrays (or 2D lists as they’re called in Python) are fundamental to any programming language and tackling them requires understanding language-specific syntax, however, the core concepts are the same […]
A random post is selected below. Click to read it; refresh the page for a new serving.
Pop Quiz [and Solutions with Low Code!]
Every now and then I see some simple quizzes pop-up on Facebook such as: “Name a state without letter A in it.” The letter can be another, they just switch it around from time to time. This particular post is inspired by such posts. Sure we can go through all the states in our heads […]