Monday, 14 September 2015

In 20years to come, What stage will technology (particularly web development) be?

Hello fellow developers, bloggers and tech enthusiast.
I first saw a computer in early 2000 and started web development 2007.
My first encounter with a computer was when it was brought to my school for practical training and we played pac man game. I was very excited, then computer(Microsoft window) was still in black and white and no appealing GUI( graphical user interface).

Lets have your say.



Follow me on twitter: http://www.twitter.com/_josiah_king Join me on Google+: https://www.plus.google.com/u/0/113541005774136102412/posts/p/pub?cfem=1

Thursday, 5 February 2015

Why SSD is better than HDD



Now, you can configure your computer with either an HDD, SSD, or in some cases both. But how do you choose? i explain the differences between SSDs and HDDs, and walk you through the advantages and disadvantage of both to help you come to your decision.

HDD and SSD Explained

The traditional hard disk drive (HDD) is the basic nonvolatile storage on a computer. That is, it doesn't "go away" like the data on the computer memory when you turn the computer off. Hard disk drives are essentially metal platters with a magnetic coating. That coating stores your data, whether that data consists of weather reports from the last century, a high-definition copy of the Star Wars trilogy, or your digital music collection. A read/write head on an arm accesses the data while the platters are spinning in a hard disk drive enclosure.

An SSD does much the same job functionally (saving your data while the computer is off, booting your system, etc.) as an HDD, but instead of a magnetic coating on top of platters, the data is stored on interconnected flash memory chips that retain the data even when there's no power present.

Difference between SSD and HDD

See differences in the image below:

Follow me on twitter: http://www.twitter.com/_josiah_king Join me on Google+: https://www.plus.google.com/u/0/113541005774136102412/posts/p/pub?cfem=1

Saturday, 24 January 2015

How to check if value is a number (isNumer()) in javascript

After Stubbling at this challenge, i googled and found different solutions include the jQuery implementation of this, but none seems to do what i wanted, they either return true or false.
I wanted to know if a value is a number whether it's a typeof string or number. The codes below did the job very well, unlike !isNaN() or $.IsNumeric() which return true in the case of newline or space.
var isNumber = function(v){
    //return typeof v === 'number' && isFinite(v);
    return !isNaN(parseFloat(v)) && isFinite(v);
}
The commented code is the yahoo UI implementation which i tried but didn't give me what i wanted.
Return false if typeof is 'string' while true if typeof is 'number'. But the uncommented code does the job.

Than you for reading. Please post your comment.