Showing posts from June, 2020

Latest Article

How to create a subdomain for use with Blogger

 Not all sites are meant solely for blogging. Some websites only include a blog for marketing purposes only. This is because blogs can drive traffic to your site. Each site visitor is a potential customer who can end up buying products or services on the website. I am going to show you how you can create a subdomain that can then be used as a custom domain on Blogger. Creating a subdomain in CPanel Most web hosting companies in Zimbabwe provide packages that come with CPanel and therefore I shall use it as an example. It is easy to create a subdomain in CPanel. A subdomain has two main purposes. It can act be used to host a different website or to organize the main domain so as to improve the user experience. If your main domain is '', then a subdomain can be ''. To create '', simply lo into CPanel and head on to the section written 'subdomains'. Go on to create your subdomain by just entering the word 'blog

Advice to Teachers conducting lessons remotely

A lot of WhatsApp groups for delivering tutorials have surfaced recently in the wake of the corona virus pandemic.  This was necessitated by the need to mitigate the effects of keeping schools closed for an extended period of time. Most students were falling behind on their studies before the mushrooming of such WhatsApp groups. E-learning is not a new phenomenon to Zimbabwe but measures to curb the spread of Covid-19 ,like lockdown and minimizing of gatherings , have seen an upsurge in the number of tutors embracing the internet as a mode of delivering lessons. This article will look at the best  platforms available which teachers can use in their endeavor to continue educating people in these trying times. In the Zimbabwean context, WhatsApp is likely the first option which comes to many people's minds when they think of distance learning solutions. This is mainly due to the great number of users on the platform. Many, if not all, smartphone owners have WhatsApp installed and als

Save yourself from embarrassment with this WhatsApp feature

A lot of people inadvertently send messages to WhatsApp chats which can potentially cause embarrassment especially if the content is highly confidential or just NSFW.  So how can one avoid such a predicament? WhatsApp has two features which can reduce the likelihood of sending messages to the wrong chat. Usually such incidents occur when a user has two or more chats open simultaneously.  When several chats are open and the user starts to receive a flurry of messages, the possibility of sending a message to a wrong chat when replying becomes high. The first feature allows a user control on who can add him/her to a WhatsApp group. If a message which can damage your reputation is received by one user only it is easy to control the damage than when it is posted to a group. Therefore if you frequently send messages which are top secret or confidential then make sure you close some chats before replying with a highly confidential message or totally avoid  family and work groups.  Avoiding gr

Recursion vs Loops, best overview.

Most reasons you find online about why we sometimes need to use recursion instead of loops are not compelling enough to persuade die hard loop fans to use recursion. If you are one of those people who resent or just can not understand why recursion is significant then this article will leave you with no doubt about why recursion is a must have tool.  Let's look at loops. There are three types, the do while, while and for loop but no one questions why we need all three types instead of just one. This is because it is clear that each type has a place in programming.  The programmer must have a wide variety of tools and must be versatile with all of them so as to choose the best tool. It reminds me of the  law of the instrument  that says if you only have a hammer , it is easy to see everything as a nail. A programmer should not ever be in such a situation.  Each loop has a special purpose and so is recursion. Although in most cases recursion works just like a loop most programmers us

Pointers made easy, C programming

Pointers store addresses or data. This means that at any given time they might either contain data or addresses. The good thing is that they can easily switch roles to suit the programmer but he must always keep track of the current role of the pointer so as to avoid errors.  Using pointers to alternatively store data and addresses is a recipe for disaster. To avoid that you can use the following criteria of naming pointers. Naming them for ease of use *a  for storing addresses only *b  for both. *d for storing data only (great for strings). Just like variables, you can declare a pointers without assigning it a value. Initializing a pointer gives it a value which as mentioned earlier can be either an address or data.  struct tree *d_node ;  struct tree **a_node; char *d_day  = "Wednesday"; int *b; Is the above notation common? No, not at all. It is there for teaching purposes. In the real world of C programming there is another effective notation to avoid confusion.  When usi

Advantages of Competitive Programming

Competitive programming has numerous benefits. Other than financial gains, one can build a career in software engineering from engaging in coding competitions. The sites which are well known for competitive programming are Google Kickstart  or Google Code Jam, Code forces and Topcoder. You can be awarded points , T-shirts or money by participating in any one of their online challenges.  The first advantage is enjoying sport from the comfort of your home. It feels good to compete with other coding enthusiasts and get to see how you rank among coders worldwide. If you are a student or aspiring software engineer, you can benefit immensely from coding competitions as they can help you perfect the idea of testing software, or to appreciate data structures and algorithms more as you are pushed to write code which meets strict nonfunctional requirements.  Nonfunctional requirements do not have a direct bearing on the functioning of the program. However the choice of algorithms and data struct