In this post, I share my design and code for simulating some propagating organisms (you can think of them as humans, other creatures, cells, whatever you like) with certain rules. And although I have a couple of other variations of this made in C/C++ in the past, I wanted to do it in Python and […]
Tag: coding
Bingo: Player v CPU (Python)
In this post, I share how l implementedd the classic Bingo game (American version) in Python. This version is one player versus CPU. See the rules below if you’re not familiar with Bingo (especially American version). More details about the program and the link to the full source code below along with ability to play […]
Simulating object’s free fall on different planets, sun, and the moon
How can we simulate a box being dropped straight from some height on Earth and graphically show the action in real-time? How will it be different on the Moon? Or on the Sun (assume it can resist the high temperature), or on other planets including dwarf planet like Pluto? Well, that was my curiousity that […]
Word definitions, synonyms, antonyms via RAPIDAPI
This program gets all definitions of a user-entered word from WORDS API service called RAPIDAPI. Once connected, the response is in JSON and we display the meanings neatly on screen as well as optionally write (append) the word and its meanings(s) and part-of-speech to a csv file. Demonstrates: 1) how to get word definition using […]
Extract sample subset with given criteria
How to load a subset of data from a full dataset with given percentages proportions by a column (“Group” in this example) plus how to import/export the Excel data file. Objective:We have n food items from 4 different groups: dairy, fruits, protein, vegetable in an XLSX sheet with a header and 3 columns: Name, Group, […]
Extended weather forecast via API
In this blog, I share my code on getting extended weather forecasts (multiple days and hours within each day) for any city around the world using openweathermap API. I used Python for this as usual. First, as a developer, I need to get a developer API key from http://api.openweathermap.org which is free for reasonable amount […]
Generative Voice AI – resemble.ai
I don’t like the ending tone in some of the words as I don’t use that tone; it seems a bit annoying; also I noticed (may or may not be apparent to you from this quick sample), but the AI model seems to have a more British tonality than American for certain words and expressions. […]
Summarization & Detecting Topics by Deepgram Whisper AI
This is the last of 3-part series on Datagram’s Audio->Text Transcriber using their latest AI engine called Whisper. Be sure to read them in this order, if you haven’t already, to follow along best: To complete essentially all the features I care to implement, today I’m going to add the last 2 features in my […]
AI Transcription with Diarization
This is the last of 3-part series on Datagram’s Audio->Text Transcriber using their latest AI engine called Whisper. Be sure to read them in this order, if you haven’t already, to follow along best: This is a continuation of the post about Deepgram’s AI technology used for transcribing real-time or pre-recorded audio in virtually any […]
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 […]