Tech Tab Sweep

It’s time to upgrade your Ubuntu machines.

8 things to do after installing Ubuntu 15.04. One of the items is to add a tweak tool, which reminded me of Unsettings.

I’m working on a similar list for Windows, except (a) nobody gets to install Windows, you have to buy a PC with it preinstalled, and (b) there are about 300 things you have to do next.

Speaking of Ubuntu…. I barely know what a .deb is, so this article was complete gibberish to me, with all this talk about Snaps and Snappy for future releases of Ubuntu.

Bjarne Stroustrup outlines changes in store for C++ in v17. I can barely remember how awesome I used to think C++ was back in 1986. And compared to C, I guess is was, then. Today—forget about it. Just give me a scripting language.

Finally: During the 1990’s I used to be a DIY system builder, but the past decade or two I’ve been too busy and too impoverished. And there’s a lot to be said for buying something small. Still, I might get around to building something again someday. This sounds like fun:

Electricity for Africa: if it’s a moral imperative, must it be green?

In Electricity for Africa, Matt Ridley quotes a UN official who says, despite the troubles in Libya and the Sahel that make the news, the long-term problems are concentrated in Subsaharan Africa:

Just to get sub-Saharan electricity consumption up to the levels of South Africa or Bulgaria would mean adding about 1,000 gigawatts of capacity, the installation of which would cost at least £1 trillion.

Renewable generation will cost about 4-5 times what natural gas generation costs.

The economist Bjørn Lomborg has been making the case that getting energy and clean water to Africans is a higher moral priority than pursuing renewable energy. He still thinks climate change is a danger, but he thinks developing new energy technologies will get far better results than rolling out expensive and land-hungry renewables today.

Worth reading the whole thing.

The School Bus

This stinks: Bus Driver to Eight-Year-Old: It’s Too Dangerous to Read While You Ride.

I used to read on the bus. One day I was being picked on, so I hit the @$$#073 who was bothering me with my algebra book and got off the bus at the direction of the driver. And I haven’t ridden a school bus since. That couldn’t have been later than 9th grade but it might have been 8th.

Podcast Publication Date

A couple of weeks (months?) ago, my podcast feed quit including a publication date, and I couldn’t figure it until just the other day. The problem was that my publication tags looked like this:

<pubDate>Sun, 05 Apr 2015 19:18:25 AKDT</pubDate>

but that won’t validate. It never has, but something must have changed in Apple land (either on their servers, or in iTunes) to make the times quit working.

The problem is that AKDT isn’t a RFC-822 compliant time zone. (It assumes that time zones in North America have names that are 3-character strings.) Instead you have to use ‘-0800’. (AKST isn’t compliant either, so you have to use ‘-0900’.)

<pubDate>Fri, 10 Apr 2015 10:24:15 -0800</pubDate>

Podcast Tagging

I’ve got a podcast and it’s a chore to update. I’ve built some tools to help me produce an RSS feed for the podcast, which is a good thing, since RSS = XML = too persnickety to do by hand. But I’ve had to do some of the work by hand, specifically, tagging the .MP3 files with the appropriate ID3 tags. I was using iTunes, which has never been very fun, and seems to get worse with each iteration.

Enter eyeD3. It’s a tag editor, but unlike most of them, you can operate it from the command line. Better yet, eyeD3 understands ID3 v. 2.X tags. The documentation for the classic eyeD3 interface is what I like best. You can use it to set all kinds of tags for your podcast. Like these v2.x tags here. If you want to set one of the date tags, you’ll need to know how to specify a date in ISO 8601 format.

Also, did you know that mp3info lets you get the length of an audio file from the command line? I didn’t, until I read it on the internet, and durned if it’s not true. That’s pretty nifty. And there’s even a Ruby API for it!

I also learned about something called mutagen, which is like eyed3 but for arbitrary types of audio files.

I spent the day learning all this, so my tools still need to be updated to do what I now know can be done programmatically. But I’ve done the hardest part, viz.:

Podcast Tagging

Tech Links

LinuxUser (UK): Create a NAS box from spare parts.

Ars: Intel’s Broadwell mini-PC. I love the form factor. But then, I’ve owned three Mac Minis.

I keep thinking I should learn the R language. Of course, I used to think that about GnuPlot.

HowToForge: Installing Git and Using GitHub on Ubuntu.

GSoC: SciRuby. There’s a program I’d love to rewrite 20 years later using a high-level language to do the Fast Fourier Transforms. I’m not sure what I’d use for the GUI.

Web UpD8: Install the official Telegram client for Linux.