Bye Bye, AWS! Hello,!

Three years ago, my friend Rob let me know he was shutting down his personal server, where Two Ideas lived, and that I needed to find somewhere else to host it. (Thanks, Rob, for letting me use your server for so many years!)

I moved to hosting on AWS, for a couple of reasons. First, I knew how to administer Linux systems, and running Linux on AWS was easy. Second, the first year on the “free tier” was absurdly cheap. Third, I didn’t know a whole lot about AWS, and it seemed like a good opportunity to learn.

What did I learn?

Not as much about AWS as I’d intended; it was too easy and reasonable to run my box like any other Linux server. I learned far more about AWS and automation in my one year at Context Relevant than in three years of running this blog in the cloud.

But I did learn some other things.

Continue reading “Bye Bye, AWS! Hello,!”

Bye Bye, AWS! Hello,!

Neat trick: colorize bash input

As a frequent technical communicator, I often want to cut-and-paste something from my Unix terminal sessions so that other people can see what I’m seeing.

Unfortunately, it can be confusing to read:

Hello World in the Unix shell, without color
Hello World in the Unix shell, without color

Instead I want it to look like this:

Hello World in the Unix shell, in color
Hello World in the Unix shell, in color

How did I make this happen? Well, it’s a bit hacky, and it only works with the bash shell. Read on for more details.
Continue reading “Neat trick: colorize bash input”

Neat trick: colorize bash input

My FCC comment regarding Net Neutrality

Inspired by John Oliver‘s rant on Last Week Tonight, I went to the FCC’s comments site and submitted the following comment:

To Whom It May Concern:

Back in the mid nineteen-nineties, a handful of us Internet activists worked mightily to get sensible service plans available to home users. (At the time, the telephone companies wanted people to connect to the Internet over pay-by-the-minute or pay-the-byte ISDN connections.)

Once relatively reasonable options became available to home users, home broadband use exploded, and the Internet became such a part of everyone’s lives that it’s nearly impossible to imagine the present day without it.

Allowing telecommunications companies to define “fast lanes” for some classes of traffic, or some preferred partnerships, turns the future of the Internet over to the same people who nearly stopped it from happening the first time.

The Internet as we know it would not survive this arrangement. It would turn the thriving metropolis we love into the most sterile, and most quickly abandoned, of shopping malls.

Please reaffirm Net Neutrality in its entirety, and do not permit the kinds of preferred-peering agreements that today’s home Internet providers desire — for their continued success, as well as ours.

Thank you,
Jonathan Lasser

I encourage all of my readers (both of you) to go to the FCC and submit your own comments supporting Net Neutrality.

My FCC comment regarding Net Neutrality

Taking Sides: Simple Kobo Management

[This is the fourth article in a series about migrating from Kindle to Kobo. You can find the earlier pieces here, here, and here.]

As soon as I got my Kobo, I installed the Kobo desktop app on my Mac.

What a mistake.

As far as I’ve been able to figure out, the app offers little more than the same bookstore you can access on the Kobo itself over Wifi. You can’t manage books you didn’t purchase from the Kobo store, nor can you control the e-reader. I’m not entirely sure what the point of this app is.

However, there is an app that integrates with a number of the DRM-enabled bookstores for .epub books. Further, if your library uses Overdrive to provide e-books (Seattle does), it’ll transfer those books to your Kobo too. It’s Adobe Digital Editions, and every Kobo owner should download a copy.

In fact, if you don’t have Amazon books to manage, and if all of your e-books are .epub or .pdf, you can manage all of your digital books in Adobe Digital Editions, and transfer them to your Kobo as well. It’s ugly, and DRM still makes me feel icky (especially after my Amazon experience), but ADE is indispensable.

Taking Sides: Simple Kobo Management

Taking Sides: Onto Kobo

I’ll be honest: I haven’t exactly figured this part out to my satisfaction yet. I’ve installed the Kobo Touch Extended Driver into Calibre (remembering to disable the Kobo Touch basic driver), and the Kobo Utilities too. And I’m mostly—but not entirely—happy with the results.

A big part of the challenge is that the Kindle uses a different e-book format, or family of formats (.azw, .az3, and possibly others) than pretty much everybody else, who mostly use Adobe’s .epub format. (Everybody supports reading .pdf files, but since they’re laid out for a specific page size, they’re often hard to read on e-books.)

I started with a bulk convert of my .az3 format books to .epub, which appears to be the preferred format of the Kobo. (I thought I could use .mobi files, but I seemed to have some trouble with tables of contents.) I configured Calibre to prefer .epub to the .mobi format, which both Kindles and other devices read, and transferred the files.

Some looked great. Some didn’t. They suffered from random page breaks. Turns out this is a known issue, and the solution is to change a conversion setting and regenerate.

But now I don’t know which .epub files are correct-from-the-publisher files, and which are Calibre generated! And I don’t know which books have problems and which don’t. So I’ll have to regenerate files as I discover problems. Ugly.

Files transfer easily onto the Kobo, once you figure out how to make the interface go. There’s no sync button, bidirectionally copying everything. You can sort by the check-mark that indicates a file is on the device, select everything without the checkmark, and then copy the files—then repeat for the reverse direction. That’s ugly too.

Also ugly: If I use the basic Kobo driver, the page footer shows how my page number relative to the whole book (e.g., “Page 103 of 411”), but if I use the enhanced driver, the page footer shows my page number relative to the chapter I’m in (e.g., “Chapter 5 – page 2 of 6”). There doesn’t seem to be a way to see both of these numbers, the way I can tap between them on my Kindle.

Still, I have books on my Kobo, including my Amazon-purchased books, and I can read them. That’s great. The fiddling I’ll need to continue to do, to address formatting and file transfer issues, that’s less great.

Taking Sides: Onto Kobo

Taking Sides: Out of Amazon

Now that I’ve bought a Kobo and determined to abandon my Kindle, what now?

The first step is to get my bought and paid for e-Books off my Kindle. This means, first, finding alternative software to manage e-Books; and second, removing the DRM tying my books to the Kindle.

Calibre is unmatched in its ability to manage e-Books. It provides an interface to manage a single book across multiple formats as a single entity, to convert books between formats, and even to read those books.

Honestly, the interface is terrible. It’s software only a nerd can love, and makes me want to dive weeping into Amazon’s outstretched arms. But beneath that ugly face lies software of immense power. It’s software for geeks, with all the good and bad that implies.

Plug in the Kindle, and Calibre sees the books. It can store them and manage them—but wait. You can’t convert or transfer the files to other devices. You need to add a plugin that removes DRM. Download the file from Apprentice Alf, take the .zip file, and add it to Calibre according to the instructions. It’s not difficult, but it’s ugly and annoying. (It’s also arguably illegal in the US, thanks to the DMCA, but so long as you’re not trying to steal from authors, don’t let that stop you.)

Now copy the books from your Kindle to your Calibre library. That wasn’t so hard, was it? Well, okay, it wasn’t easy. It was ugly, had too many steps, and generally made me much crankier than anything I had to do to keep using the Kindle. But most of the difficulty is the first time around. Next time it’ll be easier.

Taking Sides: Out of Amazon