Using Docker Now!

With modern technology, here’s the pattern I’ve noticed since college. New tech comes out and I can see that it’s neat, but not how I can make use of it. A few years later, I finally come across the right article and it all makes sense to me. I first noticed this with VMs. I couldn’t see a reason to want to use it outside of a server context. Then I used it to review Linux distros. Then I used it to run my network’s services. The same happened with tablets, smart phones, and Docker.

When everyone kept hyping up Docker I couldn’t figure out why it’d be useful to me. It seemed overly complex compared to VMs. And if I wanted to have lots of isolated services running, Linux Containers (LXC) seemed a lot easier and closer to what I was used to. In fact in a Linux on Linux (host:hypervisor) situation, containers seem superior to VMs in every way.

But Red Hat supports Docker. Maybe it’s because Ubuntu was championing LXC and they seem to abandon stuff all the time like Google. (Unity being the latest casualty) And I was having some issues with the version of LXC on CentOS 7 having some issues – like freezing up while running yum or not running Apache. So I decided to explore Docker again.

Since the last time I came across Docker, I got into Flatpack and AppImage and suddenly Docker made sense again for someone outside of DevOps (where it always made sense to me). Using containers means I can run an app with a consistent set of libraries independent of what’s on the system or being used by other apps. So I used Docker to run phpIPAM and while it’s still a little more complicated than I’d like, but not too bad now that I have my head around the concept.

Of course, because things always change when I join them, apparently Docker is Moby now? Here are some less cynical takes: From Docker themselves and from InfoWorld

First Trip to the Zoo

The weather was finally improving and so we figured it was a good time to take the twins to the zoo for the first time. When Scarlett was around the same age she didn’t care for the animals as much. She was much more interested in the kids around her. So we weren’t sure if the kids would enjoy it. The National Zoo seemed like a wise choice since it was free to enter.

On the twins’ first trip to the zoo, viewing the petting zoo animals.

We started at the petting zoo area as that’s near where we parked. The kids enjoyed seeing the cows and other animals they usually only see as toys. I think it was also good acclimatizing for the birthday party they’d attend the following month. (They’d been to a petting zoo around Halloween, but they were nowhere near as enthusiastic as they were this time around)

What animal is next?
Sister Time as they wait for Sam to have his diaper changed

We got pretty lucky with the animals. Usually around lunch time they’re all sleeping. But we were able to see the pandas frolicking (which Sam went crazy over) and the elephants lumbering around. I was surprised at how long the elephants held their attention. We were there for a good 15-20 minutes while they pointed at the elephants.

First time ever seeing elephants live.
First time ever seeing elephants live.
First time ever seeing elephants live.

If only we didn’t go from winter temperatures straight into summer. We went from highs in the 50s to highs in the 70s and 80s with only a week of transition in between. It can be pretty unbearable in the summer in DC, so we’ll have to see if we get to the zoo again this spring or wait until the fall.

Leveling up on Grilling

For a long time we’d been avoiding New York Strip Steak. I’d tried to grill some a long time ago and it just couldn’t hold a candle to a Ribeye. But recently my father-in-law bought a bunch and gave us some so I gave it another shot. I took all I’d learned in the past year or so from Meathead and used my thermometer to get a prefer medium steak. Here’s where I ended up:

New York Strip Steak

With only direct grilling, I got a perfect end-to-end pink and a great bit of taste from the Maillard Reaction. I also decided to experiment with some apples on the grill after reading about others doing so on reddit.

Grilled apples

While I am not a huge apple person, I did think it had a nice taste – similar to an apple pie. I simply grilled and then sprinkled sugar. The recipe I was following was something like 3 minutes per side and I think I ended up doing about 2 minutes per side to prevent it from burning or overcooking.

Video Games Q1 2017

Things are busier now, especially as the weather warms up and we begin to do more outside, so I’m switching from keeping track monthly to doing so quarterly.

Vertical Drop Heroes HD (3 hr 15 min)

Finally beat this game. It was a lot of fun and I’ll probably play some New Game+ this year if I find the time.

Contraption Maker (1 hr 20 min):

Scarlett loves when I play this game and it’s always fun to go through the brain teasers to try and figure it out.

Double Dragon Neon (33 min):

A trip along memory lane as I play an update/sequel of one of the first console video games I ever played. Additionally, I get someone dropping in on the stream!

LA Noire (30 min):

I finally get to the facial recognition engine. Plus lots of flashbacks. The game should be pulling me in more, but I’m having trouble getting addicted to finding out what happens next.

BEEP! (17 min):

Not sure why I originally got this game or what bundle it was from, but it’s not for me.

Portal Stories: Mel (20 min):

Hurray! More Cave Johnson! Want to play this so much more!

Spelunky! (15 min):

Just revisiting the caverns and dying…a lot.

Civilization V (14 min):

No Civ VI this year, but continue to try and get through our years-long Civ 5 multiplayer games.

Cook! Serve! Delicious! (10 min):

Scarlett asked me to play so she could watch the patrons come in.

Outdated Thinking

In a post about how security has changed, Josh Bressers had this great bit of info in how some people are living in the past when it comes to understanding technology:

If you listen to my podcast (which you should be doing already), I had a bit of a rant at the start this week about an assignment my son had over the weekend. He wasn’t supposed to use any “screens” which is part of a drug addiction lesson. I get where this lesson is going, but I’ve really been thinking about the bigger idea of expectations and reality. This assignment is a great example of someone failing to understand the world has changed around them.

What I mean is expecting anyone to go without a “screen” for a weekend doesn’t make sense. A substantial number of activities we do today rely on some sort of screen because we’ve replace more inefficient ways of accomplishing tasks with these screens. Need to look something up? That’s a screen. What’s the weather? Screen. News? Screen. Reading a book? Screen!

You get the idea. We’ve replaced a large number of books or papers with a screen.

Making BBQ for my Employees

As a manger, I’m often thinking of ways to show my employees how much I appreciate their hard work. Recently, while watching a Meathead video, I saw his quote at the end that cooking for someone is an act of love. And love is not far off from appreciation so I figured I’d ask my employees if they’d like it if I made them some smoked baby back ribs for the cost of raw materials. We settled on a half rack per person, salad, and bread for $6. So then I just had to pick a date to make the food. Thanks to my mom getting me the Weber Kettle for my birthday this year, I had enough room to smoke to the ribs across both my BBQs as long as I used rib racks. So I used the Weber 6605 rib racks (which you saw in the featured image and will see again below)

6 Racks of Ribs before applying the rub
With Meathead’s Memphis Dust rub

I was already a pro with Meathead’s recipe for baby back ribs, having done it about 3 or 4 times now. But it was my first time using both the gas and charcoal grill to make 6 racks at once. I offered people the option of less smokey taste and more smokey taste. On the charcoal grill I used what I’d learned with the pulled pork to do a snake method with the charcoal.

Baby Back Ribs on the Weber kettle
Baby Back Ribs on the Weber kettle
The wood ignites on the Weber Spirit

I wanted to offer an option for anyone who couldn’t eat pork. So I offered Simon and Garfunkel Chicken and one guy took me up. He got 4 thighs. And he loved it because he loves the herbs used in the rub.

Simon and Garfunkel rub on chicken thighs
Salad – tomatoes, lettuce (romaine and iceberg), cucumbers, onions, and bell peppers.

After about 3 hours the ribs were ready (a process that began at 0600 with lighting the coals) and I sauced them so I could carmelize the sauce on the BBQ. It’s easiest to ramp up the temp on the gas grill, so they were all carmelized on the Spirit.

Charcoal ribs being sauced

Then it was time to roll it in pink butcher paper and put it in the cooler to keep it warm until I got to work.

Ribs and chicken in the cooler

It was a big success. Someone said it was the best baby back ribs they’d ever had. Others didn’t go that far, but enjoyed it it well enough. The question is – what do I make next time?

btrfs scrub complete

This was the status at the end of the scrub:

[root@supermario ~]# /usr/sbin/btrfs scrub start -Bd /media/Photos/
scrub device /dev/sdd1 (id 1) done
 scrub started at Tue Mar 21 17:18:13 2017 and finished after 05:49:29
 total bytes scrubbed: 2.31TiB with 0 errors
scrub device /dev/sda1 (id 2) done
 scrub started at Tue Mar 21 17:18:13 2017 and finished after 05:20:56
 total bytes scrubbed: 2.31TiB with 0 errors

I’m a bit perplexed at this information. Since this is a RAID1, I would expect it to be comparing info between disks – is this not so? If not, why? Because I would have expected both disks to end at the same time. Also, interesting to note that the 1TB/hr stopped being the case at some point.

Speed of btrfs scrub

Here’s the output of the status command:

[root@supermario ~]# btrfs scrub status /media/Photos/
scrub status for 27cc1330-c4e3-404f-98f6-f23becec76b5
 scrub started at Tue Mar 21 17:18:13 2017, running for 01:05:38
 total bytes scrubbed: 1.00TiB with 0 errors

So on Fedora 25 with an AMD-8323 (8 core, no hyperthreading) and 24GB of RAM with this hard drive and its 3TB brother in RAID1 , it takes about an hour per Terabyte to do a scrub. (Which seems about equal to what a coworker told me his system takes to do a zfs scrub – 40ish hours for about 40ish TB)

Finally have btrfs setup in RAID1

A little under 3 years ago, I started exploring btrfs for its ability to help me limit data loss. Since then I’ve implemented a snapshot script to take advantage of the Copy-on-Write features of btrfs. But I hadn’t yet had the funds and the PC case space to do RAID1. I finally was able to implement it for my photography hard drive. This means that, together with regular scrubs, I should have a near miniscule chance of bit rot ruining any photos it hasn’t already corrupted.

Here’s a documentation of some commands and how I got the drives into RAID1:


Before RAID:

# btrfs fi df -h /media/Photos
Data, single: total=2.31TiB, used=2.31TiB
System, DUP: total=8.00MiB, used=272.00KiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=3.50GiB, used=2.68GiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=512.00MiB, used=0.00B

# btrfs fi usage /media/Photos
    Device size:                   2.73TiB
    Device allocated:              2.32TiB
    Device unallocated:          423.48GiB
    Device missing:                  0.00B
    Used:                          2.31TiB
    Free (estimated):            425.29GiB      (min: 213.55GiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 5.64MiB)

Data,single: Size:2.31TiB, Used:2.31TiB
   /dev/sdd1       2.31TiB

Metadata,single: Size:8.00MiB, Used:0.00B
   /dev/sdd1       8.00MiB

Metadata,DUP: Size:3.50GiB, Used:2.68GiB
   /dev/sdd1       7.00GiB

System,single: Size:4.00MiB, Used:0.00B
   /dev/sdd1       4.00MiB

System,DUP: Size:8.00MiB, Used:272.00KiB
   /dev/sdd1      16.00MiB

   /dev/sdd1     423.48GiB

[root@supermario ~]# btrfs device add /dev/sda1 /media/Photos/
/dev/sda1 appears to contain an existing filesystem (btrfs).
ERROR: use the -f option to force overwrite of /dev/sda1
[root@supermario ~]# btrfs device add /dev/sda1 /media/Photos/ -f

[root@supermario ~]# btrfs fi usage /media/Photos
    Device size:                   6.37TiB
    Device allocated:              2.32TiB
    Device unallocated:            4.05TiB
    Device missing:                  0.00B
    Used:                          2.31TiB
    Free (estimated):              4.05TiB      (min: 2.03TiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,single: Size:2.31TiB, Used:2.31TiB
   /dev/sdd1       2.31TiB

Metadata,single: Size:8.00MiB, Used:0.00B
   /dev/sdd1       8.00MiB

Metadata,DUP: Size:3.50GiB, Used:2.68GiB
   /dev/sdd1       7.00GiB

System,single: Size:4.00MiB, Used:0.00B
   /dev/sdd1       4.00MiB

System,DUP: Size:8.00MiB, Used:272.00KiB
   /dev/sdd1      16.00MiB

   /dev/sda1       3.64TiB
   /dev/sdd1     423.48GiB

[root@supermario ~]# btrfs balance start -dconvert=raid1 -mconvert=raid1 /media/Photos/

Done, had to relocate 2374 out of 2374 chunks


[root@supermario ~]# btrfs fi usage /media/Photos
    Device size:                   6.37TiB
    Device allocated:              4.63TiB
    Device unallocated:            1.73TiB
    Device missing:                  0.00B
    Used:                          4.62TiB
    Free (estimated):            891.01GiB      (min: 891.01GiB)
    Data ratio:                       2.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,RAID1: Size:2.31TiB, Used:2.31TiB
   /dev/sda1       2.31TiB
   /dev/sdd1       2.31TiB

Metadata,RAID1: Size:7.00GiB, Used:2.56GiB
   /dev/sda1       7.00GiB
   /dev/sdd1       7.00GiB

System,RAID1: Size:64.00MiB, Used:368.00KiB
   /dev/sda1      64.00MiB
   /dev/sdd1      64.00MiB

   /dev/sda1       1.32TiB
   /dev/sdd1     422.46GiB
[root@supermario ~]# btrfs fi df -h /media/Photos
Data, RAID1: total=2.31TiB, used=2.31TiB
System, RAID1: total=64.00MiB, used=368.00KiB
Metadata, RAID1: total=7.00GiB, used=2.56GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

And here’s the status of my first scub to test out the commands:

[root@supermario ~]# btrfs scrub status /media/Photos/
scrub status for 27cc1330-c4e3-404f-98f6-f23becec76b5
 scrub started at Tue Mar 21 17:18:13 2017, running for 00:09:10
 total bytes scrubbed: 145.57GiB with 0 errors

Podcasts I’m Listening to in 2017

I’ve both added and dropped some podcasts since last time around. Where I’m listing the same podcast as last year I may use the same description as in the past with slight (or no) variation.

Video Games

Giant Beastcast – The East Coast Giant Bomb crew. This podcast is more about video game culture and news stories. It spends a lot less time on the “what you’ve been playing” section. I’ve actually grown to enjoy this one way more than the Bombcast because of the focus on the cultural and news aspects.

Public Radio

Radiolab – Heard about them because sometimes their stories are used on This American Life. Radiolab is a lot like TAL except with a much bigger focus on sound effects. It is, in a way, the descendent of the old radio shows of the 30s and 40s. (Approx 30-45 min)

Marketplace – This is a really good economics show.  They talk about news that happened that day as well as stories that have been pre-prepared.  This podcast has really helped me to understand the recession and why it happened as well as whether it is getting any better.  (Approx 30 min long)

Codebreaker: A tech podcast. Season 1 asked the question “Is it Evil?” of various technologies.

On the Media –  Although not always perfect and although it leans a little more left than moderate, On the Media is a good podcast about media issues.  Examples include: truth in advertising, misleading news stories on the cable networks, debunking PR-speak from the White House, and other media literacy items.  I tend to enjoy it nearly all the time and it’s a good balance to news on both sides of the spectrum, calling out CNN as often as Fox News. (Approx 1 hour long)

Fresh Air – Fresh Air is one of NPR’s most famous shows.  It is similar in topic scope as Talk of the Nation, but without any listener call-in.  Also, it tends to have a heavier focus on cultural topics (books, movies, etc).  Terry Gross has been hosting Fresh Air for decades and is a master at interviewing her guests.  Every once in a while there is a guest host or the interview is conducted by a specialist in that industry.  (Approx 1 hour)

Freakonomics – Essentially an audio, episodic version of the eponymous book. If you enjoyed the insights of the book, you’ll really enjoy this podcast. (Approx 30 min)

The Infinite Monkey Cage – a BBC radio show about science. A panel of scientists (and one media star who is interested in science) talk about a topic. The only bummer is that the shows are quite infrequent. Something like 4 weekly episodes per quarter (Approx 30 min)


Dan Carlin’s Hardcore History – if you’re a history buff you really need to be listening to this podcast. Dan’s well-researched podcast presents bits of history you never heard of in ways you never thought of it. He does a great job of making ancient societies relate-able. The only bad thing is that there is a long gap between episodes due to the research involved. (Varies. Approx 1.5 – 4 hrs)

The Dollop – A very funny and very profane look at American history. The premise: The host tells a story of American history to the other guy, who doesn’t know ahead of time what the story’s about. It’s a premise that leads to some great reactions from the person not in the know (usually Gareth, but sometimes they do a Reverse Dollop). Also, listening to this podcast is a great reminder that the past is full of some really messed up people and situations.


WTF with Marc Maron – This is a pretty solid podcast which mostly consists of Marc Maron interviewing comedians.  As with any interview-based show, the episodes are hit or miss, although more often than not they are really good.  Occasionally he does a live show in which he’s still interviewing people, but with 4-6 per episode it’s much less in-depth.  And, since it has an audience, the guest is performing more than being open.  The only irritating thing is that Marc starts off each episode with a rant/listener email reading.  Most of the time this is neither interesting nor funny.  Clearly the reason people are tuning is is to hear the interviews or they’d take up a minority of the show instead of the bulk of the show.  So I wish he’d do his rant at the end of the episode so that those of us who just want to hear a great interview with a comedian we like can easily skip the monologue.  (Approx 1.5 hours long)

Science Fiction Short Stories

Clarkesworld Magazine

Escape Pod

There isn’t much to differentiate these two podcasts.  They both feature great selections of short stories.  I added them to my podcatcher to get a dose of fiction among the more non-fiction podcasts I usually listen to.  Also, there’s something great about short-form fiction where you have to build the world AND tell the story in a very concise way.  The main difference between the two podcasts is that Clarkesworld has pretty much just one narrator who’s quite incredible.  Escape Pod tends to have a group of narrators.  Most of them are great – every once in a while there’s a less than stellar one.  Clarkesworld tends to end the story with the narrator’s interpretation and Escape Pod tends to end with reader comments from a few episodes ago. (varies. 15 min to 45 min)


How Did This Get Made – Paul Scheer, June Diane Raphael and Jason Mantzoukas (plus the occasional guest) watch movies from the last few decades that will probably be in the future’s version of Mystery Science Theatre 3000. The movies are often incredibly baffling and full of strange plot points. One of the best parts of the show is “Second Opinions” where Paul goes to to get 5 Star ratings for the movie they just spent about an hour lambasting. Every other episode is a mini episode that previews the next show, has a section called “Corrections and Omissions”, and Qs and As. The first two sections are great. The last one varies depending on the quality of the questions and answers. It can be pretty funny, but sometimes I just skip it. (Approx 1 hr)


The Bugle – Jon Oliver (from The Daily Show) and some other guy talk about the news. In a way, it’s like a How Did This Get Made for news. Also similar to The Daily Show in the incredulity of what people in the news are doing. (Approx 30 min)

Uh, Yeah Dude – tagline: “America through the eyes of two American Americans” If you like My Brother, My Brother, and Me, you’ll probably like this podcast’s style. They talk about both important news and cultural news and generally make fun of it. I call the commentary smart dumb commentary, it’s like Seth Rogan movies – the characters are providing smart insight through dumb commentary. (Approx 1 hour)

Political Gabfest (from Slate) – This has taken the role that Talk of the Nation’s Wednesday slot left vacant when the show went off the air. They talk about politics (usually swinging heavily left or sometimes libertarian while ToTN was more neutral) and I get a dose of what everyone’s talking about in politics. (Approximatly 1 hour)

Common Sense with Dan Carlin – If you like the attention Dan puts towards Hardcore History, then you’ll probably love this take on the news. Usually Dan takes one (max 2) topics from the news and by the time he’s done with it, I’ve seen 2-3 different points of view. Sometimes there’s a clearly right point of view (the sky is blue), but other times each side has valid points and neither one has the complete high ground. Dan is a complex creature, like many of us. On some topics he’s more likely to agree with Dems, other time Republicans, and sometimes neither. Other times he agrees with their Platonic Ideal Version, but not their RealPolitik version. Either way, I’m always overjoyed when it shows up – which is somewhere between biweekly and monthly. (Approximately 45 minutes)

FiveThirtyEight Elections – a great, wonky podcast from the guys that brought you the most accurate election predictions. Has continued beyond the elections due to the odd circumstances of the new administration.


Sword and Laser – A fantasy and sci-fi book club. They interview up-and-coming authors and discuss the book club’s monthly book. Also cover news and upcoming new releases. (Varies. Approx 30 min)

Rocket Talk ( – The host speaks with one or two Science Fiction and Fantasy authors about various things: their latest book, trends in the genres, publishing trends, etc. Sometimes a great show and sometimes I skip it halfway through. (Approximately 45 min)

Give Me Fiction – A pretty hilarious (to my sense of humor) super short story podcast. It’s recorded live (which often spices up comedy) and seems to skew Gen X/Millenial in its humor.  (Varies, but usually under 15 minutes)

Talkin’ Toons with Rob Paulsen – The great voice actor behind two Ninja Turtles, Pinky, Yakko, and many, many other cartoon characters interviews other voice actors. It’s like WTF,  but without the annoying self-reflection 10-15 minutes that I always skip on Maron’s podcast. If you enjoy voice acting nerdom or want a place to start, check this out. It’s recorded in front of an audience which is often great, but once in a while leads them on tangents that take away from their great anecdotes. (Approximately 1 hour)

Boars, Gore, and Swords: A Game of Throne Podcast – two comedians (and sometimes some friends) discuss each episode of A Game of Thrones and each chapter of the books. While it’s primarily funny, it does sometimes lead me to some deeper insights into each episode.

The i Word: An Image Comics Podcast – different writers and artists working on a comic for Image Comics are interviewed about their comic as well as something unrelated to comics that they’re really into.

The Allusionist – a podcast about words, where they come from, and how we use them


You Are Not So Smart – the host, who wrote an eponymous book, tackles topics of self-delusion. Examples include placebos, alternative medicine, and conspiracy theories. (Approximately 45 min)

Probably Science – some comedians who used to work in the science and tech fields bring on other comedians (of various levels of scientific knowledge) to discuss pop science and where the articles might be misleading.


99% Invisible – Similar in scope to the NPR podcast Invisibilia, this one was there first. It explores the things that are in the background of life. Examples include architectural details we often miss or stories that tell how regions came to be. Production is similar in sonic greatness to RadioLab.  (Approx 15 min)

Tell Me Something I don’t Know – a gameshow from the guys behind Freakonomics. Learn some new facts in a fun and often funny way.

GoodMuslimBadMuslim – a window into what it’s like to be a Muslim in modern America.

Politically Reactive – W. Kamau Bell and Hari Kondabolu discuss politics with some jokes and some interviews with people mostly on the left, but sometimes on the right. They are respectful and always provide context to what’s being said.

More Perfect – Explores Supreme Court rulings and how they affect America.

Song Exploder – they pick a song and a member from that band explains how they put it together. They usually look at each layer of the track – vocals, drums, guitar, etc and talk about why each decision was made. Can range from interesting to revealing.