Richmond Hill’s Santa Clause Parade!

Tonight we hurried our dinner to catch our city’s annual Santa Clause Parade. We have the good fortune of having the parade right by our street, so it was only a 5 minutes walk from our house to a good spectating area on Leslie Street.

Seeing the cadets marching by and then escorting Santa at the end of the parade brought back some old memories when I was an Air Cadet back in the 80’s.

Aside from the brisk 3℃ windy evening, the parade definitely brought a dose of warm holiday spirit to our neighbourhood. Thank you Richmond Hill for organizing such a fun event. I hope you hold it again next year using the same route. I definitely did not envy those who had to drive and park at the event.

This slideshow requires JavaScript.

Note: All pictures were taken with my new iPhone 7.

500GB SSD Upgrade

Over the course of last week, we found this great SATA III SSD drive at NCIX, an ADATA SU800 512GB SATA III SSD drive for the $159 CAD. As of this writing, I checked the price again and it has gone up by $10. This drive offer similar performance to the Samsung 850 EVO drives, but cost significantly less.

In my previous post, I indicated that I had upgraded our media server with a new motherboard and CPU. I replaced the old hard drive with another old hard drive as a place holder until I can get something a bit more modern. The SU800 fit the bill nicely, and is now my new boot drive.

I’m super happy with the update. The machine boots super fast now! Check this drive out if you are in the market.

The Crowd Has Spoken

Democracy has entered into an interesting experiment. The frustrated irrational populace of the United States of America influenced by a temperamental candidate, Donald Trump,  have their say tonight and will have their say for four years. Republican (may or may not be Trump’s) agenda will rule the day. One thing is for sure volatility and more surprises are on the horizon now. Unfortunately this is not just a US affair, as last night’s election result will impact the whole world.

The unrestricted consumption of free flowing information of any kind from ubiquitous media, universally accessible by a temperamental and frustrated crowd is a really bad formula. This gives the saying, “The Wisdom of the Crowd”, a whole new interpretation. Perhaps in hindsight this is the most optimal solution, but it is certainly not immediately evident.

I am thinking more and more that perhaps a meritocratic autocracy, China being the closest, is a better system for the common soul, may or may not be for the extreme rich or the poor. Of course no system is perfect, so we’ll have to be patient with the evolutionary development here.

It does raise the question whether Hong Kong’s pursuit of universal suffrage is a rational one or not. Perhaps what the people of Hong Kong have now is better than a democratic system driven by divisive popularity, independence movements and the like. Something to consider.

Obama was right. The sun did rise up today, but this inevitable event is largely unrelated to our collective well being. This is a movie that many of us would like to avoid watching, but we must now soldier through, and see what the elected wisdom has installed for all of us.

Updated 2016-11-10: Removed reference of Hitler being elected, because Hitler was not elected, but appointed upon the death of Paul Von Hindenburg who was elected.

Student Affirmation

img_0080During the school’s BBQ evening, one of my son’s teacher introduced us to their class morning ritual. A recital of an affirmation. I thought the affirmation was
wonderful and really serves as a reminder to all the kids that we can all equally be part of something great. All we need to do is try and give it our best.

The teacher got hold of me and had a great idea of putting a montage of a video having different kids from the same class speaking parts of the affirmation. I thought this was a great idea. The idea intrigued me so much that I drafted my two boys and put an experimental video together.

The creation of the video was much easier than I thought. The whole process took about 15 minutes of taping, followed by about 30 minutes of editing with iMovie. The result was also better than I expected. The entire production was from my iPhone 7 and my iMac.

Since we didn’t remember the statements, I am certain the viewer will notice that we are reading from a cheat sheet. We needed the cue sheet to be higher so that we look like we are looking at the camera. I’m sure the version with the students will be much better. Let me know what you think!

Basement Transition from Halogen to LED

I love Amazon Prime. You’ll see why later.

Old halogen light with screw on base
Old halogen light with screw on base

Our basement were filled with these old Halogen MR16 pot lights that each took up 50W each! I had ten of them, so this ends up to be half a kWh. This means at an average rate of $0.13 / kWh, I’m burning about a quarter every two hours. This may not seem much in the beginning, but it adds up. I’ll let you do the math for a month and a year.

I went to Amazon and found an LED equivalent called PAR16, and found them at Can Lighting Inc. They had a package of ten, so I ordered them. With Amazon Prime, they arrived the day after, which was yesterday, with free shipping.

Now instead of 50W each they are only burning 6W each, 12% of the original cost.

I also learned that the number after MR or PAR is the width of bulb in 1/8 of an inch, so 16 is 2 inches or approximately 50 cm. The screw on base is called E26, instead of the small two prongs called Gu10. Very confusing!

AI & Our Future Generations

When I came into the workforce in the early 90’s, any career connected to the computer was hot. The Internet was at its infancy. Any two or more (often just two) computers connected was called a network, which was a huge deal. Believe it or not email was the killer app. The World Wide Web was not invented yet, and when it came into the scene, finding a photo on a web page was a big deal.

My young and arrogant mind was extremely happy with myself, since I was all ready to take on the world with an engineering degree specializing in computers. It was a fearless time. We called the shots, not the employers. Our salaries increase astronomically, often with accompanying perks. We could do no wrong, because we were in demand.

I remember reading an article about our company’s solution. The solution was installed at a food and beverage manufacturer, who recently announced a significant layoff caused by the application of our software. Our customer was happy, because we saved them a tremendous amount of costs. I thought that anyone who picked a career in a job involving repetitive tasks will be in trouble. Cashiers, banking tellers, and warehouse pickers are a few that comes to mind.

We were all too eager to implement algorithms and solutions to turn repeatable tasks into optimal applications running on computers. We as a profession were clear and present danger to people’s livelihood who were dependent on honest jobs that are replaceable by robotics, advance supply chains, automated warehouses, or just simply better data visibility and communication. On reflection, I was / am part of a group that is undermining the economic value of a human being in a capitalist economy. People that are displaced are forced to upgrade and migrate their skills to other areas that are still in demand.

With artificial intelligence (AI) and machine learning coming into the consumer and business market in a big way, I am led to believe that the next set of jobs, jobs requiring judgement and decision making are now potentially replaceable by AI technology. Even software developer jobs may be under threat, when you have technologies like Viv that fulfills a human vocal request by manufacturing a custom program. I fear that replacement of traditional professions like lawyers and doctors are not too far away when IBM Watson can now perform medical diagnosis. How will these displaced professionals upgrade their skills?

In today’s news, one can frequently find mentions of self driving cars. How they are on the cusp of mass market availability and adoption. Companies like Tesla, Apple, and Uber are all either actively implementing production quality solutions or developing them. Imagine all the UPS, Fedex, freight truck and taxi drivers that will be displaced. The disruption does not stop there. If the technology is as successful as advocates tout it to be, then accident rates will drop. The transition from human to driverless solutions can translate to a large decline in automotive body shop business, and potential insurance revenue impact.

You can make arguments that displaced drivers will find other types of work, but I fear that under the current, exponential improvement of AI technology, the total some of human demand in the economy will continue to diminish, because AI will be so good that you will be hard pressed to find a job that AI cannot perform. So whenever you have an over supply of humans and a dwindling demand of their usability, you get erosion of the economic value of human beings.

So what’s wrong with this picture? Is it not good that AI capable machines pamper us and do all the hard work and thinking?

Assuming that we continue to function in a market based society, my immediate concern is, how does the next generation make their income when their economic value is eroded to the point where there may not be any jobs left. Well, I suppose there are jobs that involve creativity and innovation, such as artists, and musicians. From another hopeful perspective, this may resolve itself since providers, even if they are machine run, must find matching buyers with enough spending power to buy their products and services.

My second concern is, as a species, how do we continue to excel in our own knowledge and achievements, when AI can solve most of our problems. You can probably find some evidence of this today, with the usage of Google and other specialized search engines. I am not sure that the current education system are raising deep thinkers complemented by these new AI based tools, or more academically hampered ones because of the same tools.

Lastly, there is the Matrix or Terminator scenario, but the difference is that it may not be a violent take over. It could be a slow transition, as we welcome these technologies as new found creature comforts. A gradual displacement of our economic worth and values, until we are all powerless with our machine overlords. Or if you believe in Ray Kurzweil’s singularity, we can be in a symbiotic, and harmonious relationship with the AI machines.

Please tell me that my fear for our future generations are unfounded.

 

Linux OpenVPN and IP Routes

There are certain background tasks that I perform with my iMac that requires VPN services. In the interest of saving some electricity, my goal is to have my iMac goto sleep and idle at a lower power consumption state, than what has been in the past. Let’s just say that our main iMac is on at all times, because it served as our media server for our collection of viewable devices such as iPads, Apple TV’s, etc.

This blog post is just a self account of my activities and is not a detail tutorial containing command line examples of how to accomplish this. Sorry you’ll have to go else where for that.

I managed to move all these services to my Linux box running Ubuntu Server 16.04.1 LTS. The Linux server was acting as my Network Attached Storage (NAS) server, while my iMac was running all the application services that I use around the house, which includes:

  • Plex Media Server
  • Minecraft Server for the Kids
  • Apache Server for certain web applications that the kids use
  • Other services that require VPN connectivity back to the office and else where

I needed to move all of the above services from my iMac to my Linux server so that my iMac can effectively goto sleep and save me some power. I managed to move all the non-VPN services first and saved the VPN services for later.

To my surprise, it was really easy installing OpenVPN. When I connect to the office, I found out that I could not get to the other services, because the return traffic was rerouted through the VPN tunnel. I needed a way to configure the Linux Server to route certain IP traffic from services originating from my Linux Server to bypass the VPN tunnel interface. This is when I learned everything about iproute2, and iptables. As it turned out, I did not have to use iptables.

However I did spend a good portion of my Sunday afternoon to read up on these utilities, and after several iterations I finally got the configurations working. It was a combination of creating a new ip routing table with default routes targeting the physical interface instead of the tunnelling interface, and an ip rule to configure certain traffic to use the routing table. Now my iMac can goto sleep when it is not being used by us, saving us electricity!

iPhone 7 Manual Camera

Good morning! I woke up before the sun rise and was staring at my bedroom window when I suddenly became curious to how my phone’s camera will perform under these super low light condition.

I downloaded the Manual Camera app from the App Store, and adjusted the ISO, focus, white balance, and shutter speed, took the shot of my bedroom window. I wanted a balance of properly exposed picture but not too grainy. I then shot a picture with the standard camera app which is in full auto. 

Top is full auto and the bottom is with the Manual app

The auto version seemed over processed while the manual version looked more realistic in comparison to the real lighting condition at the time (prior to sunrise). The color of the sky in the manual version is also more true to reality. If you have a chance, play with the Manual app.

This is also the first post that I produced entirely on my iPhone while still in bed. Amazing what you can do with your smartphone these days!

A Lack of Fall Colours at Kortright

Yesterday’s weather was so clear and sunny. We decided to spend Thanksgiving day to hunt for fall leaves. Our first stop was at the Kortright Centre. The centre had many trails and the guide suggested the best trail to view the most colours. Luckily it was a short trail, less than 3 kilometres. My eldest son, Jason, is just recovering from a flu, and we can tell from his body language that he was simply too tired to do anything too exhausting.

We all took some beautiful photos with our iPhones. I got a chance to really test out my new iPhone 7 camera, and the pictures turned out really good. Both in the  shadows and against the sun.

It looks like we were too early. We decided to head more North to the York Regional Forest Trails, and to our dismay, it looks like we need to give the trees another week to really show their fall colours. Here is a picture of Jason standing alone on the trail.

Viewing fall leaves.

 

School Cross Country Event

Yesterday my wimg_0003ife and I attended a local school cross country event. Students from grade four to eight competed in a running race for approximately two kilometers. The competed distance varied depending on their grades. Many parents showed up to cheer the students on. With them came the endless displays of smartphones and cameras to record the event.

I suppose we were no different as we were there to cheer on our niece, who is attending grade seven here. Coming from China, attending a school with new and different customs and language is extremely difficult for her, so we were delighted to know that she chose to participate in the annual cross country event. She displayed ample courage trying to fit in, in our foreign land and culture. She started out quite strong. Although she fell behind the main group, her competitive attitude shined through with a sprint to the finish line.

img_0005All the students should be commended for their efforts and the display of good sportsmanship at this year’s event. At the finish
line, I see many students taking this competition extremely seriously, and others who gave it their all to finish. Bravo to all those who participated. Let’s not forget our energetic pace bunny who must have ridden more than 40 km around the trails to ensure a fun and safe event for the students. Three cheers for the pace bunny!

The camaraderie of the teachers from the different schools were also great to watch. There is a sense of caring and of course coaching being offered to the students for such events. I think they have all done a wonderful job in organizing this event.

Last but not least, we also must not forget the student volunteers who helped with the organization of the event.

Looking forward to seeing all of you guys next year and hopefully, I can cajole one of my sons to join next time.