Category Archives: Technology

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.

 

 

 

 

Ubuntu Tips

How to upgrade to Ubuntu 14.10 from Ubuntu 14.04.

Or, how to get an ISO if that’s your preferred way.

What to do when you finish upgrading to 14.10.

How to watch YouTube on your Ubuntu machine.

Normally, I run Chrome and/or Chromium instead of Firefox, but there’s a new version of Opera too.

Here’s some tools for scanning on Linux.

How to create a UEFI bootable Ubuntu USB drive using Windows.

Or you can just get a Mac and run the all-new butt-ugly Yosemite.

Retro Terminal Emulator

Everyone knows the command line is where it’s at. Macs have had it since the beginning of Mac OSX. Windows people are slowly coming around too, with Powershell and Console2.

But what about Unix users. Any love for the graybeards? Why yes, yes there is: cool retro term. I love the jitter:

Oh, and get off my lawn! (H/T: Ubuntu Portal)

Twitchy Mouse in Ubuntu

I have a love/hate relationship with Wacom tablets. They’re awesome when they work, but that’s rare, because the drivers are crap. And that’s on a Mac, where a lot of people actually use them.

I installed one on my Linux machine, and from that day forward, the mouse just lived a life of its own — jumping around and generally acting stupid.

So today, on a hunch, I decided to uninstall the Wacom drivers. It seems to have calmed the mouse down a little, but it still randomly jumps a couple of hundred pixels away from where it ought to be.