Studio711.com – Ben Martens

WeMo Light Switch Review

wemolightswitchI have a pretty long checklist of things I do when we leave our house and one of them is setting up a few light timers. But if you watched Home Alone, you know that simple light timers are pretty obvious to burglars.

I have tried a couple more complex options, and the latest one is the WeMo light switch from Belkin. They have a variety of products like this but they all have WiFi built in which means you can control them from a variety of devices.

I installed one in our house and everything was really simple to get going. The hardest part was that they only support Android and iPhone. Ken had loaned me an older Android device but it wasn’t able to run the software so he came through again and loaned me Galaxy S3. That worked fine and setup was a breeze. You basically put the phone on the same temporary WiFi network as the light switch and then the phone passes along the regular house WiFi credentials so the light switch can get on the network with all your other devices.

From there you can schedule the light switch from your phone or from the IFTTT website. Side note, if you haven’t played with IFTTT, it’s fun to check out. IFTTT stands for “If This Then That” and they are positioning themselves as a way to get more value out of your Internet of Things devices. For example, I set up a “recipe” that says “If I hold down my WeMo light switch for 5 seconds, call my phone.” (It’s a convenient way to find a lost phone.) Or maybe you want it to turn on the house lights when you get close to home, turn down the heat when you leave, or flash the lights when you get to your Fitbit step goal.

WeMo is a nice way to get into home automation without making a big mess of your house or having to explain it to your house guests. This light switch is still a regular light switch. You don’t have to know anything about it to work it, but it has a bunch of extra capabilities that I can use if I want to geek out a bit.

The one complaint is that this only works with lights that have a single switch attached to them. They don’t (yet) have a solution for 3-way circuits. Hopefully that comes because it would be really nice this on some of our 3-way circuits.

You can pick this up from Amazon for $37.

Planes For Charity

During the month of October, the Makers Care group is encouraging makers to creating a plane of any kind to raise awareness (and money) for Make A Wish. Steve Ramsey posted some plans along with a video. For every plane we make, Steve Ramsey will donate $5 and it will be matched by MicroJig.

I used some scrap walnut and cherry to make two of the planes. It was my first attempt at making toys. They came out reasonably well but even this small project taught me a lot. My next project is probably going to be a much more complex toy for Elijah so I’m glad I had a smaller warm-up project to get some of the learnings out of the way.

You can find more information about this charity drive at makerscare.com. You still have time to build your own! It doesn’t have to be done with wood. ANY plane will qualify and you can look through the gallery to see some of the ideas people have come up with.

makerscareplanes

Fantasy Football – Week 6

2015_week6_staffordThe Seahawks. Ugh. The offense and defense actually looked ok-ish until the fourth quarter. The flea flicker play was one of the best plays we’ll see all season.

Congrats to Luke! He’s on the board with his first win and through the magic of our playoff system, he’s still in the game along with everyone else. Andy gets kudos for starting a perfect roster. My improbable run continues and I now have a two game lead. Something about “farther to fall” comes to mind. Dad and Logan are tied for second with Andy in fourth. But there’s a long way to go before the playoffs.

Power Ranking:

1. Ben
2. Logan
3. Tim (+1)
4. Dad (+1)

Now on to the weekly awards.

This Week Season All-Time
Highest Team Score Ben had 165.00 Tim 200.51 (Week 3) Tim 200.51 (2013)
Lowest Team Score Austin had 96.52 Austin had 64.70 (Week 5) Luke 47.01 (2011)
Biggest Blowout Ben beat Tim by 30.83 Ben beat Austin by 68.23 (Week 4) Luke beat Andy by 113.02 (2010)
Closest Win Dad beat Jim by 21.17 Austin beat Jim by 2.49 (Week 2) Jim beat Ben by 0.12 (2012)
Highest Scoring Player Matthew Stafford had 41.90 for Dad Aaron Rodgers had 44.92 for Tim (Week 3) Peyton Manning had 60.28 for Andy (2013)
Longest Active Winning Streak Ben has a 6 game winning streak Was Ben had a 5 game winning streak (Week 5) Micah had an 8 game winning streak (2011)
Longest Active Losing Streak Austin has a 4 game losing streak Luke had a 5 game losing streak. (Week 5) Kyle had a 14 game losing streak (2011)

Cloud Computing Job Description

datacenter(Note: I generally try to avoid specifically mentioning my company name because then I get picked up by search engines and news articles and incorrectly quoted as an official company resource. Let me be clear that none of this is an official company statement. I’m just explaining things from my current, personal viewpoint.)

I’ve worked in some interesting groups in Microsoft. The most recent was probably the easiest to explain. I’d just tell people to go to powerbi.com and they could either watch a couple videos or even sign up for a free account. Now I’ve made the switch to Azure Compute and I’m in more of a data scientist role so I thought I’d take some time to explain what that all means.

Azure and Cloud Computing
Azure is Microsoft’s cloud offering. It’s a direct competitor to Amazon Web Services (AWS). It’s hard to know who is bigger because these companies don’t publish lots of numbers, but it’s probably safe to assume that AWS has more customers than Azure. Watch for that to change in the future though. Azure is growing by leaps and bounds.

That’s great, but what is “the cloud”? In the past, businesses have operated their own data centers. It’s generally a building full of racks and racks of computers with blinky lights and cables all over the place. Each computer is specially built for a special purpose and maybe there’s an identical one sitting right next to it in case the first one fails. There is a huge overhead cost of the building (including cooling, electricity, maintenance, etc) as well as the need to amortize the cost of all the equipment over many years. Companies often end up running on old equipment because they’re still trying to pay it off. And oh yeah, even if you can get a datacenter running smoothly and paying for itself, if you need to be concerned about compliance, certifications and international law, be prepared to create a new data center in a variety of countries or even in specific countries. There are all kinds of laws that say, for example, you cannot move user data out of Europe if it was created there. How’s that going to work if your only datacenter is in the United States? There have been huge international changes in this area after all the Snowden revelations. And oh yeah, even if you do somehow manage to build out a global network of datacenters, some countries won’t let you do business there unless they run the datacenter themselves! You don’t even get a key to the building that you paid to construct. It quickly becomes a nightmare to manage on your own.

Cloud computing changes that whole model. Microsoft, Amazon, and others are building enormous data centers around the world. Instead of designing and buying all of your own equipment, you just rent time from the provider. In Microsoft’s case, that is the Azure service. There are many different products inside of the Azure world, but the basic premise is that you no longer need to think about the physical hardware. You just tell Microsoft what reliability and scalability you want. Do you want to store data in one part of the world but have it automatically mirrored on the other side of the world? Click a box. Do you want to change from using a single CPU machine to one with 16 CPUs? Click a box. Do you want to expand from 10 computers to 1000? Click a box. Or you can even completely ignore what kind of computer is being used and just publish your web application to Azure. Azure will then help you automatically scale based on load and automatically failover when underlying hardware has issues. It’s a big mind shift and it’s taking time for some companies to wrap their heads around it. At this point you basically have people in the old mindset who are still running their own data centers and are trying to pay off the cost over 10-20 years while their competitors are using the latest cloud technology and are just paying for what they use. Cloud computing costs a fraction of what a full, custom datacenter would cost and you’ll get eaten for lunch if your company doesn’t switch over because your competitors will be running so much faster and cheaper than you can.

Azure Compute
I’m in the “Azure Compute” team. It’s one of the fundamental building blocks of Azure. This team provides the virtual computers directly to customers and also to all of the other Azure products. If you need computing power in Azure, it comes through this team. As an example, there is a virtual machine in Azure hosting the MySQL database that powers this website.

Data Scientist
And finally, my title has changed from Software Engineer to Data Scientist. The “data science” term is a buzzword right now and I always ask people to define it when they use it because everyone means something different. But very generally, what it means on this team is that we take all of the telemetry data that we get from the system and we dig through it, analyze it, and run machine learning algorithms on top of it to find problems and make sure our customers are happily getting what they pay for. There’s also a lot of “data engineering” thrown in because in order to analyze petabytes of information, you have to do some serious work to get all that data moved into the right systems and curated into a format that makes sense. And once you get it all working, you have to keep it working.

This area of computer science has been around for a long time but it’s getting really hot right now. Technology has advanced to the point where storage and computing power are almost free (because of cloud computing) and everything around us is logging data. Depending on which report you read, the total amount of data on the planet doubles every year or two. And the rate at which it doubles is rapidly increasing. All of this data on it’s own is pointless so it’s the job of people like me to dig through it and extract actionable information and value from it. It’s an exciting area of the field and I’m really happy to be doing it for Microsoft Azure!

Office 16

powerqueryexcel2016The next version of Office is now public. “But Ben, I already have Office and I hate buying new copies of it.” Never fear! Do you have an Office 365 subscription? If so then you get this upgrade for FREE. And if you don’t have a subscription, this is a good reason to consider it. Unless you have a single computer in your house and you never upgrade Office, the subscription is a great deal. You get five installs with free upgrades, 1TB on One Drive, and some other perks for  100/year. There’s no more worrying about whether or not the upgrade is worth it for you. Pretty slick!

I normally don’t get too worked up about Office upgrades, but I’m really excited about Excel 2016. You may remember that I spent the vast majority of my time at Microsoft on Power Query and the projects that led up to it. Power Query now ships as a core feature of Excel 2016! Click the Data tab and look in the “Get & Transform” section. It’s awesome to have my code running on hundreds of millions (or billions?) of desktops. I know that it’s not a feature that most people will use, but it’s still cool to be included.

Front Step Bench

Before we re-landscaped the front yard, we had some hedges that came up to the front step. They weren’t beautiful, but they provided a convenient place for deliveries to be hidden. Now that we’ve removed the bushes, packages sit on our doorstep in plain view. We’ve never had a problem, but I’d prefer to have them at least partially obscured.

I decided to build a bench to fit on the step. Packages can be left under the bench, and, if necessary, I could even add a piece of wood to one end of the bench underneath the seat to really block the view from the street.

I used a SketchUp design file that is all over the web. (Unfortunately I don’t know who gets the original credit for this design. If you know, please contact me and I’ll give proper credit.) The design made heavy use of mortise and tenon joinery. While this type of joint is a staple in furniture woodworking, I’ve never done one myself. This seemed like a good learning project.

My first thought was to build this out of cedar since that handles outdoor weather well, but the cost quickly added up as I did the math. Instead, I ended up with hemlock fir (also purchased at Home Depot.) It’s pretty neat what you can do with standard dimensional lumber if you choose cleaner sections of the boards, trim off the rounded corners and run it through a jointer. This whole thing only cost about $30 in wood and I have some pretty big cutoffs left.

The four posts were wider than the 1 1/2″ I got from the boards so I used one full piece and then glued on half of another piece to get 2 1/4″. It actually looked reasonably good bare but after it was painted, the seam was completely invisible.

The mortise and tenon joints took me a very long time to complete as I fumbled my way through them. My joints got better and better as I went through the project though. I used a drill press to cut most of the mortises and then finished off the corners with a chisel. The next time I do it, I think I’ll try a router instead to get a cleaner mortise. I got the tenons with the bandsaw and that worked really well.

I hemmed and hawed a bit about how to finish the project. I like the look of natural wood, but it didn’t really fit the look of the front of the house. Plus I thought that the bench might weather unevenly since the outer half will be more exposed to sun and rain than the inner half. In the end, I put on a coat of Kilz primer and then used the same color as our exterior trim. I had an old can of that from the previous owners and the computers at Home Depot were able to match it perfectly! When I took the paint in to be matched, I explained that it was our house color. The lady replied “Do you live in an Army barracks?” I had never noticed it before, but instead of just being a dark gray color, it does actually have some green in it. Maybe I hadn’t noticed because it’s used for the house trim and it’s always against a light brown color.

I’m happy with the end result. It’s held together almost entirely without nails or screws. I did use a couple screws and nails just to ensure that the bottom seat supports don’t come lose over time. That part was at a weird angle and I didn’t want to screw up a mortise and tenon joint at that point in the project. The screw comes in from the back so nobody will see it.

bench1 bench2

(In the last photo, Elijah is trying to take a picture of me.)

Great Washington ShakeOut

washingtonshakeoutWhat would you do if the ground starting shaking right now? How would you reunite with your family? How would you survive for a few days if the area infrastructure was messed up? Education around those questions is the target of the Great Washington ShakeOut taking place today at 10:15am.

Tyla and I recently purchased an earthquake survival kit which just amounts to a backpack loaded with three days of food, water, and some basic supplies. We also have a generator and a bigger cash of canned food in the event that we’re able to stay on our property but can’t get food from the stores. It’s all stuff you hope that you never have to use, but if you do need it, you’ll probably wish you had done more!

Check out the site for some good information about how to be prepared.

Fantasy Football – Week 5

2015week5_joshmccownThe Seahawks. Bleh. I hope they finish above 0.500. The first half looked ok but then things fell apart in the second half and ended with four consecutive punts. I just don’t see how they can plan around their non-existing offensive line for an entire game.

Our league got a little more spread out but we still have four teams tied at 2-3. Luke continues to look for his first win, but take heart Luke. You’re not the lowest average score and your average score is almost exactly the same as Dad’s and he is 3-2. Luke also has had the second toughest schedule to this point. I think the game of the week was Andy and Tim. Going into Monday night, Tim had a reasonable chance of winning his match with less than 70 points!

There are a ton of high profile injuries floating around right now so please make sure you’re checking your rosters. I won’t call deadbeat on anyone yet but there have been a few situations that surprised me that a player was started despite the reports. I’ve got the league checker robot running again to send out notifications on Thursday and Saturday mornings. You’ll get notified if you have anybody in a worse than Probable state. Every year total points end up deciding the final spot in the playoffs so every game counts!

The power rankings have shifted a bit. Austin dropped out and Jim jumped onto the list. I’m still inexplicably on a good run that I expect to end any week. Jamaal Charles is out now so maybe that’s the start of the end for me.

1. Ben
2. Logan (+1)
3. Jim (+2)
4. Tim (-2)

Now on to the weekly awards.

This Week Season All-Time
Highest Team Score Ben had 150.86 Tim 200.51 (Week 3) Tim 200.51 (2013)
Lowest Team Score Austin had 64.70  Was Andy 70.73 (Week 2) Luke 47.01 (2011)
Biggest Blowout   Ben beat Austin by 68.23 (Week 4) Luke beat Andy by 113.02 (2010)
Closest Win Andy beat Tim by 8.83 Austin beat Jim by 2.49 (Week 2) Jim beat Ben by 0.12 (2012)
Highest Scoring Player Josh McCown had 39.48 for NO ONE. Aaron Rodgers had 44.92 for Tim (Week 3) Peyton Manning had 60.28 for Andy (2013)
Longest Winning Streak Ben has a 5 game winning streak Was Ben had a 4 game winning streak (Week 4) Micah had an 8 game winning streak (2011)
Longest Losing Streak Luke has a 5 game losing streak Was Luke had a 4 game losing streak. (Week 4) Kyle had a 14 game losing streak (2011)

Pumpkin Patch

A trip to a pumpkin patch is an annual tradition for us. This year we went back to Bob’s Corn and Pumpkin Farm. Elijah loved the hayride because we got to sit up from by the tractor. We didn’t even get off at the end. We just took the round trip. They also have a nice playground, small petting zoo and pony rides. If you’re into fall foods, they have plenty to choose from: apple and pumpkin donuts, kettle corn, BBQ, etc. For the bigger kids (umm… and me…) they have three pretty big air canons that shoot apples. All in all it was a great morning but I’m glad we got there early. It was getting really busy when we left.pumpkin2015_1 pumpkin2015_2 pumpkin2015_3 pumpkin2015_4

 

Firefly

FireflySay the word “Firefly” around a sci-fi geek and they’ll get all giddy and sad at the same time. The show only ran for one season (14 episodes) back in 2002 but it has a huge following. The show isn’t super high budget, but it’s plenty to be entertaining. It unabashedly mashes the western genre together with sci-fi and the result is great. The premise is that humans have been expanding across the galaxy and the outer planets were settled with basically people and some livestock. The show follows some a crew on a ship that takes whatever transport jobs they can find whether or not they skirt the edge of the law.

It’s all available for free on Amazon Instant Video if you have a Prime subscription. I finally watched the show and loved it, but now, like other fans, I’m disappointed that it’s over and there are no more available!