Tag Intersections

A little bit more work on improving the tags.app implementation here.

By default, tags.app’s results page from performing a tag search is very sparse — simply a bulleted list of post titles, presented ten at a time. One of the first things I did when tweaking my install was to enhance the page a bit by adding post excerpts, author, and time/datestamps to each entry. I also added a list of ‘related tags’ in the sidebar of the results page.

While tinkering around with adding the tag search field tonight, I realized that it shouldn’t be hard at all for me to add easy tag intersection searches to the tag results page. A few tweaks later, and it’s done: when a search on a tag is performed, the list of related tags now includes a small ‘[+]‘ symbol before each tag. Clicking on the tag itself will start a new search for that tag alone — but clicking on the [+] will add that tag to the search (and narrow down the ‘related tags’ list dramatically). I’ve been playing with this, and it’s making it very easy to drill down through the thousands of entries on the site very quickly.

Code snippets follow.

Read more

This is a test…

…this is only a test.

Update: And it’s a test that worked — my favorite kind!

Last month, I added tag support to the site, courtesy of tags.app. While it’s been working quite well, I’d occasionally want to look for a tag that wasn’t displayed as a clickable link on whatever page I was on. I’d been getting around this by clicking on any tag to perform a search and then editing the URL in the browser’s address bar to get to the search I really wanted. Obviously, not a very user-friendly solution.

With a little simple form editing, things are much simpler now. In the sidebar there are now two search fields available. The first is the standard full-text search that comes standard with every Movable Type installation. The second (or the one at the top of this post, for that matter) ties into tags.app’s search capability, so you can now search for arbitrary tags. You can even search for tag intersections by entering multiple tags separated by spaces.

Quick, simple, and easy to use. Some days you’d almost think I knew what I was doing around here.

For the record, here’s the code I inserted just below the div that the standard search field lives in:

<div>
 <form method="get">mt-tags.cgi"&gt;
  " /&gt;
  <label for="tagsearch">Tag Search:<br />
   (Separate multiple tags with spaces)</label><br />


 </form>
</div>

iTunesShe’s Hot” by Sheep on Drugs from the album One for the Money (1997, 3:50).

TypeKey broken?

I’m not sure how I’ve managed to do this, but while disabling the OpenID Comment plugin (which was apparently causing issues with submitting comments, and wasn’t really being used anyway), I’ve managed to break the ability to log in via TypeKey for authentication. For the life of me, I can’t figure out what’s going wrong — all of my code looks like it should be doing what it’s supposed to — but for whatever reason, the link to log in to TypeKey isn’t showing up.

So no TypeKey until I figure out what I broke. Meh.

iTunesSweet Dreams” by Marilyn Manson from the album Smells Like Children (1995, 4:53).

Ten Years (roughly)

I first started bouncing around the ‘net in the fall of 1991, when I made my first ill-fated attempt at being a college student (a half-semester at UAA that I pretty much just stopped going to). I had the user ID of ‘ASMDH’ — Anchorage, Student, Michael David Hanscom — and the sole remaining evidence of that first ‘net address is a comment by Royce from a few days ago, and a listing in the IRN FAQ, also courtesy of Royce. Digging through the IRN archives gives me an earliest confirmable ‘net presence of Thursday, the 17th of October, 1991 at 12:18:11 (entry #5 in IRN 1.5).

As I discovered about four years ago, the first definite evidence of my existence as a denizen of the ‘net outside of UAA comes from a Usenet post archived by Google Groups that dates to February 9th, 1994 at 5:49am. The post is to rec.music.industrial and concerns nine inch nails bootleg CDs. Heh. Sounds like me, alright. By then I had an account through Alaska.net, but there’s no web presence listed in my signature — which makes sense, as the web was still a brand new thing in 1994.

My first web page went up sometime in 1995, though I don’t know exactly when. The earliest archive I have dates back to February 27, 1996, but I’d been working with the space and teaching myself HTML for some time at that point. With a little poking around, however, you might stumble across the “these pages last updated” link at the bottom of that page. And what do you think you’ll find if you follow that link?

Time- and date-stamped entries in reverse chronological order (the most recent at the top) detailing little updates I’d made to the website and some personal bits here and there.

Sound familiar?

Going by the earliest entry on that page, I’ve been blogging in one form or another for ten years as of 3:13am (Alaska time), December 29, 2005.

That’s a long time. Honestly, I probably wouldn’t even have noticed this if I hadn’t decided to put all those early, hand-coded entries into my current Movable Type installation a while ago. It was kind of fun to see my archives page list posts all the way back to that earliest archived post!

I just wish I hadn’t lost a lot of pages from back when I was hand-coding my site. While my archives jump from early 1996 up to 2001, I was keeping a blog-like website during all that time…I was just hand-coding everything, and when the page got too long, I’d delete the oldest entries at the bottom. Ah, well…as often seems to be the case, it seemed to be a good idea at the time.

In any case, this post marks ten years of archived babbling and rambling — blogging, in today’s vernacular — for me. As I write this post, those ten years have created (and this doesn’t even factor in my LiveJournal account):

  • 3,614 entries.
  • 8,548 comments.
  • 1,228 trackbacks.
  • Four different management systems:
    1. Hand-coded
    2. NewsPro
    3. Movable Type
    4. TypePad
  • One lost job and subsequent Slashdotting.
  • Countless new contacts, friends, and interactions, some of which have spilled over into the “real world”, others of which have been entirely through the electrons of the ‘net.

Those of you who stop by from time to time, be you family, friend, anonymous stranger, or any other visitor — thanks for being around, dropping by and saying hi, and generally giving me a reason to keep this thing going.

And here’s to the next ten years.

iTunesAnniversary” by Voltaire from the album Devil’s Bris, The (1998, 4:35).

Silktide Sitescore

Silktide SiteScore for this websiteFrom what I can tell, my site gets a fairly good score from Silktide, which appears to be a web development firm based out of England. Some of the areas I got marked down on aren’t a surprise at all (W3C validation, for instance, is failing miserably right now, something I need to pay attention to rather soon), but I did get a laugh out of the one section that I was rated as ‘Very Poor’:

Amount of text A page was found to contain a very large amount of text. Users very rarely choose to read large, continous blocks of text, and these pages require time to download and scroll through for relevant content. Recommendations: Break larger pages up into several smaller pages, and consider restructuring content to make navigating it easier.

Yeah…I get it. I talk a lot. This isn’t exactly news, especially if you’ve been following my site for any length of time. Good for a laugh, though.

Now to take a look at those validation errors and see if I can’t bump my score up above a 7.8…

(via A Crank’s Progress)

Update: With some work tweaking templates and a mix of simple fixes (some missing </div> tags) and not-quite-so-simple fixes (tracking down all the unescaped ampersands), I’ve managed to push my way up to an 8.3 rating. While I still rate a Very Poor for Amount of text, I’m now Good on Size of pages, Features, and Speed, and Excellent on Popularity ranking, Popularity on Google, British legal requirements, Use of fonts, Use of forms, Use of Flash, Use of frames, Table-based layout, Use of headings, Use of style-sheets, Use of Interactive Elements, No of links, No of images, Links to, Use of page titles, Refresh redirects, Basic HTML design, Use of advertising keywords, and Use of audio. Amusingly (and quite accurately, in my opinion) for many of those categories — Flash, tables, redirects, audio — it’s because I don’t use them that I got the ‘excellent’ rating.

I think that’s all I’m going to worry about.

iTunesA Nightingale Sang In Berkeley Square” by Darin, Bobby from the album Legendary Bobby Darin, The (2004, 3:02).

Program on the emergence of civilization.

I have no idea what prompted someone to leave this comment on my site, or what relation (if any) they think it might have to the post that it was added to…but it’s just long and bizarre enough that I think I’ll keep it. It didn’t come with any URLs or spam links, so I don’t have to worry about that. Just some odd ranting.

iTunesTouch ” by Wolfsheim from the album Spectators (2005, 4:10).

…was blind, but now I see

Back again, new and improved — after swapping out my old, dead video card with a brand-spankin’ new Radeon 9800 Pro Mac Special Edition video card, my Mac is back up and running. A wee bit noisier than it was before, thanks to the fan on the video card (a simple heat sink isn’t enough for this one, apparently), but the main thing is that it’s up and running.

Of course, because life isn’t easy, even this simple seeming endeavor was not without its fair share of challenges.

The first — and the most nerve wracking — was the task of getting from Northgate to the U District through the combined messes of rush hour and holiday traffic. It had taken Prairie half an hour to get from home to the mall to pick me up after work (a drive that normally takes between three and five minutes) and had decided that that was all she could handle (quite understandably so), so I took over the driving from there. We managed to get to the Mac Store and back home in about an hour, so it wasn’t entirely bad…but it wasn’t entirely fun, either.

Next was getting the card itself. This should have been a simple task, but I inadvertently slightly complicated matters when I misstated the specifications of the card and said that I thought it had 512 Mb of onboard RAM. There were a few moments when I was afraid that we were about to be sucked into a debate between salespeople as to whether any Mac video card came with 512 Mb of RAM, but managed to point out that it really didn’t matter as long as they had a card and I could give them money to walk out with it. Crisis narrowly averted.

Lastly, once home, came the process of actually installing the card. Now, I’ve done such things before on other machines, so I was expecting a rather simple task: pop the case open, pull out the old card, put in the new card, close the case, and go on from there. The first two steps went fine, but then I made a mistake no self-respecting geek should ever admit to.

I read the manual.

I know, I know: who actually reads the manual? Still, at the time, it seemed a good idea. The problem I soon ran into was that according to the manual, the card required a power connection from the computer, something that could be accomplished with the use of a ‘Y’ power connector included with the card. This made sense, as it’s a newer, more powerful video card, except for one thing: there was no power connector in the package. Hmmmmm.

Double- and triple-checking the package commenced, with no power cord mysteriously appearing out of thin air. Rereading the manual multiple times didn’t help either, as the words failed to spontaneously rearrange into a friendly message saying, “oh, nevermind, we just wanted to see if you actually bothered to read the manual, go on ahead without the power cord.”

Pity, that. I’d have been amused at that — annoyed, yes, but amused, too.

I did notice, however, that the manual made repeated references to the card as a “Radeon 9800 Pro Mac Edition”…and my box said that I had a “Radeon 9800 Pro Mac Special Edition”. Hmmmm. Could the ‘special’ part of “special edition” mean that it simply drew power through the connection socket, and didn’t actually need the apparently mythical power cord? It was starting to look that way, especially as the card didn’t appear to even have a plug to attach a power cord to. However, I wanted to be sure.

As there were still fifteen minutes left before the Mac Store closed, I gave them a call, and explained my situation to the person on the other end. A bit befuddled at first, he started checking things out, first via the web, then going into the back to look for a box that he could crack open. He wasn’t able to find a box, but he did find some more information on the web. “What color is the circuit board?” he asked.

“Blue.”

“Ah. Yes — the blue card doesn’t have a power connector.”

I paused for a moment, then laughed. “Well, yes, this much I know,” I said. “I just wanted to make sure that that’s how things are supposed to be!” After a few moments, we came to the conclusion that as the pictures he’d found of the cards showed a red board with a power connector, and a blue board without a power connector, then I was probably fine, and they’d simply put a generic instruction manual in the box.

Sure, this was the same conclusion I’d been coming to on my own — but at least this way, I had confirmation from a second source.

So there we were. I put the card in, closed the case, reconnected everything, hit the power button…

…heard the computer start up…

…saw the lights on the keyboard flash…

…heard the scanner initialize…

…and then, finally, saw the power light on the monitor switch from the blinking amber of its ‘sleep’ state to the bright steady green indicating that it was getting a signal.

Success! Huzza, hooray, calloo, callay! And all was right with the world.

And so now, the old (dead) video card is no more, and the new (working) video card is quite happily (and nosily) humming to itself…and I’m the new owner of more video processing power than I’ll ever need.

I have an 8-pixel pipeline, which doesn’t sound very big at all, but is trumpeted on the box as something important, so I’ll assume that it’s a good thing. There’s 128-bit full floating point precision — an important thing, because sinking points would just pile up all the pixels at the bottom of my screen. I have SMARTSHADER™ for cinematic-quality lighting effects (which, I’m sure, will do wonders with the web pages I visit daily). I have VERSAVISION™ to rotate my display to a portrait orientation (of course, as my monitor doesn’t rotate to a portrait orientation, this will give me quite the crick in my neck — but I can do it!).

And lastly, according to the ATI Displays software, I have the option to “Enable Alternate DVI TMDS Receiver Mode”, which “Enables coherent TMDS Receiver support (Ti receiver).” I don’t even know if that’s English, or any language that might have some relation to English…but it’s an option.

I just might have to find some game to play just to justify having this card at some point, or the card’s likely to get bored with text windows and webpages, tell me to shove off, go on strike, and I’d have to do this whole thing over again.

I’m blind!

Well, crud — it appears that the video card on my computer just died.

The computer froze, and when I restarted, while it sounded like the computer was starting up, I got no video feed. I’ve shut down and restarted again with the same result, and can confirm that the computer is up (by creating a network connection from Prairie’s iMac)…but no video.

I’m about 80% sure that it’s the video card and not the monitor, which has its good and bad points. While I’ve been wanting to replace my monitor for some time now (it’s aging, darker than it should be, and I can’t color correct it to what I should be able to), video cards are cheaper than new monitors (especially since I’m determined that my next monitor is going to be a flatscreen, and not another huge, heavy, power-hungry CRT). However, I don’t really know the video card market, so I’m not sure what I should look for in a replacement (not to mention the question of whether I’d be able to find a decent mac-compatible card at the Best Buy that’s just a few minutes walk away).

The biggest reason I’m pretty sure that it’s the video card is that there was a known issue with first generation Dual 2.0Ghz G5 PowerMacs that would create problems with them going to or waking up from sleep mode that was in some way tied to the video card. Unfortunately, it’s been long enough since I’ve tried to research this issue that I can’t find any of the relevant links rather quickly (though I’m finding a few references…‘G5 Nightmares’, Power Supply Noise and Wake From Sleep, Several G5 Problems, Richard Earney’s note in Hardware Failures, Peter Lovell’s note in Display Problems…there’s probably more, but that’s enough to refresh my memory). In any case, it’s an issue I’ve been dealing with for quite a while now (by not using sleep mode, and avoiding restarting the ‘puter as much as possible, as sometimes that will kick the bug in also), so I’ve known that a new video card might be a future necessity.

I just wasn’t expecting that future to come today. “

So…I guess part of my day’s plan is now to walk down to Best Buy and see if they have a decently priced Mac-compatible AGP 8x video card. Oh joy, oh joy….

Update: Well, so much for that idea. All of the video cards at Best Buy had “Made for Microsoft Windows” logos on them, and the guy working that area didn’t have any idea as to whether they’d work on Macs also (since both platforms use AGP you’d think that the cards would be cross-platform, but without knowing, I wasn’t going to plunk any money down). Grrrr.

I wonder how long it’d take me to get to one of the four local Apple Stores (Four? When did that happen?) and back via the bus system during week-before-Christmas holiday traffic?

Update: Well, I’m glad I called before hopping on a bus — the official Apple Stores don’t even carry video cards. The machine would have to be taken in as a service request, parts and labor charges…meh. All I want to do is buy a verschluggin’ video card so I can drop it in the case.

As much as I love being a Mac user, sometimes I really hate the “all Mac users are clueless” mentality…especially when it comes from the Mothership itself.

Update: Called The Mac Store, and they have two video cards in-stock that will work with my Mac. That’s the good news. The bad news is that I have a choice between the Raedon 9800 Pro for $329 or the Raedon X800 XT for $399. Ouch.

Looks like I’m not getting a working computer tonight…and even the near future might be a little bit doubtful.

Joy.

I’ve got the blues…

…but in this case, it’s a good thing.

I’ve been wanting to move away from the (slightly tweaked, but still) stock template included with Movable Type 3.2 for some time now, but just haven’t been able to find the time and energy to tackle the project.

Today I actually managed to find both at once, and here’s the result — the return of the “Blue Distressed” theme for my site. I’ve missed this one, and apparently, so have at least a few of my readers, from comments I’d gotten from time to time. The theme has been slightly tweaked from its last appearance on the site, but it’s still essentially the same: blue-grey colors, and a kilted me up in the corner.

Of course, that picture is quite out of date — I’ve got a bit over a year and a half’s worth of hair now — but fixing that will have to wait for a while yet. For now, I’m just happy to have this place looking a little more “me” than it has for the past few months.

As always, feel free to let me know if anything seems obviously buggy, or cries out for further tweaking…unless you use Internet Explorer. If you’re using IE, get out of the ’90’s and upgrade to a browser that works (unless, of course, job restrictions restrict you to IE…in which case, I pity you). ;)

iTunesHallowed Ground” by Erasure from the album Innocents, The (1988, 4:05).

iTMS Affiliation is a pain in the butt

First, the good: I’ve gone through, bug-checked, and slightly tweaked the code for automatically linking to the iTMS in ecto to ensure that it works and performs searches as it should (something I’d been meaning to do for a bit now, as that page seems to be referenced fairly often by people working on that particular issue).

Then, the bad: while I love the idea of iTMS affiliation — and if I got more traffic, it might even bring me more than a few pennies here and there — I’ve got to agree with Scot Hacker that the whole shebang is really a pain to deal with. While I haven’t had to fight with the POST/GET issues that Scot is, some of his issues sounded very familiar to me…

It turns out that a lot of the links provided through the LinkShare back-end (Apple partners with LinkShare for the affiliates program; you have to use their back-end to generate your custom links) simply don’t work. See the six (currently static) album covers in the left column of the site? Only two of them actually take you to that album in iTMS. The other four take you to the iTMS homepage. All six links were pasted directly out of the LinkShare link maker, and should work as-is. This problem is totally unrelated to the POST problem — they’re just dishing up broken links to affiliates, period.

[…] I was expecting to find some kind of ad rotation mechanism for affiliates. See those static Stevie Wonder banners at the top of all the lyrics pages? I should be able to drop in a block of code and have those rotated out automatically from iTMS. Instead, the only option is for me to return to LinkShare every few days and grab some new static code. …why should this be so difficult?

[…] I’m trying to sell music for Apple here. You’d think they’d welcome all the help they can get. This whole process has been incredibly frustrating. Maybe I’ve drunk too much of the Apple Kool-Aid, but I really expect better from them.

iTunesInsane in the Brain (Hot Tracks)” by Cypress Hill from the album Hot Tracks 15th Anniversary Collectors Edition (1997, 5:18).