Thursday, July 30, 2015

On the Internet of Things and Talking Light Bulbs

I had the opportunity to hear Dr. John R. Williams give a talk titled, "Talking to Light Bulbs-- How the Internet of Things is transforming everything." This was a particular treat, listening to the man at the bleeding edge of innovation in my field give context and perspective to the IoT movement revolutionizing modern life. This is my attempt at setting down the points that resonated during that speech.

Right now, the best taxi service in the world doesn't own cars; the best retail service in the world doesn't have a physical location. And the best hotel service, doesn't own a single hotel. Data is being generated at an exponential pace, and analyzing this data is enabling the above to happen - it's even helping teach farmers how to be better at their job, beyond their own personal experience.

The beginnings for this were set up with the founding of the World Wide Web. Originally just to be used by the United States military to keep track of their stuff, the purpose soon expanded. Another milestone was in the development of HTTP - according to Dr. Williams at the time because HTTP was text-based it could get past firewalls since text was deemed safe; this made HTTP more useful than binary protocols.

The Internet was intended to support documents only. The coming about of Javascript birthed the creature known as a web application, which soon supplanted that original vision; it enabled developers to build programs on browser engines, which meant that these web applications can run on whatever device can run a browser. Now web applications are ubiquitous - practically all web pages aren't static documents, but rather are code that aggregate information from a multitude of sources. The code also has a second ability - it can track the user, and send out this information.

The revolution has only been helped by the open-source movement and the practice of releasing API's; developers can mash up different technologies and come up with novel applications. One example of this that Dr. Williams showcased was an app created by his students - the app leveraged the Meetup API to provide real-time information about meetings, filtered to those meetings comprising more than fifty people. The point of the app was to provide taxis with information on where to go for possible fares.

The coolest thing though that was demoed during the talk were the talking light bulbs. This was connected lighting - light bulbs able to change hue to create an atmosphere, able to turn itself on to wake you up, able to be toggled into security mode from your phone. Lights that can turn themselves off and on again to notify you of an emergency or a phone call. Light bulbs that turn on as you approach your house. 

The Internet of Things isn't all upside. It has proved to be a very disruptive force - many old businesses do not exist now because they have been made obsolete. Some companies have found success by embracing these changes and adapting to the changing times. The problem is that companies grow so successful they think they are too big to fail - it takes a special effort to always be on the lookout for the next sea change. Companies need to always be observing and orienting, and they need to decide and act quickly. In software development, this methodology is embodied in Agile programming - which in turn owes a lot to John Boyd and his OODA loop.

But IoT isn't just dangerous for companies that don't adapt; in many ways it's dangerous for its proponents as well. With increased connectivity and generated data and the current trend toward analytics, many people fall into the trap of thinking that the sky's the limit, that they can predict anything, and that the more information they put in the more in control they are.

This is understandable because for the longest time the prevailing mindset was that we can create mental models of phenomena to understand them. As more information comes up that shows minor problems with our mental models, we can make changes accordingly.

But what if a single infinitesimal change resulted in behavior completely different from that predicted by the model? The discovery of chaos and the butterfly effect mean that very small initial differences can result in huge perturbations. Dr. Williams illustrated this with the three-body problem - while it may be easy to predict the movement of a body hanging off another like a pendulum, adding a third body to the pendulum bob just makes predicting movement a hopeless endeavor.

Dr. Williams also related an anecdote about his colleague who was trying to predict the weather. During his calculations, the colleague made a mistake on the digit at the fifth decimal place; the result was that all his model's predictions were wrong. The colleague concluded it was impossible to predict the weather, because our measuring tools will never be accurate enough. And that's without taking into account the tools changing what they're observing as the measurements are being done.

Even in analyzing data one doesn't make use of all of the data; Dr. Williams mentioned that in order to make predictions often they just look at a fraction of the data - because data is almost always dirty, and making the algorithm fit the data too closely makes it too sensitive to these minute changes we've been discussing that result in wildly off predictions.

So there have to be boundaries. Within those boundaries, we have to allow for patterns to emerge on their own, perhaps introduce new strange attractors or dampen non-helpful ones. Of particular help would be the Cynefin framework developed by Dave Snowden.



Overall, it was a great talk. The above video was also used by Dr. Williams, but I couldn't find the other material I remember he used. I find some similarity with N. Taleb's ideas; lots of stuff to ponder.

Sunday, July 26, 2015

Once in a Blue Moon

The next Blue Moon will be in July 31, 2015. After that, you can enjoy this event again in January 31, 2018.

I never used to pay attention to these things before, but as I grow older I realize these are moments that are precious because of their rarity - and as I appreciate more that there are other people out there who will die just minutes before these occurrences...

Friday, July 17, 2015

All things strive.

In my youth I focused on academics. The result was, I graduated - just like billions of others around the world, and the billions more who will come after me. I studied and did not see any value in arts or physical education. The consequence is I am lacking in ways that other people are not, them having had a more active childhood than I. The paper my parents spent so much for me to get - getting it resulted in me working a post that can be easily replaced should I ever decide to leave. I have to keep studying and finding training because my skills quickly become obsolete in my industry.

I know now that the brain's plasticity does not remain into adulthood; for anyone who disagrees, try learning a new language in your thirties and compare it to learning your mother tongue - or even a second language - growing up. I remember even reading that the brain cells are completely replaced every ten years. Whatever achievement you got growing up, it's not yours: it's someone else's merit, someone who is now quite dead.

Beauty, strength, speed, wit - all these fade with time. Things that were perky before sag as gravity lays a greater claim on it. People in relationships change, and the challenge is in finding something to love in this stranger who calls herself your spouse. The money you save depreciates in value every year - and the inflation rate is something entirely out of your control.

And then there's other people. Be it out of jealousy or pride or small-mindedness or whatever, there will be those who will see fault in how you work or live or do business. Who will run away with your reputation in a narrative not of your choosing. All to pull you down - perhaps to raise themselves up? Or just so there's more people at the bottom...

And then there's you. You, who is so afraid of things changing and becoming more uncertain that you would sabotage yourself just so you won't have to change.

The general trend is down. Everyone goes down; it takes a special amount of effort and will and luck and thinking to move UP. And whatever it was helped you raise yourself up, isn't guaranteed to raise you up again should you fall. If it is available the next time around, that is.

Whatever advantages you bring now get used up or are rendered irrelevant. So go make more.
 
Forging a path forward is messy - expect to be soiled. But this is the very nature of the universe - so go ahead, no matter how dirty or disgusted with yourself you get. The fight is yours alone. Keep moving.

We were made to strive in this environment. We need to remember that we have to work hard, and whatever respite we get is temporary. Let's painfully struggle, to our very last breath. >:D

Sunday, July 12, 2015

Free Atena Farghadani



The art is impressive, but not very special. And yet somehow a woman stands to rot in prison for twelve years because of it. This blog isn't much, but let me at least make sure in a way only I can do that the works of she who is being silenced will never be forgotten.

You can read why she drew this here. And let me just say, any country capable of this will never attain whatever it is their God promises them after death.

Thief: The Dark Project and Aliens: Isolation

This article mentions another reason for why the original Thief series was so good. It's the fact that you can come up with these strategies and tactics. This is present in Trine, should be present in Team Fortress 2, and is present in every fighting game I love.

Alien Isolation's Artificial Intelligence Was Good...Too Good

Saturday, July 11, 2015

Something I Must Remember

From the blog Rory Miller, whose writings have been teaching me a lot about how not to be a douche. The following is a nice twist on the doctrine about wolves and sheep, something I've also been brainwashed about for years.

Packs

Saturday, July 4, 2015

Trine and the multiplayer experience

First of all, two things: I did not play multiplayer games as a child, a teen, and a young adult. It's only in my thirties that I got into Team Fortress 2 and was exposed to the fun of multiplayer.

Second, I got Trine on a lark because it had good reviews and was on sale at the time. I played for under an hour and liked the graphics, but didn't really get hooked. Trine was soon going to be part of my Steam backlog.

I read about the Dead MP Games Resurrection Group and joined. They had a scheduled Trine multiplayer game for today, so I thought why not? I played Trine for about an hour just to familiarize myself before the session.

My goodness, this game. I suppose it's a distant ancestor of Dark Souls? Because I died a lot - and I was not prepared.

I played with two members of the Steam group - they were in a party, one of two that were active at the time of the session. We were bad and awkward - but it was fun. There's a rush when you know the other character on your screen has a flesh-and-blood brain.

After the session, I played Trine again. On my own this time, I noticed that a lot of the puzzles in the game could be solved not just by timing and reflex, but also by the unique capabilities of each of my people. I found myself turning toward the Wizard a lot for solutions.

You have no idea how fulfilling getting this to happen was...