Sunday, October 30, 2011

Creator Of Lisp, John McCarthy, Dead At 84


John McCarthy
The creator of Lisp and arguably the father of modern artificial intelligence, John McCarthy, died the 23rd of October 2011. John McCarthy was born in Boston, Massachusetts on September 4, 1927 to an Irish immigrant father and a Lithuanian Jewish immigrant mother, John Patrick and Ida Glatt McCarthy. The family was forced to move frequently during the Depression, until McCarthy's father found work as an organizer for the Amalgamated Clothing Workers in Los Angeles, California.
McCarthy was reportedly expelled from Caltech for failure to attend physical education courses; he then served in the US Army and was readmitted, receiving a B.S. in Mathematics in 1948. It was at Caltech that he attended a lecture by John Von Neumann that inspired his future endeavors. McCarthy initially continued his studies at Caltech. He received a Ph.D. in Mathematics from Princeton University in 1951 under Solomon Lefschetz. He studied mathematics with the famous John Nash at Princeton and, notably, held the first “computer-chess” match between scientists in the US and the USSR. He transmitted the moves by telegraph.
McCarthy believed AI should be interactive, allowing for a give and take similar to AI simulators like Eliza and, more recently, Siri. His own labs were run in an open, free-wheeling fashion, encouraging exploration and argument. He won the Turing Award from the Association for Computing Machinery in 1972 and the National Medal of Science in 1991. McCarthy believed AI should be interactive, allowing for a give and take similar to AI simulators like Eliza and, more recently, Siri. His own labs were run in an open, free-wheeling fashion, encouraging exploration and argument. He won the Turing Award from the Association for Computing Machinery in 1971, the Kyoto Prize in 1988, the National Medal of Science in 1991, inducted as a Fellow of the Computer History Museum in 1999, Benjamin Franklin Medal in Computer and Cognitive Science from the Franklin Institute in 2003, and Inducted into IEEE Intelligent Systems' AI's Hall of Fame in 2011, for the "significant contributions to the field of AI and intelligent systems".
LISP
LISP stands for List Processing.
In 1958 John McCarthy took a summer position at the IBM Information Research Department. He was hired to create a set of requirements for doing symbolic computation. The first attempt at this was differentiation of algebraic expressions. This initial experiment produced a list of language requirements, most notably was recursion and conditional expressions. At the time, not even FORTRAN (the only high-level language in existence) had these functions.
The following are the significant LISP features:
  • Atoms & Lists - Lisp uses two different types of data structures, atoms and lists.
    • Atoms are similar to identifiers, but can also be numeric constants
    • Lists can be lists of atoms, lists, or any combination of the two
  • Functional Programming Style - all computation is performed by applying functions to arguments. Variable declarations are rarely used.
  • Uniform Representation of Data and Code - example: the list (A B C D)
    • a list of four elements (interpreted as data)
    • is the application of the function named A to the three parameters B, C, and D (interpreted as code)
  • Reliance on Recursion - a strong reliance on recursion has allowed Lisp to be successful in many areas, including Artificial Intelligence.
  • Garbage Collection - Lisp has built-in garbage collection, so programmers do not need to explicitly free dynamically allocated memory.
Lisp totally dominated Artificial Intelligence applications for a quarter of a century, and is still the most widely used language for AI. In addition to its success in AI, Lisp pioneered the process of Functional Programming. Many programming language researchers believe that functional programming is a much better approach to software development, than the use of Imperative Languages (Pascal, C++, etc.).
Below is a short list of the areas where Lisp has been used: 
  • Artificial Intelligence
    1. AI Robots
    2. Computer Games (Craps, Connect-4, Black Jack)
    3. Pattern Recognition
  • Air Defense Systems
  • Implementation of Real-Time, embedded Knowledge-Based Systems
  • List Handling and Processing
  • Tree Traversal (Breath/Depth First Search)
  • Educational Purposes (Functional Style Programming)

Wednesday, October 26, 2011

iPhone 4GS vs Samsung Galaxy S II



iPhone 4GS
Samsung Galaxy S II
Form Factor
115.2 x 58.6 x 9.3mm, 140g
125.3 x 66.1 x 8.49mm, 117g
ü  Both the iPhone 4S and SGS2 are good looking devices with neither a knobble out of place. 
ü  Samsung Galaxy S II that’s both thinner and lighter, longer and wider, so Samsung Galaxy S II is better that iPhone 4S in terms of form factor.
Display
3.5-inch, 960x640px, 326ppi, LCD with IPS
4.27-inch, 800x480px, 218ppi, Super AMOLED Plus
ü  Samsung Galaxy S II has a superior screen to the iPhone 4S, because it’s bigger.
ü  The resolution on the iPhone screen is superb, but put an SGS2 handset next to an Apple phone and the latter just looks a bit too junior.
ü  The iPhone’s screen is good. The Samsung’s is better.
Engine Room
Apple A5
Samsung Exynos 4210
ü  Each contains a dual-core, 1-1.2GHz ARM Cortex-A9 CPU.
ü  Samsung Galaxy S II features the Mali-400 GPU - an impressive piece of kit in its own right. However, the PowerVR SGX543MP2 working the magic in the Apple A5 seems to out-bench the Mali by quite some distance. 
ü  You’ll just get a smoother video and gaming experience with Apple’s handset.
Imaging
8MP rear, 2MP front, 1080p video
8MP rear, 2MP front, 1080p video
ü  Both have image stabilization and face recognition.
ü  Samsung Galaxy S II autofocus tends to hunt around a bit during video capture and that can ruin your clips at times.
ü  iPhone 4S has a better imaging than Samsung Galaxy S II.
Connectivity
3G, GPS, BT 4.0, 4G, Wi-Fi
Wi-Fi, NFC, 4G, BT 3.0, DLNA, free Wi-Fi tethering
ü  Samsung Galaxy S II has a native DLNA functionality through Samsung’s All Share app that’s just more flexible than AirPlay on iOS.
ü  Nothing matches the AirPlay Mirroring on the iPhone 4S where you can witness exactly what’s going on the phone’s screen on a larger TV, and the rest of the AirPlay fun.
ü  AirPlay Mirroring has to take place over Apple TV and that is seriously limiting.
ü  You can tether your Galaxy S II to your laptop over Wi-Fi or USB to your heart's content, so long as your contract can manage the data. With the iPhone, that's very much under lock and key and something that most mobile providers get you to pay extra for.
Battery Life
Up to 8 hours 3G talk time
1650mAh
ü  iPhone 4S battery life is slightly better than Samsung Galaxy S II.
Software
iOS 5 + Siri
Android 2.3 Gingerbread + TouchWiz 4.0
ü   iOS offers more apps and greater ease of use. 
ü  Android tempts with more flexibility and greater customization potential.
ü  Siri personal organization, voice recognition software has been hard wired in to the iPhone 4S.
ü  iOS5 has basically robbed all the best bits of Android and integrated them in to its own UI. 
Storage
16/32/64GB
16/32GB + microSD
ü  The ability to add extra 64 GB storage in Samsung Galaxy S II through the microSD, make it better than the iPhone 4S in terms of Storage.
image

Price
From 199$ From 199.99$