Generate Yearly and Monthly Archive Pages with Hugo Sections

This blog, which is now generated with Hugo, uses the permalink structure /:year/:month/:slug (the slug is a url-safe version of the title). There are also “archive” pages, which list the articles posted in a given month or year. These pages have a permalink structure that compliments the post permalinks: /:year/:month and /:year respectively.

Back when this blog was generated with Jekyll, I used a plugin to generate the archive pages but there is no such mechanism in Hugo. It is possible to use taxonomies to accomplish this, but it involves defining a taxonomy for each year in the Hugo config, creating a corresponding layout and also adding redundant frontmatter to each post.

As an alternative, I created 2 new “sections” (top level subfolders in the content folder): archy and archm. archy contains one file per year and archm contains one file per month. These files can be generated automatically (see below).


Write Your Own Coda Plug-In

My love for Coda knows no bounds. Except maybe the bounds of the tab bar.

One especially sprawling project at work brought the problem to a head: switching between all the files had simply become too tedious. Rather than desert Coda (perish the thought) I decided to whip up a plug-in called Wing Man. Panic has a pretty good how to on the basics of plug-in building so I won’t rehash all of that here.


Debian: Beep at Login Prompt

A spare PC that’s been kicking around my apartment recently got a fresh dose of Lenny.

As a headless machine, it’s handy to have the system beep when it reaches the log in prompt to announce that it’s ready to accept SSH connections.


Stop Remote Desktop from Locking the Host

Closing a Windows Remote Desktop connection leaves the host machine locked, but it is possible to create a shortcut that will close the session without locking the screen.


Google Voice + Fluid (SSB)

Google Voice Icon
Google Voice Icon by malabooboo

Google Voice is the eighth wonder of the world.

Mac users lucky enough to have secured an invite might consider creating a Fluid site specific browser to carve out some space for Google Voice on the Dock.

An SSB is quite useful in itself, but even more so when a few CSS tweaks are applied.


Downgrading to Flash Player 9 on Mac OS X

If you’ve noticed Safari crashing more often lately on your PowerPC Mac, you’re not alone.

At first I blamed the Verizon cell data coverage in Las Vegas for the stuttering video and dropped frames that I noticed when tuning into TWiT Live for their CES Coverage, but when the browser started locking up completely I knew it had to be Flash.


SlingPlayer iPhone App Rated 12+?

SlingPlayer Mobile Rating Screenshot
SlingPlayer Mobile App Store Screenshot

After excitedly unwrapping a Slingbox SOLO this holiday season, I decided to have a look at the SlingPlayer Mobile iPhone app. As you might expect, the app lets you watch your SlingBox content on Apple touch devices.

Much has been made of the steep price ($30!) and the fact that AT&T crippled the software by making it WiFi only, but it was the rating for the app on the iTunes Store that caught my eye.


Google DNS vs OpenDNS vs Comcast

I jumped from OpenDNS to the new Google Public DNS after Gruber did.

The speed difference between the two during real world browsing has been negligible. In fact, a recent BrowserMob article has me reconsidering the plain-old Comcast DNS servers.


Windows Media Center "Little Red Dot"

The Show taskbar notifications setting in Windows 7 Media Center (found under Settings>General>Startup and Window Behavior) toggles the appearance of a little red dot in the taskbar when a program is recording.

It does not refer to hiding the silly balloon notifications that appear even when WMC is running, as I and ths guy mistakenly thought.

The dot is a handy notification when the WMC interface is closed. I’d recommend leaving this setting enabled and also clicking the up arrow next to the task bar, choosing “Customize Taskbar” and selecting “Show icon and notifications” for the Windows Media Center icon so that it is always visible when a show is recording.


Why Isn't the Zune HD a Windows Media Extender?

Zune HD
Zune HD

The Problem

TV Shows recorded via CableCARD on Windows 7 are saved as copy protected WTV files. These recordings can only be played on the computer that recorded them or on a Windows Media Extender such as an Xbox 360 or a Linksys DMA2100.

Microsoft has announced that some content may be marked “copy freely” by the content provider after a forthcoming firmware update for the ATI TV Wonder Digital Cable Tuner is released. We’re still waiting for the update, and there’s no way to know how many shows will be free of DRM, but it’s a promising trend.

It’s easy to immediately start cursing DRM and mocking the futility of it all, but I have a different critique.