Mobile Computing

Many have predicted the fall of the PC in favor of large-scale mobile computing with smartphones and tablets. Most people don’t need the power of a high-end laptop or desktop computer to check email and play Facebook games. Indeed, most services are now provided over the Internet, with low client computational requirements. However, we may see an abrupt reversal in this trend.

There are two factors at play that could radically change the direction of the computing market. First, some experts are now predicting doom and gloom for the “free Internet”. The post-Snowden Internet is very likely going to fragment along national lines, with each country creating its own insulated network over security concerns. Not only does this mean the US will lose its disproportionate share of Internet business (and US tech companies will see significant declines in overseas sales), but it also means the era of cloud services may be coming to a premature close. As users see the extent of NSA data mining, they may become less willing to keep all of their data with a potentially unsecured third-party. If users wish to start doing more computing offline – or at least locally – in the name of security, then desktop computers and high-power tablets may see a boost in sales.

Second, the gulf between “PCs” and “tablets” is rapidly closing; the agony over PC-mobile market shifts will soon be moot. Seeing a dip in traditional PC sales, many manufacturers have branched out, and are now creating a range of hybrid devices. These are often large tabletop-scale tablets to replace desktops, or tablets like the Surface Pro to replace laptops. I suspect the PC market will fragment, with a majority of sales going towards these PC-mobile hybrids, and a smaller percentage going towards specialty desktops for high-power gaming and industry work (think CAD and coding).

I doubt desktop computers will disappear. In 10 years, the average household might have a large tablet set in a holder on a desk and connected to a mouse and keyboard, or laid flat on a coffee table. It would be used for playing intensive computer games, or the entire family could gather round and watch videos. In addition to this big tablet-computer, each person would have one or two “mobile” devices: a smallish smartphone, and a medium tablet with a keyboard attachment that could turn it into laptop-mode. Some people may opt for a large-screen phone and forgo the tablet.

It’s hard to tell whether or not the revelations about national spying will significantly impact the civilian net (the same goes for the fall of net neutrality). On the one hand, people are concerned about the security of their data. However, being able to access data from any device without physically carrying it around has proved to be a massive game-changer for business and society in general. We may be past the point-of-no-return when it comes to adopting a cloud computing framework. On the whole, transitioning from a dichotomy between “mobile devices” and “computers” to a spectrum of portability seems to be a very good thing.

Advertisements

Javascript

Honestly I’m not sure who thought it was good idea to make this language. I’ll admit its better than PHP, and I understand that some people actually enjoy using it. For instance, there is a web server written completely in JavaScript (hence my comparison to PHP). This boggles my mind.

My main issue with it is that there are no high level features built inherently into the language. For instance, there isn’t even an agreed upon method for importing other JavaScript files. Inheritance? Going to do some pretty messy hacks in order to get something that acts like an inheriting class structure. How about maps (aka dictionaries)? Objects and maps are the same thing. Arrays are basically just hash-maps for non-negative integers.

I suppose it’s about interesting exercise in thinking. Treating every structure (including classes and functions) as variables had its upsides. Ultimately, though, you have to use it whether you like it or not. There’s no substitute for the client-side functionality it provides. CSS can only go so far. When you start looking at something like AJAX, it makes you cry simultaneously at the pain of working with it and in joy for all the opportunity it provides.

The reason I have been thinking about and working with JavaScript (although only dabbling, of course) is that I’ve been taking another course at Udacity. This one is on game development in HTML5. Before this course, I really had no idea what HTML5 was. I had heard it mentioned, but then it all blew over. HTML5 is, to the best of my understanding, a standard that introduces some new HTML elements and JavaScript standards that lets developers manipulate pages in more creative ways.

For closing thoughts, I’ll leave you with this hilarious “talk”:

Programming Paradigms

Computer science is a relatively young field, and it has rapidly evolved ever since its inception. This becomes increasingly evident when you look at computer science being taught versus computer science being used. This is extremely apparent in the misnomer: computer science. CS is more technical art than science.

For a long time, computers had finite computational resources and memory. Today, our average consumer-grade computer is comparable to a super computer from 1985. Thusly, the twenty first century requires programming paradigms far different from those taught in the twentieth century. It no longer pays off to optimize the number of calculations or amount of memory your program uses, unless you are specifically performing mathematically intensive operations. This blog voices that sentiment much better than I can.

So programming now is about implementing an idea. Its easy to rise above the technical nitty gritty details and focus on the concept at hand. Then programming becomes a form of poetry, in which you express your ideas in a structured and rhythmic way. Programming, at a consumer level, is no longer about getting a machine to do what you want; its about empowering people.

Just like a poet spends many hours revising their verses and getting the words to say exactly what is meant, a programmer spends hours rearranging and improving code to fulfill their idea effectively. And like poetry, there are many genres and styles of programming. Unfortunately, programming is also like poetry in the way that many students get turned off to it by the experiences they have with it in school.

Programming should be taught with the main objective in mind: we are here to accomplish a mission. Writing mechanics are practiced and improved, but without an idea behind a poem or story, it is pointless. Algorithms are important, and so is project design and planning. But these are merely implements with which to express the programmer’s idea.

This is why the most successful software is easy to use, is powerful, or grants people an ability they didn’t have before. When you use a program, it doesn’t matter whether all the variables are global, whether the project was built top-down or bottom-up. The functional differences of some of the most disputed methods are miniscule. Optimization is a trivial concern when compared with the user interface. Is the parse speed of one file format more important than the support of a larger number of formats?

Kids want to be programmers because of coding heroes like Notch, the creator of Minecraft. But Minecraft isn’t well-designed. In fact, the program is a piece of crap that can barely run on a laptop from 5 years ago despite its simplicity. But the idea is gold, and that is what people notice. This is why Minecraft and Bioshock, and not COD, inspire people to be game developers.

However, functional programming is the CS taught in schools. Schools need to teach the art of computer science, not only the science. Imagine if writing was only taught, even up through college, in the scope of writing paragraphs. Essays and papers would just be a string of non sequiturs (kind of like this blog). Fiction would have no comprehensible story, only a series of finely crafted paragraphs. Only those who figured out the basic structures of plot, perhaps by reading books by others who had done the same, would learn to write meaningful stories.

In the future, everyone will be a programmer to some degree. At some point data will become so complex that to even manipulate information people will need to be able to interface with data processors through some sort of technical language in order to describe what they want. To survive in a digital world you either need software to help you interface with it, or learn the language of the realm.

Yet children are being driven off in droves because computers are being approached in education from completely the wrong angle. Computers are tool we use to accomplish tasks; the use of computers should not be taught just because “people need to be able to use computers in order to survive in the modern world”, but because children will be able to implement their ideas and carry out tasks much easier if they do have an expanded skillset on the computer. Computer skills should be taught in the form of “how would you go about doing X? Ok, what if I told you there was a much easier way?”

Unity and tjSTAR

Here is a soundtrack for this post:

Everybody should use Spotify. It’s like magic, but real.

So I wanted to talk about Unity. For those who don’t know, Unity is a game engine. But it’s way for than that. The best way to describe is an IDE for game development, similar to UDK. Every part of the development cycle (aside from asset creation) can be done within the program, from placing assets to creating game object behavior to playtesting. The engine also has built in support for pretty much anything you would want to do. Behavior is described through scripts, which can be written in JavaScript, C#, or Boo (which seems to be a Python/C# hybrid). Assets can be imported from almost any file format, without external conversion. For instance, any 3D file format that can convert to FBX works, and image formats from PSD to PICT. Unity constantly checks for asset changes and updates them in realtime.

A good analogy involves programming languages. UDK is like Java, while Unity is Python; Source is C++. You don’t really understand how much annoying background work you are doing with Source until you start using Unity. However, unlike Python, Unity has an enormous learning curve. This comes from its being extremely powerful. I’ve only just started working with it (a few days) and I can see that there is a huge amount of potential. I also still have no idea how to most of anything.

The event that sparked interest in Unity was tjSTAR, an annual symposium held by my highschool. In addition to Design Challenge events and student presentations, there are also panels and professional talks. I attended 5 talks, all of which were fairly interesting.

Game Design and Development as an Academic Path and an Industry
This presentation is an in-depth look into majoring in game design in college, what universities offer the best programs, and how to get in; accompanied by an overview of the game industry and the careers it offers.

Mr. Danny Kim
Student
University of Southern California School of Cinematic Arts, Interactive Media Division

This was the presentation that got me interested in Unity. Of course, I had seen it before, such as at SAAST(the computer graphics course, specifically) when we looked at projects the undergraduate students had been doing, they used Unity for the most part. Danny Kim (a TJ alumni himself) also talked about how TJ is a great source of talent, both due to the large number of talented programmers, but also the great writers and artists. Any interested reader should check out his blog, See Play Live.

Big Data: What Is It and How to Cope With It
With the digital world enveloping our lives through mobile devices, digital home appliances, digital sensors and controllers, and video, data growth is expected to be massive in the coming years pushing into peta and zetabytes. Of this data, only 5%-20% will be structured. Find out how is the technology world is preparing to cope with this onslaught.

Ms. Rumy Sen
President & CEO
Entigence Corporation

This talk was about processing large amounts of data, especially sampled from online sources and social media. The objective is to analyze the whole of customer feedback across the Internet rather than from small testing sessions performed by marketing and consultant companies. However, this requires entirely new structures for storing and processing the data into a usable form. She talked about Hadoop and other forms of managing unstructured data that differed from conventional database methods, as well as processing methods such as massively parallel processor arrays.

Computer Vision: Challenges and Applications
Computer vision is the art of teaching computers to see and to understand what is in images and videos. The presentation will discuss some of the key challenges, and show practical applications.
Dr. Peter Venetianer
Director, Commercial Science Development
ObjectVideo

Computer vision is obviously interesting. The big brother of computer graphics (the two are inverse problems), it has stumped researchers for decades. The first professor to attempt the problem was sure that a summer with a lab of grad students would solve it fine. Now, 50 years later, we are starting to make some headway. Dr. Venetianer discussed some of the methods for separating critical objects from a noisy environment. Spotting movement from a fixed viewpoint is fairly easy. If you have three consecutive frames, spotting moving objects is simple using the three-frame method (it involves comparing differences). However, identifying the objects is much harder. If you know what to look for, the problem simplifies somewhat, but there are still numerous exceptions. A car is usually wider than it is tall, except when it is coming towards or moving away from the camera. A person is usually taller than they are wide, but a group of people is more likely to match the profile of a car.

Spacecraft Guidance, Navigation and Control
Guidance, navigation, and control (GN&C) is a specialty area in Aerospace Engineering that involves determination of how a vehicle gets to its target, knows where it is, and maintains its position or trajectory. These concepts and related technologies will be highlighted for spacecraft application. Some of the projects involving GN&C at Emergent Space Technologies will be summarized.

For more information, visit http://emergentspace.com/.
Dr. Sun Hur-Diaz
Vice President
Emergent Space Technologies, Inc.

Until you think about it, determining where you are in space might seem trivial. But because hardware never reacts perfectly, a spacecraft needs to constantly be checking its position and orientation. But you need a variety of instruments, such as sextants and telescopes, to determine orientation. To find your location in orbit you need at least four GPS satellites. Finding which orbit you want to go into requires some physics simulations, as well as constant corrections to maintain it. In fact, finding an orbit to optimize fuel usage and time for a set of destinations is a huge field.

Millimeter Scale Robotics Research and Development at the MITRE Corporation
As we continue to look for ways to keep soldiers and first responders out of harm’s way, the capabilities of robotic systems improve and demand for them increases. While large robots have been used extensively, the development of smaller robots opens up a range of additional potential applications, such as accessing confined areas for search and rescue or surveillance purposes. To address this emerging need, MITRE’s Nanosystems Group has been developing rugged, low-cost robots, designed to be carried in a pocket. They can be operated from a mobile phone and reconfigured in the field to quickly adapt to specific missions.
Ms. Jessica Rajkowski
Systems Engineer, Sr
The MITRE Corporation

I don’t know if I mentioned this before, but I am working at MITRE this summer, albeit in a different division. The talk was still fascinating. Some of it was about developing micro-scale “robots” using interesting properties of polymers and metals. The speaker also discussed MITRE’s development of a hand-sized field robot designed to be low-cost, low-maintenance, durable, and easy to control. Obviously this would normally violate the rule of “cost, speed, quality; pick two”. To some degree it was speed that was sacrificed. It took years to develop the robot, but at its current stage it is pretty amazing. Another subject of the talk was the speaker’s project to set up a consistent test for testing whether a producer’s robot was up to MITRE standards.

I’ve also continued to use Google AppEngine and I’m working on a forum, seen here.

%d bloggers like this: