Thursday, June 15, 2017

E3 2017 Impressions

I am not able to attend E3 in Los Angeles this year but have tried to keep up with all of the game releases coming from the various studios. I am impressed with what I have seen and think we have a number of really good games soon to be released. Unfortunately there is no unbiased way to talk about what is expected to come out. I have my favorite video game companies and also work for one. So instead of naming specific game titles that I am looking forward to playing, I thought I would talk about trends.

First, the graphics all seem to be getting much better. We have had the XBox One and PlayStation 4 consoles out for a few years but the games now being released seem to be much better graphically than the launch titles. This is because the game engines have had time to evolve and can now take advantage of the hardware included in the latest consoles. We all benefit. I also noticed that there are a lot more games being shown in 4K. They sure do look good. Well at least the demos do.

The second thing I noticed from the show this year is how many games realize that the story matters. Perhaps it is the type of game that I am more likely to play, but video games have evolved from a circle munching dots on the screen to complex scripts that draw the players into the story. More and more, video games are starting to resemble blockbuster movies.

I normally am not a fan of sports games. This year I have seen quite a few sports games that are really tempting. I may even pick up one or two and give them a shot. Look for reviews in the future.

While it may be fun to be at E3 for a few hours, I am not sure the chaos would be worth the trip and so I have stayed home this year. I think I am actually getting more out of the show because I can pick and choose what I watch without having to wade through the large crowds. Yep, it is a great show this year.

Monday, June 5, 2017

Virtual Reality: A New Way to Watch Videos

This past weekend I wanted to do some research on an area that interests me: 360-degree video also known as virtual reality or VR. There are a number of videos on YouTube filmed using 360-degree technology. So I loaded the YouTube application on my PlayStation 4 Pro and put on my PlayStation VR headset. I could have also done the same thing with my Google Cardboard and a smartphone so PlayStation hardware is not required. You can also use an HTC vive or Oculus Rift.

YouTube has a whole section of 360-degree videos with lots to choose from. I like to rock climb in the summer and so I selected a video on one of the USA's toughest climbs. Even though the video is in 2D and VR is capable of 3D, I still felt immersed in the action. Rather than having to scroll around with a mouse to see different perspectives, I could just turn my head. I found it so interesting I had my youngest daughter who is a professional rock climber watch and later my wife. Both found the VR experience significantly better than viewing something similar on a flat TV or computer monitor.

I spent about an hour watching VR videos and have decided that I much prefer a low-quality VR video to a well-made TV documentary. I have to confess that most of the videos I watched were documentaries. I tried watching one Star Wars fan film and while it was put together very well, didn't appreciate it as much as the other real-life experiences I enjoyed.

During my weekend research I could only find one 3D VR video and it documented a fashion shoot. Normally I wouldn't have bothered as I am not interested in watching models parade in front of the camera, however, I discovered something very important. When we take a 3D object like a human being and flatten it into a 2D photograph, we distort the person much more significantly than I realized. This is where we get the phrase, "The camera adds 10 pounds." While I enjoy watching 3D movies and even have a 3D television, a VR experience puts you much closer and I realized how skinny most fashion models are. I actually found them to be much too thin and unattractive.

Another thing I noticed during my hour-long journey through VR videos is that you don't know where viewers will be looking. If you want to put text on the screen, you have to put it in multiple places. One video only placed it where they expected you to be looking. If I looked somewhere else, I had the potential to miss it. Other videos placed the text in 3 different areas so I had a much higher chance of seeing it. I appreciated that as it gave me the freedom to look around all of my surroundings and not have to focus on one area.

I think virtual reality has the ability to change the way we watch videos. While I am not sure I want to watch a full movie in VR, I do think that travel videos and documentaries are much better with the technology. Now if I can only create a huge playlist of skiing videos, I might be able to make it through the summer.

Wednesday, May 31, 2017

Machine Learning and Lots of Data

At the beginning of the month I wrote about artificial intelligence and how it is not going to take over the world any time soon. I have continued to play with it and have been working on a branch called supervised learning. My basic example or use case is to feed my simple program a bunch of training sentences that are categorized as questions or statements. Then I have a test group of sentences to see how well my program has learned.

I started with a very small set of training sentences thinking that a person would be able to distinguish between a question and a statement fairly easily using just these examples. My training set began with only 30 sentences and my test set had 20. After training, my program correctly identified 16 of the test set. That sounds pretty good at 80% but I really need to get closer to 100%. So I added more training data. I found a list of 800 random questions and added them as well as several pages of text from two popular books I found online: Uncle Tom's Cabin and The Old Man and the Sea. That brought me closer with 18 sentences correctly identified as statements or questions.

The statement, "I like to ski," was wrongly classified as a question while "Who is your favorite actor?" got classified as a statement. So I added more training data until I got 100% correct classification. My original training data started with 30 sentences and is now close to 1000. That seems like a lot of extra work.

Now it is time to tune my algorithm. There are some things I can do to get better results with less data. However if you plan to embark on your own supervised learning project, be prepared to collect a lot of training data. You will need it.

Friday, May 26, 2017

Learning from the Internet

The Internet is full of wonderful information and can be a great source of learning. It can also be full of lies and misdirection so you need to be careful with the information you find.

Today I am working on machine learning where I classify types of sentences. There are plenty of examples already created and so I am trying to leverage them instead of trying to recreate something. One of my Internet searches brought me to an interesting article that has nothing to do with machine learning or even sentence classification. It is an article about 5 writing tips that C. S. Lewis sent to a young aspiring author back in 1954.

I wrote a book back in 2001 called "Programming with Oracle Developer." Now I consider it a cure for insomnia but I am still proud that I managed to devote enough time to write a book that got published. During the process I would submit a chapter to the publisher who had several editors review it. One focused on the technical correctness while another fixed the grammar and wording. That process taught me that my writing needs a lot of fixing. So if you are like me and interested in learning about how to be a better writer, take a look at the link above.

Wednesday, May 24, 2017

The Official Start of Summer

This weekend signals the official start of summer as Memorial day is on Monday. In addition to the warmer weather, the days are also longer. This has me rethinking my nightly activities when I am in the Bay Area. While I could continue playing video games each night, the longer days have me thinking that there might be some better things to do with my time. Don't worry, I still plan to play video games, I just don't need to play as long.

One option is to spend more time on my kayak. While it might be fun to take my sailboat out every evening, that involves a lot of work stowing all of the electronics on the boat. It is much easier to take the kayak out and explore the local coastline. That also gives me some much-needed evening exercise.

Another option is to spend more time at the office. I ride my bike from the office to the boat each evening and the longer days mean I can spend more time working. While that may not sound like fun for most jobs, there are a lot of fun things to do in the evening at an office in the video game industry. We have a lot of "toys" to play with and I could use the extra time to experiment with new technologies. This is time I don't have during regular working hours.

I can also use this time to visit my son and his wife who live in San Jose. Of course this requires that I have a car because riding the 30 miles each way on my bike might not be possible even with the longer daylight hours. Getting a car in the Bay Area is an easy problem to solve and I can even bring one out on Monday as I have the whole day to drive it out.

More than likely I will come up with a mixture of the options mentioned above. Hopefully you also recognize the change in daylight hours and modify your schedule to use them to your advantage. Several years ago I would not have changed my daily routine as the seasons changed because every night involved watching TV. Now I realize there is more to do and it has opened a number of possibilities.

Tuesday, May 23, 2017

Waiting in a World of Instant Gratification

This morning I got a text from my wife commenting about how it is tough for one of our children to wait in today's society of instant gratification. My oldest daughter put her car for sale on a popular website in Utah. She has started commuting more and wants to switch out her perfect snow car for something that gets a bit better gas mileage. My daughter listed the car last night and is frustrated that it hasn't sold yet after only a few hours. I had to laugh that she had such high hopes for selling her car so quickly. In order to do that, you have to price it well below what it is worth.

My daughter's experience highlights a trend in society today. We are so used to getting things almost instantly that we forget that certain things take time. If you want to watch a movie, there is no need to go anywhere like we used to have to. Simply log into your favorite streaming service and you can watch it on any number of devices. Want to send someone a quick note, text them and you will usually get an instant response. Most people are more likely to respond to your text message than they are to answer your call.

Contrast those immediate things with those that take time. When you are creating a masterpiece, you make sure everything is perfect. If you want to get the most money for the car you are selling, wait until the weekend when people have the time to look for new cars. Remember that some things are not instant and take time.


Thursday, May 18, 2017

Increasing Blog Traffic

My oldest son recently did a review for a pair of ski bindings from Tyrolia. Naturally he provided them with a favorable review and then provided a link to it on their Facebook page which they immediately made available to all of their followers/visitors. His blog page received a lot of traffic and that made him happy.

I have been wondering how to increase the traffic to my own blog and my son's experience provided one example of how to do so. I had never thought about submitting a product review to the manufacturer based on one of my own postings. It is a brilliant idea. If you have a blog and want to increase your traffic, do a review in one of your postings and let the company know about it. Now I just need to find a product worthy of a review.