Saturday, April 5, 2014

THE OPERATING SYSTEM OF THE FUTURE WILL NEED ONLY ONE APPLICTION: A BROWSER

     Applications are the reason we use any computer device. Think of having a very powerful computer with no application but only the Operating System....why would you need it anyway?. Most application require to be installed to your system before being used. Some application offer full usability by being accessed from a remote server by a client(the user) through a web browser. One of the main drawbacks to accessing these application is internet connectivity reliability. An internet connection may be disrupted in the middle of a session which affects the client and may result to inconsistent updates to the server.
Generally, internet connectivity has become better and better over time globally. Only recently United Kingdom and Germany launched a partnership to implement 5G networks. Okay, back here in Kenya the best we are at currently is 3G connectivity which does pretty cool. I am optimistic we may move to 4G soon as the top service providers run systems that have the ability to easily evolve.


  As internet connectivity becomes this reliable it will be very easy to deploy remote servers running application that clients can access through web browsers. After implementing the application logic, they need to provide user interfaces that can be lendered on browers possibly using HTML based technologies.This should lead on to thinking of Google apps and /or their Chrome OS. The overall effect of implementing this is that the operating system becomes extremely simple giving your computer amazing speeds. The hardware is also greatly reduced and the cost of the same would go down. Think of a computer without a hard disk and only relaying on RAM!
Very soon you may need on one program running your system; Mozilla , Chrome or IE.

DO WE REALLY NEED FREE WI-FI IN KENYAN CITIES? CASE: STUDY NAKURU COUNTY



Since their inauguration by the new constitution, county governments have of late been in the rush to implement some really over ambitious plans. Nakuru County has, for instance, rolled out free Wi-Fi in town CBD. My question is, do we really need these hotspots in the town, or rather should the free internet be such a priority in a town like Nakuru. For clarity, I am from Nakuru County and I have worked in Nakuru town and therefore quite conversant with the place.
Nakuru Town
Nakuru Town CBD
Sometimes times back Nakuru town drew continental attention as the cleanest and the fastest developing town in Africa. The development of Nakuru town is much inclined on agriculture and of late estate development. Tourism is also worth a mention as Hell’s gate, L.Nakuru national park, Menengai Creator come to mind. On the side of agriculture, Nakuru is on a very strategic location severing as the main business area for some notable producing zones. Horticulture and Dairy farming in lower Nyandarua (Dundori, Tumaini etc.) rely on this market. Meat production and horticulture (water melons) from Baringo, Maize farming from Solai , Tomatoes farming from Subukia region and  Potatoes from Njoro and Molo  also have in one way or another to pass through this market.

It’s clear that agriculture is the colossus investment in Nakuru County and any development that the county government makes should be channeled towards the same. The main question is how will the free Wi-Fi promote agriculture and tourism, enhance security, reduce traffic congestion and may be reduce unemployment? The answer is that IT CANNOT.
To start with, who are the users of this free internet? Most of them are young idlers who do nothing better than stream movies, social network and download pirated music online.  I know of no College or campus that doesn’t offer internet for its students, so students are obviously not core users of the same. Another drawback is mobile battery life (most people use Android ran devise or Nokia Asha) especially when connected to Wi-Fi. Most devices will only run for at most an hour. I think they should too have installed free electricity charging spots.
I do not want to sound too sadist on this development on by my county government, and you are probably asking if no free Wi-Fi then what? Okay I believe the only way to solve any society problems is through empowering the common “mwananchi” – Swahili for Citizen, regardless of the generation gap, education level and cultural background. What I mean is that any major solution implemented by a government should in a way cater to benefit the high school dropout as well as a PhD holder or a 50 year old business man as well as a 19 year old   addicted to gaming. In the next paragraphs I will give my thoughts on what I think the Nakuru county government should do both in ICT and other fields if she is interested in promoting the lives of her citizens.
1.      Create a thorough  County Information and services system
 The county government could possibly go ahead and map out all the agriculture practices in the county develop an information pool and linking it with all county services to the advantage of the farmers. For instance mapping all the livestock in the county, giving farmers codes and associating them with the county veterinary officers. This assists tracking of breeding methods and also outbreak of diseases e.g. the infamous Rift Valley fever. Farmers can also get assistance through text and app based methods to get urgent vet services. Buyers of livestock will simply need to log in to the system and view the livestock on sale (auctioned by farmers through app or text) with the confidence of tracking a stocks history from a very young age thus assured of quality.
Horticulture farming can also be promoted by this system in a similar way.
2.      Giving the WI-FI to SMES and  Schools
This free internet connection could also be given to SMEs to optimize their operations. The county government could invest on possibly two large servers and promote SMEs by improving their visibility online. Think of assisting them to attain online, text and app –based orders and payments through mobile money as well as mapping their locations to existence to outside world. Think of a mechanic looking for a second hand part simply he can’t afford a new one. Texting, calling or an online log on simply gives him many potential dealers of the same.
Better still we can take the Internet to Schools and to aid in learning of the students. Most schools nowadays have at least a computer lab.
3.      Creating a traffic management system in the county
An idea I have conceived from a project I am working on. Basically this assists in reduction of accidents, traffic congestion and corruption on roads.
A traffic rush in Nakuru town
  Creating an on board device that monitors the vehicle especially PSVs (Public Service Vehicles) like say takes an infrared image to determine if the sitting capacity is exceeded, tracks the speed of all other vehicles on the road from an intelligent online system. This assist you to get constant updates on the speed to move in to avoid congestion somewhere else on the road. Traffic police need only to check from tablets the over speeding any other irresponsible traffic behavior. The system also records the intervention of the traffic officers …A thorough discussion and implementation of this project will come on this blog immediately I get enough cash to get the Arduino boards.
4.      Using Technology in enhancement of formation of SACCOS
Most farmers, I have also done tomatoes farming at Subukia, are highly manipulated by middle men. This county government could assist them by bringing a reliable market a click of a text away or a USSD a way….how?
One way is by promoting formation of SACCOS then as a county take the SACCOS online in on pool as the SACCOS of Nakuru. Since county officers are influential, they should get offices in the regions where these products are sold are install stores for the products, maybe.
5.      Train pupils  and students on ICT
Using the cash to train kids and high school students on Raspberry pi and such technologies.
6.      Funding business ideas by young people and incubating startups

The fact that we have free WI-FI in Tokyo does not make it an obvious good idea for Nakuru. A call to all county governors: please give a rethought on the ideas you are implementing for the citizens

Monday, March 3, 2014

An ATM Simulation using Java Swing

      If you  have studied computer programming, you are most likely to have learned Object Oriented Programming in Java. Java is very sweet especially for beginner programmers who want to see what they are doing by using GUI. Swing is one among the most powerful and simple  tools of GUI in Java. Although i have been too busy this semester, I had to spare some minutes to assist a friend of mine with her OOP assignment.
    One of the most useful books in Introduction to Java programming is "Java How To Program" by the Deitels. In this book, a software engineering case study of an ATM simulation is implemented. Now my friends OOP Lectuer twisted the same project and asked them to use Swing to implement an ATM simulation.
   If you are in some Kenyan University and happen to learn Java Programming under Mr Sam, be ready to implement the same simulation for your assignment.

So here is a screen shot of what am doing ....

Saturday, February 1, 2014

How to install Django in Windows 7

Hello everyone.
              Recently i have been excited by GAE (GoogleAppEngine) - a PaaS featuring Java, Python and Go run times. I wanna deploy an app by the end of this month on Gae. Since i know Python programming, i have to use Django -the framework in order to enhance the speed of my development.
What is django anyway?
Django is a web framework based and implemented in Python to allow fast development of sites.
Django is fully supported on GAE and as such makes us love to take its power and speed there.
That said, we wanna install Django and gets our hands really dirty. But before you install Django, you need some knowledge in python programming have your Windows 7 computer running Python . I prefer Python 2.7.6 since python 3 introduced a new syntax. Got Python yet?Grab Python 2.7.6.msi from  here and install noting the directory on which you install( for simplicity use C:\  local disk  )
That's great, we now need to check if  windows has set the python path.Lets do it :
Run the command prompt by clicking start and searching  cmd and hitting Enter key. Type python -V
(the V in uppercase),this should print the version of python you are running, in this case Python 2.7.6.
If you get an error we need to write a simple batch file   to take the command prompt to the Python installation.
Now start notepad and copy paste this file:
@C:\Python27\python.exe %*
and save it as python.bat on your desktop
Again copy python.bat to  C:\Windows\System32
////this part assumes you have installed Python in Local disk C. if not just change the root path to point to you Python installation.
Restart the Command prompt and type python -V

Next, lets get and install Django:
Download django 1.6.1 from here add save it. Django comes as a tar ball compresses file and thus we need to extract it. You can use WinRAR or 7zip to extract it. I use WinRAR.
Extract it and we are now ready to install Django.
Now open the folder with Django 1.6.1and copy its path ie right click the path bar and select copy

Open the command prompt and Type: CD then the Django folder path   and hit enter key for example
    CD C:\Users\Harrison\Downloads\Compressed\Django-1.6.1
Note: to paste in the command prompt you right click and select paste Ctrl+V doesn't work!!
so far so good, now type
python setup.py install ,hit enter and wait
After installation information is complete,type import django, if you get no error you have successfully installed django.Next find a get started tutorial on django or go here




.

Wednesday, January 15, 2014

MANAGING YOUR FIELD TEAMS RIGHT FROM YOUR PALM


Hi everyone! My long vacation a cool one although wasn’t up to anything great. I however had a chance to introduce some high school students to computers (most of them) for their first time. I wasn’t fun; yeah I mean it .I recall this one student I asked to double click and she clicked her mouth twice. A funnier one when asked why one should know how to shut down the computer using the right procedure, said you might be asked how to do it in an interview. Haha! You must have thought of my remarks to her already, ”Thoughtful but wrong”.
That stuff aside. I also met this guy who sells timber in large scale. He has this teams that are set to thin forests in different parts of the country. Each has an accountant who is in charge of virtually everything that the team does. The guy has to keep calling all his teams (they are about 20) to be updated on the situation of his business. I thought of a way to ease his work of getting to his teams and has found an interesting way. I call the project Bizna connect.
BIZNA CONNECT
This project aims to create a solution for easily managing separate teams, small chain businesses or even medium enterprises in different geographic locations using smartphones.
Requirements
·         Android smartphones
·         Working internet connection
·         Google accounts
Working
Bizna Connect backend runs in GAE (Google AppEngine) and users are authenticated using their Gmail accounts. There is a super account that is managed by the owner of the businesses. This account accesses the information posted by the user users, assumedly the employees.
Given the powerful use of Google apps (spreadsheets for accounts, docs for memos ), real-time notifications and location using GPS you are sure to monitor your business always.
They say a picture speaks a thousand words. now I have type 300 words plus one picture ,that makes it 1300 words wow.





Saturday, August 24, 2013

The Soko La Wakulima (Farm market)

Hello everyone out there. This year's ASK(Agricultural Show of Kenya) theme is "ENHANCING TECHNOLOGY IN AGRICULTURE AND INDUSTRY FOR FOOD SECURITY AND NATIONAL GROWTH."
 My friend and I have implemented the project below as per the theme.Check it out :


INTRODUCTION
Soko la Wakulima is an android app that links farmers from all over the country on the basis of marketing. It enables people to buy and sell broad variety of agricultural goods online. It is destined to be a competitive virtual market for farmers. Generally, any agricultural based product can be auctioned on Soko la Wakulima as long as it is legal and confirms to Soko la Wakulima terms and conditions.
WORKING

Users are first required to download the app to their phones. The app allows users to browse through various categories of agriculture like vegetables, Fruits, Poultry, Farm equipment among others and also search for any particular item. Sellers of a product are required to register first before posting so as to enable any interested buyer to easily identify themselves.
FEATURES

·         It has an RSS reader that enables the user to read agricultural news and know the current trends in the agricultural market.
·         Supports Image uploads for further description of products clearly showing their state.
·         Offers comprehensive information on sellers contact information in terms of location, phone number etc.

            Usage of this technology assists in elimination disparity between buyers and sellers due to geographical location, statistics from bids give the state of the market and can be used for planning, sellers are able to sell their commodities at the best price, promotion of trade as there are always goods to buy and sell plus perishable items are sold in time saving losses.

Thursday, August 1, 2013

The Sieve Calc 1.0



            I have had a very great time this semester even as I was learning and enjoying my units in Pure Mathematics. Number Theory has been real fun –all those theories on primes, Diophantines, modulo arithmetic etc. I found the Eratosthenes sieve of determining all primes less than a given number n very creative. I`ve done a Java application (Sieve Calc 1.0) based on GUI that implements the sieve. Check out these screen shots as you follow the code at my Github repository at https://github.com/HARRIEKIM.

Main UI

About Sieve Calc

Help

Working