Less social networking, more familial interaction

It seems to me that as technology drops in price and becomes ubiquitous that it tends to focus on the individual and neglect the family unit.  I don’t see this as a deliberate attack on families, but I do see opportunities for innovation an effort in improving technology to make things easier for families.

A phone number used to be associated with a location–dialing a personal phone number would cause the phone to ring in a home.  Today, more people are cutting the land line and only using cell phones and this sometimes makes effective communication more difficult because there is no way to contact anyone in the family, only a particular individual.  This is particularly difficult for my kids who want to call friends–the younger ones don’t have cell phones yet, but when both parents work, calling cells simply doesn’t work.

Another example is the calendar.  Traditionally there would be a calendar on the wall or refrigerator that would be used to track activities for the family as a whole as well as individual family members.  Electronic calendaring systems have been around for quite some time now, but still paper calendars seem the norm for families.

It was the calendar that got me started making BakBoard, and it seems many other people have had similar ideas.  Just today I learned about the wall mounted information display created by Tom Scott which has a calendar, weather information, and (my favorite) a countdown timer to help get the kids out the door to catch the bus.  There’s also the Wall Mounted Calendar and Notification Center which doesn’t have the bus timer, but does have some buttons to change the calendar view and to refresh the web page.  Additionally there is a simple Raspberry Pi Wall Mounted Google Calendar.

BakBoard is an attempt to try to make a gadget designed for consumption by the family rather than an individual.  It remains in a known, central location and displays information for the entire household.  However, I think the technology involved is primitive when compared to many services out there tailored to the individual.

I think the Amazon Echo is going in the right direction a device for a family rather than the individual and it is considerably more sophisticated than BakBoard.  Boy #2 uses it to listen to music while washing the dishes.  Boy #1 uses it to remind him when it’s time to go to school.  Boy #3 likes the corny jokes it tells and also adds random items to the shopping list.  The girl child can ask it how to spell words.  The caveat is that everything happens on my account.  It is possible to switch between accounts (both my wife and I have accounts but the kids don’t), but it seems cumbersome.  Also, many of the integrations are user specific.

There is a lot of room for improvement in making technology look at the family rather than the individual.  From what I’ve seen, the biggest complications are finding a good way to balance privacy and security.  Other issues include treating the family as a unit while still recognizing that the family is made up of individuals.  Since I don’t dislike my family, this is an area which I want to further explore.

 

BakBoard

BakBoard

A couple months ago I had the idea that it would be nice to have a display in the kitchen to help the family be organized and coordinated.  I wanted it to have a clock, school schedule information, calendar information, and a family Fitbit leaderboard and to power it with my Raspberry Pi.

While searching around I came across DakBoard which seemed close to what I wanted.  It provides date/time information and displays calendar events.  Additionally it can display weather information, but the really brilliant piece it has that I was missing from my idea was to display pictures.  I immediately created an account to try it out, but unfortunately ran into some problems with the Dropbox integration and was unable to get support in the forum and my e-mails for help went unanswered–it seems not much is happening with DakBoard.  Since the code isn’t open source and it didn’t provide for my requirements, I went about creating my own “BakBoard”.

The above picture is a screen shot I took of BakBoard this evening.  It currently has the following features:

  • Date/time in the top left.
  • School information in the top right.  If it is before 4:00pm, it displays the schedule for the current day and after 4:00pm it displays the schedule for the next day.  The service that provides the school schedule information is described in this post.
  • Calendar information on the bottom.  It provides five days of information: the current day and the next five days.
  • Fitbit leaderboard on the right.  Currently it just has the avatar and number of steps.
  • Picture is the background for the entire board.  The pictures come from from selected subdirectories in my DropBox folder.  The picture changes every 10 seconds.

It remains a work in progress and I’m learning a lot, but already the family enjoys having the BakBoard display in the kitchen.  In future posts I may describe how things are implemented, what I’ve learned in the process, and new features added.

“I’m Nathan and I’m anti-social” or “No, thank you. We don’t want to . . .”

I’m the first to admit that I’m not the most social, outgoing guy in the world. When a new group is having everyone do a self-introduction, I used to try to keep with a succinct, “I’m Nathan and I’m anti-social.” Unfortunately people would often misinterpret my message in one of two ways:

  1. That I am making a joke and am really a very social person and should of course be pulled into all social interactions.
  2. That I am subtly crying for help and secretly longing to be included in all social interactions.

Neither interpretation works in my favor.  For some reason some people cannot comprehend that I do not want to behave like an extrovert.  And while honesty may be the best policy, it does tend to offend people or come off as surly or whiny.

Along with “I’m anti-social”, here are some other things that many people don’t seem to always understand:

  • I don’t like people.  I do like individuals.  But just because I interact with a set of individuals individually, it doesn’t mean that I want to interact with them all together.
  • Just because I’m competent and can function in society and interact with people as necessary doesn’t mean I enjoy it.  Also, just because I don’t enjoy interacting with large groups doesn’t mean I’m not good at it.
  • I would rather stay home with my family than go “out with the guys”.  Being in a group is not relaxing entertainment, but tiring work.
  • I don’t mind just sitting quietly and letting others do the talking–being quiet doesn’t mean that I’m upset or that I don’t care or that I am angry or don’t like someone.
  • I’m good at talking with an individual or speaking to a hundred or more people, but somewhere in the middle I feel very awkward and uncomfortable.
  • I really don’t care what people think.  People are stupid.  But there are a few individuals whose opinions I highly value.

Those are a few things I wish people would understand when I say that I’m anti-social.  If someone feels the same way, perhaps I’ve found a new friend, and if I told my new friend “No, thank you.  I don’t want to” do something, no offense would be taken.

Lighter than Docker

I’ve got four kids attending three different schools. Even though the schools are all in the same district and have the same holidays, each has a slightly different schedule. For example, the middle and high school have “A” and “B” days to designate which classes students should attend that day. The elementary school has days 1 through 8 to identify the daily “special” (PE, music, library, etc.) . Also, each school has different days for conferences, finals, etc. Each school provides a PDF of the school calendar, but that means keeping track of three URLs or printed pages, so I wrote a rest service.

The coding of the rest service was pretty simple and didn’t take too long.  The dataset isn’t very large and is static, so no fancy database was required; just some JSON files containing the information.  It was a good opportunity to practice using Python since that is the current programming language I’m learning on the side.  Since I’m a fan of Docker and the magic it works, I wrapped everything into a Docker image and now anyone can obtain the image from a public repository on Dockerhub.

Running the rest service from a container works great.  After I verified the functionality, I created a container using Amazon’s EC2 Container Service.  The container service was fairly easy to use and everything still worked smoothly.  However, since my 12 months of the Amazon Web Services free tier has long expired, after several hours I had accumulated a debt of $0.22 for only dozens of requests and seconds of computing time.  I’m cheap and don’t like the idea of containers trickling my pennies away while doing very little.  So I decided to try out AWS Lambda.

The first thing I like about AWS Lambda is that it’s cheap: up to 1,000,000 requests and 3,200,000 seconds of computing time per month are free and there is no charge when the code is not running.  It was easy to adapt my code to run as a Lambda function since what I needed was basically a subset of what is in my Docker container.  I just had to provide the functional code and didn’t need to worry about any web server to handle the HTTP communications.  In addition, the Lambda service also automatically provides scalability and high availability.

For my school calendar rest microservice, I think the Lambda implementation has worked out better than my initial Docker solution.  I needed something lightweight and got exactly that.  Here are some of the advantages/disadvantages of Docker vs Lambda:

Docker Lambda
-Portable
-Pretty much any language
-Scaling with Compose/Kubernetes/etc.
-When it’s running, it’s running
-User defined configuration
-Only on AWS
-Java, JS, and Python
-Automatic scaling
-Only runs when needed
-Configuration the AWS Lambda way

How Randall Munroe ruined most comics for me

Several years ago I was introduced to xkcd which is drawn by Randall Munroe.  I believe it was in a comment on Slashdot that basically said “Obligatory xkcd reference: link_to_some_xkcd_comic“.  It was amusing and I went back to “1” and worked my way forward.  I added xkcd to my feed reader and became a regular follower of the strip.

Many xkcd comics follow the same formula used by most comics in which multiple characters converse and by the end the reader has hopefully noticed something humorous.  In the case of xkcd, the humor is often rather nerdy.  I must confess that it was weeks or months before I discovered that every xkcd comic contains some mouseover text.  This means that when the mouse cursor is hovering over the comic, additional text appears which can take the joke even further.  So I had to go back and read all the comics again and remember to hover the cursor over each so I could get the whole xkcd experience.  In many cases the additional text takes a funny comic and makes it even funnier.  In other cases it takes a comic that doesn’t seem super funny and twists it into something hilarious.

Randall Munroe also has a serial (and book) called “What If” where he publishes “Serious Scientific Answers to Absurd Hypothetical Questions”.  Along with a technical explanation and general wit, the text is interspersed with illustrations.  These illustrations and the accompanying mouseover text not only help to convey the message, but also make the article seem less stuffy.

There are other intelligent, funny people besides Randall Munroe who create comics.  I read their comics and often chuckle when I finish.  Now, whether I’m reading on the web or in print, I always have a strong inclination to mouseover the comic and get the “rest”, but instead I’m left hanging . . .

Droning on

Bebop_Drone_2016-03-20T184442+0000_EEA2CFLast week Boy #2 used his hard-earned savings to buy a little quadcopter.  With practice, he has become rather adept at piloting rather than crashing and has had a lot of fun.  But what intrigued me the most was that it contains a camera which can take still pictures or video.  Since I didn’t think it would be nice to take over the boy’s new toy and since it is was my birthday, I decided could buy my own toy.

It’s not easy to jump into the world of UAVs (Unmanned Aerial Vehicles).  I quickly discovered that there are too many choices out there.  You can spend anywhere from  less than $20 to several thousands of dollars.  There are many different types which have various characteristics and strengths.  To further complicate things, there are recent laws and regulations affecting the use of UAVs.

Since I’m interested in the video/photography side of things and wanted something easy to fly and with a decent camera–that narrowed down the field a lot.  Also, though not a hard requirement, I thought that supporting a FPV (First person View) would be neat.  I did a fair amount of reading reviews and looking at different options in my “few hundred dollar” price range.  If I already had a good camera like a GoPro, I might have gone with a Phantom, but since I needed a camera, I ended up going with a Parrot Bebop.

I knew I would want to play with my new toy as soon as I got it, so I started my preflight tasks before it was delivered.

First was all the legal stuff.  Because the Bebop weighs more than .55 pounds I had to register with the FAA.  I installed the FAA B4UFLY app which told me I was less than 5 miles from an airport and needed to notify them of my intent to fly.  Of course they don’t publish the telephone number of the tower, so it took a little web searching and e-mailing to find the correct contact information.  I then sent an e-mail containing the checklist information from Guidance for UAS ATCT Notification Calls.  For the time and duration of operation I said “Daylight hours” and gave the dates for spring break.  I didn’t receive a response, but the airport doesn’t approve flights, they can only deny flights.  Since I’m more than 4 miles from the airport and won’t be going above 400 feet, I doubt they care, but if they do they know how to contact me.

Next I installed FreeFlight 3 onto my phone.  I tried playing with the app, but there isn’t much you can do without something to control.  So then I just had to wait for my Bebop to be delivered.

Once it was delivered, the first step was to get a battery charging.  Also, I wrote my FAA UAS Certificate number onto the Bebop with a Sharpie.  For my first flight I wanted to try it indoors, so I attached the propeller protectors.  I was then ready to try to fly.

It took a few minutes to figure out how to connect to the Bebop.  My phone could see the Bebop wifi network and it connected, but when I started FreeFlight, it didn’t connect up.  It turns out the problem as my phone had “Smart network switch” enabled so it would see that the Bebop wasn’t connected to the Internet and automatically switch over to the home wifi which does have Internet access.  Once I disabled “Smart network switch” I was able to connect.

After trying to fly a bit indoors and crashing into Boy#2, it was time to take off the propeller protectors and head outside.  The Bebop is fairly easy to control and all the kids took a turn.  It started to rain a bit and so I was about to finish up for the evening, but then a rainbow appeared.  I flew the Bebop up to about 100ft (I had the Bebop configured to go no higher than 30 meters and took it up to that max) and took a few pictures; one of which is at the top of this post.  By then the rain was increasing and the battery charged was diminished, so it was time to land and return home.

 

The machine that goes ping

Yesterday I learned that as of 1 April I will no longer be employed with IBM.  Instead, I am being given an opportunity to work for Persistent Systems Limited.  The transaction is vaguely described here.  I’ll still be doing pretty much the same job, but as a contractor rather than an IBM employee.

While sitting in various meetings hearing about what’s going on, most of the discussion was about the business side of things–apparently it’s a win-win for both companies.  While hearing about it, it made me think of the machine that goes ping.  It is apparently very clever to lease it back from the company they sold it to and everyone gets excited about that.  My situation may be similar to the machine that goes ping, but in some ways I felt more like the woman in labor who is being ignored.

Today I got some more information.  While this change is a surprise, it seems like both IBM and Persistent are making an effort to make this a good opportunity for me.  I’m optimistic that it will be a win-win-win:  a win for both companies and a win for me as well.

How Allan’s ruined most fish tacos for me

fish tacosI like fish tacos.  Because Boy #1 has a fish allergy, we don’t have them at home, but when fish tacos are an option at at restaurant I’m likely to order them.  While attending grad school in Boulder, Colorado a favorite, cheap place to eat was Wahoo’s Fish Taco so I frequently got my fix.  Wahoo’s was sadly missed after moving to Portland, Oregon, but I still managed to find fishy taco goodness in various other places.  Then Allan’s Authentic Mexican Restaurant opened up nearby and that changed everything.

One thing I like about working from home is that I’m able to have mini lunch dates with my wife.  Even if I just pop out from my home office for 15 minutes, it’s always pleasant to sit, eat, talk, and just spend time with her.  For one such date, in 2009 I think, my wife decided to try out the close, new restaurant.  Knowing my proclivity for fish tacos, she got two take out orders and brought them home.  The verdict: Allan’s fish tacos are so good.

It’s been a few years.  I still occasionally order fish tacos at other restaurants.  Good fish tacos at good restaurants.  Fish tacos of which I can think of no complaint.  There is no reason why I shouldn’t be completely satisfied with my choice, and yet there is always the nagging thought in the back of my mind that the fish tacos just weren’t as good as what I would have gotten at Allan’s.

It gets worse.  Because Allan’s has such wonderful fish tacos and is so convenient, eating at Allan’s or getting takeout is not something that would be considered atypical.  Some people say that Allan’s offers various splendid choices, but I wouldn’t know.  I always get the fish tacos.  I sometimes look at the menu and make a pretense of trying something new, but it doesn’t happen.  Sometimes I have tilapia instead of salmon on the tacos, or pinto beans instead of black beans on the side, but I always get fish tacos.  Were I to do otherwise would just lead to further disappointment:  either disappointment for not ordering fish tacos and getting something I like less, or disappointment of getting something even better and then never getting fish tacos again.

So now fish tacos are mostly ruined for me.  If I order them anywhere but Allan’s, I’m filled but not fulfilled.  When I go to Allan’s, I must order the fish tacos.  So thank you, Allan’s, for mostly ruining fish tacos for me.

 

Master Inventors and Goggles

GogglesShortly after joining IBM, I sent an inquiry to an IBMer.  I received a timely response from her and noticed in the e-mail signature was the title “Master Inventor“.  This was the first time I had heard the term and it evoked images of a job where one wears a lab coat and perchance even goggles.  I thanked the sender for the information and mentioned that I thought Master Inventor was a cool title.  She then gave a brief response  explaining the Master Inventor title and how she got there and how I could get started on the patenting path.  I do not remember who it was, but I am grateful that she took the time to provide a nice, personal response.  That is what started me down the road of turning ideas into inventions in a formal way.

About eight years later, I was honored to be named an IBM Master Inventor.  While I didn’t receive a monogrammed lab coat or goggles (sob), I did receive a nicely framed certificate that now hangs above my disheveled desk.  Less obvious than the cool title is the learning and experience I gained.  One of the things I learned is that ideas are cheap; I mean that in different ways.

Ideas are cheap.  You’ve got to work to make them valuable.  I’ve “lost” some good ideas because I didn’t take effort to write them up, define things more clearly, and actually do something with the idea.

Ideas are cheap.  Anyone can have them.  It doesn’t cost years of study or practice to have an idea.  It doesn’t take expertise.  Often I’ve heard terrific ideas from people with no knowledge of the technical area and having just heard about a problem to be solved.  It’s important to listen to the ideas of other people.

Ideas are cheap.  In brainstorming some say there aren’t any bad ideas, but there are.  The funniest of my bad ideas come when I’m half asleep and somehow I convince myself that I’ve come up with something brilliant.  Fortunately, I’ve learned not to get too attached to bad ideas–I can throw them away because they are cheap.

Ideas are cheap.  It’s OK to share ideas with others–it’s better than hoarding them.  This is especially true for ideas that aren’t accompanied by any action–perhaps someone else will see your good idea through.  In my case, my employer has first dibs on my relevant ideas (and I am compensated for them).  But ideas that are unrelated to or unwanted by IBM I am free to share.  So perhaps a future posting will describe the invention I built so that I could dance my password.

Ideas are cheap.  So try to have a lot of ideas.  I played paintball once and learned the concept of “accuracy by volume”.  If you cover the arena with paint you’re likely to also get your opponents.  If you have a lot of ideas, some of them are bound to be good.

Ideas are cheap, but I’ve gained a lot working with them.  So now when I submit my tax return (as I recently did), under occupation I specify Master Inventor.  Perhaps someone in the IRS is imagining that I wear goggles . . .

What OS for Docker host? (Part 4)

This is a continuation from What OS for Docker host? (Part 3).

discs

TinyCore

Next I tried TinyCore Linux.  I downloaded the 100MB “CorePlus” ISO instead of the minimal 10MB “Core” ISO because CorePlus contains the installer and the extra stuff for wireless.  In “Live” mode I had no problems using the no-frills utility to get the wireless working.  TinyCore has its own package manager with both a GUI and a command line tool called “tce-ab”.  I actually found tce-ab to be easier for new users than yum or apt-get since it is more interactive and prompts you with questions and choices of answers.  I used it to install curl without issue.

I didn’t have any luck installing Docker.  The package manager didn’t seem to know anything about it and the normal Docker script (which I pulled down using curl) crashed and burned without even useful errors like I’ve seen with other distributions.  Since Docker is a key use case, I want it to work and be easy to install and update.  And so I decided that I wouldn’t use TinyCore.

Conclusion

I failed.  I wanted to find a new (for me) operating system for running Docker containers.  Although I wanted something lightweight, while doing through the investigation my key requirements seemed to be:

  1. Docker (easy to install/upgrade to the current version)
  2. Remote access (since the screen is cracked, I just want to interact via SSH)
  3. Wireless support (so I can get the laptop off my disheveled desk)

Of the requirements, it seemed like getting both 1 and 3 together was the tricky part.  Most of the bare bone systems designed to run Docker assume that the machine is “on the cloud” or at least has a wired connection.  If wireless weren’t a requirement, I’d probably go with Rancher OS–I had the best experience with it apart from the wireless problems and I want to continue playing with it some time in the future.

And so I went with Ubuntu 15.10 Desktop since that was the first disc I found for something I knew I could get working.  The install of the fresh OS, wireless configuration, install of an ssh server, and installation of Docker 1.10.2 occurred while I was writing up my TinyCore experience and the above part of the conclusion.  The only “gotcha” was I forgot to change the power settings so that the laptop wouldn’t suspend was the lid was closed, but that was an easy fix.  It now sits on an unused chair in the dining room until my wife kindly suggests I find a “better” place for it.  I can connect to it via SSH and already have a microservice running on it in a Docker container.

So I failed and ended up with what I could have had a week and a half ago, but along the way I did learn about various other Linux distros and as an added bonus now have a bunch of burned discs (mostly unlabeled) to clutter up my disheveled desk.