Advantages of a Real Server

A quick look at my traffic over the last month does a good job of illustrating the benefits to moving to a server that can actually respond at a decent speed:

Eclecticisim Traffic May-June

The day I moved is pretty obvious — the 7th of June. Prior to that, I was averaging 921 page loads a day, and it was trending downwards. Once I switched to the new server, things suddenly improved, and until the past few days, I was averaging 1,490 page loads a day. Nowhere near any of the big sites on the net, but still not too shabby.

So, once again, many thanks to Rain City Story for hosting me!

That spike over the last few days (up to 2,820 page loads yesterday) is almost entirely due to people looking for pictures of the Fremont Solstice Parade, arriving either from Google searches or links to my picture pages from other sites. Lots of pervs out there looking for pictures of naked bikers, would be my guess…and good for them!

I wholeheartedly approve of pervs in most situations — moreso when it drives a traffic spike to my site. ;)

iTunesWe Care A Lot” by Faith No More from the album Never Mind the Mainstream (1987, 4:05).

Fame

Last night when I went down to check my snail mail, another of the residents in my apartment building was checking his. I was heading back to the elevator when he spoke up. “Hey — aren’t you Eclecticism?”

Turns out he’d stumbled across my site a while ago looking for pictures of the Jensonia Hotel fire, and has stopped by from time to time (recently enough to have seen some of the Fremont Parade pictures), and recognized me from my photos and my kilt.

Pretty fun, actually. So far, that makes the second time someone in the “real world” has recognized me from my site (the first being one of the regulars at the Vogue). I’m famous! ;)

Flickr Badge in Weblog Posts

Flickr recently introduced a new badge generator with a lot of new features, including the ability to restrict the photos displayed to a certain set or group pool.

I started experimenting with whether it was possible to place badges into my weblog posts where appropriate. For instance, a post about a specific event could include a badge displaying photos from that event’s Flickr photo set or group pool.

My first attempts met with some trouble. The code that the Flickr badge generator creates comes in two sections: the CSS for style, and the HTML code for the badge. Unfortunately, the CSS block was causing issues, breaking validation (under XHTML Transitional, you can’t have a block inside a element) and doing something else that resulted in a random string of characters displaying instead of the badge.

After trying a few different forms of badge, though, I found that as long as I kept the same color and background choices (in step four of the HTML badge creator), the CSS code always stayed the same, and it was only variables in the Javascript call to Flickr that determined which photos were displayed.

So, I chose the style options that I wanted, created a badge, and put the CSS code into my stylesheet. I then took just the HTML code, dropped it into a post, and bingo — everything displays fine. As an example, here’s a random selection of images from the Utilikilts group pool:

www.flickr.com

Other advantages — because the CSS now lives in the stylesheet, you can create different color combinations for different stylesheets (if you use a stylesheet switcher), and your Flickr badges will blend in with the rest of the design no matter which design you choose.

Not a mind-blowing tip, sure, but could be useful from time to time.

LiveJournal Oddness

Just wanted to thank Leareth for letting me know that my LiveJournal feed had suddenly gone all pear-shaped. I’ve found and fixed the problem, and it should go back to normal the next time LiveJournal updates the feed.

Also, a quick note out to the other 22 LiveJournal users out there who are subscribed to the woody_eclectic feed — I have no idea who set that feed up, but it wasn’t me! While I’m thrilled that someone did, there’s two important side effects:

  1. I often don’t know when the feed gets wonky.

  2. I don’t get any comments left to the posts on the feed. If you’d like to leave comments for me (which, in my world, is always a good thing), you’ll need to click through the link at the very top of the post (which usually looks something like http://feeds.feedburner.com/Eclecticism?m=758). That’ll send you to my real journal, and you’ll be able to comment there.

Just thought y’all should know. ;)

Text-only individual archives in Movable Type

When I was first investigating John Gruber‘s excellent text-formatting system Markdown, one of the things that caught my eye on his demonstration pages was the ability to see the ‘source’ for any of the pages by simply replacing the .html extension with .text. I’d been wondering if it would be possible to pull such a trick for my site for a while, and got it figured out tonight.

You’ll now notice that just after the post date for each entry, there’s the option to go to a ‘text’ version of the entry. The URL is the same as the normal archive, except that it ends with .txt rather than .html. Clicking on the link will send you to the text-only version of the entry, which is simply the entry without any formatting applied to it whatsoever — just what I’ve typed, nothing more, nothing less.

For instance, here’s the text version of this entry.

I’m honestly not sure if there’s a huge use for this, actually, but that’s never stopped me from trying something before. ;) The biggest benefit I can see is that it allows for very easy copy-and-paste operations without having to worry about “smart quotes” fouling things up along the line. It also allows visitors to see the posts as they were written, of course — and thanks to Markdown, the text-only versions are generally just as readable as the formatted HTML versions, without lots of HTML code cluttering things up. Essentially, they look very similar to what a text e-mail might look like, with URLs placed after each paragraph, and references to each link at the appropriate point in the text.

I have noticed some caveats to this technique, however, which may put the usefulness of this entire technique into question.

  1. Safari doesn’t seem to display text files as pure text — rather, it treats them as HTML. This has the effect of running all paragraphs together as a single line, and rendering any HTML it might find. This has the rather unfortunate effect of defeating the purpose. If anyone has any suggestions as how to force Safari to actually display the text as text rather than rendering the HTML, I’d love to hear them.

    Update: Well, now Safari’s behaving and displaying the text versions as I’d expect them to display — as pure text, with un-rendered HTML. I have no idea why it didn’t do so the first time. This first caveat may be moot, then (which is a good thing).

    Update: John Gruber was kind enough to fill me in on why Safari will sometimes display the text as text, and other times will render it as HTML:

    Oh, and the reason that Safari sometimes refuses to show your text
    pages as plain text is because it tries to be clever. If anything
    that resembles an HTML tag appears in the first 100 KB or so of your
    document, Safari treats it as HTML, even if the HTTP headers state
    that it should be “text/plain”.

    Very frustrating, IMO. Apparently it’s a workaround for
    misconfigured servers that send HTML as “text/plain”, and it matches
    a similar workaround in IE/Win.

  2. Firefox will not wrap text files at the end of the screen, so each paragraph ends up as a single long line. Admittedly, this is technically correct, but without the word wrap, it’s a bit difficult to find something in the midst of a long paragraph. You could, of course, copy-and-paste the entire thing into a text editor before doing anything else, but that adds another step when working with anything.
  3. I have no idea what Internet Explorer will do with this, as I don’t have any version of IE on my computer.

If you’re still interested in implementing this yourself — or just curious — read on for the gory details. This is written for Movable Type users, of course, other systems will have to find their own techniques.

Read more

Flip der Svitch!!!

Flip der Svitch!

If you’re seeing this entry, then the switch has been thrown, and Eclecticism has successfully transferred over to its new server!

Michael was kind enough to make me an offer I couldn’t refuse (the good kind, not the horse-head-in-the-bed kind), and we got all the details finalized today. I’ve spent the evening transferring things over, and…oh, man, but this is an improvement.

Last time I had to rebuild my weblog, I couldn’t import all of my entries into Movable Type in one swell foop, because the 11 megabytes of text choked my server, and I had to break things down and do them month by month to avoid getting timeouts. Just a little while ago, I tossed my entire backup file — a whopping 13.78 megabyte text file — at the server, and it chewed through the entire thing and imported all my entries in just about thirty seconds.

So, many, many thanks to Michael!

There may be a few odds and ends that aren’t quite right as I finalize everything (for instance, I need to figure out how I’m going to get my del.icio.us bookmarks back into the sidebar as a linklog), but hopefully nothing too troublesome. If you do come across something that’s obviously broken, please feel free to let me know.

Otherwise, assuming all goes well, we should be in far better shape around these parts than we have been in quite a while. Yay!

(Bonus points if you can identify the movie that the above screencapture comes from….)

Virtual Moving

I’ve been getting word from a few people recently that my website is responding unusually slowly as of late. I generally don’t notice this much myself (as when I’m at home everything goes over the local network), but I have been noticing that the traffic indicator light on my DSL modem has been very active lately.

There’s a few things that could account for that amount of activity and the speed issues, but my guess is that it’s simply that while my DSL line and aging webserver were fine for my needs a while ago, I’m outgrowing them.

Right now, I’ve got a 1.5 Mb/sec incoming, 768 kbps/sec outgoing DSL line, and an old 350Mhz G3 as webserver. I’ve set my server up to host two domains for myself (djwudi.com, which is currently essentially unused, and michaelhanscom.com), one for my dad (hanscomfamily.com), two for friends (Kirsten at geekmuffin.com and Phil at interalia.org), and I found out a while ago that Phil has set someone else up on my server as well (patreesha.com).

A few months ago, none of those site were getting enough traffic for that to be a major issue. As the sites grow, though, and as Google finds more and more pages to send people to, I’ve simply run out of server horsepower and bandwidth.

So, I think it’s time for me to pare things down a little bit and look into external hosting options. Mike‘s given his hosting provider, LivingDot, a good recommendation, and their packages look better than both Laughing Squid (BoingBoing‘s host) and Logjamming (Wil Wheaton‘s host), but I’m open to suggestions if anyone else might have any.

This won’t be an “overnight” thing, so there’s no danger of me suddenly pulling the plug on any of the sites I host. I already knew that I’d have to be disconnecting my server for an as yet unspecified amount of time when I move in with Prairie in a few months, so the end of August is something of a “drop dead” date for me to get all of this taken care of. My sites may move over before then, depending on affordability and how much of a PROJECT the transition becomes, but I’m not about to just drop my friends’ sites into the great bit bucket in the sky. :)

It’s a bit of a bummer, as I’ve enjoyed having the ability to host things on my own, without having to worry about storage space (I’ve got around 100Gb of drive space on my server) or bandwidth caps (as long as I pay my bills, Speakeasy doesn’t care how much data I pump in or out over my DSL line, or limit what I can or cannot do with my server)…but after a while, even I have to succumb to the reality of the situation.

iTunesUnder the Milky Way” by Church, The from the album Never Mind the Mainstream (1988, 5:00).

ecto blog of the week

Here’s a nice little surprise for the day: Eclecticism is the featured ecto blog of the week!

This week’s featured blog is michaelhanscom.com, a blog that is brimming with courageous manly yet customizable pink. Don’t let the pink fool you, though, as the content is very much multi-colored. Movies, Macs, Seattle, politics, personal anecdotes, “eclecticism” got all the usual stuff that most blogs are made of (apart from that Seattle bit, I guess) and that is what makes blogs fun to read. The entries go as far back as a cold 1995 winter, so I’m hopeful we’ll be able to see this blog reach its first decennium.

“Manly yet customizable” — y’know, that just might do as good a job of describing me as it does my site! ;)

Thanks to Adriaan, both for the showcase spot, and for ecto!

iTunesForbidden Food” by Lady of Darkness from the album Malady (1996, 6:00).

Feed types

Looking at the Google AdSense for Feeds announcement, Scoble takes a moment to rank the various basic types of feeds that can be produced now:

Here, let’s rank RSS feeds from worst (least useful for readers) to best.

  • Worst: headline only feeds with ads.
  • Almost worst: partial text feeds with ads.
  • Barely passable: partial text feeds without ads.
  • Better: Full text feeds with ads.
  • Best: Full text feeds with no ads.

I’ll only subscribe to the bottom three kinds of feeds and if your content isn’t really “must read” (the New York Times, for instance) then you better stick with the bottom two.

Again, when I subscribe to an RSS feed that means I want a long-term relationship. Think about what that means. How abusive of me do you want to be? On the readership side we get to decide how much abuse we’ll put up with. You might find that your readers won’t put up with much. In which case you’ll have to decide if a few extra bucks is worth a decreased readership.

Dead-on, I’d say.

The first two — ‘worst’ and ‘almost worst’ — would guarantee that I would stop reading that site if that were all they offered. At that point, I’d feel that I’m being treated as a consumer, rather than a reader.

I’ve got a few ‘barely passable’ feeds in my newsreader, but I try to make them as rare as possible. If I try to subscribe to a site and the default feed is partial-text, the first thing I’ll do is peek into the source code to see if I can find a full-text feed. Even if I do subscribe to a partial-text feed, those sites get far less readership from me than others do, as it’s rare that the provided summaries catch my interest enough to bring me to the site.

(And a quick aside here — if you’re determined to do a partial-text feed, would you at least take a moment to actually write summaries for your posts that the feed can use? The default “first 20 words” snippet is virtually pointless. Give me a reason to read everything you write, don’t just assume that I’ll automatically stop by anytime something new pops up…with 300+ feeds in my newsreader, I just don’t have time for that.)

Once we get up into the two ‘best’ options — full-text feeds, either with or without ads — the ads don’t bother me quite as much, for two reasons. Firstly, the text of the post is generally longer than the ad and the ad can be easily ignored if I’m so inclined; and secondly, with Google’s targeting technology that picks which ads to run based on content, it’s more likely that an ad will be topic-appropriate (and, therefore, more likely to potentially catch my eye) with a full-text feed.

Me, I’m still going to stay ad-less in my feed. Advertising just isn’t that big of a deal to me — I signed up for Google AdSense out of curiosity, and so far, there’s no reason to get rid of it. I limit the ads to a single spot (below the first post on my index page, and between the post and the comments on my individual pages) so they’re visible but not intrusive (at least, that’s the intent), and every few months I get a little bit of money from Google. Not much — about $300 a year — but these days, every little penny helps.

I do also participate in the Amazon Associates program and the iTunes Affiliates program, but neither of those has netted me much of anything. I think I’ve gotten about $10-$15 from Amazon in the past few years, and I haven’t seen squat from iTunes yet. I just don’t have the readership numbers for these programs to be really profitable…but then, that’s not exactly something I worry about this. If I’d gotten into this whole blogging thing for the money, I’d have gotten out of it years ago.

(That said…would it kill you to go shopping every so often? “)

iTunesReal, The” by Davis, Don/Tech Itch from the album Animatrix: The Album (2003, 8:02).

Back again…

No clue why, but for some reason my DSL modem apparently froze up somewhere around 3pm this afternoon. I’ve reset it and we’re back up and running, but it looks like my site was effectively down for about two hours.

I’m sure the 30 people who might have tried to stop by were heartbroken.

iTunesRevolution Rock” by Clash, The from the album London Calling (Legacy Edition) (1979, 3:51).