Why am I interested in the Pi

raspberry_pi_cardMore than one person has asked me why or have given me the “evil eye” when they find out that I spend time working on a Raspberry Pi. I wish to clarify my interest in this entry.

When I was growing up, my parents always supported and induced me to play and learn electronics and software development. I recall clearly that my mother used to call Computer Science (term non-existent at the time) Cybernetics (a more encompassing term at this day and age). If it was not for that support I might be doing something less interesting. STEM is an important carrier for future generations. It is good for our society and way of life. Now and then I get a chance to promote to a child Computer Science. Using a Raspberry Pi (looks like a toy) is simpler and less intimidating than using a pedestal computer with several monitors and multiple processors and cores. Continue reading “Why am I interested in the Pi”

Fresh Start

acm_logoIt is a relatively cold morning in the Twin Cities of Minneapolis and St. Paul. Woke up earlier and spent time reading the latest issue of Communications of the ACM (10/2016 Volume 59 No 10). A short article titled Fresh Starts by Kate Matsudaira called my attention. Continue reading “Fresh Start”

Gmail Issues

2-step-verificationI have been using Gmail for a long time. It works very well. I have accessed it from different countries. Love it. That said this morning I ran into an issue. I have run into similar issues in the past few months. Allow me to elaborate. I used to have a couple additional e-mail accounts hosted at Google with different domain names. When I bring up a new Chrome page and click on the Gmail link toward the top right side, it takes me to a SIGN IN page. This is something relatively new. When I click SIGN IN the email address that is displayed is one of the accounts that I no longer used. Today I tried to delete that email account. That is when hell broke loose. I am not able to log into my Gmail account at all. I am aware that I have received email messages due to people that have called my cell phone asking if I have received their message. Continue reading “Gmail Issues”

Count Ones

binary_counts_with_fingersHere is a simple task. Given an array of 10,000 random unsigned short integers (16-bit values) count the number of bits set to one (1). In the following example we have an array of two (2) unsigned shorts:

41344 1010000110000000

58520 1110010010011000

The first number 41,344 contains 4 ones and the second value 58,520 contains 7 ones for a total of (4 + 7) = 11 ones. Continue reading “Count Ones”

Book and Hub

indiana_bicentennialMy wife and I spent the past four days visiting my son in Indiana. It is always nice to get away from the routine to think and reflect on things. That said; I am happy returning home and back on my routine.

Over the long weekend I received some items I ordered from Amazon.com. I received an AmazonBasics 7 Port USB 2.0 Hub amazonbasics_7port_usb_hubwhich I have not opened yet. Will open the box and connect it to my Raspberry Pi next weekend. On a separate package I should also have received a SD card with the Raspberry OS. It must be with the mail that my neighbor collected while we were out of town. My wife will check with them later today. Continue reading “Book and Hub”

CanaKit

canakitIt’s a gloomy Sunday morning in the Twin Cities of Minneapolis and St. Paul. I believe it will stop raining mid morning. Have a three hour on-line class to attend at 10:00 AM CDT. While I wait for the start of the class I decided to check out my CanaKit™ Raspberry Pi B+ Ultimate Starter Kit (Black Case) RSP-BP-C2-BLK which I purchase from Amazon.com about a year ago (have been experimenting with Arduino). I have noticed that the price of the kit has almost doubled since I purchased mine. Continue reading “CanaKit”

Raspberry Pi

computer_class_childrenFor decades I have been interested in education at all levels and for all ages.  Some time ago my oldest got a Raspberry Pi (from now on Pi for short) kit and worked on a couple projects. Lately my youngest (I have two sons) purchased a Pi to experiment with Linux. As far as I can remember I have been experimenting with different hardware for different applications. My parents promoted such type of learning and I have carried on with my sons and hopefully will continue with new and future generations. This set of blog entries are aimed at describing my steps experimenting, learning and having fun with the Pi. Continue reading “Raspberry Pi”

Unit Testing

apple_pieI will provide additional details on this question towards the end of this blog entry. That said; write a piece of code that would perform the following task:

Using a counter from 0 to 50 print the word “Apple” when the counter is divisible by 3. Print the word “Pie” when the counter is divisible by 7. Print the words “Apple Pie” when the counter is divisible by 3 and 7. Continue reading “Unit Testing”

Design Patterns

never_memorize_quoteA couple days ago I was involved in a conversation regarding the use of references (i.e., books, Internet, magazines, etc) when looking for approaches to solve technical issues that architects, designers, and developers may face on their day to day operations. It seems like some people have the idea that using a reference to refresh a known concept that, due to lack of use, needs some dusting, indicates lack of ability and knowledge. It all depends on how references are used and what is the individual looking for. Continue reading “Design Patterns”