November 22, 2013

Artificial Intelligence


Asimo by Honda is a robot containing human knowledge and function. Asimo can respond to human requests, walk, run, go up and down the stairs, bring you drinks, and much more. More details on Asimo's functions and composition can be found here, from the official Asimo webpage.

Creating Artificial Intelligence requires a lot of analysis to the surrounding world. Simple tasks such as walking and running come easily to humans but requires many years of research and work for Engineers and Scientists to implicate on robots. As mentioned in this Youtube video, providing the ability to go up and down the stairs with perfect balance for Asimo took approximately 20 years of work. Without a doubt, having the determination and patience to create such product is a great advancement in technology. Humankind is already so complex for humans to fully understand, never mind transferring human-like skills and characteristics to robots.

Highly advanced AI generates suspicion for many humans for fear of being replaced. I confess to have such fear and fascination simultaneously. As shown in Hollywood movies (such as I, Robot by Alex Proyas), the intellectual robots could cultivate a mind of its own and turn against humankind. Ethics of AI are growing, questioning the morality of providing superintelligence to machines and where to draw the line.

But with the fear aside,  AI such as Asimo can also provide great advantages for humans. Asimo was designed to "reach for things, pick things up, [and] navigate along floors" (Asimo homepage) to help many families or differently-abled people at home. This can enable the families to focus on more important work rather than struggling to do simple tasks. Moreover, advantages of AI in the medical field seems to be accepted for the ability to provide "fast and accurate diagnosis...reduce errors related to human fatigue" and precision on surgery to name a few.

Technology is constantly changing, and fully advanced AI may take many more years to develop. Though its research and function may be continuously questioned, the advantages of their use at home and in the medical field may not be ignored.





Sources:
1. Asimo Image: http://www.stevesideas.net/blog/wp-content/uploads/2010/02/asimo_v2.jpg
2. Asimo Main website: http://asimo.honda.com/
3. Asimo Functions: http://asimo.honda.com/Inside-ASIMO/
4. Asimo Youtube Demo: http://www.youtube.com/watch?v=rYbYP72dwYA 
5. I, Robot: http://www.imdb.com/title/tt0343818/?ref_=fn_al_tt_1 
6. AI in Medical Field: http://www.healthcentral.com/depression/cf/slideshows/8-ways-artificial-intelligence-is-affecting-the-medical-field#slide=4

November 17, 2013

History of Computer Science: Computer Languages



In order to continue developing ideas in Computer Science, programmers must first learn a computer language. More and more programming languages are developing recently. And although many are developed in different environments, they are mostly derived from the first few developed languages. The only difference is, much like data structures, different language are more fitting for different tasks.

In the Computer History Museum, the first big machine that is shown are the punch card machines, which punches a hole  or not on a certain spot of a paper to indicate whether a ticket was used that day or time or not. Computers consider 2 values as machine code (seen as 0s and 1s), but they can also be considered as Boolean values (where 1 indicates true, and 0 indicates false.)

However, the first high level programming language actually started with Fortran (FORmula TRANslation). Fortran was invented by John Backus in the 1950s for IBM. This programming language is best used for numerical computing. Fortran code is typed on a text editor and then compiled by a Fortran compiler. Fortran is case insensitive, and its compiler will also show where compiler errors occur in the program.

Shortly after, COBOL (COmmon Business-Oriented Language) was created by Grace Hopper. This language focused on dealing with data in the business world and finance (and even credit cards). COBOL was easier to read because it was English based. Because of this other languages were developed so that it can be easily understood by the programmers.

After COBOL, Basic, C, and Pascal were created. Based on my current knowledge, C seems to be a
language that most languages are based on. C programming was created by Dennis M. Ritchie. C is a great system language due to its ability to control memory (by allocating and reallocating). Later developed languages that are derived from C are C++, Java (used for GUI), Javascript (client-side language), PHP (server-side language), Perl (used for handling data), and many more.

There are many more programming languages that are not listed here. However, this site mentions the major/popular computer languages that developed overtime.

Programming languages continue to develop over the years even until now. And that's what being a Computer Scientist is about: To continue progressing over time in order to keep computations easier and more conventional for the rest of the world. We continue to figure out what works and what doesn't based on previous experience, yet we still strive to discover more.


1. http://www.computerhistory.org/
2. Fortran http://inventors.about.com/od/computersoftware/a/Fortran.htm
3. Fortrans notes http://www.math.hawaii.edu/~hile/fortran/fort1.htm
4. C Programming http://cm.bell-labs.com/who/dmr/chist.html
5. C Derived Language http://en.wikipedia.org/wiki/List_of_C-based_programming_languages + Class Lectures.

November 8, 2013

File Sharing



 File sharing has not only made working between home and school much easier for me, but it also provided group work much more convenient and accessible.

With the use of Dropbox and Google Drive, I am able to access important files such as programming homework or other assignments no matter where I go, without having to worry about losing or forgetting my USB stick. It allows me to be more efficient with my work as I work on my assignments from home to school without having to start over, or wrecing my brain trying to remember what I had already written.

Google Drive provides the option of sharing folders and files to a selected group. This provided convenience for my group as we all divided work and accomplished individual tasks on our own time and provide the work without having to meet every single day.

My teacher once gave a brief history of how the World Wide Web was created. He mentioned that people wanted to share information easily and quickly with one another, and the internet would provide such task for them. That's what it is really all about: to provide accessibility and portability for everyone. With Google Drive, Dropbox, and many other file sharing providers, efficiency in work can be achieved, due to the portability that we are all given.

November 1, 2013

Data Structures

Data structures are what makes computer programming very useful and convenient everywhere. One of the main uses of computers is to stores an abundant amount of data with little space. Those data may be for a company that stores and retrieves personal information for their customers, in which organization of data storage is important to optimize your search time. Different data structures enable different advantages and disadvantages depending on the type of data we want to store and retrieve.

However, one of my recent favorite data structures are graphs. Graphs as data structures contain vertices and edges (with weights). With graphs, we can create a minimum spanning tree, which we can then use for maps and finding the shortest distance from a source to a destination.

From the figure below , each point are regarded as the vertices, and the edges contain weights (the numbers). As a map, the corners can be considered as main streets or freeways, and the edges can be considered as the distances in between.

Two algorithms that are commonly used are Kruskal's algorithm and Prim's algorithm. Both aim for the same objective of finding the least distance from a source to a destination, but in 2 different ways.

KRUSKAL'S ALGORITHM focuses on the weights of the edges (in increasing order) and merges the disconnected vertices. If the vertices are already connected to one another, then it moves on to the next undiscovered edge.

Click here to see a step by step example of Kruskal's algorithm.
Here is also a youtube video that shows an example of  this algorithm. Start the playtime at 0:35.

PRIM'S ALGORITHM takes a vertex, and considers all of its adjacent vertices and choose the path of the smallest weight. To do this, the vertices are kept in a priority queue in which the priority is to find the smallest weight available and to keep adding vertices on the list as they are discovered.

Click here to see a step by step example of Prim's algorithm.
Here is also a youtube video that shows an example of  this algorithm. Start the playtime at 0:35.


In short, graphs can be pretty interesting. Not only are they used for finding the shortest distance from one place to another, but they are also used in telecommunications, computer networks, and many more (according to the Wikipedia list of applications for minimum spanning trees)

1. Minimum Spanning Tree Diagram http://en.wikipedia.org/wiki/Minimum_spanning_tree