Archive | October, 2008

On Failing

18 Oct

I took a test yesterday and failed. It was bad. I was too confident because the test was on a topic I considered myself to be a master, yeah right! I failed and felt like s*@#$%t.

I mean it hurt so bad I screamed and jumped up and down and smashed stuff, raised my fists in the air and screamed again and again walking down the street saying “whyyyyyyyyyyyyyyyyyyyyyyyyy!!!!!!!!”…anyway I didn’t do all that really, but I sure felt like doing that.

Failing is hard, for me at least, when I fail on something, I feel so down, I lose sleep, and in the end I get obsessed with this thing, if its a test, like yesterdays’, I get so obsessed with it, addicted for a while, I will not sleep until I master the subject, and re-take the test again and again until I pass. Then I can relax and admire myself a little, and be like yeah, I’m the man!

Now don’t ask me what happens when it comes to girls…its a sad story.

So yesterday after failing I went home, tried to watch a horror movie, didn’t take the pain away, tried to listen to some music, didn’t work and I ended up drinking beer. And trust me on this one, it takes the pain away. Great cure, because when you’ve had some, well, you start giving yourself hope, like you didn’t actually fail, you just slipped, you know, you are a master in this thing, how can you fail? you are not a loser and neither are you an idiot, yada yada till sleeping time.

Anyways, let me get back to my research on the topic I “used” to be a master in, because now I am officially on the obsession period, talk to you again when I pass the test. Cheers!

Technology can help to reduce poverty in Africa.

15 Oct

I was talking to my colleagues the other day and we were debating, well, actually we were just discussing about how technology can reduce poverty and change lives, especially in this continent, Africa, where the poverty levels of normal people might surprise you.

 

 

I know this has been said and heard many many times, but it is actually true and let me repeat that some people live on just under 1 USD/day. Hard to believe? You better believe it.

Masai children

Masai children

In this new generation, where technology is evolving and changing day in-day out, how can technology and globalization help reduce poverty in the poorest of our African societies? Down to the regular guy – a farmer in the village or a laborer working at the port carrying bags of cement from morning to night? How can technology as itself help this guy? How can it help improve his life, and have him say one day, if it wasn’t for the so and so something…I would have been poorer than I am now?

We continued to argue, and at the end, we came down to a few main points, affecting the regular guy:

  • How can one learn & help themselves and others?
  • What is the significance of information being readily available?
  • How much has technology simplified communications and its impact on reducing poverty?
  • What are some of the processes technology has simplified, e.g payments, sending money?

We could not answer all of them, but I took a shot at trying to elaborate some of them.

Learn, help yourself and others.

Technology is a wide area so this article will be based on computer technology, and how it can help reduce a person’s poverty level.

Take this scenario, our guy, who works as a laborer at the port, carrying cement bags morning to night can save some money, go to a computer school, learn with his whole heart, find a better job, get higher pay – creating for himself live a better life.

Another scenario – with technology, the farmer who works hard all year long, selling his crops at a loss to the business men who will continue to bargain for the lowest of prices, can go to the internet, research current market prices and sell his crops at a better price.

Another example of how technology can help people at the grassroot of society; the livestock farmer can go to the internet, communicate and network with buyers and resellers, sell his goods and make big profits.

Let me tell you a story about one friend of mine. And this is a true story, not fiction, not Hollywood, Bollywood or Nollywood. A very true story.

You know in Africa, we have poverty levels, and someone you consider poor at one place, in some other areas they may be well off. There are those poor families who can not even afford medical care; they would rely on the local herbalist for treatment when they are sick or they just wait and hope that the illness disappears. Some die, some get help from relatives, friends or neighbors and survive. Then, life continues to go on.

So, it was that this guy was born to a poor family, not entirely poor but a “better” family. They had all the essentials, like second-hand clothing, shelter, and they could sometimes afford at least two and a half meals per day, that is, breakfast (which was actually the remains of yesterday’s dinner) lunch and dinner.

 They could afford healthcare for minor illnesses, and by that, I mean a malaria dose. If someone needed an operation – bad news. They would just pray and hope that all would be fine, or a miracle would happen, and they do happen I’m telling you!

Women and children

Women and children

The good thing was that his parents managed to put him though school, though school fees was not always there. Relatives intervened and contributed sometimes, and he managed to complete primary, secondary and high school, and went on to college, passed. No! Wait a minute, he didn’t go to college, not at first.

After high school, he had to work, because he had young brothers and sisters, who needed to go to school too. Now that he was grown up, 19 going on 20, he had to lend his parents a hand with the younger ones; otherwise there would be no school for them. This meant no college for now, work first, college later.

So he got a job as a daily clerk at some NGO. This NGO was paying a high salary, which is US$4 per day. Not per hour, per day. And trust me when I tell you this is nothing to some people but for this guy and for some of the people currently getting paid the same, it is a lot. From that money he had to rent a room, eat, send some money home for siblings school fees, and most important of all, save for school.

One good thing about my friend is that he is smart. Show him something once and he got it. So at the company he had access to a computer. And he discovered the internet. And his life has changed since then.

He got his hands on all the tutorials he could get, he self taught himself microsoft office programs like Word, Excel, Access and powerpoint. He would print tutorials, read them at night, practice during the next day, whenever he got an opportunity at the computer, went in on Saturdays and Sundays, put in a lot of effort and he became really good in the end.

Some of the people at the office started to ask him for help, on simple computer things, and he would solve their problems with a smile on his face. Slowly he was being noticed by management.

Let’s fast forward to one year later; he took the Microsoft office specialist exams, passed and became a Microsoft Certified Office specialist. Then, in came his promotion. He was made assistant database administrator at the company, with a salary of up to $20 per day. $20 per day!!! Imagine what you can do with that, and I mean it literally, that is a lot of money for these parts of Africa.

To summarize, because his story is too long for this post, he was able to help his family, started a small business for his family, run by his father, put his younger brother through school up to college, got him a job, put his other younger relatives through school, built a house for himself, renovated his parents house, bought a car, you know…life changed completely for him and the ones close to him.

Latest news I have from him is that he later went to college, got some advanced diploma in computer science, got certified as a Professional Database Administrator, got a better job at a bigger company, got married, and lived happily ever after….well I’m not sure about the “happily ever after” to be honest.

So you can see how simple, self computer training changed this guys’ life.

 So my advice to whoever wants to improve their living standards, via technology would be this

  • Be willing to learn new technologies, and put some real effort in the LEARNING. Save some money, take computer classes, go to the internet cafe, learn to use the internet, send emails, mess around.
  • After this you can get a job as a help desk assistant, or as an internet cafe attendant, or a secretarial job, or something. There are a lot of opportunities if you are willing to learn.

Another short story! There was a clerical job opening at the company where I work, and this guy came in for an interview. Trust me, he could not work with even the simple programs like Excel. I mean in this world of technology evolution, do you expect someone to apply for a clerical job, and not know how to open an ms excel file? Please forgive me but I think that is total incompetence.

Take some time to learn even the basics of everything, at least simple office applications, internet communication, take a two week course or ask a friend to teach you. Be willing to learn new things. That is the first most important thing.

  • Take advantage of the availability of information. The internet is a great help. No matter which field you are based on, the internet is a great source of information. Be it medical, mechanical, industrial, agricultural. Take advantage of this and improve whatever it is that you are doing.
  • Chilren during a break at school
    Children during a break at school

Well with all this efforts from the individuals, still there are times when people completely can’t afford even the smallest amount you can think of. And this is where I think our governments should intervene. My advice to the government on improving the lives of its poor people would be this:

  • Introduce free workshops in every village, educate the people on technology related issues, offer free computer classes, a few used computers per village could be enough.
  • Provide employment opportunities to the ones that complete these courses. Positions like data entry clerks at hospitals, or at government offices, schools etc. Even if they are part time, they could help a lot.
  • Educate the people on the importance of technology, how it simplifies life, how it could help them in combating poverty. Convince them to want to learn. The media (Radio & TV) is a good medium for this.
  • Offer scholarships, to bright students in the villages who are willing to learn, but their parents just can’t afford to take them to school. Consider equal numbers from all the villages, so every small village can have at least one technologically educated person.

In the end we will have one society that can compete with other societies, in terms of technology and innovation, and after a while big countries like the US and the EU can start to even outsource some tech related jobs to Africa, like they have been doing to India and China.

Till next time, yours truly. Thanks to Winifred Valentine-Nah for editing.

 

On Reading and Music

9 Oct

When I was in high school I could not read without music. If I read without some music on, I would quickly get distracted, wander around and my concentration level would be very low. And mind you that I did PCM, that is Physics, Chemistry and Pure Mathematics,  among others. 

My information intake was very high at this time. I would attend all classes, of course I wouldn’t be listening to music at this time, get the notes, do the quiz if the teacher gives any, and I would try to do some of the homework immediately after the teacher leaves, so that I would have a little less to do later in the evening.

Now when I had to study for myself, later in the night, this was the time when the music would come on. I prefered slow music, some RnB or anything other than heavy metal rock -:), I could not concentrate without the music. Simple as that, and I am surprised how I did that. With some music on, I was able read an absolutely new topic with complete concentration and fully grasp the subject.

My hometown at night - Moshi

My hometown at night - Moshi

So days passed, months, college, years, work, and now I am here, a Software developer. How I got here is a long story, so I’ll just skip that.

You might be surprised how I’ve changed. Now I can not, repeat, can not read with the music on. This is especially when I am taking new information in, like for example if I’m reading a technical book or an article about some new technology, or if I’m reading some piece of code I really need to understand, or if I’m reading  a new programming book. With the music on, I go nowhere.

I’ll just drift and start thinking about something else. I have tried putting the volume very low, didn’t work, tried very loud, didn’t work, I simply have to turn the music off to really concentrate and take new information in. Otherwise I’ll just drift. The music gets to me all the time.

There are some things that I can do with music on. Like say read a novel, write code, debug code, write a blog post, take a test, etc. The only problem with music for me, is when I am reading some new technical stuff that needs complete concentration.

I understand that lots of people can read with music on, and concentrate and absorb new information without any problem, I can do that if I’m reading anything else other than technical, especially programming books. I guess this industry needs a little bit more concentration.

Moshi - Cleanest town in Tanzania

Moshi - Cleanest town in Tanzania

If you ask me how I came to this, I don’t know, but I guess some of it was because I self taught myself a lot of stuff when it comes to software development, and self teaching needs a lot of self discipline, including turning off the music because if you don’t pay enough attention, you’ll just get the tops, and end up writting crappy code and messing up work and ultimately your life.

So to summarize, music increases my productiving when I am doing a lot of things, like writting or debugging code for example and music decreases my concentration when I’m reading new technical stuff.

So how do you read?do you listen to music when reading or not?and how does music affect your concentration?

Recursion

3 Oct

Sorry I haven’t been able to write for a while. There’s this project I’m tied up with, and its consuming my time real good. But I am back and I promise to make up for all this time I have been lost. That being said, today let me give you an example of recursion.

There is one common joke about recursion. Goes something like this.

Recursion:
If you still don’t get it, see Recursion above.

Well, in a few words, recursion is the process where a function calls itself.


Sub Dowork(byval data as String )
  'do some things here
  'call the procedure within itself
      DoWork(parameter)

End Sub

Okay, now lets see some actual working example of a recursive method. We are going to create a method that lists all the folders and files in a given directory. This sample has been implemented a lot of times, and it’s easy to understand.

The method writes to the console a folder name, and all its contents. If one of the contents is a folder, it calls itself again and writes to the console the folder name, and all its contents. It goes on until it enumerates all the contents of the original directory.

Note: The procedure might take a long time to complete, depending on the size and contents of your directory.

You might need to do the folowing library imports.
Imports System.IO
Imports System.Diagnostics


Sub ShowFiles(ByVal path as String)
    Console.WriteLine(path)
    For each dirName As String In directory.GetDirectories(path)
 ShowFiles(dirName)
    Next
  End Sub

It is as simple as that.

To try it, in your main procedure, call ShowFiles(“C:\”).

Till next time. Yours truly.

Follow

Get every new post delivered to your Inbox.