That time I taught that dog a trick

Image by FiveRings [CC BY 3.0], from Wikimedia Commons

Many, many years ago, I used to work with Jack*.  Jack is a musician and at the time was in band with two other guys.  Jack was renting this little cottage and that was where the band would rehearse.

One fine summer evening, the singer (Bill) came over with his dog. It was one of the little dogs with a vague, call it haphazard, genetic history.  The dog’s name was Zero (a cool name for a dog or a singer).  Bill’s landlord had just discovered that Bill had a dog and Bill’s lease prohibited pets.  Bill asked/pleaded/demanded if Jack could watch Zero for a few days.  Jack was the new guy in the band and felt a bit pressured to allow the dog to stay.

A few days turned into a couple of weeks.  Jack is not really a pet person.  He had nothing against Zero.  Zero was a perfectly fine dog.  It was just a responsibility that Jack didn’t want.  At that point in life, I really didn’t know anything about dogs.  Whenever I came over (I spent a lot of time there), I would play with the dog and we became friends.

So I decided to see if I could teach my new friend a trick.  Jack’s cottage had a little bit of land, enough for the dog to run around in.  There wasn’t a lot of space, but there wasn’t a lot of Zero either.  The cottage didn’t have many rooms, but it had a small living room.  There was a couch with a window right above the couch.  It was a pleasant summer and the windows were usually open.  The living room window didn’t have a screen in it. This would come in handy.

Over the span of a couple of days and a fair amount of dog treats, I trained Zero to jump out of the window on command.  If I said “Zero, Out!”, the plucky little dog would run into the living room, bound up on the couch and jump out the window,  That was the easy one.  It took much longer to train the dog to jump back in through the window.  But somehow, he did it.  If I yelled “Zero, In!”, he would take a running leap to the window.  He would get his front paws up on the window sill and pull himself in, back legs scrabbling against the siding.  Good times.

After a few days of training the dog to jump out a window, Bill came over.  I was outside with the dog and I stepped inside to see Bill.  Bill despised me and me being there always annoyed him.  After ignoring my greetings, he looked around for his dog.  He asked Jack where his dog was.  I spoke up: “You want Zero, he’s outside.  I’ll get him for you….  ZERO, IN!”.

On command, Zero came in through the window.  Bill was speechless to a moment and then managed to sputter out “What?”.  I said, “You don’t him in?  ZERO, OUT!”.  The intrepid canine went sailing back out the window.   Bill’s face turned red and I yelled “ZERO, IN!” and the dog came back in.

To make a long story, Bill took the dog home that night.

Looking back on this, I get that it was a really stupid thing to do to a dog.  And I don’t advise anyone else to teach an animal to jump out a window.  Zero was small and light, a larger dog could have been seriously injured.  Plus, it’s all fun and games when you are on the first floor….

* The names have been changed to protect the sheepish.  Except for Zero, he had a cool name.

Microsoft Edge to adopt the Chromium project

After a week of rumors, Microsoft has just publicly announced that they will be adopting the Chromium project for their Edge Browser.  They actually announced three things today:

  1. The Microsoft Edge browser will adopt the Chromium project
  2. Edge will no longer be released just for Windows 10, with updates limited to the latest version of Windows 10.  Edge will be available for Windows 7, Windows 8, and probably MacOS.
  3. Microsoft is joining the Chromium project and will be an active contributor.

What does that mean?


This is A Good Thing

Chromium is an open source project that Google started.  It is the basis for the Google Chrome browser. For better or worse, Chrome is considered to be the standard that web developers use for measuring compatibility.  There are things that Edge handles better than Chrome.  Touch gestures and battery life are better on Edge.  Microsoft has done a lot of work on accessibility and assisted reading devices.

This does not mean that Edge and Chrome will be the same thing.  Microsoft will add their secret sauce to the new Edge browser.  Nothing has been announced yet, but I would guess that it have better ties to Office 365 and Azure services.  Also Edge will be the default browser that comes with Windows.  When you get a new Windows PC, installing Chrome will no longer have to be the first thing that you do.

With the releases on older versions of Windows and Mac, developers will have larger audiences that can run Edge.  Enterprise customers with long term support for Windows 7 or Windows 8 will have a browser that will be continued to be supported for their machines.  Mac users will have the same experience on Mac and PC.

Microsoft will be joining and contributing to the Chromium project on Github.  Over the last few years, Microsoft has been one of the largest supporters of Open Source and has been an active contributor for many projects.  If you use Edge, you will have a closer match to web standards.  If you use Chrome, then you’ll get the benefits that Microsoft will add to the code base.  A rising tide lifts all boats.

What does this mean to developers who were targeting Edge?

Edge currently uses a rendering engine called EdgeHTML.  It was designed to be faster and more compliant with W3C web standards over Internet Explorer.  It’s part of the Windows 10 OS and updates are issued as OS updates.  It was pretty compliant with W3C standards, but Chrome was more compliant.  Quality Assurance testers would have to run different tests to make sure that web apps ran the same way on Edge has it does on Chrome.  With both apps using the same parsing and rendering engine, web pages should look and run the same way with both browsers.

With the move to Chromium, the Javascript engine will change from Chakra to V8.  Both are very good parsers and compilers, most web pages should have roughly the same performance with either engine.  There are runtime versions of each for Node.js.  One question will be will Microsoft continue to support and advance Chakra or will they focus that effort on improving V8.

So when?

All Microsoft is saying is “early 2019” for the preview builds.  While Microsoft has not given out a release date, I would be on sometime in mid 2019.  This isn’t their first trip to this rodeo.  The Edge browser on Android is based on Chromium now, so they have some experience with the code base.  If you would like to get early access the next Edge, you can register for the Microsoft Edge Insider program.