Hello again, 10 years ago I coded some simple games for my son to show and tell and explain how fun and simple coding can be. These were not heavy duty coding I delve into as part of my work, rather to demonstrate logic and how to code, design basic interactions with users. I used […]
Tag: STEM
If A=2, B = 10, C=30, D=68. what is E?
Hi again, time for a break 🙂 Fun little quiz, nothing to lose your sleep over because you can solve in a minute or two if you think about it, and it’s NOT a trick question. It has a definitive answer. The problem: If A=2, B = 10, C=30, D=68. what is E? (Assuming A-Z […]
How many thirds in a 3-quarter?
Recently Quora notified me with this question and I thought I’d do the honor of answering it first. So here’s the answer and explanation. Now, how about a different way solving it? Put another way, we can pose the problem as 1/3x = 3/4 and solve for x. If 1/3 = 0.333 (approx.) Then the […]
Analytics From Text?
Yes. From simple text “dump” of data, we can do some amazing things. Well, that’s what they’re already doing…the data scientists and other variants. I only present a simple example of the possibilities here 🙂 First, you should read my post about XML here. Then, I take that to another level here in this post. […]
Making A Favorites List…
We all have favorites…movies, shopping list, tv shows, clothes, etc. etc. etc. Ok, welcome! Today, I’ll show you how to create a favorites movie list in XML…why XML? Because from this format, I’ll do some amazing things like analytics. First on this post though, I’ll show you how to store the list in a structured […]
Which Day Were You Born?
Hi again, today I’ll show you how you can magically tell anyone what day of the week they were born! No matter how long ago, even if they even didn’t know 🙂 The magic is in coding (I’ll use Python here) and its calendar module. The complete source is below along with a challenge at […]
Winning The Lottery! Automatically :)
Howdy! Ok, I’m not guaranteeing you’ll win the lottery every time, or even ever, but I’ll show you here to generate automatic lottery numbers…for Mega Millions, Power Ball, Hit 5, and Lotto. This time, I’m using Python (a favorite among data scientists). Remember, I am NOT a programmer, but I’m a computer scientist. Difference? A […]
Randomization to Patterns!
Hello again, today I want to share with you a sample code (source and explanation) that generates random parameters, creates unique patterns out of them, every second, until the end of time! Sound intriguing? I love doing this kind of stuff. I code for fun, learning, and experimentation. I don’t consider myself a programmer because […]
Elementary Math Quiz
If (x+x+x) = x*x*x and x <>0 (x is not zero) then what’s the value of x? I like this one a lot because x=0 would be an obvious answer and it’s taken away, and then when you plot it, you get 2 correct answers. Let’s see how it’s done… (x+x+x) = x*x*x so, 3x=x^3 […]
Statistics can mess up your mind!
Hi again! If you like brain teasers, you’ll love this. You don’t need to be an expert in statistics and probabilities, just curious to appreciate it. Read on. What is the chance the next person you meet (in a city or country) has number of arms (or hands) that is ABOVE average? For more fun […]