Archives For October 2015

kansas city, again day 2

October 25, 2015


One more day in Kansas City. One of my stops was the Negro Leagues Baseball Museum, in the same building that also houses the American Jazz Museum. I paid $15 to see both, and thought it was money well spent. I stayed for several hours just looking and reading, especially in the baseball museum.

It’s packed with a lot of history, much of it made during my lifetime. I came across an entry for Hank Aaron (“Hammerin’ Hank”). He started playing for the Boston Braves a year before I was born. He came to Atlanta with the then Milwaukee Braves in 1966 (the Boston Braves became the Milwaukee Braves became the Atlanta Braves). From that point I kept up with him and the team.

the museums
the museums

The museum didn’t allow photography in the museum proper, and I understand that. My few photos are of the street exterior and the foyer.

After a few hours just soaking in the NLBM I meandered a bit around the city, enjoying the late afternoon sunshine and the balmy 65° weather. And then I drove back to the hotel and supper.

"Raspberry Pi 2 Model B v1.1" by Multicherry. Licensed under CC BY-SA 4.0

“Raspberry Pi 2 Model B v1.1” by Multicherry. Licensed under CC BY-SA 4.0

My work with the Raspberry Pi started with the original Raspberry Pi 1 model B, the version that came with just two USB ports and the most amount of RAM at the time, 512MB. I purchased the B+, and then earlier this year, the Raspberry Pi 2 Model B. During all that time I’ve run some distribution of Linux on it; Arch first and for the most amount of time, then Raspbian when Arch suddenly corrupted itself after what turned out to be an ill-advised update on the B+.

If you look at the entries in this blog under Raspberry Pi you’ll note that it’s been for the most part light weight and a way to get to know how the hardware and software work together. I’ve looked up and followed along, making changes necessary for it to work on my end. I’ve not published anything unique that advanced the use of the Raspberry Pi. My excuses boil down to lack of time to really research and then apply what I’ve learned. I’ve got all sorts of big ideas, but just need to figure out how to make them real.

To that end I’ve started to look at the latest releases of operating systems available for the latest Raspberry Pi 2. Before the trip I managed to install the latest Arch, Raspbian, and Windows 10 for IoT. Here’s a quick rundown on what I discovered.


The latest Arch Linux for ARM has a page devoted to installing Arch directly onto a micro SD card for the Raspberry Pi 2, using Arch Linux as the tool bench. In my case I used my Samsung R580 notebook running Ubuntu 15.04. The only tool I needed to add via apt-get was bsdtar. Otherwise the directions given for the Arch environment worked identically on Ubuntu (taking micro SD card device differences into account).

Once the installation process was finished, I put the micro SD card into the RPi 2 and watched it book into a text console. Nothing out of the ordinary in that, and in a way I prefer text over a GUI. My only complaint with the latest Arch is the lack of out-of-the-box WiFi support for the most common WiFi dongles. I had to install WiFi support after my first initial installation of Arch Linux nearly two years ago. Here I am with the latest and I find I’ve got to do that same all over again. My main reason for looking at Arch is its relatively lean footprint, but lack of WiFi support is just a bit too lean. It’s annoying to fix this issue, especially as WiFi networking on the Raspberry Pi is a big feature, two years since the last time is a long time, and when it’s not there out of the box, it’s a big issue.


The latest Raspbian image was installed using my Ubuntu system and the ‘dd’ method for copying the image onto another micro SD card. Once booted, Raspbian will walk you through an initial configuration and expand the file system, consuming the rest of the card. It now boots immediately into a graphical desktop. This is all well and good, but even with a quad-core ARM processor and 1GB of memory, the GUI still taxes the Raspberry Pi 2. This so-called taxing shows as a jitteriness of the mouse cursor as it moves across the screen, among other issues.

I give points to the distribution for fully recognizing my Apple USB keyboard without having to perform any kernel-level configurations, and it recognized both of my WiFi dongles and thus joined the network at boot. For a distribution where you want the greatest assurance it will come up and be usable by an absolute novice to the Raspberry Pi, the current Raspbian distribution can’t be beat. To quote Apple, “It Just Works.”

But I’m still not quite happy with it…

Windows 10 IoT

This was the most sophisticated, and in the end, the most disappointing of the three. I’m glad I gave it a spin, but I would never use it for my own work nor can I recommend it for anyone else to use.

Microsoft has a page to help you get started here. I chose to download an ISO image and to install the tools necessary to flash a micro SD card with the IoT image that comes bundled with that ISO. Once installed on the Raspberry Pi, the Pi booted into Windows 10 with absolutely no problem. The problems came later when it turned out it wouldn’t work with either of the two WiFi USB dongles I’ve been using with Linux ever since the original Raspberry Pi B was purchased.

I spent more time than I cared to slumming through the forums, but no-one seemed to know how to get WiFi working. After about an hour of trying various so-called solutions I shut it down and deleted everything. Yes, I could have plugged the Pi 2 into an open network port on my home router, but I still had no guarantee I would find the proper drivers to make WiFi work. I know how to get all that to work under various Linux distributions. The bigger issue is the requirement to have a desktop Windows system in order to develop for the Raspberry Pi 2. As I’ve written about here you can do some serious and sophisticated work natively on the Raspberry Pi, reaching back to a desktop/laptop only when the development needs are fairly serious. I don’t want to be forced to do this out of the gate. I lived that development life back in the 1990s with Wind River’s VxWorks. While that was fine back then, I don’t want to go back to that, especially now. Even the Beagle Bone Black, which requires a laptop to bootstrap it’s development tools, has everything local to the BBB, and only requires you use a browser.

Unless it changes drastically I’m done with Windows 10 IoT.


There’s a lot that has happened over the last two years, especially with regards to security and encryption. I knew the Internet had devolved into a dangerous place, but I didn’t know how dangerous until the leaks from Edward Snowden and other’s he’s inspired. That has in turn motivated me to think about best practices for securing an internet-of-things device such as the Raspberry Pi 2, and how best to encrypt data both at rest on the device as well as across the wire into and out of the Pi. I’ll have more to write about later, but for the present, I can’t approach this with the same naivete I did in the beginning.

ubuntu 15.10

October 25, 2015

I’m on travel until the first of November. The only machine I brought with me is my Samsung Series 7 Chronos with Windows 10 installed. In order to get just a taste of the latest Ubuntu release, 15.10, I downloaded the ISO and created a VMware installation on Windows 10.

While I was at it I grabbed the latest 14.04 LTS, 14.04.3, and installed it as a VM as well, just to get a side-by-side appreciation of any changes.

On the surface there’s almost no difference between the two, which is actually a good thing. A quick check of the features I care about showed no discernable differences there either. There are some notable differences under the hood as it were.

  • The kernel in 15.10 has been upgraded to version 4.2. This is the first distribution I’ve run that has a version 4 kernel of any type. By comparison Ubuntu 14.04.3 is using kernel 3.19. At this point I don’t notice any changes. The fact it installed on VMware is actually a Good Thing, with one problem as noted below.
  • gcc is now at version 5.2.1. Once again this is a major upgrade from 14.04.3, which is currently using gcc 4.8.4. gcc 5.2.1 is C++14 language feature-complete. The version of gcc in ubuntu 14.04 is now on maintenance mode only. This may or may not be of interest to you, as there are many who feel that the C++11 and C++14 language features have made C++ bloated and difficult to learn. YMMV.
  • While the kernels are certainly different between the two, both distributions have broken shared folder compatibility (again) with VMware, specifically 6.0.7 build 2844087. I’m back to drag-and-dropping files between Windows 10 and both versions of Ubuntu. I should note that Linux Mint 17.2, which is based on Ubuntu 14.04, is still compatible with this version of VMware, meaning shared folders work with Windows 10.
  • Ubuntu 15.10 now comes with LibreOffice Ubuntu 14.04 installs At this time I personally prefer LibreOffice 5.
  • Both distributions installed without any Java, which was a bit of a surprise. In the past LibreOffice has had this horrible dependency on Java, which made no sense. That dependency forced me (and still does on other distros) to go on a remove-and-replace mission right after an installation or update. Both versions support the latest version of Oracle Java (at the time of this post publication), Java 8 update 65.

Generally speaking both run rather nicely, even when running g++ compiles or working with Java. I attribute this, in part, to the host OS upgrade to Windows 10 and the upgrade of the Samsung notebook’s hard disk to a Samsung 1TB 850 PRO SSD. All my VMs are now suspended to disk, which makes starting them up considerably faster than the older method of shut down and start up on rotating media.

I don’t know if I’m going to upgrade the older Samsung R580 notebook (which is now pushing six years) to 15.10. I might just to see what happens. If the update causes problems I can drop back and recover.

kansas city, again

October 24, 2015

kansas skylineI’m on travel. This trip my job requires me to spend two weeks providing support at Ft. Leavenworth. When I’m not in Leavenworth I’m staying at a hotel next to KCI. This trip my weekend is free so I’m trying to spend some of that free time down in Kansas City proper.

Today started out rather dreary both weather-wise and personally. I woke up early, then crashed back into bed to put in an extra three hours of sleep. I was feeling a bit poorly, matching the overcast and drizzly morning. By the time I was feeling better the sun was out a bit as well. I grabbed my keys and my camera and headed downtown.

the tower
the lovers
I had no specific destination except to head south in the city. I drove surface roads as much as possible, looking for interesting places to stop. My first stop was The National WWI Museum and Memorial. It’s a big, somber structure dedicated “to remembering, interpreting and understanding the Great War and its enduring impact on the global community.” The skies had grown overcast again as the day progressed, so that by afternoon the sun was completely hidden. It was like the morning, but without rain. At the risk of sounding unpatriotic, I found the whole memorial disquieting and had no desire to visit the museum portion. I did climb to the top where the Liberty Memorial is located, and it was from that vantage I grabbed several photos of the Kansas City skyline.

kauffman center 1
After leaving the memorial I drove in a generally northern direction and happened upon the Kauffman Center for the Performing Arts. It’s an odd, if interesting looking structure. I parked close enough to walk around it a bit, but wound up around what is ostensibly the back side of the structure. It does have a far more conventional front, but I wasn’t motivated to photograph it. Rather, I was drawn to the back side, especially the grassy area that’s allowed to grow around it. I kept imagining it was some alien structure in the middle of an alien prairie.

kauffman center 3My goal for Sunday is to wake up and stay up, and head back to downtown Kansas City. There’s a bit more I want to see, such as the Nelson-Atkins Museum of Art. And there’s the Negro Leagues Baseball Museum. And some other structures around Kansas City that caught my eye today. I’m not planning on resting tomorrow.


October 10, 2015

moma guarding
Life follows an eternal circle; birth, life, death, and birth again. Today was about the birth of five kittens less than a week ago up in Gainesville. The mother is named Sunshine, and she’s a temporary rescue. Why temporary? The owner, a friend of my daughters, had to leave Orlando due to a family emergency. My oldest daughter volunteered to keep Sunshine for the next nine months until the original owner can come back to Florida and retrieve her. In the mean time Sunshine was expecting and gave birth to five kittens; two gingers and three calicoes.

five kitten pileup

It’s been decades since I was around kittens this young. I had to be careful in the room with Sunshine. She didn’t know me and was very apprehensive to have this big stranger around her kits. I kept it low and slow, and kept my distance from her and her kittens as much as possible while taking photos. But I did manage to get away with a few, such as the wriggling pile of kittens trying to find mom for food. Or at least that’s what it looked like from my height.

ginger kitten

where is my mom????

We tried to take photos of one of the gingers as well as one of the calicoes, but the calico wouldn’t stay still long enough to have his/her photo taken. In any case I had my daughter gently handle them as Sunshine the mother was used to her. Sunshine was already showing signs of agitation at my presence, and the last thing I wanted was to put my scent on her kittens.

I might drive back up next weekend to see how much they change in a week. If I can’t get back up there before next weekend, then I won’t be able to see them until the first of November.

I don’t know if I’ll adopt one of the kittens to replace Lucy. I’m not at that point yet, and it’s going to be a good two months before they’re old enough to be adopted, so I can put that decision off for a while. I’m heading into the end of the year with four-plus weeks of travel split across two trips. I have enough to think about as it is.


These photos were taken with the Olympus E-M10 and the Panasonic Leica 1.4/25mm set at f/2 and the Olympus OM 1.4/50mm closed down to f/2.8. It was very dark where mother and kittens were located. I juggled between apertures that would allow for reasonable depths of field and shutters fast enough, letting the ISO automatically compensate. As a consequence all of these photos are high to very high ISO.