blackberry, iphone, mobile
In Technology on November 18, 2009 at 2:07 pm
Cringely has hit the nail on the head regarding the future or handheld devices. These things are not phones anymore. They are all handheld computers which happen to have phone hardware as well. Processor speed, memory capacity and all such critical hardware inputs which make a device snappy are all doubling in capacity but halving in cost. We are in the midst of the same cycle the PC went through between 1998 and 2004.
However as Cringely pointed out the holy grail for handheld devices is the accuracy and speed of typing. Ergonomics wise Blackberrys with their full QWERTY keyboards are slightly ahead of the rest, but even then typing more than a 3 sentences at one go, would be an extremely painful experience. So what’s the solution.
It’s called Auto Complete.
Read the rest of this entry »
bcrypt, cryptography, java, md5
In Technology on October 9, 2009 at 12:33 am
There are two choices
Jasypt
Here are the cardinals rules of storing user passwords, and these not only apply to Java but to all other programming language as well.How to encrypt user passwords.Read this before going any further
To summarize, you must use an secure hashing algorithm which which allows for a random salt as an input, and one which hashes the resultant output at least 1000 times.
The generic form of any secure hashing works like this.
Generating a Hash
salt = GET salt
hash_bytes = algo("data to hash",salt,number of rounds)
hash_string = base64 ecnode(hash_bytes)
store(hash_string)
Read the rest of this entry »
amazon, google, java, web development
In Technology on September 18, 2009 at 11:29 am
Traditional all purpose programming languages like Java, C# and PHP have long been the subject of flame wars in the web development community over these years. They have been backed by standard bodies, big corporations and in some cases millions of die hard fans.
The big corporations have inevitably build entire software development stacks around them. Most notably there is Microsoft with its Windows, Sql Server, VB and .Net portfolio or IBM with its Java, Webshpere,DB2 combination. Sun, Oracle and Redhat also offer competing stacks. PHP on the other hand is thought to be a part of LAMP “the build your own stack” which SMEs and startups find so attractive.
The stacks themselves are like mousetraps. Once you get in you will find it really difficult to get out. Of course if you chose standards such as J2EE, then shifting from say Oracle to IBM or to Redhat would still be possible.
Read the rest of this entry »