Category: science

Cloud Computing – The influence of nature in computer games

It’s been an extremely rainy weekend. Apparently in Sweden, people have been advised to stay indoors, due to the high velocity winds and torrential flooding that can occur in these conditions. Here in southern Finland, we experienced relatively mild weather, yet still more rain in one day than has been received in the last few months. The European athletic championships begin this week, and a lot of youth groups are being sponsored to take part in a variety of small competitions. When the rain calmed down, and the sun began to break through the clouds, this sudden burst of athletic inspiration drove me to go for a walk.

Notice how the clouds are layered, creating a three-dimensional perception of depth

You notice a lot of things when you walk in the aftermath of a storm. The most particular thing that caught my attention was the clouds. Not their shape, or their size, nor their names that we should all remember from high school geography, yet don’t. But the speed they were travelling at. Or more particularly, the apparent difference in speed between various clouds. I say apparent, because in reality, the clouds could have been moving at the same speed. Yet due to differences in distance, the eye perceives the closer clouds to be moving faster, and the further clouds to be moving more slowly.

The clouds appeared to be structured as a three-dimensional layer. Immediately I was reminded of the 1980’s and early 1990’s era of parallax scrolling, or as I like to call it, the original cloud computing. I will not get into a technical description of parallax scrolling, simply because there is not one method of achieving its effect; differences between computer system architecture in the 1980’s meant that even the same game being ported to two different systems may have required a change in coding simply to apply the parallax scrolling. However, the general idea is that two-dimensional game can look three-dimensional simply by having the background move at a different speed than the foreground. Take Super Mario Brothers for example. The original game (8-bit, NES) did not have parallax scrolling. If you watch the game in action, notice how the clouds in the background simply move back or forward at the same speed as the foreground. There is no perception of depth, and so simply a two-dimensional experience.

Now take a look at Super Mario World, released on the SNES (16-bit). Even in the opening sequence, you can immediately see the difference. Although still a two-dimensional game, the background features such as the clouds are moving at a slower speed than the foreground objects. This parallax scrolling now gives the world of Mario a three-dimensional twist.

This effect has been used in a countless number of games (as well as in television animations since the 1940’s). From the humble beginnings in a game called Moon Patrol (1982), to famous 16-bit era games such as the Sonic series. In fact, even today, this technique is being used, albeit more often on websites rather than in games. Take a look at this New Zealand tourism website, using parallax scrolling to achieve a 3D illusion http://www.newzealand.com/us/.

From my example of the clouds, it is obvious that parallax scrolling exists in nature, and as clouds are one of the more common background images used in games in a parallax capacity, I think it is safe to assume that the natural 3D formations of cloud layers have been an influence on the development of three-dimensional game programming techniques.

“Dark Forest”, the most memorable level in a game from my childhood

There are many examples throughout gaming history that highlight the importance of nature; how it can be used as a technique to create atmospheric environments for the gamer to manipulate. I remember distinctly a game I used to play when I was a child. It was released on a variety of platforms, the definitive version perhaps being on the Acorn Archimedes. In Twinworld, you play the role of a  young man travelling on an adventure through a variety of lands, growing older, and fighting monsters on the way. All in all, a standard adventure game (if you read my previous article on interactive fiction, you will know where adventure games originated!), with a few interesting perks. One of these was the atmosphere. Unlike many other platformer games of this era, such as the Mario series, Twinworld was set in a fantasy but realistic world. There were no random floating boxes, no pipes to jump down, no unexplainable moving platforms. Instead, there were caves, trees, wild birds from the trees who would attack you. It was the nature in this game that makes it memorable for me. Any time I enter a forest today, I am reminded of the years I spent exploring the “dark forest” in Twinworld.

The huge achievements in graphical technology in the last few years has resulted in a lot of visually spectacular games. One prime example would be the latest in the Elder Scrolls series, Skyrim. As with the previous games in this series, there are two styles of gameplay. One is to complete the main quest, and as many side-quests as possible, and the second is to explore the world, and effectively live in it as a fantasy character. In Morrowind for example, I spent a great deal of time collecting various plants from around the land, with the objective of bringing them to my home laboratory and using any alchemy “recipes” I could find in various books I came across, create a variety of potions. A fun concept, extremely well designed, and at the roots of it, completely derived from our natural environment. Skyrim in particular has a following of gamers who simply want to produce the greatest graphics possible with their computer systems, and explore this fake, but convincingly natural world. For example, here is a video entitled “Skyrim Beauty”, simply produced to demonstrate the countryside of this imaginary land.

There are many other aspects of nature that have found their place in computer game culture, far too many to go into here. From the  concept of sunrise and sunset dictating times and schedules (more advanced text adventure games featured time, the Elder Scrolls series features prominent sunsets resulting in the populations going to sleep), to audio effects being directly recorded from the outdoors to provide a convincing atmosphere in what would otherwise be an unconvincing world.

Without our experiences of the outdoors, and our observations of the natural world around us, technology today, especially in the world of computer games, would be vastly different. While the term “cloud computing” is now used to describe the idea of hosting data remotely, let us remember the real clouds, for it is they who have helped create the virtual worlds we love.

Want some meth? The underworld of the Internet

Imagine a world where everybody is truly anonymous. A place where money cannot be traced back to its owner, but is simply a digital currency fluctuating in value every day. A land where the law is a thing of the past; simply an idea that cannot penetrate the security around the fortress. Weaponry, drugs, and confidential information is traded without a single anonymous blink of an eye. Welcome to the Deep Web, the underworld of the Internet.

In the year 2000, a “Distributed, Decentralised Information Storage and Retrieval System” was created by an Irish student, Ian Clarke. This became known as Freenet, which today is one of the most popular methods of anonymous file sharing and communication. The purpose of Freenet is simple: allow people to share and access data online without being detected. Something that may seem normal to many of us, but considering that fact that even the Freenet website is blocked in China, anonymous access to information is a privilege sought for by many but only available to some.

One of the basic ideas of anonymous networks is that information is available to people who have knowledge it exists, yet is not indexed in the mainstream public search engines such as Google. It is estimated that search engines such as Google currently index less that 0.5% of total amount of web pages available. Other estimations compute that  the amount of data that is online is 500 times greater than that which is available through the public search engines. Of course, this can be explained by many things. Take a look at modern websites, the most popular being of the social networking genre. Private profiles and a public increase in privacy settings would technically mean that there is a lot of data not available to the public.

But what about that data which is available to the public. Web pages that are intended for the public to read, yet are designed to be as truly hidden and anonymous as possible? The onion network is a network of TOR (The Onion Router) hidden services, websites that are only reachable via the TOR network. TOR basically acts in such a way that your computer will connect through a wide variety of worldwide nodes, with no communication between them, allowing anonymous access to the World Wide Web. Not only does using TOR allow you access the “surface web” anonymously, but it also allows access to the “Deep Web”, the vast variety of websites not indexed by search engines.

Exploring the Deep Web is like living in a dystopian world, a real life version of The Matrix. It is an unpredictable realm of the Internet, with no centralised stucture or standards. Web pages look like they have been lifted straight from the 1990’s, using minimal dynamic content and mainly basic HTML. But it is here that thousands of people every day are taking part in illicit activities, safe in the knowledge that they will most likely never be caught due to the extreme anonymity provided to them through the TOR network, out of reach of most police forces. What started as an innocent project to provide anonymous Internet access has evolved into something much more sinister. Want to hire a hitman? He is on special offer today.

Premium cocaine for sale, 100% delivery rate, advanced stealth packaging

Take the popular Silk Road Marketplace for example. This is one of the Deep Web’s more popular versions of Ebay… except here, people bid for drugs. Fancy some cocaine delivered from Germany to any country in the world, with guaranteed delivery and a 100% success rate due to advanced stealth packaging techniques? No problem. Practically everything on sale in this marketplace is genuine. Many underground stores use an escrow system, and so the seller will not receive any money until the buyer releases it from the escrow after receipt of the goods and confirmation that it is indeed the genuine product. The price of 1 gram of cocaine? In this listing I looked at today, it was being sold for just over 18 bitcoins. You won’t see any pricing in dollars or pounds in the Deep Web marketplaces. Money is always traceable. Bitcoins however can be traded anonymously through networks such as Freenet or through TOR, and allow transactions to be an easy and safe process.

Want to buy a machine gun? Only 300 bitcoins

The value of a bitcoin? It depends. Today it is worth over $6. After Silk Road was exposed in the US Congress, the value of it rose dramatically in response to the increase in site visitor traffic. Of course, Silk Road still continues to provide an anonymous platform for drug dealers to sell their goods, even though Congress has asked the DEA to shut it down. As you may have assumed by now, it is not so easy for the DEA to shut down a site that is virtually impossible to trace. In this instance, to “take down” a website such as Silk Road, an old-style bust is the only reasonable option. Tracing electronically just does not work, and so undercover officers selling and purchasing drugs online to try and capture the people who use “clumsy” non-anonymous methods are the only tactics that seem to work.

This is exactly what happened to The Farmer’s Market. The Farmers Market was another marketplace dealing in narcotics such as LSD, also operating through the TOR network. Yet in April 2012, it was busted by the DEA. The BBC reports (http://www.bbc.co.uk/news/world-us-canada-17738207) that the arrests “should send a clear message to organisations that are using technology to conduct criminal activity that the DEA and our law enforcement partners will track them down and bring them to justice”. However, this is not necessarily true. In fact, if you research the Farmer’s Market bust in more detail, you will find their anonymity in TOR did not fail. It was carelessness by various users between the years of 2007 and 2009, when they used an “anonymous” email service called Hushmail, and accepted Western Union and Paypal payments, that led to this sting operation.

The idea behind websites operating through the TOR network is brilliant. Non-censored information and a whistle-blowers paradise. However, the reality of the Deep Web today is that the vast majority of users are simply curious to see what they can find, yet the majority of what they find is non-useful or illegal. A world where people can browse anonymously is available to us right now, but until those who have valuable information make use of it, it will continue to be a haven for “undesirable content” in the minds of the public.

Why do people smile?

In the “old days”, people didn’t smile for the camera

I was sitting in “Café Esplanad” in Helsinki, Finland. Drinking a cappuccino and eating a huge doughnut, it was a fantastic day. One of those days where the sun is shining and the city takes to the streets to enjoy the pleasures of walking, yet is still cold enough to drive hundreds of people into the local cafe’s and bars, to enjoy hot cups of tea and warm plates of whatever delights have been discovered in the harbor earlier in the morning.

Finland is one of these places that seems quite paradoxical. On one hand, it famously has the greatest education system in the world, and is constantly ranked in the very top of “standards of living” lists and “happiness indexes”. On the other hand, you would think the place is a walking abattoir; it is hard to find somewhere else where the people look so depressed. As I was sitting sipping on my Italian beverage and observing the premises from my table perched on a high platform by the staircase, I noticed how it was getting increasingly busy. It got to the point where people would enter the cafe and order their food and drinks immediately, without realising that there were in fact no available tables to bring their trays to and sit down. Eventually this led to the situation where depressed looking Finnish mothers and their families were standing in queues, awaiting for the slightest sign of movement from the guests, before jumping on the opportunity to snatch a table.

It was fun to observe. The anger in a woman’s face when she thought she had a table, yet discovered it was just a man standing up to bring his baby for a walk, was quite amusing. People become agitated in these situations, and eventually, the desire to sit in the warmth of a cafe to escape the breezy outdoors turns into the desire to beat everyone else in the race to secure a seat. This was when I noticed an Asian man, in the cafe by himself. He was standing behind the hordes of angry women with a tray, waiting patiently for a table. As the queue got larger, he must have realised that it was never possible to get a table for himself, as the number of small tables was vastly outnumbered by the number of larger family-sized tables. So he walked around the bar, effectively creating a new queue for himself, and somehow managed to cut in front of the main contingent.

I took a bite of my doughnut, wondering what he would do next. Suddenly, without warning, he swiftly moved into position, and expertly secured a position at a single table. Who was at this table before him? Nobody knows, yet this man seized the opportunity, and put his jacket on the back of the chair. The thing that caught my attention is something that really stood out in this cafe. There must have been over 100 people in this one room, yet what I noticed was the huge smile that appeared on this mans face as he sat down. Crows feet appeared by his eyes; his teeth gleamed in the air. But what surprised me was that this fantastic smile was not directed to the crowd. It was not intended for the public to see. He appeared to be smiling to himself, almost laughing at the satisfaction of getting a seat. It made me wonder, why exactly do we smile? It is obviously a natural thing, as everyone loves seeing a baby smile. But what is the purpose of it?

Physically, a smile is a simple thing. The zygomatic major muscle, located between the cheekbones and the corners of the mouth, and the orbicularis oculi muscle, located at the eye socket, are stimulated by the facial nerve.  What does this result in? The corners of the mouth are pulled upwards, and the area around the eye socket contracts. Gleaming teeth and crows feet around the eyes. Exactly what the Asian man in the cafe had. This is a “genuine” smile. It’s called a Duchenne smile, named after the French physician Guillaume Duchenne. It is the smile that we as humans recognise as pure, genuine, positive emotion. Duchenne performed research on facial expressions using electric currents… of course, it was difficult to find volunteers for this procedure, and so this smile research was aptly performed on the decapitated victims of the French guillotine.

A smile of fear?

Everyone is familiar with the cliched air-hostess smile. Made famous by Pan American World Airlines, we have come to recognise this is a symbol of American “service with a smile”. The air hostesses do not (normally) present us with a genuine Duchenne smile. With the amount of botox they sport these days, it is probably impossible for them to perform a perfect Duchenne smile anyway. If their smile is therefore not genuine, why is it done? What is the purpose of imitating a natural human emotion? This leads me to believe that the feeling of their business leaders, the suits who decided that “service with a smile” is the way forward, is that a smile is an indicator to other people. A smile is a message. A way of communicating the idea that, “hey, I am not a threat to you”.

If this is the case, why did the Asian man in the cafe smile so genuinely? It was a perfect example of a Duchenne smile, it could not be any more evident. Yet he was smiling to the table, smiling to himself, smiling with his back turned to the majority of the observing population. Most psychological studies believe that a smile is indeed a method of social interaction. There have been theories covering everything, from signifying altruism and attraction, to extending life expectancy (See the 2010 Wayne State University research project examining  baseball card photos of Major League players from 1952. From the smiles in the pictures, they could predict when each player died).

One theory “widely accepted” by biologists, is that in evolutionary theory, the smile developed from the “fear grin” of apes. When threatened by a predator, monkeys would clench their teeth to give the impression that they are harmless. Could it be possible that if we combine this theory with the social communication theories, we have a solution for the Asian man in the cafe? The tension of waiting in a queue, surrounded by competition. The prospect of getting a seat, only to have it taken by someone else. The cafe scenario could easily be looked at as any war scenario amongst our animal ancestors. The man may have had a primal instinct of fear. A fear that he consciously could not feel, yet deep down inside, it existed.

He finally got his seat. With the years of evolution that have resulted in smiles becoming a social messaging tool, combined with the “fear grin” of our ancient ancestors, there was only one thing he could do. Was it fear on the inside? Was it a naturally activated social display just in case someone was watching? Whatever the reason, he had to take off his coat, get prepared to sit down, and let his facial muscles do all the work. He had one thing to do, and that was to smile.