Posts

Showing posts from March, 2014

Difference between PHP isset() vs empty() vs is_null()

isset() - Determine if a variable is set and is not NULL empty() - Determine whether a variable is empty is_null() - Finds whether a variable is NULL PHP has different functions which can be used to test the value of a variable. Three useful functions for this are isset(), empty() and is_null(). All these function return a boolean value. If these functions are not used in correct way they can cause unexpected results. Value of variable ($var) isset($var) empty($var) is_null($var) “” (an empty string) bool(true) bool(true) ” ” (space) bool(true) FALSE bool(true) bool(true) TRUE bool(true) array() (an empty array) bool(true) bool(true) NULL bool(true) bool(true) “0″ (0 as a string) bool(true) bool(true) 0 (0 as an integer) bool(true) bool(true) 0.0 (0 as a float) bool(true) bool(true) var $var;  (a variable declared, but wit

MS-DOS And Word Source Code Available To Public

Image
On Tuesday (25-03-2014), First time in the history Microsoft release  MS-DOS and Word for Windows source code for early versions now available in the Computer History Museum . The museum has done an excellent job of curating some of the most significant historical software programs in computing history. As part of this ongoing project, the museum will make available two of the most widely used software programs of the 1980’s, MS DOS 1.1 and 2.0 and Microsoft Word for Windows 1.1a, to help future generations of technologists better understand the roots of personal computing.

Microsoft Windows 8 Source Code Leak ?

Image
Earlier this week, Microsoft admitted that they have accessed a French Blogger's private Hotmail account to identify a former Microsoft employee who had leaked the company's trade secrets in 2012. Microsoft defined this private investigation as part of "Protecting our customers and the security and integrity of our products", mentioned in the Microsoft's terms of service, which says that the action was within the boundaries of the Electronic Communications Privacy Act. U.S. Authorities arrest Alex Kibkalo, ex-Microsoft employee. The indictment states, Kibkalo "uploaded proprietary software and pre-release software updates for Windows 8 RT as well as the Microsoft Activation Server Software Development Kit (SDK) to his personal SkyDrive account in August 2012."