Thoughts

On the ephemerality of digital publishing

For all the ease of use and low cost of entry of digital publishing, there’s its inescapable ephemeral nature. I’m not talking about digital books, photographs, music and movies, although there’s a lot to be said about those things as well. That sort of distributed publishing puts a copy of your creation on someone else’s device, and is thus more buffeted against the inevitable loss or data corruption that occurs, because copies of your creation will likely survive somewhere. What I want to talk about is this very thing I’m using right now to publish this: my website.

It could be perceived as a contradiction in appearances to talk about how fleeting my website will be as it’s coming up on 20 years of existence (that’s right, my website will turn 20 later this year, after I turn 44). But I’m thinking beyond my lifetime. I’d like the things I write about, the photographs I take, the videos I make, to reach the generations of the future. I know there’s a lot of drivel out there on the web that won’t stand the test of time, because it’s made specifically for the now, to appeal to trends and other passing nonsense, but I don’t spend my time on those things. At least some of the things I write about are likely applicable or useful 50-100 years down the road, and just as I appreciate books, music and movies published 50-100 years ago, I hope my digital creations will be appreciated a century into the future. But how will it get there? How will my website survive 100 years?

In the past, articles were published on paper, books were published on paper, then we had negatives we could look at; books were scanned. Now when we publish posts and articles on websites, exactly how will this electronic (HTML + CSS + Scripts) format make it down the road? If we die and our domain name is no longer paid up, the website goes down. Should we be hosting our site on a platform like WordPress.com, when we stop paying the site domain may change back to the free WP subdomain, some site services will stop working, but the site will continue to stay up, but until when? Does WP have a plan to exist and function well in 100 years? Does any web publishing platform or social network plan to be around in 100 years? Will YouTube or Facebook be around in 100 years? What if they undergo so many changes in the way things get published and shown to the public that my content can no longer be ported onto the new versions of the software, and it gets left behind? Then there’s the basic nature of a business: it needs money to survive. The “freemium” plans of today, where you get some free services but the better ones cost money, aren’t futureproof. At some point, a company decides it’s had enough of freeloaders and switches to all paid accounts.

The thing with a book or a magazine is that once it’s printed, once it’s made, no further effort is needed to “keep it alive”, and this isn’t the case with digital publishing, where once you’ve made something digital, you still need further energy to keep the web server up and running, more energy to keep it patched up and upgraded, more energy to swap out parts that fail, more energy for the internet bandwidth, etc., energy that translates into utility bills, bandwidth bills and man hours, in perpetuity. None of this is needed with a printed book. It just sits in someone’s library and requires no effort and no energy to simply be there, storing its information for posterity, until someone takes it out, blows off the dust and stats turning its pages to read it. The act of turning a page requires little energy. The act of reading and considering the information that you’re reading consumes quite a bit of mental energy, but the same amount would go into reading something digital. So you see, digital publishing may seem easier and less expensive at the get-go, but it turns out to be mightily complicated and expensive to keep going over decades and decades.

Unless you’ve got the foresight to set up a trust with enough financial resources to keep your digital presence (websites, social media accounts, etc.) up and running, chances are you will be digitally defunct soon after you die or, depending on the circumstances of your last years, say a debilitating disease that won’t allow you to carry on your online presence, you’ll be digitally dead years before your actual death.

I know about services such as the Internet Archive. They’re well-meaning and I wish them the best of luck in storing all of the data, but they’re slow on lookups, and they tend to mess up a page’s style, which is kind of like crinkling up the printed pages in your favorite book and forcing you to read them like that from then on.

We need some way to make a site future-proof, to either make the individual articles or posts digitally distributable, or to come up with ways to make web servers consume less resources, much less resources, so that it’s economically feasible to keep a lot of data up and available in the future at much lower costs than today. I know about printing web pages as PDFs, and that’s something, but how many people do that? I want a clean, ad free, well-formatted, digital copy of a post or article made available to me, automatically. Perhaps solid state storage, on optical non-moving media of sorts, is the way that computers might work, so that the data, once written to that media, consumes no power while it’s not accessed, and the power needed to read it from them is insignificant. This way we could afford to prepay to keep our website up for the next 100 years, and it wouldn’t cost a ridiculous amount.

The current model, of paying yearly for a domain name and monthly or yearly for a web hosting package and a site publishing platform that you need to keep upgrading and updating, or else it’s subject to hacking, isn’t futureproof. It costs a lot and it needs a lot of attention — attention and money that it won’t get once someone’s gone.

We need to make it easier, or as digital information inevitably gets wiped out with time, the valuable sites and articles, that ones that might have made a difference in someone’s future life, if only they’d been available to them, do remain available to them, just like a book or a magazine on a shelf.

Standard
Thoughts

Where’s the Netflix Shelf?

The more movies and shows Ligia and I watch on Netflix, the more convinced we become that Netflix lacks a vital feature. We call it the Shelf. Where is it?

The Netflix Shelf would hold titles we’ve seen and loved. It would contain two collections: a smart collection, which would automatically bring together the titles we’ve rated 4 stars or higher), but more importantly a manual collection, where we could add titles we’d like to watch again in the feature — movies and shows we really love, perennial favorites if you will.

Within the Shelf, we could sort titles by genre, keywords, actor or director (using the metadata added by Netflix staff or metadata we could add ourselves).

There were so many occasions we saw a movie, loved it, wanted to store it somewhere so we could see it again in the future, but didn’t want to leave it in the queue, cluttering up the list of titles we still haven’t seen. There was and is no place for them yet, and that’s regrettable, because it’s a lost opportunity for Netflix to create customer goodwill at a time when they need it.

Standard
Thoughts

Where’s Google Photos in this drop-down menu?

If you use FeedBurner (which has been part of Google for a good number of years now), you probably know about the Photo Splicer feature, which allows you to merge your photo feed from services like Flickr, BuzzNet or Webshots into your site feed, providing extra content for your readers. It’s a great little option and I hope Google keeps it turned on for years to come.

My question for Googlers reading this is simple: where’s Google Photos (PicasaWeb) in that drop-down menu? Isn’t it about time for it to show up there?

Standard
How To

How to avoid nightmares when upgrading your Drupal install

I had some real “fun” today (about a full day’s worth) after upgrading one of my Drupal installs from 7.7 to 7.8. The whole site went awry: the template no longer showed, I was only getting text, I kept getting either 404 or 500 errors when clicking on links, and nothing I did seemed to make it better. Even restoring from a backup yielded the same garbled pages. It’s fixed now and working perfectly (well, not perfectly, because some modules are still in beta and there will always be some errors, but it’s working as expected, let’s put it that way).

If you’re only here because your site is garbled after an upgrade, let me save you some time. There are two reasons (I know of ) for it:

  1. You have Clean URLs enabled and your .htaccess file got replaced. That means the RewriteBase rule is now commented out. Don’t bother to turn off Clean URLs, there’s no need to do that. Uncomment it, refresh your site and links should be working properly.
  2. If your theme is now messed up and you only see text, plus you can’t navigate around your site, you have your site cache and compression turned on, don’t you? Yeah you do, and now the new version of Drupal doesn’t know how to read the cache files, because it didn’t write them. So do yourself a favor and turn the cache files off. You’ll have to use the “dirty” URLs if you can’t navigate to the admin panel, so instead of example.com/admin you’ll need to type example.com/?q=admin, and so on and so forth. Disable the compression and the cache, and delete all the cache files. Presto-change-o, your site now looks normal again!

So, what can you do to avoid having the same crappy day I did? Let’s take it by the numbers, shall we?

1. Put your site in maintenance mode.

2. Always, always back up your site and your database before doing a core upgrade.

I would recommend doing a backup even before upgrading modules. Don’t rely on backup modules. Do the backups manually, and just so you won’t panic when something goes wrong, test your backup method by restoring from it to a separate install, to make sure you’re doing the right things. This is especially important for database backups, where it’s REALLY important for you to be able to restore from a downloaded SQL file.

Before doing the core upgrade, do a full backup of the entire site, not just the sites folder. And just to make it easier for you to restore the sites folder afterward, do a separate backup of that folder, and of the .htaccess file at the root level of your drupal install. And back up the database, that’s really important! If you do this right, you’ll only need to use the database backup.

3. Turn off all site caching and compression and clear the site cache. This is really important! If you don’t do this, it’s quite likely that your site will be just as garbled as mine after the core upgrade.

4. Create a new site folder on your server, because you’re going to do a brand new install of Drupal (whatever the latest version is). Inside that folder, wget the latest drupal tar.gz file and untar it.

Okay, now comes the fun part.

5. Delete the sites folder in the new Drupal install and copy over your old sites folder.

6. Make sure any changes done to your .htaccess and robots.txt file are reflected in their counterparts in the new Drupal install. Or, it’s quite likely that the old thing that you need to change in the .htaccess file is to uncomment the Rewrite Base line. Find it and uncomment it.

If you don’t uncomment this line and you have Clean URLs enabled, your site will either give you 404 or 500 errors when you try to access the admin interface or alias URLs, so this is quite an important step!

7. Restore your database from the SQL backup. That is, create a new database on your server and through the web interface or through SSH, restore your database backup to it, to get an exact copy of your live Drupal database.

8. Now run the database update script. Browse over to your Drupal install + /update.php and run it to make sure the database upgrade is also completed.

9. Now you have some choices to make. Once you do this, you have two working installs of Drupal: the old, reliable install, which you’ve been using, and the new install, which should be working, but who knows what bugs there might be in the code, that you’ll only discover as you begin working with it.

So now you have two choices: you can either map your domain to the new directory or rename the old directory then rename the new directory to match the old. In other words, you’ll want your domain to point to the new Drupal install. Or, you have the luxury of saying “Forget this new version for now!” and keep using your old Drupal install, until they work out all the bugs (that’ll be the day…)

That’s it! Pat yourself on the back. This should have taken about 15 minutes or less, not a whole day…

I hope this has been helpful!

Standard