Often I find myself working with a subset of the full dataset for experimentation, trials, and exemplification. For instance, my dataset may have 33,000 records but I want to work with about 100 records first in a separate sheet. Sure, I could (as most do) select the desired columns and continue to scroll down to […]
Tag: code
How to change keyboard strokes (C/C++) Part 1/2
In the following simple C program, I’ll demonstrate how to capture keystrokes and turn them into something completely different…other than what the key labels read. This is the basic idea behind changing keyboards from English to another language; take the input from the key, read its character code (ordinal value) from the operating system, and […]
Alphabet Soup…For Real!
What if I wrote a program to generate ALL possible combinations of words (EVERY possible) English language? Well, here’s the result. A snapshot of my program running (electric bill hiking) π How many times will it run (Notice I put in the number of shuffles in each line)? The answer is, we have 26 letters […]
Python and SQL
As expected Python has great connectivity toΒ SQL and its variants; Python is made for queries and data analysis afterall. So, I decided to tinker with it a bit (I’m not a programmer per se, see my About page; so I share these simpler, more approachable codes for inspiring interest and education for beginners and […]
Abstract Art with Code (Art<->Tech). Volume III
VOLUME 3 If arts and tech had a baby, may it’d look like me π Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Abstract Art with Code (Art<->Tech). Volume II
VOLUME 2 If arts and tech had a baby, may it’d look like me π Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
Abstract Art with Code (Art<->Tech). Volume I
VOLUME 1 If arts and tech had a baby, may it’d look like me π Anyway, I love mixing the two, interconnecting, and interpolating them…because I’m always curious. Results can be incredibly satisfying or surprising. These are not the best of my work in any form in coding, but wanted to share these short programs […]
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 […]