I 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”
Here 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:
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”
My 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 which 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”
UPDATE – I received a separate email message from a fellow software developer. He is interested in providing a text file and creating a new test method to process it. The idea is to provide a text file with the number of triangles to test followed by the triangle sides and associated type so we would be able to test them all at once. This new test was NOT part of the initial HackerRank challenge.
UPDATE – I received an email message from a fellow software developer. Went back (about three years) and located the code for this post in one of my older work-spaces. I updated the format of the post so it is easier to follow. I also added the code to my GitHub repository (see below).
:::: :::: :::: :::: ::::
After the post on unit testing I received a request to produce and explain sample code using JUnit. This is what I came up after searching the web using Google. I decided to use Eclipse for this example. Continue reading “JUnit Example”
It’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”
For 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”
I 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”
A 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”
As I have mentioned in a previous blog I am currently taking a weekend on-line course on Spring Framework. Last Wednesday my computer received a Windows update labeled “Cumulative Update for Windows 10 Version 1511 for x64-based Systems (KB3185614)”. For some reason the update failed to install on Thursday. After rebooting my machine the installation process continued. A few minutes later it indicated a failure and the system was being restored. The entire process took over one hour. Continue reading “No Prefix Set”
This entry touches on the use of a Trie to look up complete or partial words from a specified set. In general Tries are typically used to look up completion words for a prefix (perhaps there are simpler and faster ways to implement such task). To learn more about the challenge please take a look at the following link: https://www.hackerrank.com/challenges/contacts.
Before we get into the code, I have copied and annotated part of the text from the following link: Continue reading “Contacts without a Trie”