March 26, 2014

#GTC14




I feel extremely fortunate to be given the chance to attend this year’s GPU Technology Conference at the San Jose Convention Center. With the Keynote and Exhibit Pass, I had the privilege of hearing Jen-Hsun Huang (NVIDIA CEO and Co-Founder) speak, discovering upcoming technology, and obtaining one of the coolest handheld consoles today: the NVIDIA Shield. Needless to say, it was a great and surprising experience.

 GTC 2014 HIGHLIGHTS

Jen-Hsun Huang Talk
Source: GPU Conference Homepage
Huang presented the future of Visual Computing with NVIDIA's new GPU called Pascal. Pascal is based on the idea of NVLink, which is a technology that aims to overcome the challenge of bandwidth bottleneck between the GPU, CPU, and PCIe through chip to chip communication. To increase memory bandwidth, the chips are piled on top of one another on a wafer with through silicon vias. On top of this, Huang also claims that Pascal will be more efficient compared to other GPUs as it is able to process more with little energy. As a result, Pascal can produce a more powerful, efficient, and affordable technology that we can use for machine learning programs (that requires enormous amount of data memory) such as the Google Brain, and any sort of Big Data analysis.

Other products that were mentioned were the GeForce GTX Titan Z graphics card, which attracts many design artists and machine learning program developers with its ability to portray lifelike simulation through graphics. The IRAY VCA was also mentioned, which according to Huang, is "the world's first scalable GPU rendering appliance". The NVIDIA Grid (a GPU in the cloud) also had an honorable mention along with the Tegra K1 (a mobile super chip).

Overall, the talk inspired as I continued to discover continuous cutting edge technology that keeps us all moving forward.



Oculus Rift Demo
As quoted from the company,  
"Oculus Rift is a new virtual reality headset that lets players step inside their favorite games and virtual worlds."
Source: www.extremetech.com
After waiting in a short line, players are given the partially sanitized headsets to wear along with headphones to muffle the outside noise and an Xbox 360 controller. A small camera was also set across the seat to detect movements and register the appropriate location of the room view within the game. The demo we experienced was a 2 player sword fighting game. Though the game was quite simple, the fact that our characters could move around the whole room to fight and that the 2 players were also shown virtually as 2 humans sitting on the couch controlling the sword fighters was extremely fun. We moved our heads around to explore the room, and the characters were able to move there as well. It was a fun experience overall. With their exciting vision in mind, Oculus VR definitely would have gained many support from others, without needing to join other companies.



 NVIDIA Shield
I had to wait until the NVIDIA Shield box was in my hands to actually believe that everyone on Tuesday's Conference would be getting their own. Mr. Huang mentioned the statement so casually at the closing of his talk that we had to ask a couple of others who attended the keynote if they had heard the same thing. It's funny because even the GTC workers had to double check and let us know if we were all eligible. It was a generous promotion to giveaway possibly over 500 NVIDIA Shields to the attendees. And I'm sure we're all glad to be able to provide our own opinions about it and experience it with the memory of obtaining it for free.

Source: NVIDIA Shield Homepage
I only had a little amount of time spent with my NVIDIA Shield, but I am planning on writing my observations about it after a couple of months. I don't claim to have any expertise on handheld game  consoles, nor anything relating hardware, but I am impressed at the many features that it offers.
  1. It runs on Android, so you can import many of your favorite apps in the console
  2. It contains a 5-inch touch screen with 1280x720 pixel resolution that makes typing easy when browsing the internet, or easily access apps shown on the screen
  3. Its integrated stereo speakers has the ability to play loud music from Pandora and YouTube
  4. It has a long battery life. I'd say I spent about 20% or less of the battery within 3.5-4 hours
  5. It's comfortable to hold (as it is identical to an Xbox 360 controller)
  6. It contains a slot for your microSD card to store your games in, as well as a 3.5 mm audio jack, and Mini-HDMI port.
Visit Shield's official website for more information on Shield's specifications and features.


Other Perks
Attending and spending money on this event is well worth your money. Though going with a friend  increases the fun of the conference, going stag can be just as fun as you get the chance to meet others who share the same interest as you do. The registration process was quite easy and the event overall was organized. On top of that, you get a free and fulfilling lunch, drinks, and candies. And who knows? You might also be given an extravagant gift.


1. GPU Technology Conference    http://www.gputechconf.com/page/home.html
2. Shield Specifications and Features    http://shield.nvidia.com/specs-and-features/
3. Oculus Rift    http://www.oculusvr.com/

January 15, 2014

Computer Animation


I had a lot of time to kill during break; so naturally, I spent many days watching recent movies that I haven't had the chance to watch previously. One of the movies that I ended up obsessing about are The Hobbit series. What can I say? I love my fantasy films!

THE HOBBIT
The Hobbit: An Unexpected Journey and The Hobbit: The Desolation of Smaug (both directed by Peter Jackson) follows the journey of Gandalf the Grey (Ian McKellen), a young Bilbo Baggins (Martin Freeman), and 13 dwarves who wish to reclaim their homeland--Erebor--from Smaug (a powerful and greedy dragon voiced by Benedict Cumberbatch).









RIVENDELL
Aside from the great storyline and characters, this movie also demonstrated excellent computer graphics and animation.This video explains the transformation of Rivendell by turning green screen into a "serene and beautiful" location. It also shows the union of the landscape, walkways, set props, and actors to create harmony between them all. To show the change of time, the lighting on the locations were slightly changed.



GOLLUM AND SMAUG
The Lord of the Rings (including the Hobbit series) would not be complete without the presence of Gollum, of course. Gollum was improved from the previous Lord of the Rings trilogy by adding further details on facial expressions (with the talent of Andy Serkis), skin texture and dirt on his body. This video explains more details in the making of Gollum, where they also mention that given 48 frames per second, the animators were able to precisely portray subtle emotions performed by Serkis. To further praise the animators' work on Gollum, I can honestly say that Gollum's facial expressions really moved me during his encounter and search for Bilbo Baggins in The Hobbit: An Unexpected Journey.
If you can't resist that adorable smile, you can watch this Youtube clip between Bilbo Baggins and Gollum.

The infamous dragon, Smaug, who destroyed Erebor was another  fully animated character in the Hobbit series.

 Computer Graphics and animations are continuing to improve and create lifelike simulations in movies and other artwork around us. I am looking forward for the continuous development of the software and hardware to enable these great visualizations.

1. Smaug Information -- http://lotr.wikia.com/wiki/Smaug
2. Making of The Hobbit Videos  -- http://www.cgmeetup.net/home/making-of-the-hobbit-creating-rivendell/
3. The Hobbit Comparison Images -- http://www.cgmeetup.net/home/making-of-the-hobbit-creating-rivendell/
4. The Hobbit Movie Poster -- http://www.theglimpse.com/wp-content/uploads/2013/07/the-hobbit-1.jpg
5. Frozen Movie Poster --  http://enmnetwork.com/wp-content/uploads/2013/11/Disney-Frozen.jpg
6. Gollum Image -- http://www.flicksandbits.com/wp-content/uploads/2012/09/andy-serkis-gollum-the-hobbit-an-unexpected-journey-movie.jpg

December 18, 2013

Computer Graphics



What is it about gaming and display resolution? Aren't there other things to worry about, such as plot or musical scores? Well, no. There are many things that compose the artistic vision of a video game.

The greater the quality is for a video game, the more we see the creator's vision, and the greater the experience is when playing the game. Higher resolution in gaming enhances the gamer's experience as the characters are brought to life. he gamers enters a new world of aesthetically pleasing artwork. Some companies try to challenge themselves by also creating 3D qualities in games and movies.

Each image is composed of pixels. The higher the resolution is for an image, the more memory it requires. This explains why we usually shrink images or crop images in order to have a small enough memory to be submitted somewhere.

The benefits of higher resolution does not only affect gaming, but anything involving a computer screen or television. Watching movies is also a lot pleasing with higher quality when everything looks real.

Sources:
1. Mario Image: http://images.wikia.com/uncyclopedia/images/f/fa/Evolution_of_Mario.png

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

October 25, 2013

Hacking



    I’ll be honest. Hacking sounds like a very fascinating method to figure out anything about software or how a program works. That’s how most of the early programs or systems were discovered—through hacking and reverse engineering. 


     Unfortunately, there have been many unethical uses of hacking lately that negatively affects the society. Such hacks include malicious websites or programs that obtain information about the user and either use that information or pass it on to other parties. From a topic I've written few posts ago (Social Networking and Security), some ways of hacking into other peoples’ accounts are through malicious websites, suspicious email and attachments, (and, according to another blogger, Mahesh) keylogging (where every stroke of the keyboard is recorded), Remote Administration Tool (where the hacker can see what you’re doing on your computer), and Trojan Horses (where you download malicious software).

     Hacking is considered unethical when it starts to violate normal users’ privacy rights. The hacker is taking advantage of many people who lack the knowledge or skill of defending themselves. 

     On the other hand, hacking sounds like it can be fun too, so I don’t believe that its practice should be completely discontinued.  There are many ethical (or acceptable) ways for hackers to use their skills.

     In high school, a software programmer from a renown company visited our school to present and explain about his job. He started off by mentioning that he was hired because he hacked the company’s program. Back then, I automatically assumed that he would be charged for hacking such a big company. But then I understood the company’s point of view. They wanted to use this programmer to figure out holes in their system and to improve their products. This can be especially useful if their hired hacker is able to find the flaws before other malicious hackers could damage their systems. 

     In the show Criminal Minds by Jeff Davis, Penelope Garcia (played by Kristen Vangsness) plays a Technical Analyst who also hacks into many criminals’ computers or phones to help figure out clues for cases. The show’s slogan is “To catch a criminal, you have to think like one” which perfectly describes how ethical uses of hacking can be perceived (IMDB). Although she works for the FBI, her hacking skills are still considered acceptable because it is done so to stop a criminal for doing any further damages or harm to other people.

     With that said, another worthy use for hacking is to hack malicious websites in order to stop them from obtaining any more personal information. Doing so clearly shows that you have positive intentions and that you’re trying to stop a person or group from continuing their practice.

     In short, if you are smart enough to hack a system or program, you’re smart enough to determine what is right or wrong. Your skills as a hacker can be used positively and help many programs and other users, rather than using it against them. 

1. Hacking picture: http://pokerknave.com/files/2012/09/Geek-Hacking.jpg

October 11, 2013

Open Source



Our pride may make us deny it, but at the end of the day, we can all agree that getting free things can be pretty exciting. When we discover that an alternative exists for a software that would otherwise cost a great deal, we would all likely move on to that product. Open source software allows users to download such alternatives and provide accessibility to everyone. According to Open Source Initiative, open source is a software that provides free redistribution of their source code for everyone that also allows others to modify it.

This leads you to wonder why open source is provided for free (or very little cost). If so many other companies charge for their software, then why would developers create something available for free? What do they gain from it? Simon Phipps explains his perception of open source in his blog:

"One side of the glass it's all about participating in a community of code, innovating, contributing and other developer issues. The other side of the glass it's all about value-for-money, freedom of choice of supplier, low exit costs and other business issues. "

It's satisfying to know that developers are not merely creating products for the sake of profiting from it financially, but to create a program that would benefit society, as well as to innovate as a team with a variety of people.

With that said, it's also important to know the advantages and disadvantages of open source software. For many articles (such as CloudTweaks, CIO Insight, and NCVO) the same arguments can be found:

ADVANTAGES:
1. The software is free or very little cost.

2. Users have the ability to fix bugs right away (a process known as  continuous, real-time improvement) rather than waiting for the next release of the software.

3. Users and companies are free from licensing issues, which enables them to do tasks without limitations.

4. The software is customizable which can be used to your benefit.
DISADVANTAGES:
 1. The software not always be user friendly and might take a few days to get used to the software.

2. There may be confusion on what is considered a new version due to the real-time updates.

3. There may be even more confusion on the source code itself from lack of comments from other developers.

4. The software may abruptly stop providing service (if the developers decide to terminate it).

Overall, the main intent of open source software is to provide accessibility to all users. Though the software may not always be perfect,  they still provide a functional and great alternative to other products of higher cost.

Below are some open source that may be useful to many:



Eclipse is an Integrated Development Environment (IDE) that is commonly used to write and compile computer languages. This is a perfect example of a disadvantage of an open source because although it is a great software for developments, errors after installation can occur which disables the user from using the product smoothly or right away.





Notepad++ is a great text editor to use for situations such as Web Programming. It is basically a more convenient Notepad with easy formatting for coding and more.











GIMP is also another great alternative for Photoshop. Everyone wants to be able to modify images and GIMP provides the same functionality as Photoshop.









If you're interested in protecting your files on your computer, TrueCrypt has the ability to do such task for you. TrueCrypt enables you to create passwords for your files in order to access it. This may be useful for many, but it also requires some time to fully get used to the program.
















1. Open Source First Image: http://openmanufacturing.net/open_source_manufacturing_2.png
2. Open Source Initiative: http://opensource.org/osd-annotated
3. CloudTweaks: http://www.cloudtweaks.com/2012/08/advantages-and-disadvantages-of-open-source/
4. CIO Insight: http://www.cioinsight.com/it-strategy/linux-open-source/slideshows/five-pros-and-five-cons-of-open-source-software/
5. NCVO: http://www.ncvo-vol.org.uk/advice-support/ict/managing-ict/open-source-continued
6. Eclipse: http://www.eclipse.org/org/ 
7. Notepad++: http://notepad-plus-plus.org/
8. GIMP: http://www.gimp.org/
9 TrueCrypt:http://www.truecrypt.org/

October 4, 2013

Wikipedia


Fun Fact: The root word wiki is defined to be a website in which users may collaborate and edit the page contents.

A popular "wiki" that many have used on the internet is Wikipedia. As defined, Wikipedia is an encyclopedia that enables the collaboration of all users (with an account) for the page material. Fortunately, Wikipedia doesn't discriminate on the topic exposures. They are widely used for almost every subject you can think of. The image below is a pie chart of Wikipedia's contents, taken from the website itself.


I find Wikipedia to be quite helpful. One of my main use for it lately is to search for algorithm explanations for my Computer Science class. Take, for example, this merge sort algorithm page. In addition to the merge sort's history and explanations of implementations, Wikipedia editors also included an animation of its process, which coordinates with the pseudocode explained in my textbook. As a strong visual learner, the animation enhances my comprehension of the material.
Granted, the publicly edited encyclopedia will have consequences. Since Wikipedia can be easily edited by those with a Wikipedia account, misinformation or conflicting opinions about a topic may arise. PCWorld.com has an entertaining list of top 10 Edit Battles that have occurred in Wikipedia due to the different information received. Such "battles" ranged from Nikola Tesla's nationality to the Star Wars Death Star facts to basketball player, Yao Ming's, height. Other edits may also contain completely inaccurate facts such as a celebrity dying.

Due to the flaw mentioned above, teachers often warn students of using Wikipedia as research source. However, Wikipedia may still contribute to the understanding of the overall idea of the research topic. And through Wikipedia, the resource page that is referenced on a section can be found at the bottom of the page (and students may then use the latter as a resource and validate its credibility on their own).

Overall, Wikipedia can be a great website to educate oneself about cultures and educational topics. But because it is a publicly edited website, it is always important to research the related topic elsewhere for cinsistency, since you could be given false information about a topic. It is also important to note that just because a website contains the word "wiki", it does not mean that it is related to Wikipedia. "WikiLeaks" for example is actually not at all affiliated with Wikipedia (Wikipedia vs Wikileaks article here), and WikiHow is also questionable. As mentioned above, the root wiki is an application that may be edited by anyone, and must therefore be used at your own discretion. Nevertheless, it can never hurt to entertain yourself with random Wikipedia trivial pages.

1. Wikipedia logo: http://www.wikipedia.org/
2. "Wiki" definition: http://dictionary.reference.com/browse/wiki?s=t
3. Wikipedia Pie Chart:
http://en.wikipedia.org/wiki/File:Wikipedia_content_by_subject.png
4. Merge Sort gif: http://en.wikipedia.org/wiki/Merge_sort
5. 10 Edit Battles: http://www.pcworld.com/article/236486/wild_wars_of_wikipedia.html
6. WikiLeaks and Wikipedia: http://www.diffen.com/difference/WikiLeaks_vs_Wikipedia