Search This Blog

Friday, June 28, 2013

Update Available for Nokia 820

Update: Upon checking the Nokia support site, I can say that the update brings us all updates up to the 1314 update (so now, the 820 is on par with the 920 again).

Finally! I just got notice that there is an update available for Nokia 820 for those of us on the AT&T network. I haven't had a chance to check it out and download it since I'm at work (just got the notification), but I just wanted to give everyone the heads-up.

My thought is it's the long awaited 1308 update, although with the BUILD conference going on right now and Visual Studio getting Update 3, I am not surprised that the update is being released around this time. When I get home tonight, I will download it and update you on what it has.

Please note that you must be connected to Wi-Fi in order to download the update (but you can discover it with your cellular connection).

If anyone wants to fill me in on more details about the update before I get home, that would be good (please use the comment box below to do so). If you want to share your experience with the update, feel free to do so as well.

While you're waiting on the download, why not try some delicious Mystic Monk Coffee? Mystic Monk Coffee (use this link or click on the picture below to access the store and purchase) is what you really need when it comes to coffee. Trust me, it's good coffee (in most instances, much better than Starbucks coffee) and you won't regret buying some (just keep it away from your computer keyboard or laptop/tablet). If you like tea more than coffee, they also offer tea. If you have a Keurig machine, the monks also have k-cups for purchase as well (known as "monk shots") Using the link (or picture below) to buy the coffee (or tea) helps the monks out and helps me with my endeavors as well. The coffee (or tea) also makes for great gifts for friends and family as well.




While we are waiting for updates to my windows phone apps (trust me, I'm working on them), if you want to go ahead and get my apps now, please use the following links:

BSA Eagle Tracker download: http://bit.ly/Mm1Upo
Mobile Media Manager (paid version) download: http://bit.ly/y3rf6V
Mobile Media Manager (free version) download: http://bit.ly/xGCsWE

Thursday, June 20, 2013

A Simplified Guide to Understanding Recursion

For many beginning computer science students, the idea of recursion is difficult to grasp. I wager that some more experienced computer science students or even some seasoned developers out of college and already out in the field don't really grasp the idea of recursion. As an f.y.i., I use "function" and "method" interchangeably to mean the same thing (it depends on which language you're most comfy with).

First of all, all recursive functions have what is known as a "base case". A base case is the "state" which you want to get to with the recursive function. If you haven't met the base case yet, you take steps to get to that base case.

As an example to illustrate this concept, let's look at the factorial function. For a technical definition of a factorial, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. In case you forgot about 0! (the ! sign is the formal operator for the factorial), 0! is equal to 1 (so we will just forget about it). Now, let's use 5! as our example. If we were to multiply this out manually, we have
5! = 5 * 4 * 3 * 2 * 1 = 120
Now that we know this, let's build a recursive function to do this. In this demo, I will use C# as the programming language, but it's the same idea in Java and C++.
public int recursiveFactorial(int base, int multiplier) {
     //this is our base case
     if (multiplier == 1) {
         return base;
     }
     else {
         //if we haven't met our base case yet, we take steps to get to that base case
         base = base * multiplier;
         return recursiveFactorial(base, (multiplier - 1));
}
Now let's look at what this function does. It first takes in 2 integers as input, base and multiplier. Base is the number we start out with (in this case, 5), and multiplier is the number we will multiply base by if we haven't met our base case (multiplier starts out as base - 1 to fit the definition of the factorial). The base case here is to get multiplier = 1. So now, let's run our function and see how the recursion works.

First, we will call
recursiveFactorial(5, 4);
Now here, we check: is 4 equal to 1? No, it is not, so the else part of our recursive function activates and we simplify things to get closer to our base case by calling the function again with 20 as our base input variable and (4-1) as our multiplier input variable.
recursiveFactorial(20, 3);
Now we check again: is 3 equal to 1? No, it is not, so the else part of our recursive function activates again (and we multiply base times multiplier) to get closer to our base case.
recursiveFactorial(60, 2);
Are we starting to get the picture yet? Now here, we check: is 2 equal to 1? No, it is not, so the else part of our recursive function activates yet again and things are simplified even more (by multiplying base times multiplier again) to get ever closer to our base case.
recursiveFactorial(120, 1);
We check again: is 1 equal 1? Yes, we have finally met our base case, so we just end things by returning base. From here, the value "bubbles up" to the top "level" (where we first called the recursiveFactorial function).

If you've ever heard the term "stack overflow", it comes from this idea of recursion. With a stack overflow, a recursive function is called so many times that the computer doesn't have enough memory available to handle the recursion, so the computer crashes.

So does this guide help you to grasp the idea of recursion? If you are a seasoned developer, can I improve this guide (or give better examples)? Please let me know in the comment box below.

While you're learning about recursion, why not try some delicious Mystic Monk Coffee? Mystic Monk Coffee (use this link or click on the picture below to access the store and purchase) is what you really need when it comes to coffee. Trust me, it's good coffee (in most instances, much better than Starbucks coffee) and you won't regret buying some (just keep it away from your computer keyboard or laptop/tablet). If you like tea more than coffee, they also offer tea. If you have a Keurig machine, the monks also have k-cups for purchase as well (known as "monk shots") Using the link (or picture below) to buy the coffee (or tea) helps the monks out and helps me with my endeavors as well. The coffee (or tea) also makes for great gifts for friends and family as well.






While we are waiting for updates to my windows phone apps (trust me, I'm working on them), if you want to go ahead and get my apps now, please use the following links:

BSA Eagle Tracker download: http://bit.ly/Mm1Upo
Mobile Media Manager (paid version) download: http://bit.ly/y3rf6V
Mobile Media Manager (free version) download: http://bit.ly/xGCsWE

Tuesday, June 11, 2013

First Update Since Out of School

In case you are wondering where I have been, no, I am not dead (and this blog is not dead either). Things have changed since I last posted here, so I will give my readers an update on what has been going on and keeping me from writing.

First, the finals exams of my senior year of college are done and I have officially graduated from Wheeling Jesuit University with a Bachelors of Science in Computer Science with a minor in Mathematics. The workload with school and programming was keeping me from regular updates with the blog. I have also secured employment with P.T.C. (Parametric Technology Corporation).

Second is the program updates. I have been working on updates for the paid version of Mobile Media Manager. Once I get this update for the paid version is out, I will be working an update which will be more Windows Phone 8-specific (using Windows Phone 8 features). I will still be putting out updates for the Windows Phone 7 port of Mobile Media Manager.

BSA Eagle Tracker is long due for an update. I promise that an update is coming, please be patient for a little while longer.

My build of Seven-Eighter will also have an update soon as well (yes, I have been reading everyone's tech support enquires, so I am aware of problems users have had).

I am also working on 2 new apps, one being for Windows Phone and another for Windows 8. The one for Windows Phone is a prayer app. Its purpose is to help you with finding time for prayer and help in diversifying your prayer life. It is geared towards Catholics (more specifically, Roman Catholics), but there is room for expansion for both Eastern Catholics and Protestants. More features and prayers will be coming with future updates. If there is enough interest from Eastern Catholics, I can work on incorporating some Eastern Catholic stuff in there as well.

The Windows 8 app is a social media app. It is meant to be a quick "dashboard" to see into all of your social media all in 1 list, organized time-wise by the most recent status first. For example, if I use Facebook and Twitter and the most recent status is from Facebook, the Facebook status will show up first in the list. If the most recent status is from Twitter, the Twitter tweet will show up first in the list. Your standard reaction commands (like and comment for Facebook and reply and retweet for Twitter) will be available. If you need to make any account changes, however, you will need to go to the respective social media site and modify your settings there. Also, you will be able to "link" a person between social media accounts (like linking a person's Facebook username with his or her Twitter username) and see all entries for that person under the linked name (the "linking" is done just within the program, so there is no actual linking of social media services outside of the program). Depending on progress, the linking feature might be put in an update rather than the initial release, but it is definitely coming.

This is all for now, but I figured that I should give my readers some kind of update to show that my blog is not dead. I should be posting more frequently from now on.

While you're waiting for your problems with phone updates to be over, why not try some delicious Mystic Monk Coffee? Mystic Monk Coffee (use this link or click on the picture below to access the store and purchase) is what you really need when it comes to coffee. Trust me, it's good coffee (in most instances, much better than Starbucks coffee) and you won't regret buying some (just keep it away from your computer keyboard or laptop/tablet). If you like tea more than coffee, they also offer tea. Using the link (or picture below) to buy the coffee (or tea) helps the monks out and helps me with college expenses as well. The coffee (or tea) also makes for great gifts for friends and family as well.







While we are waiting for updates to my windows phone apps, if you want to go ahead and get my apps now, please use the following links:

BSA Eagle Tracker download: http://bit.ly/Mm1Upo
Mobile Media Manager (paid version) download: http://bit.ly/y3rf6V
Mobile Media Manager (free version) download: http://bit.ly/xGCsWE

ShareThis