November 5, 2009

Physical Storage vs. Digital Storage  
Another nifty infographic describing just how technology has commenced over the past couple of decades. Really depressing to think about how I used to be forced to manually flip tapes to listen to the other side.

What happens when the hard drive dies?

I wrote this piece in February of 2008, and thought I would resurrect it in light of the recent controversy concerning its life expectancy.

A few months ago, I had a real scare with my hard drive. One of the bullet point selling points of Mac OS X 10.5 is Time Machine, the automatic backup software. As I thought about Time Capsule, my hard drive, and backups, I came to an awesome, terrible realization: all hard drives fail.

Looking over the specs, I can’t really find any way to replace the hard drive in this thing. This is critical, because it’s your last line of defense. If this thing goes down, you’re sunk.

Pondering the possibility of losing years of data on my disk, I realized how Apple could be setting itself up for failure. No, not because the device won’t sell — it will. And not because it isn’t marketed as another boutique product. It’s because the very device they’re selling can easily go against the convention they’re trying to enforce.

Years ago, Apple introduced this application called ‘Backup.’ It was part of the .Mac service, and it let you back things up in a simple, convenient way. That was the intention, anyways, as I’m not sure anybody really knows how to get the thing to work. And I’m pretty sure nobody’s dumb enough to trust it to back up anything more important than their Safari bookmarks.

That’s the problem with the backup solutions that are supposed to be what you would expect from Apple; not as feature–rich as you would hope, but comprehensive and very easy to use. They succeeded this time with Time Machine. And somehow, Backup yet lives — there must be a reason.

Getting to the reason for the continued existence of Backup led me to think about the rationale to make Time Capsule, the wire–less, hard–drive–based backup device. As Backup is to .Mac, Time Capsule is to local storage. They both follow the same mantra, but with vastly differing success.

Backup was always hampered by its connection to .Mac. There just wasn’t enough room to backup the files on your computer. You could, at most, back up a subset of the types of files like Word documents or all the files in your Documents folder. It surely wasn’t what you’d need for the ‘prosumer’ experience, and definitely wasn’t a professional–level solution.

Mac OS X 10.5 brought Time Machine, and the promise of backing up your entire file system, down to the minutia of your fonts and preference files. Sure, you needed a pretty big hard drive, but that sort of space is cheap right now, still more so that online. With a daily backup of everything — that comprehensive approach — you could get back what was lost, and that’s what we all want.

Selling hardware to meet that demand was the next logical step. Apple did this moving from iTunes to the iPod, and they’re doing the same thing from Time Machine to Time Capsule. The wireless capability is just a bullet point — what they’re really doing is selling convenience.

With that convenience, Apple is getting you to do something you should be doing: backing your data up. It makes everybody feel good, you see. Promote that healthy behavior. But it would make sense to use a piece of hardware you can fix, right?

As far as I can tell (since I haven’t been able to get my grimy paws on one, yet), there’s no way to change the hard drive in the Time Capsule. There’s a lot of precedent for this, from the iPod to the new MacBook Air. But that’s a bad idea when you’re using this as your solitary backup.

It’s the same problem you’d have if your primary disk went bad. One well–timed lightning bolt and every source of hope you’ve got is turned into stylish, over–priced paperweights. The message I’m trying to convey is this: instead of having one last chance (your hard drive) you’ve now got two (with Time Capsule). And until somebody does something about it, that’s all you’ve got.

I love fear–mongering. Even more so when it’s right in line with the idea Apple’s trying to get across to consumers. With Time Machine, they’re trying to say that cheap storage — online or local — is within the reach of pretty much everybody. If you can afford a computer with Leopard, you can afford to get a Time Capsule for your house.

Honestly, I agree. The thing that I’m wary of is that you’re purchasing a silver bullet — and that will lead people to the inevitable complacency. That lax attitude will lead to reliance on this system, and someday we’ll be watching videos about “Time Capsule’s Dirty Secret.” Nobody wants that to happen. Nobody.

So, solutions? I’m not sure. I’d really hate to think that this piece of hardware is going the same route as the iPods and Mac minis and Apple TVs and MacBook Airs before it. I’d hope that there was some way to replace the disk, or at least to get it recovered quickly. I would hate to think that people are trading a bag of magic beans for two bags of magic beans.


How to block RIPE IP addresses with .htaccess

Just in case you ever wondered who you should block off and keep almost 100% of your site free from spammers and scrapers, I’ve found it’s always a good idea to block off the RIPE network. Not that it’s all a bad thing, or that you don’t get legitimate traffic from there, it’s just that a full 100% of the traffic I got from there was spammish.

Before we get started, some things to remember. Like last time, if you have no idea what I’m talking about, let the person who you bug about all things electronic do it for you. Also, this tutorial needs a modern Apache webserver. Most importantly, if you expect legitimate readers from the Asia Pacific region of the world, you could block your readers. Remember these things.

Copy and paste this into your .htaccess file:

#Amsterdam
deny from 62.
deny from 80.
deny from 81.
deny from 82.
deny from 83.
deny from 84.
deny from 85.
deny from 86.
deny from 87.
deny from 88.
deny from 89.
deny from 90.
deny from 91.
deny from 139.10.
deny from 139.12.
deny from 139.16.
deny from 139.18.
deny from 139.24.
deny from 139.28.
deny from 139.30.
deny from 147.83.
deny from 147.84.
deny from 147.91.
deny from 193.
deny from 194.
deny from 195.
deny from 212.
deny from 213.
deny from 217.
#Australia
deny from 58.
deny from 59.
deny from 60.
deny from 61.
deny from 165.228.
deny from 165.229.
deny from 168.140.
deny from 202.
deny from 203.
deny from 210.
deny from 211.
deny from 218.
deny from 219.
deny from 220.
deny from 221.
deny from 222.

That would be it.

The Amsterdam and Australia mean really nothing. They are just there to keep things organized. Doing a whois on the IP ranges shows to which branch of RIPE they belong. You can shuffle them all together into one neat list, if you like.

Like I wrote before, this is a throw-the-baby-out-with-the-bath-water approach to banning. The way I have it set up, you block everything in the IP range rather mercilessly. The only reasonable purpose for doing this would be if you are losing a lot of bandwidth to non–human traffic.


October 7, 2009

Best AFLAC Trivia Question, Ever  
Great question that totally stumped me. I had no idea even how to answer this one. You can tell the crew running the Braves games have a lot of time on their hands.

October 6, 2009

The History of Web Browsers  
Awesome pictorial history of what browsing the internet — er, Internet — looked like way back in the 1900s. I was disappointed that it was missing OmniWeb, but it wasn’t like every browser was going to make it in there.
Explaining @font-face  
Lengthy, helpful explanation of what the @font-face declaration in modern CSS is going to do for the web browsing experience. Shows just how far this thing has to go before it gets widespread use.

How to block an IP address with .htaccess

Ever had somebody (or, more likely, something) constantly hitting your website and wasting your precious internet resources? Then you have some options with Apache and .htaccess. This little tutorial will show you how to block an IP address.

Note: this will stop access to your site, not keep a site from finding your IP.

First, get a website. Got that? Good.

Now, make sure you have some sort of Apache server. If you’re not sure you have one, the rest of this won’t make much sense. If that’s the case, just go back and let your kid read the rest of this.

For those of you still with me, you’ll need to upload a file to your server called an .htacccess file. It’s simply an extension that tells the server what to do with all your files (Here’s some info from Apache). This is where the magic happens.

Inside that .htaccess file, you set up some variables to create certain events. If you use WordPress like I do, there is one uploaded when you install it. It’s in the top-level directory, just sitting there. Other content management systems use an .htaccess file as well, like Textpattern, Expression Engine, and Dupral.

If you open the file, you’ll see there’s some WordPress (or them other things’) specific code. Don’t fiddle with that. Just leave it be, because the part that the blogging software uses doesn’t really have much effect on what you are going to do.

I found this at JavaScript Kit, and it’s a wonderful way to keep the spammers, scammers, and scrapers off your site. Inside your .htaccess file, put this:

order allow,deny
deny from 123.45.6.7
deny from 012.34.5.
allow from all

This is how you deny by IP address. Find the offending IP address you want to stop, put it there, and that singular address will never be able to get to your site.


October 1, 2009

Merlin Mann on modern Adobe products  
Both comedy gold and incredible insight. Stuff like this makes it a must–read:
One (sometimes one of the extremely few) of the benefits of the annoyingly rabid Mac community is that we do talk to each other a lot, and we do absolutely have equivalents of pro wrestling’s faces and heels. Right now, Adobe is not regarded as a hero. No. Right now you’re the heavy guy from some country we don’t like who’s always with the folding chairs.

Tagging everything, for a reason

Since the inception of this site, I’ve taken to the task of tagging every post with a stunning amount of tags. I tag the posts (and links) with as much information as possible in the hopes that it will add relational value when you’re searching in this site’s search application, or using some other search appliance (e.g. Bing, Google).

Running WordPress, I’m able to add tags to posts without working at it through a function of Simple Tags. It uses comment phrases to try and add tags based on simple keywords. If I use the word ‘WordPress’, for example, it will add a WordPress tag, even if I forgot to explicitly add it.

Also, the All in One SEO Pack adds post tags to the page META tags. While this isn’t apparent to the user just looking on the page, it helps search engines to figure out what the page is about. Additionally, like I wrote before, it also helps the built–in WordPress search appliance.

One application of all the tagging (besides search) is the use of the Similar Posts plugin on the reference links page. Their function is sort of, “I’m done with this page, now what do I do?” The use of tags helps figure out what will be relevant. Granted, this is done with a combination of human tagging, computer guessing, and dumb luck, but it seems to work fairly well so far.

But the big reason I am doing all this tagging isn’t just to tag everything. It really isn’t important that I’m tagging all this stuff, but why I’m tagging all this stuff. I tag all this stuff because, at some point, somebody will try and build upon an idea I write. Or will be looking for something completely different. Or looking for just this thing.

The main reason I tag everything is because I have no idea what anyone wants to know. Think of these tags as writer’s notes when translating languages. It’s a way to translate from my mind to the reader.


September 28, 2009

What The Trend? explains why something trends on Twitter search  
If this didn’t exist, then somebody would make it. I wonder how long until Twitter just goes ahead and makes something like this for themselves, instead of using another, unaffiliated site? Seems a useful extension of their real–time search product, to me.
Google adds Hot Trends into Search  
Always nice to see something useful added to Google Search results. While I don’t believe this will hurt the appeal of Twitter’s real–time search, it will help explain why people searched for those results.
QuickCursor  
It adds a service to 10.5 and 10.6 that lets you edit text in any application you desire. Useful if you don’t want Safari to crash while you’re working on a long email. I use something similar with Textmate, so I know this will help people out, once they get used to it.
Big Text  
Another Text Ascii Art Generator. I don’t know why, but I love these things. The drop–down list is a drag, though.

September 26, 2009

Stainless  
Minimalist new browser that seems to fit somewhere outside of Google Chrome and Safari. Supports something they call ‘parallel session’, or the ability to log into the same site with different credentials.
Mr T graphically explains the Konami Code  
Dan Brown would be proud.
Konami-JS lets you easily put the Konami Code on your website  
For those of you who don’t know what the code is, it’s:  Up, Up, Down, Down, Left, Right, Left, Right, B, A, Start. Well, technically it’s Enter, but there’s no Start on my keyboard, so they changed it to Enter.

September 25, 2009

WordPress jQuery contact form without a plugin  
Trevor Davis creates this contact form using only the WordPress templating system and jQuery.
Next On…  
Shaun Inman comes up with a lot of nifty, web–related things. He came up with these javascript bookmarklets that add the ability to go to the previous and next posts. Useful if you’re using Safari’s command + [1-9] key command to quickly move back and forth in website archives.
Fresh vs. Familiar: How Aggressively to Redesign  
Jakob Nielsen reasoning why it’s best to make gentle changes, rather than go with spaghetti on the wall:
Generally, it’s best to evolve a UI with gentle changes rather than offer a totally fresh design. I thus strongly recommend getting the basic design right in the first place, before you launch, so that it can live for several years with minor updates. Before you release anything to customers, use techniques such as rapid iterative design and paper prototypes to thoroughly explore the design space and polish the usability.

Feverish Editing

I missed something that I’m attributing to fiendish cleverness when I first looked at Fever’s sharing preferences. It seems that Mr. Inman wants you to edit them:

e-d-i-t

You can see it in the screen shot I took on my previous post, as well. It could be just random chance, as the folks that use those forms of social sharing are most likely to be the same people who buy Fever. But I’ll just have to stay with my supposition that he gave the subconscious cue to change the settings.