Search within Lanny's blog:


Leave me comments so I know people are actually reading my blogs! Thanks!

Thursday, July 25, 2019

Daily Battles: Make Google Mesh WiFi and Google Home (Mini) Work Together

Google Mesh WiFi is a great solution for homes that have bad or spotty WiFi signals. You can get as many nodes as you want and then put them in different parts of your home. They mesh together and provide good quality WiFi coverage throughout your home.

You can also use the Google WiFi app (only available on your smart phones) to manage WiFi connections to all your devices and schedule when they can have WiFi access or filter unsafe, inappropriate contents for your children.


It supports typical router functionalities such as port forwarding, static IP, prioritized streaming, and more. However, it doesn't log what websites your WiFi devices are visiting.

Google Home series of devices (Google Home, Google Home Max, Google Home Mini, Google Hub) are voice assistant devices similar to Amazon Echo series. You can ask them to look up information such as knowledge facts, weather, traffic, news, or control smart home devices with your voice (by the way, Vivint products such as thermostat, locks, lights, etc., are all compatible with Google Home). But most people use them mainly for music and alarm/timer. My kids like to use them to check their homework.

Since I have both Amazon and Google voice assistants, I only have 3 Google Home devices.


Both Google products are useful. But when I got my Google Mesh WiFi and tried to get my Google Home devices connected to my Google Mesh WiFi, it became a disaster.

Google Mesh WiFi supports both 2.4GHz and 5GHz WiFi signals. One "nice" feature of Google Mesh WiFi is that for both frequencies, the WiFi network you create will only have one name. This eliminates the confusion when you try to add devices to your home WiFi network because there is only one network to connect to. However, this also created big problem when connecting Google Home devices, because there was no way to specify if you want to connect a device to the 2.4GHz network or the 5GHz network. After I successfully connected my main Google Home to my Google Mesh WiFi, installing Google Home mini turned disastrous. Following the app flow to install mini would get stuck and no error message is given on why it would get stuck.

The funniest part was that when I called Google Home support line, the support staff actually told me that Google Home devices are not compatible with Google Mesh WiFi! Come on Google, you can't even make your own products work together?

Of course, that customer service representative just didn't know what he was talking about, and the knowledge base he used to search for solutions didn't return a viable solution. There is actually a way to get them working together!

The core problem with the set up is really that all the Google Home devices need to be on the same WiFi frequency. Of course, I wish Google would have either:
1. enabled Google Mesh WiFi to take care of this, or

2. allowed me to specify which WiFi frequency to use when connecting Google Home mini to my WiFi network, or

3. at least returned informative error messages on the limitation.

After hours spent troubleshooting to identify this problem, I finally found the solution: you can force all your Google Home devices to connect only to the 2.4GHz WiFi network.

The benefit of 5GHz WiFi is that you can get higher throughput, meaning you can transfer data much faster. However, the benefit of 2.4GHz WiFi is that the WiFi signal can travel much further. Typical range for 2.4GHz WiFi signal is 150 feet (46m) indoor and 300 feet (92m) outdoor. The range for 5GHz is only one third of that. So in order to make sure you only connect to the 2.4GHz WiFi network, you just have to make sure you are far away from your router (or your Google Mesh WiFi nodes).

So there I was, outside my home a long distance away from my router with a long extension cord on a code rainy night way past midnight, using my smart phone to make sure I could only connect to my 2.4GHz WiFi and not my 5GHz WiFi, and then one after another, installing my Google Home series devices. But at least I proved the Google Home CSR was wrong! Google Mesh WiFi and Google Home devices DO WORK TOGETHER!






Well, once I got them working, they worked pretty well since, and I never had to reconfigure them again. So if you were also struggling to get them working together, now you know how.

Best luck with all your daily battles!


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Wednesday, July 24, 2019

Daily Battles: How to get rid of unwanted items in your Google Calendar

If you use Google Calendar, you probably noticed recently that a lot of extra events just start to pop up in your calendar, such as hotels you reserved and flights you booked, meeting invitation you received, or worse, notifications on the prize money you just won with bogus phishing links embedded such as this one below:



So what is going on?

This is actually the results of Google AI trying to be smart and convenient for you by scanning your emails and then automatically adding items to your calendar. However, Google messed up by allowing spam invitations sent to your to also show up in your Google Calendar even though your Gmail correctly classified it as spam and shoved it into the spam folder.

On the other hand, it might be convenient for some people to have their travel itinerary automatically inserted into their calendars based on email confirmation they receive, some people might not want that at all! And guess what, I am one of them!!

My wife works as a travel agent, and she sometimes forwards me emails containing hotel reservations and flight info so I can track the credit card charges. Google AI just automatically assumed that I was traveling and then spammed the heck out of my calendar with all these events I have no interest tracking. And it would have been better if I got an email asking me if I want to opt into such "smart" service. But nope, Google just decided to make that the default.

Whining aside, how can you turn these things off and get life back to normal? Let me show you:

Go to Google Calendar and then click the gear icon to get into settings. Then uncheck "Automatically add events from Gmail to my calendar" under Events from Gmail.


Next go to Event settings and change the selection under Automatically add invitations to "Yes, but don't send event notification unless I have responded".


That should disable the evil Google AI from trying to determine your calendar for you!

Moving on to my next battles!!


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Tuesday, July 23, 2019

Daily Battles: Volume Control Stops Working in Windows 10 After Windows Update

Before I begin, I must say that this is working! Writing and venting about all these daily battles I endure is actually making me feel happier!! Of course, I hope all you readers out there also felt happier too, whether because now you know how to fight your battles, or simply because you felt your life is better after witnessing my struggles. 😜

Since I was on the topic of windows update breaking things for me in my previous post, let me describe another battle I had to fight, again because of Terrible Windows Updates! This event actually happened a while back. But because of the amount of time I had to spend fixing it, it for sure will linger in my mind for an extended time.

As I mentioned before, one of the many existences of Philip, my virtual smart home butler, is on this super old Windows 10 desktop machine that my boss, ehh, I mean my wife, threw away over 10 years ago. I connected a BlueTooth receiver to this box and then hooked up my whole home speaker system to the receiver. This way Philip has a way to speak to everyone no matter where he/she is in the house. Through this set up, Philip can also manage tasks such as music playing, greeting the King (only the King, not the Queen or anyone else) when he comes home, announcements on visitors/lurkers/intruders detected etc., and mundane things such as telling the young masters to practice piano, do homework, clean room, go to bed, yada yada yada. So on that day when Philip started yelling at everybody on top of his lung throughout the day, I knew something had gone terribly wrong.

When everyone is unhappy with Philip, guess what, Lanny has to troubleshoot right away. Philip controls the volume of his voice through Window's built in volume mixer as shown below. The BlueTooth receiver shows up as a headphone in the volume mixer, and when volume of the System Sounds changes, the volume of the headphone also changes at the same time. However, that no longer behaved the same way. Even though the volume slider of the headphone moves together with the system sounds slider, the volume did not change and remained maximum.


Restarting windows didn't help. Restarting the BlueTooth receiver was useless. Deleting the BlueTooth device and reconnect didn't make a difference.

Since I am one of the first few to notice this problem (it is pretty hard to ignore everyone yelling at you, Philip, the Queen, the young masters), there wasn't much resources online on how to resolve the problem. After hours of troubleshooting, I finally nailed the culprit. YES, AGAIN, IT IS WINDOWS UPDATE BREAKING THINGS THAT USED TO WORK JUST FINE.

What I had to do to resolve the issue was to uninstall the automatically installed Windows Update, disable Windows Auto Update, and then search for an older version of the BlueTooth driver to replace the one on my computer.

Of course, many, many people's ears also suffered and complained and begged for help such as here and here and here.

In case you are still suffering from this problem and your ears are still hurting everyday, the best solution is:

  1.    Open Windows Registry (regedit.exe).
  2.    Jump to Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Bluetooth\Audio\AVRCP\CT
  3.    Create REG_DWORD DisableAbsoluteVolume and set its value to 1.
  4.    Restart Windows.
Just another daily battle I had to fight, and another interesting episode of living with Philip, my virtual smart home butler, together with a few non-voluntary human test subjects...

Ciao!

Listen to one of Philip's favorite radio stations on Pandora:



BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Monday, July 22, 2019

Daily Battles: Task Scheduler Error - The specified account name is not valid

Microsoft Windows systems have a built in utility called Task Scheduler that can be actually quite handy when you need to schedule things to run on a fixed schedule with some flexibility in conditions. It is probably used more by system admins on the Windows Server family of products to schedule maintenance work or kick off certain routine jobs.


I use Task Scheduler mainly for scheduling routine work for Philip Jane, my home-brewed Smart Home Assistant, such as reminding my kids that they are going to be late for school, or it is time to go to bed. By the way, the name Philip comes from the book The Outcast by Maoni and Jane comes from the Ender's Game series by Orson Scott Card, both I highly recommend. I used to write my own scheduler, until one day I realized that I could just use this existing utility and save myself a bunch of work. So I incorporated this as part of the Philip Jane microservice ecosystem. It has been working great for many years, until this morning.

School season has just started, so I was turning some expired tasks back on, so Philip Jane can dutifully provide friendly reminders to my kids (so I don't have to). As I was saving the changes, I got an error message saying The specified account name is not valid.



Mind you that the system has been working for years and I had never ran into this problem. As an expert in Windows system (I used to make a living as a system admin), I sincerely rebooted the physical machine (one of Philip's many existences) that hosted Philip's scheduler functionalities, hoping that would resolve the problem, which it didn't. Now the research began. Sure enough, I am not the only one who suffered.

Turned out once again (and again and again and again), the culprit is a recent Windows Update. The update now requires local user name to explicitly include the server name. Even though I am not running a Windows server, the same restriction applies to all Windows 10 systems that had the latest update. So instead of using Lanny as the login name, now I have to explicitly use Philip\Lanny as the login name.


If this is what Microsoft wants, then why still default to the local user name when task scheduler prompts for a login is beyond me. But at least this allowed me to proceed.

Here's a discussion of the exact problem on TechNet, under Windows Server 2019 support. TechNet is the big knowledge repo for all Microsoft related support docs.

TechNet Discussion

But I want to go back to the real culprit again. This is a Windows 10 update forced upon me by Microsoft. And every time when I install Windows Update, I am always under the fear that something used to work will break. That is just not a great user experience. But hey, I am not the only one complaining, and I don't think complaining works when it comes to Microsoft.

For those of you that also ran into this problem, hope this blog post helps!


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Sunday, July 21, 2019

Daily Battles: Google Hangouts Sending Messages To Yourself

Google Hangouts (used to be called Google Talk) is a free chat app provided by Google that supports WiFi calls, video conferencing in addition to the basic text messaging capabilities. It is the main way of communication between my teenage daughter and me when she is at school and I am at work, because I am a GOOD parent and held my ground firm and still refuse to give her a smart phone (which makes her kind of unique in her social groups).


Recently, whenever I send her a Google Hangout message, I would also get the notification on my phone for that message I just sent her. And this is becoming really annoying!!

Searched online but couldn't find much useful info. Then it just dawned on me. In my recent troubleshooting with Google Home setup, I had to add my daughter's Google account to my Google Home set up in order to properly grant permissions for different users. Could this be the problem?

By the way, if you don't already know, Google Home is a Google-made smart speaker/voice assistant like Amazon's Echo, which can be used to control smart home devices, translate, perform knowledge look up, play music, and used as a timer.


Upon removing my daughter's Google Account from within the Google Home app, sure enough, the notification stopped when I messaged her once gain in Google Hangouts app. Mystery solved! The underline problem is that Google Hangouts and Google Home apps both use the Android underneath Google Account(s) set up to determine what's the proper action to take. But since Google is NOTORIOUS for one project group not caring about another project group's work, end users ended up having a bad experience and had to troubleshoot by themselves.

This reminds me of the fight I had with Google Home Mini not working with Google Mesh WiFi, and the fight I had with Google Home multiple account/owner issues earlier. But those would be the contents of another Daily Battles blog post.

Happy Fighting!


Video of the Day:


This video of Kangaroos Hopping in Snow somehow 
is really bringing peace to my mind!!




BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Saturday, July 20, 2019

A great summary article on what happened inside Google for the last three years

Sharing a good read, an article on WIRED summarizing all the events happened inside Google for the last three years. WIRED talked with 47 current and former Google employees and then produced a great story explaining the bumpy road Google had to take in the last three years. The article was written by NITASHA TIKU, a senior writer at WIRED.


THREE YEARS OF MISERY INSIDE GOOGLE, THE HAPPIEST COMPANY IN TECH



BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Friday, July 19, 2019

Daily Battles: Everything About End-to-End Sprinkler Repair


A typical yearly routine for an American suburban family during spring time is to fix their sprinkler system. It always amazes me that the sprinkler system can't just stay functional and would always require some form of repair after each winter. Is this something the sprinkler parts manufactures conspired together to make more money from consumers while making their life miserable on a fixed schedule?

This year, I had to go through some extended effort to restore my sprinkler system back to normal. Here I share some knowledge I learned so you know what to do if this happens to you.

First, the Easy and Normal Stuff 

If all you have to do is to twist off the leaking sprinkler head, or event better, just the top part  (with the hole where water comes out) above ground, you are in luck! These parts are general very cheap at the local hardware store. The only hassles you have to go through are to locate the leak, make a trip to the store, and then replace them.

If a connecting pipe is leaking or broken, dig down around the sprinkler head so you can get to the broken part is pretty much the only extra work you have to do. Special tools (to untwist the broken part by grabbing into the plastic part in the opposite direction) might be needed.

If an underground PVC pipe is leaking, you might need to do some extra digging to expose the troubling section. Then just cut the broken section with a cable saw (so you don't have to dig a much bigger trench), then replace it with extendable PVC joints you can easily get at the local hardware store. You can glue it on, or get the more expensive twist on parts.


Next, the Sprinkler Controller

You should be able to find a sprinkler controller box somewhere in your house, most likely in your garage. This controller box lets you schedule the start time and watering duration of the various stations (zones) of your sprinkler system.

Typically, the control box is directly plugged into an outlet for power while also have a battery inside. So in case there's a power outage, you don't lose all your settings in the control box.

Turned out that the battery is a crucial part of the system, and I learned it the hard way. After hours of troubleshooting different part of my entire sprinkler system, I finally identified the problem. My controller wouldn't turn on the water stations (plus all kinds of weird stuff) even though it is plugged into a power outlet all because the 9V battery inside was low on juice. After replacing the battery, things started working again! So always check your battery as a first step of troubleshooting your sprinkler system.


Moving On to the Sprinkler Valve Box


When I tested the different stations, one station simply does not have any water coming out of the sprinkler heads. Another station would generate a lot of clicking sounds and all the sprinkler heads would shoot water straight up like a geyser periodically. After researching and consulting experts at the local HomeDepot, I found out that the problem could be related to the solenoid and diaphragms inside.

Solenoid is the black device inside the sprinkler valve box in charge of turning on and off a water station (zone). First thing to try is to take the solenoid apart and wash the diaphragm. Debris or sand in dirty diaphragm could cause the solenoid to malfunction.

I cleaned my two diaphragms for the two problematic water stations, and they remained problematic.

The next thing to try is to replace the problematic solenoid. It is important that you get the right brand of solenoid because different brands could have different sizes. I ended up buying my solenoids from a specialty store, because HomeDepot and Lowe's didn't carry the brand of solenoid I needed to replace mine.

After I replaced my two solenoids for the two problematic water stations, one started working while the other one kept shooting out periodic geysers with clicking sounds just like before. To understand things better, I swapped the two solenoids. Still, the station that got fixed remained fixed while the one shooting out geysers kept shooting out geysers. This was a good indication that the problem with the station shooting out geysers had nothing to do with the solenoid. In other words, I didn't really have to replace that one. Well! At least I fixed one bad station. That's progress.


Back to the Sprinkler Controller

In the sprinkler controller box, I found a station without any wire connected to the screw and a loose wire not connected to any station. In the valve box, I also found a wire not connected to any of my solenoids. So I connected the remaining bad water station solenoid to this wire and connected the loose wire to the extra station. After turning the station on, no clicking sound and no periodic geyser now. In fact, nothing happened.

To make sure I was not going crazy, I disconnected the solenoid from the extra station and then simply swapped wires between the two stations I worked on. As soon as I did the swap, the station that had the clicking sounds and periodic geysers started working correctly, and the station that I had fixed before now stopped working. I was completely bewildered.

Not until I consulted a friend who had much deeper knowledge about sprinkler systems did I find out that for the same sprinkler controller box, individual stations can go bad on their own. So having most stations working correctly with a controller doesn't mean all stations will work correctly. Also the wires are actually color coded, so I should make sure the wire I connect in the control box should match the color of the wire I am connecting in the valve box. No wonder I couldn't get the extra station to work, because I AM COLORBLIND!!

Now understanding things much better, I simply rewired the problematic water station wire to the extra station. And voila, water came out of sprinkler heads horizontally instead of vertically, and there's no more clicking sound. Turned out this station is a good station.

So really the problems I had was a bad control station in the control box and a bad solenoid for another station. I got unlucky because I replaced a perfectly fine solenoid. I also got real lucky because I had an extra functioning station I could swap to.


The Bonus

As I was troubleshooting the entire sprinkler system, I noticed that the water station labels and the actually wiring didn't match. I actually have a non-labeled, but wired station. Turning on this station for a quick test revealed that this is actually for a dripping system for some of my trees in the front yard. Turned out that for the five years I have lived in this house, I have never turned this station on and never watered those trees. No wonder those poor trees are getting weaker and weaker (wife mentioned about color change of these trees, but of course, I couldn't tell, because I AM COLORBLIND!).

Anyway, all the mystery have been solved. And I have another year minus two months of peace before I have to mess with sprinkler system repairs again. And now that I know much more about the system, something else that I don't know will break next time.

Hope you enjoyed reading this for whatever reason you came to my blog! 😌 At least now you are equipped with more knowledge of sprinkler system repairs, so when your sprinkler system breaks, it's probably from something I didn't write about in my blog post. 😜 Just kidding!


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Thursday, July 18, 2019

Daily Battles: Lexus Default Display Screen and Default Settings

We bought a Lexus Hybrid a few months back, because our old car was totaled in an accident. Since then we have been fighting the various settings in the car.

Default Sensitivity for Adaptive Cruise Control

A nice feature that came with the car was called Radar Adaptive Cruise Control, which seems to be a common feature for newer cars these days. It uses the onboard radar to detect how far it is from the car in front and will automatically accelerate/decelerate while in cruise control mode to keep a safe distance from the car in front, whether that car is accelerating or decelerating. It is really a useful feature in busy traffic, so the driver doesn't have to step on gas or brake again and again just to follow traffic.

However, every time the Adaptive Cruise Control is on, the Vehicle-to-Vehicle setting is always set to Long (3 bars), and I always have to manually adjust it to Medium and then Short (1 bar). This gets super annoying if Adaptive Cruise Control is turned off because my speed is too low or because I hit the break. Then every time I re-enable cruise control, I have to manually set it to low each time.


Why do I always have to change it from Long? Because at Long, my car will keep a distance of 160 ft. (50 meters) from the car in front of me. And guess what happens if I do that in busy traffic? People behind me will hunk at me, and cars by my sides will for sure cut right in front of me, significantly increase the risk of a collision.


There seems to be a default sensitivity I can set to Short while I am parked. However, as soon as the engine starts and when I turn on cruise control, sensitivity goes right back to Long. Turned out Lexus want to make sure the default sensitivity is reset back to Long each time when cruise control is enabled for the safety of the driver, even though they also designed a UI where the driver is deceived into believing the default sensitivity setting can actually be changed.

So what is the solution? There is none! (Confirmed by experts in the dealership.) So just suck it up and re-program your brain to always hit the manual adjust button twice whenever you use cruise control.  😡

Default Display Screen for Fuel Efficiency

Another nice feature of a hybrid car is that you could be driving off battery or charging the battery while you drive. Under the Info screen, you can choose to look at a screen that shows you in real time if the car is charging the battery or running off the battery. You can also choose to look at a bar graph that shows your gas milage for the current trip in 5 minutes bins. These two screens, naturally, became our favorite screens and we really wanted to make them the default screen whenever we start the car. Well, turned out there is no way to set a default screen for the display.


What about just go back to the previous screen when the car was last turned off? Under Settings - General, there is actually this setting called Auto Screen Change. If you set it to Off, it should stay on the last screen you were on when you turned off the car.

But guess what? That works with the Media screen, the Radio screen, the Map screen, the Weather screen, but not anything under the Info screen. (Again, confirmed by experts in the dealership.)

The only thing I eventually found is that I could leave the bar graph screen on the smaller side of the split screen, and it actually stays. Guess that's just what I have to live with.

Full Screen vs Split Screen

The car comes with this nice big display screen where you can see the current configuration for climate control, audio, map, weather, text messages from your phone, and many more. Naturally, I prefer to see things in full screen, instead of a split screen where information seemed to be cluttered. Many Lexus support web sites also clearly indicated that a driver can switch between full screen mode and split screen mode at will.

But guess what? Turned out you can only switch between full screen mode and split screen mode for the following: the Initial screen (the warning message screen), the Menu screen, and the Map screen. (Confirmed by reading the 800-page owner's manual.)

Conclusion

The UI design for Lexus cars leaves a lot to be desired. Just accept that fact that life is not perfect. Some battles you just can't win.

Moving on to my next daily battle!


BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Wednesday, July 17, 2019

10 Famous Thought Experiments That Just Boggle Your Mind Part 10

Read part 9: Schrodinger's Cat

1. Brain in a Vat

Imagine a mad scientist has taken your brain from your body and placed it in a vat with life
sustaining fluid. Neurons in your brain are wired into a supercomputer which can general all the sensing signals your brain normally receives. Thus, this computer has the ability to simulate your everyday experience. If this were indeed possible, how could you ever truly prove that the world around you was real, and not just a simulation generated by a computer?

This thought experiment is called “brain in a vat” and has to be the most influential thought experiment that touches the subjects from cognitive science and philosophy to popular culture. The idea for the experiment, which was popularized by Hilary Putnam, an American philosopher, dates all the way back to the 17th century philosopher Rene Descartes. In his book Meditations on the First Philosophy, Descartes questioned whether he could ever truly prove that all his sensations were really his own, and not just an illusion caused by an “evil daemon.” Descartes accounted for this problem with his classic maxim “cogito ergo sum” (“I think therefore I am”). Unfortunately, the brain in a vat experiment complicates this argument, too, since a brain connected to electrodes could still think.





This really sounds too familiar, you say, to the movie The Matrix. Well, that film, along with several other sci-fi stories and movies, was heavily influenced by the brain in a vat thought experiment. Neo was hooked into this big simulation called The Matrix, and before he unplugged, he thought that was his real life. Then turned out Zion, the last sanctuary for human kind, is merely another layer of the matrix, another simulation.



There are really two perspectives here:

The first perspective is that from humans. 

When we humans dream, our brains can experience signals that are pure simulations generated by the brain itself. We can see, smell, touch, walk, jump, run, fall off a cliff or a tall building (this one happens pretty much to everyone), and even fly. The simulation generated by the brain is so good that we could interact with the world and the world changes accordingly, for example, when we turn in a dream, the world rotates correctly "in front of" our eyes.

Once in a dream of mine, I was able to correctly recognize that I was in a dream. Since anything is possible in a dream, I tested it. "Let there be a spear!" I commanded. And a giant spear magically appeared in my grip. Next thing I know I was there swinging the spear, showing off a beautiful staff form. Unfortunately, the dream ended shortly. To this day, I don't know why I asked for a spear when I could have anything I want in a dream. That's also why my kids now call me Shakespear from time to time.

So how do you know you are not dreaming? How do you know you are not in a simulation? There's no spinning pendulum to give you a clue like that in the movie Inception.




Humans are also very good at simulating input signals to our brains when we are awake. That's why we enjoy books, plays, and movies. We put ourselves into the characters minds, or merely become a bystander in an imaginary world. Then we experience joy, sorrow, love, and hatred from things that never truly happened in the real world.

Then there's the world of MMORPGs (Massively multiplayer online role-playing game) from text-based MUD (Multi-user Dungeon) games in the early days, to EverQuest, to World of Warcraft, to Minecraft today. Players of such games get deeply immersed into the simulated worlds and sometimes preferred the fake worlds over the real one.

The other perspective is that from Artificial Agents.

In the Matrix Trilogy, Neo had no idea that he was actually not even a real human. When a software agent has been told that the world it lives in is the real world, it is just like a brain in a vat. When Agent Smith realized that, he went all haywire!

Software agents we build today are frequently developed or trained in simulations. It is true that most simulations today are not very sophisticated (but the agents themselves don't know), but they will get better over time. And the agents we train or send to work will also get more sophisticated and more intelligent. What if one day they become so intelligent that they realize they live in a simulation? What happens then if they break out of the simulation and start feeling the real world with real sensors and interact with the real word with real actuators? Will we end up with Jane (from Ender's Game series)? Or Philip (from The Outcast)?

Now comes the ultimate question: How do you know you are a real human, not just an artificial intelligence agent?

In the movie Total Recall, Arnold Schwarzenegger couldn't really tell if his Martial adventure was just the imaginary vacation he paid for or he really was a spy. And in the movie Inception, Leonardo DiCaprio also wasn't sure if his return to home and his kids were real or merely another dream. In a sense, Arnold and Leonardo were both in the superposition of both in a dream and also in reality (why do I keep thinking of Schrödinger’s Cat?). Arnold stayed confused. But Leonardo made a choice to accept it as the reality, even though the pendulum never stopped spinning. So maybe what matters the most is whether you choose to believe the world around you is real. But then what would you do if you were presented with the blue pill and the red pill?

Man, this is deep!! My brain hurts (whether it is in a vat or not). This concludes the 10 Famous Thought Experiments That Just Boggle Your Mind series (only took 10 years). Hope you had a good read!!

Now on to my daily battles!

BTW: The easiest way to remember my blog address is http://lanny.lannyland.com

Tuesday, July 16, 2019

10 Famous Thought Experiments That Just Boggle Your Mind Part 9

Read part 8: The Chinese Room

2. Schrodinger's Cat

Schrödinger’s Cat is a paradox relating to quantum mechanics that was first proposed by the physicist Erwin Schrödinger. He hypothesized a scenario where a cat is sealed inside a box for one hour along with a radioactive element and a vial of deadly poison. There is a 50/50 chance that the radioactive element will decay over the course of the hour. If it does, then a hammer connected to a Geiger counter will trigger, break the vial, release the poison, and kill the cat. Since there is an equal chance that this will or will not happen, Schrödinger argued that before the box is opened the cat is simultaneously both alive and dead.

Schrödinger meant to use this thought experiment to demonstrate the absurdity of Bohr's Copenhagen interpretation of quantum mechanics, where a quantum system remains in superposition until it interacts with, or is observed by the external world. Turned out that:
Successful experiments involving superpositions of relatively large (by the standards of quantum physics) objects have been performed.



I still remember the day when my Statistics Professor Dr. Reese threw a coin to the floor and then immediately put his foot on top of it. "The event has already occurred. But what is the outcome?" he asked. That was a great example of the Bayesian world, where the reality has already happened, but we still don't know -- the uncertainty.

Uncertainty is actually everywhere in AI/Machine Learning/Robotics challenges. For example, an object detection model detected a person, but only with 50% confidence. That means the object detected could be a person or not a person at all. And the bounding box detected could be spot on, perfectly bound the person inside, or it could be 50% off with a 50% IOU (Intersection Over Union). So how do you use this information if you have to decide if there is a visitor by your door? In this case, the event has already happened (there's an object there, whether person or not). There are also cases where you don't know what future holds. If you are in a self-driving car, the self-driving car has no idea what the car next to it will do in the next minute, it could just stay in its lane, or it could change into your lane and collide with your car. A well-designed self-driving car has to be able to deal with uncertainty, maybe when it notices the car next lane starts to weave, maybe it's a good idea to break a bit and keep a good distance from it. But just like Schrödinger’s Cat, before you open the box, anything is possible.

One solution is to try to obtain more observations that might give you more information and reduce the uncertainty. Maybe if you shake the box and hear the cat meow, then you know the cat is likely still alive. Maybe you wait 20 years, and then likely the cat is dead. Actually you don't even have to wait that long, a cat probably will die if it eats no food for a week? What is the cat is pregnant when you put it in the box. You would now have multiple cats that are both dead and alive and you don't even know how many cats you have.


Let's end this with a picture of cute kittens. Didn't Jeff Dean build a deep neural network that learned the concept of a cat all by itself simply by watching lots and lots of youtube videos?


Read part 10: Brain in a Vat

BTW: The easiest way to remember my blog address is http://lanny.lannyland.com