Sunday 23 December 2012

Was I hacking or being hacked?

Dear Diary,

Its been a week since i last posted anything here. Don't worry folks, its the examination fever and Oh My Gosh!!! as my friend Ponkshi likes to put it, how can i have time to blog when all i could think about is not getting a 'D' on my transcript.

End Of Sophomore
One thing we have to know is that every beginning has to have an end my Sophomore year just came to an end. What an year it has been? Made a lot of cool friends, The 'Mayor' on top of the list, Ponkshi, Biggie, Amateur , Msovti , Alpachino, Reezy and how can I forget the main man , Tom1mt. This guys made my last semester one of the most epic. Come to think of it one of the most epic...

Hackathon
So after, the exams what a better way to relax than to attend a hackathon. All i can remember before starting the hackathon was Einstein saying "Imagination is more important than knowledge." So I come up with this wild idea and I go up ahead and present it, everyone gives me there 5 minutes and at the moment, you feel like you own everyone, because everyone is busy trying to understand what I am talking about.

Hacked
Its time to vote for the best ideas in the building and apparently nobody shows up for my idea. So I hit the 'Mayor' up and i ask him, hey come up and help me out on this one. The Mayor shows up and since he is the lead developer, I ask update him on my idea and he is like. Do you remember when the Winklevoss approached Zuckerberg about Harvard Connect and there was nothing that made it different from Friendster and MySpace? Oh yea I remember.... So without thinking hesitating i saw his point and it hit me, why dont we try something else.

Zuckerberg Effect
So after the Mayor reminding me of that occurence, we did not hesitate and immediately we started working on the our baby. Since the 'Mayor ' is a Pythonista it was definate which language we were going to use. In a minute or so Reezy was in the building and joined our group, he was to handle user experience. Cliff was another Pythonista making us three now, and we were now good to go.

Let the Hacking Begin.
By this time almost every group had gone very far with their ideas, so we new we had to write tonnes of code and finish by morning. We started by doing and analysis and design and we were good to go. 

Codejam
It was one crazy night, because you are chasing time and you are coding and there is something else that is after you, Sleep. At about 3.00 am in the morning, sleep had taken most individual in the group, but we had the 'Mayor' who didn't even stop a bit, not even a wink, all that he experienced were wide long yawns that could swallow you alive. I hope you are getting the picture.

Morning
Its now morning and the 'Mayor' is feeling tired having not slept in the night just doing the design and prototype of the web application and there he was with a complete version of the app.

As I write this i am preparing the presentation our application. So you will allow me to leave you for a bit and when I come back I will show tell you what went down.

For now Adios!


Monday 10 December 2012

Sunshine Boy


-->
Sunshine Boy

Dear Diary,
Today I just woke up as usual and thought about you, you know who. Wait a minute, just had a chit chat with my boy Sikri, and I thought what the hell ! Let me write about this.

Free Man
Its been 28 days since I became a free man. Free from what, mmmh!!! Lets just say am now free. Where was I ? I was telling you about I woke up in the Morning before my mind was blown away to some random thought.

Greatest Lesson
The greatest lesson I have learnt over the past days is that one has to always be true to himself. Where did and how? Trust me through experience.

The Scenerio
Have you ever liked a girl? Hey am speaking for the guys out there. So I take it yes, so you like her and then you happen not to tell her about your feelings but you feel this sudden attraction to her. The feeling is that you want to be with her but you still think its not yet time to tell her the deal.

So the status is you have developed some feeling but you still think its not yet the time because you want her to see you as this good and charming guy that she thinks is her dream guy. What happens next ? You don't make the move. Really, what move is this?

Ever wondered, why soldiers still go to war, and they know that there is a 80% chance that they wont come back to be with their families, well it is because they believe in something and that something is the well bieng of their country and when they die in duty, they are honoured

Maybe thats too technical, I will easen it up for you. Every chess player, knows that every piece in the board is important starting from the pone that can only move one step ahead to the queen that can move in every direction with an unlimited number of steps. So if a chess player thinks that inorder for him to win the game, he has to part with his Queen he will go for it. Remember that everything even if small like the pone is powerful. Why is this the case? Once the pone reaches the other side of the board, it transforms to Queen status therefore giving you an upper hand in the game. At the back of your mind many of you may want all or most of your pones to rech the other side, but here is the catch, you have to sacrifice other pieces. Lets be real, what do we really want in the chess game? it's not many Queens or having the most pieces but to kill the King piece of the other opponent.

Sunshine Boy
Back to this girl you liked and you feel that you cant tell her anything. You are now friends for weeks and still havent told her anything,eventually she opens up and she tells you her stuff and the next minute you are telling her yours.
So at the moment you think you have a better chance with her. Huuuuh!!!! Thats what you think but true to the word what you really are to her is her “Sunshine boy”.

Sunshine boy ” not a word or phrase you would find on a dictionary, but its something my friend described to me. This is a guy, that is close to a girl and if you have been watching them closely, you may think that they are really in a relationship, truth is that its the latter. They spend most of their time together, the guy is always trying to impress her and if a there is some issue the girl wants some help, “Sunshine boy” is always there to take her or assist her.

Why am I bringing up this whole issue of “Sunshine boy”? By the word sunshine I mean this is a guy who is seen with her during the day, and acts as a barrier to other guys tht may seek to ask her out. So the girl goes on with her life, and she goes out with the man who impresses her and this is done on stealth.


So this brings me to why I brought the whole “Sunshine boy” issue into the picture, its because you become one by being friend-zoned in the first place. Reason to you being friend-zoned is that you didn't set you variable global. When you introduced yourself you presented yourself as a friend and clearly, you didn't want to be just a friend in the first place.

So guys, when you think she is the one play your cards well, and then tell her soon enough and most of be yourself. To the ladies, if you have a guy friendzoned just have the audacity to tell him eaarly enough so that he doesn't log to much of his time on charades. 


Until next time
Adios!!!! 

Tuesday 6 November 2012

Zen Of Python

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

Saturday 27 October 2012

How to Install Aptana Studio 3 on Ubuntu 12.04 LTS (Precise Pangolin)




1. Install the prerequisites

 In order to  access the Sun JDK, do the following:
sudo apt-get install libjpeg62 libwebkitgtk-1.0-0 git-core
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Note:
libjpeg62 is very important and without it you will encounter errors like this:

An internal error has occurred.
No more handlesNative code library failed to load. (java.lang.UnsatisfiedLinkError: /opt/Aptana_Studio_3/plugins/com.aptana.swt.webkitbrowser.linux.x86_64_1.0.0.1295409059/os/linux/x86_64/libcefjni.so: libjpeg.so.62: cannot open shared object file: No such file or directory)
2. Download Aptana Studio

 You can download Aptana Studio 3 here. Select the "Standalone Version" if not selected and click download.

3. Extract Aptana Studio


sudo unzip [name of Aptana Studio ZIP file here].zip -d /opt


4. Add the menu shortcut



wget http://www.samclarke.com/wp-content/uploads/2012/04/AptanaStudio3.desktop
sudo mv AptanaStudio3.desktop /usr/share/applications/AptanaStudio3.deskto
 For all of you who are security conscious, you can check the contents of
AptanaStudio3.desktop .

Hope this article is of help to you who is reading.


Wednesday 17 October 2012

What is Python? Beginning Python

How I Learned About Python
After hearing about this word, "Python", I set out to discover what it was all
about and how different it is from other programming languages. Created by Guido van Rossum in 1996 .

What is Python
Python is generally a general-purpose, interpreted high level programming language whose design philosophy demands code readability. It is open source and can run on all platforms i.e  Windows, Linux and MacOS X and has been ported to the Java and .NET virtual machines

Python is Like
Python at most times has been compared to languages like Ruby,
Perl . It is popular for its said to be clear and expressive syntax. Like Java it also comprises of a large and comprehensive standard library.

Versions of Python
Currently Python2 is the one mostly used, Python3 is still in the development phase. To install it to your machine you can download it from The Python website.

Why am Learning Python
So we have talked about what python is and how you can download it. the reason why i have to learn Python is so that use one of its framework, Django
which is popularly know for its dynamicity in the development of web application.

How Do you Learn Python
This brings me to the question that may be in many of your minds, How do i learn Python, since i have it installed in my machine. For me I am using the book Learn Python the Hardway by Zed. A . Shaw. I find this book very good for beginners since it helps one learn the language in a short time and simultaneously giving you the  feel of what programming is and how it should be done.

When you Get Stuck
If you think you are stuck in anyway while doing Python you can always join the Google Group comp.lang.python and post and am sure you may get answers that may help you.

Punchline
Until next time. I hope this post was of help to all those who read it .

Remember Programming is a skill its just like riding a walking, the first time a baby starts to walk, the baby usually falls but with time, the baby learns to walk and walking becomes part of the child's, same to Programming, ensure you practice at least 2 hours a day and withing some time you will become a better programmer.



Tuesday 4 September 2012

Campus Divas For Rich Men


CAMPUS DIVAS FOR RICH MEN



The facebook page Campus Divas For Rich Men is page that has elicited alot of interest in the past few days.Since the debate on kiss 100 a few days ago by Shaffie Weru and Kalekye Mumo on the  rush hour as well as Caroline Mutoko’s morning show the page has grown wildly.It now has over 30,000 likes and is still growing.Is this a replica of what is really happening in our instituions of higher learning?Are the young ladies in this institutions this hungry for money,luxuries and a smooth life?Is the moral fabric this stained with wild thirsts and lust for money and pleasure?


The government having increased the number of universities in the country implies that now a higher population has access to the instituions.Introduction of parallel programmes and the accelerated university intakealso  implies that young kenyans who have not really matured emotionally and maybe mentally are now in the instituions where everyone is a guard of their live.But can we blame the government for this?It would be pointless to do so?So where does the problem lie?Who is to blame?
Searching for answers for this questions has brought me to a dead end.Some part of me would love to believe that the 30,000 divas out hunting for rich men is quite a  negligible number.But it is not.At what point does education have impact on ones life.Isn’t it pointless to be of great knowldge and no morals?
You be the judge but the group keeps growing,other groups against it keep sprouting an interesting one being Campus Hunks For Rich Women.


The administrator of the group has been linked with satanism.i’d call him a disturbed guy..one of his posts reads “Angel from below,i wish to sell my soul,devil take my soul,with diamonds you repay i don’t care for heaven.....”some say all this is after a love story gone sour.



But one thing is for sure times have changed..and this is an E-brothel that I pray will die out soon enough. Bringham Young once said “when you educate a man you educate a man,and when you educate a woman you educate a generation”we should not allow generations to be destroyed by people  whose lives no longer have meaning.Take charge of your life look ahead,make wise choises ,make a change.
                                                                                                      CAMPUS DIVA WITH AN EYE FOR THE FUTURE.

By Muthoni Wanyoike

Monday 30 July 2012

SouthAfrica Gets Gold and A World Record


South Africa was able to clinch its first Gold medal after 24 year old, Cameron Van Der Burgh won the 100M Breaststroke outdoing the WR record holder Brenton Rickard of Australia and two-time Olympic champion Kosuke Kitajima. He was able to clock 58.46 taking the WR and OR. South Africa now have one medal up in the tables. This is the first time a South African has taken this event.

Friday 27 July 2012

London2012 on your PC

Its 15 hours to the London2012 Olympic games and everyone is excited. For y'all who don't have coverage of the event you can log on to www.youtube.com/olmpics and you will be able to stream the event by preference.
Join the London2012 Olympics through your computer or Smartphone

Sunday 22 July 2012

Letter to Sweet

Hi there, thought i could sing but heck No! I can only rep the Mic. People around just ask who this is but let me just break it down to you am Kenju, i guess there are many of us there but this particular one from the 254.

I don't know why the world has to be so cruel but Sweet I always thought there was something between us. I see you sweet and my heart just pops out like bottle top on a Coke. For you I would do anything you wish.

Sweet, when i see you, my mind goes as blank as a new book waiting to be filled in with writings. Many are the times my friends just say, "Hey Man just let her Go". I often listen to them just as mother would tell her child, but problem is I can't she has got me into this quagmire of thoughts and am thinking like should I move on or should I try more.

Sweet, I would like to transform like Chris Brown and be like Lil Twist so that I can sing to you "Love Affair" because this sole issue of love is Killing Me Softly just as Alicia Keys puts it. Sweet I ain't no rock artist but i bet I can rep the Mic just as Biggie used to rep it in his days. So Sweet, let Kenju be Kenju and not a knockoff version of Kenju that just tries to impress you.

But anyway this i guess will be my last calling, I will not stand there and let Kenju254 be blown away like a wilting leaf is blown away into the skies and vanishes. Kenju254 is like the Statue of Liberty who will be alive many decades to come in hearts of people around him.

Please Sweet, stop giving me mixed signals, Let me be as free as a bird that flies into the sky fearing no one. Sweet, i want to let go but i cant, I don't know what kind of voodoo is actually being used. Its like am enchanted. There is nothing I guess i haven't done, evening the venting has been done, pouring my heart out like wine on wine glass.

I don't know who else has been into this quagmire of events? Am I the only one? And what should I do next? Should I go on ? Should I just drop her like a database on my  local server? Because this database is tampering with my local server. Am torn apart on the "sijui niseme Yes ama No"?

Sunday 1 July 2012

Interlocking Stabilised Soil Blocks

ISSB Blocks after production
Ever heard of ISSB blocks?
 This are blocks made out of soil, cement and water. This is an appropriate technology in the building industry.  The ISSB block and the standard convectional block are of equal strength and durability.

The ISSB block can be used to build watertanks, walls and houses.

 To view more photos visit the link below.
https://plus.google.com/photos/106363600667142430560/albums
/5733806916699200641?banner=pwa

Thursday 28 June 2012

Apple Sues Samsung

 Apple has won its preliminary junction after U.S District Judge Lucy Koh approved it.

"Although Samsung has a right to compete, it does not have a right to compete unfairly, by flooding the market with infringing products,”Koh said on Tuesday.


Apple filed a motion for a preliminary injunction in May 2012, claiming Samsung’s Galaxy Tab 10.1 infringes on an i Pad-related patent. Apple also filed a similar motion against Samsung’s Galaxy S III in June.

Question is what is Apple upto ? Is it because Samsung Tab is a threat to the Apple's i Pad and the iPhone 4s.

Lets wait and see what goes on with this case.

Saturday 16 June 2012

Prof Saitoti Laid to Rest

Photo | PETERSON GITHAIGA|NATION Pall bearers among them cabinet ministers lower the coffin carrying the body of Prof George Saitoti into the grave at his home in Kitengela on June 16, 2012.  
Prof George Saitoti was today finally laid to rest in his Enkasiti Home in Kitengela. People from all walks of life gathered to give the Professor a decent send off.

The meeting included 20 cabinet ministers, 90 members of Parliament and two ministers, one from Tanzania and Southern Sudan.

Tanzanian Foreign Affairs Minister read Jakaya Kikwete's message, who said that his passing was a loss of integration efforts in the East Africa Community.

Indeed Kenya has lost an Elite leader who showed devotion to his work, especially as a Mathematician who impacted the lives of his student while he was a lecturer in the University of Nairobi to his current docket  as Minister of Internal Security.

May his Soul Rest in Peace.

Tuesday 12 June 2012

THE NBA FINALS 2012

Finally, the NBA finals are here, today night The Thunder battle it out with The Heat in game 1 of the finals.

Will the Heat Big 3 of, MVP Lebron James, Dwayne Wade and Chris Bosh be able to contain Thunder's Kevin Durant, Russel Westbrook and Sixthman of the year James Harden.



The Eastern and Western Conference finals saw big plays from King James and The Durantula. We saw Lebron in Game 6 give the Heat 45 points in that game. We can forget Durant and how he put those buzzer-bearters that led the Thunder through Playoffs.
Game 1 of The Finals will on at Thunder's Home Court at 8.00pm ET time.
Lets see who comes up with the W eventually.

Monday 11 June 2012

Chill Spot Riddim CD (March, 2012) (Chimney Records)

Chill Spot Riddim CD (March, 2012) (Chimney Records)


Chill Spot Riddim Tracklist
 Mavado- Like Me
Tarrus Riley - Dream Woman
I - Octane - Keep Me Up
Cecile - Dem Yah Time
Voicemail - I Moved On
Chris Martin - Chill Spot
Zagga - Remember The Days
Jordan & Hizzle - Chill Spot Riddim(Veersion)

Kenya's Minister Fatal Accident

This are some of the remains of the wreckage at the crash site located in Kibiko, Ngong Division just in the outskirts of Nairobi. (AP Photo/Khalil Senosi)   
Prof George Saitoti, Kenyan Internal Minister, met his death in a tragic accident through a helicopter crash, in Kibiko, Ngong, just in the outskirts of Nairobi.

He was alongside six others among them being his assistant Orwa Ojode, the bodyguards and pilot. No cause has been established to rally the reason as to how the plane crashed. Eye witnesses say the plane crashed down and burst into flames.

Prof Saitoti was one of the key poiliticians aspiring to run for the presidential race during the countries forthcoming General Elections.

The 66 year old was said to have been heading for a security meeting when the plane crashed on Sunday morning.

A journalist for AFP news agency saw six charred bodies being removed from the wreckage.

Another reporter at the scene says debris of the burnt-out police helicopter were strewn in the brush.
Leading politician



The death of Saitoti is a "great tragedy that has befallen our country at this time as we are making elaborate preparations to hold peaceful elections," Prime Minister Raila Odinga said at the scene of the crash, a forest in the city's outskirts.
It was not immediately clear what caused the accident. Kenyan police cordoned off the scene of the crash and said they were investigating. Rescue officials collected the charred and scattered remains of those killed.

"As we speak now, nobody knows the cause of the accident," Odinga said. "Nobody knows, and that's why the experts are going to carry out investigations." He said that Saitoti and Ojode were on their way to a political event in western Kenya.

Saitoti, an American-trained economist and mathematician, was one of the most visible figures in Kenyan politics. For over a decade he was a deputy to former President Daniel arap Moi.

As security minister he was the government's spokesman on security matters, including Kenya's decision to send troops to Somalia last year. Analysts say he played a key role in that decision. Saitoti appeared often on national television to reassure the public in the aftermath of deadly attacks blamed on the Somali militant group al-Shabab.

All that is in the minds of Kenyans right now is to hope that his souls rest in peace.

End Of the Road for Celtics Yet Again


Lebron James  drives past Garnet for the layup
The Boston Celtics lost to the Miami Heat yet again after being thrashed  in game 7 101-88 to take the Eastern Conference title. They will meet Oklahama City Thunder in the Playoffs final starting on Tuesday. The Heat lost to the Mavericks  in last  years' playoffs and hope to redeem themselves this years finals against the Thunder. It has been  Kevin Durant's childhood dream to reach the NBA finals, Earlier on in this year's All-Star Game Kevin Durant won the All-Star MVP and achieved one of his lifetime goals. Will HE be able to achieve to get himself a Champion Ring?

Let's Wait and see........

Wednesday 6 June 2012

Heat lose to Celtics Again

The Heat lost to the Celtics again in another thrill and close game. The box score being 94-90. Paul Pierce's 3-point play sure did seal the deal

Tuesday 5 June 2012

Teen Wolf Season 2

The thrilling werewolf series has made it back on air, with its second season. Waiting to see how the new Alpha will behave in town.

Saturday 2 June 2012