All posts by rbowen

remark.js and LinuxCon

In about 2 weeks I’ll be presenting at LinuxCon about documentation, community, and not being a jerk. The presentation is titled Read the Fine Manual? Write a better fine manual.

For the last couple of years, I’ve been using reveal.js for my conference presentations. I’ve been getting progressively more frustrated with it, because, while it allows me to write content using MarkDown, it greatly limits what functionality I have access to when using MarkDown. That is, it has lots of cool features, but many of them are only available if you actually want to write your presentation in HTML, with javascript calls in it. I really don’t want to.

So, for LinuxCon, I’ll be trying out remark.js instead. It’s not very different, but it gives access to more style and transition stuff directly in the markdown. And, best of all, since it’s just Markdown, I didn’t have to rewrite any of my content to use it – just use a different wrapper to display the rendered slides.

You can preview my slides HERE. You’ll see they’re nothing fancy, but they do the job. Mostly I use slides for two things – cue cards for myself, so I remember what to say, and a few clever images so that I can keep the attention of the audience for a minute or two before moving on to the next slide.

 

Road Trip with Rhi

On Saturday morning, Rhi and I will leave for Colorado, where she’ll be attending her first year of College at UC Boulder.

rhi_and_dad

Day one, we’ll drive as long as we can stand it, and stop somewhere, probably in Kansas. Many Wizard of Oz jokes will be made.

Day two, we’ll go the rest of the way to Boulder, where we’ll have a look around the town a little, and see what there is to see.

Day three, we’ll move her stuff into the dorm.

Day four, I’ll fly home to Lexington.

It hardly seems possible that my little girl is an adult, and moving off on her own. We’re going to miss her terribly, but we’re also so very excited for her. It’s been very nice having her here for the 8 or 9 months since she finished school. It’s been awesome watching her find her passions over the last 18 years, and grow into a beautiful young woman. I’m really looking forward to the next 40 years or so, watching her bloom even more.

RetroPie

This weekend I set up my new Raspberry Pi with the RetroPie distribution, using the instructions and parts list from LifeHacker. I’ve been eyeing it for a while, and just hadn’t gotten around to it yet.

IMG_20160804_190526

It was very simple to get installed, but configuring the controller – I used an XBox360 USB controller – proved challenging. I ended up following the instructions in this Github issue to get it working.

Most of the games that I wanted are from the various Atari systems, and from the ZX Spectrum – systems that are long since obsolete, but the games are still a lot of fun.

 

OpenStack 6th Birthday, Lexington, KY

IMG_1580

Yesterday I spent the day at the University of Kentucky at the OpenStack 6th Birthday Meetup. The day was arranged by Cody Bumgardner and Kathryn Wong from the UK College of Engineering.

UK has an OpenStack cloud that they use for instruction, as well as for research, and they’ve got a 6PB Ceph cluster hanging off of it. There were presentations about the various aspects of this cloud, and how it’s being used.

I gave an introduction to OpenStack – the Foundation, the software, and the community – for the attendees that were just getting started. Patrick McGarry gave a talk about how Ceph works.

Nassir Hussamddin closed the day with a really cool presentation about CloudLab, which is a tool shared by a number of universities that allows users to spin up an OpenStack cloud (not just a VM, but an entire cloud) on demand for testing purposes. Definitely worth looking into further.

Big thanks to Dell, the University of Kentucky, and the OpenStack Foundation, who, along with RDO, sponsored this event.

Shannara

We’re trying to watch the Shannara Chronicles because I loved the books 20+ years ago. I feel like they’re being told by someone who assumes you’ve read the books, and that you already know the backstory. Which is frustrating because I’ve forgotten as much as I remember.  

Someone tell me it gets better. 

Red Hat Summit in Review

Despite my best intentions of blogging every day at Red Hat Summit, time got away from me, as it often does at these events. There’s always 3 things going on, and it’s hard to find a moment between that first cup of coffee, and stumbling into bed at the end of the night.

I spent almost the entire event working the RDO booth in the Community Central section of the expo hall. While traffic wasn’t as heavy as at OpenStack Summit, it was still pretty constant.

In the swag department, I had our “what does RDO stand for” tshirts, and TripleO QuickStart USBkeys.

IMG_20160629_122305

Several things stood out to me from this audience.

First, I was delighted to hear story after story of companies that use RDO in the test/dev/lab environment, and use Red Hat OpenStack Platform in their public/production environments. This is what I really want to see happening, so it’s very gratifying when I get anecdotal evidence that it is happening. Now, if I can only convince those folks to follow up with case study writeups for the user stories page.

Second, from people who were not quite as familiar with either RDO or OpenStack, if there was a consistent thread in the questions, it was confusion as to the overlap between oVirt (or Red Hat Enterprise Virtualization), OpenStack, and OpenShift, and when one might use one vs. the others. This looks like a good opportunity for some blog posts around what the overlap is, what the distinctions are, and what recommendations are for using one or another.

Brian and I did an OpenStack vs oVirt comparison talk at last year’s Red Hat Summit, but I don’t believe we ever wrote it up anywhere. And OpenShift has the added confusion of having a similar name, which gets people kind of mixed up before they even consider the feature set.

IMG_20160702_114227

And, finally, the week was yet another reminder that I work for the best company in the world, with the best coworkers. I feel sorry for the rest of you.

 

Convert an Apache httpd password file to dbm

If you have a textfile password file, and you want to convert it to a dbm database for use with mod_authn_dbm, this can be done as follows:

htdbm -cbp passwords.dbm bogus bogus
awk ‘BEGIN { FS=”:” }; {system (“htdbm -bp passwords.dbm ” $1 ” ”  $2)}’ passwords
htdbm -x bogus

This assumes that the file `passwords` is your existing password file, and that you wish to create a dbm database `passwords.dbm`

The -b flag says that the passwords will be provided on the command line. The -p flag says not to encrypt the password – because it’s already encrypted.

This feature used to be available in the `dbmmanage` utility, as an `import` argument, but that utility is no longer included in the httpd packages for the Fedora/CentOS and Debian/Ubuntu Linux distro families, so we have to make do with htdbm.

I’m stashing this here for posterity, since I just spent a half hour getting the awk syntax right.

The first line creates a starter dbm with a single bogus entry, and the third line cleans up that bogus entry.

All right thinking people

In the midst of a Facebook conversation someone (a “friend” of a “friend”) said that all right thinking people thought a certain thing, while the rest of the world were ignorant savages. (I’m paraphrasing, but the phrase “most right-thinking people” was definitely used.)

This got me thinking about a topic that has crossed my mind a lot during this particularly presidential campaign circus.

Long ago (ie, pre-Facebook) one would surround oneself with like-thinking people. You’d have a few dozen friends that agreed with you about everything, and the rest of the world were ignorant savages, and life was good. You knew that all right-thinking people agreed with you, but you were also aware that the majority of the world was ignorant savages.

Then came Facebook. You have a few hundred carefully curated “friends”, most of whom are people that have similar worldviews to yourself. They, in turn, have the same. You now have somewhere north of 10,000 people that you hear from every day, most of whom agree with you on most topics.

So far, so good. This is the same as it was pre-Facebook, except that the numbers are much bigger, giving you the impression that everyone in the world agrees with you, except for that wingnut Larry who is a friend of a friend of a friend and says *CRAZY* things. All right-thinking people agree with you, and there’s a tiny minority of morons clinging to their tribal gods.

Meanwhile, Donald Trump has the nomination for the Republican candidate for President, so something must be wrong with your math.

 

Ode to Box 1 (of 2)

IMG_20160611_101704You taunt me,
box 1 of 2.
What, and where
is box 2?

Is there even a box 2?
Is there any relation
between the utterly random
assortment of junk in you
to the cornucopia
which is box 2?

Ah, box 1
half of an unknown whole,
kept, I think, only to wait
for your long lost sibling,
languishing, somewhere,
waiting for you.

 

Endnotes

Endnotes

She didn’t want
to send invitations.
Why invite people you know aren’t going to come.
Seems a waste.
So her Daddy’s daughter.

It’s traditional,
says Mere,
People like to know.

She didn’t send invitations.

And now she sits,
easy to find with her purple hair,
in a mob of her classmates

awaiting a short walk,
a slip of paper,
the endnotes of this chapter
that she doesn’t really need to tell her
that the next one has started.