This Web Site is Now Hosted on Amazon EC2 & S3

This web site, www.rajiv.com is now hosted on Amazon.com’s Elastic Compute Cloud (EC2) and Simple Storage Service (S3) services. They are part of Amazon Web Services offerings. If you are a technologist, I recommend EC2 and S3. To learn more about them, you can follow the links in this article.

Benefits of hosting a Web site on EC2 & S3

  • The hosting management is self-service. Anytime you want, you can provision additional servers yourself and immediately. Unlike with most traditional hosting companies, there is not need to contact their staff and have to wait for them to set up your server. On EC2, once you have signed up for an account and set up one server, you can provision (or decommission) additional servers within minutes. Even the initial setup is self-service.
  • EC2 enables you to increase or decrease capacity within minutes. You can commission one or hundreds of server instances simultaneously. Because this is all controlled with web service APIs, your application can automatically scale itself up and down depending on its needs. Billing is metered by an hour as the unit. This flexibility of EC2 can benefits many use cases:
    • If your web sites get seasonal traffic (e.g. a fashion site during shows) or can temporarily get much higher traffic for a period of time (e.g. a news site), EC2′s business model of pay for what you use by the hour, is cost-effective and convenient.
    • If yours is the R&D or Skunkworks group at a large or medium size organization or a startup company with limited financial resources, renting servers from EC2 can have many benefits. You don’t have to make a capital investment to get a server farm up and running, nor make long-term financial commitments to rent infrastructure. You can even turn off servers when not in use, greatly saving costs.
  • It allows me to use the modern Ubuntu1 GNU/Linux operating system, Server Edition. Among Ubuntu’s many benefits are its user friendliness and ease of use. Software installations and upgrades are a breeze. That means less time is required to maintain the system while retaining the flexibility and power being a systems administrator gives.
  • EC2 has lower total cost ownership for me than most hosting providers’ virtual hosting or dedicated server plans. Shared (non virtual server) hosting is still cheaper, but no longer meets my sites’ requirements.2

Potential drawbacks/caution with EC2 & S3

  • While S3 is persistent storage, EC2 virtual server instances’ storage does not persist across server shutdowns. So if your web site is running a database and storing files on an EC2 instance, you should implement scheduled, automated scripts that regularly back up your database and your files to S3 or other storage.
    • Consistent with what I read in some comments online, my EC2 virtual server instance did not lose its file-system state or settings when I rebooted it. So rebooting seems to be safe.3
    • This potential drawback is arguably a good thing in some ways. It compels you to implement a good backup and recovery system.
    • This also means that after installing all the software on your running Amazon Machine Image (AMI), you should save it by creating a new AMI image of it as explained in the Creating an Image section of the EC2 Getting Started Guide.
      • This is an issue since you may want to do this every time after you update your software, especially with security patches. Until Amazon implements persistent storage for EC2 instances, you could do this monthly. You can script this to be partly or fully automated. Since Amazon’s EC2 instances are quite reliable, this is not a major concern.
  • An EC2 instance’s IP address and public DNS name persists only while that instance is running. This can be worked around as described under the tech specs section below.

Some articles about Amazon’s hosting infrastructure services:

Tech specs of my site:

  1. www.ubuntu.com []
  2. I plan to split rajiv.com into separate sites, The India Comedy site will move to comedy.rajiv.com and the SPV Alumni site will move to spv.rajiv.com. The latter two are community sites and will benefit from a community CMS like Drupal. []
  3. However, please be aware of a known issue that on some occasions caused instance termination on reboots. []
  4. I created my AMI virtual machine by building on top of a public Ubuntu AMI by Eric Hammond. []

The Amazon Kindle is a Practical & Excellent Reading Device (Product Review)

Amazon KindleThe Amazon Kindle is an excellent reading device. It is a good example of a product that serves its purpose well. Like a paper book, it you can use it in bed, bathroom, bus and boondocks.

The E Ink display presents an experience quite close to that of reading a book on paper: It is easy on the eyes and can be read indoors or outdoors in sunlight. It is lightweight, about the size of a paperback book and simple to use. It has excellent battery-life so you can enjoying read without worrying about recharging it often.

In some reviews people have criticized the Kindle as a Web browser and email client. As a satisfied user of the Kindle, I respectfully disagree with those criticisms: It is not meant to be a general purpose notebook computer or tablet PC nor a web browsing or email client. It is for reading books and documents, allowing you to focus on the content while providing you an experience equal to or better than reading on printed paper.

In fact, if Amazon had made web browsing too easy with it, it might end up being counter to the purpose of the Kindle, which is to read books: to learn or for the enjoyment of being engrossed in reading. Many of us prefer our book readers to not offer distractions like web browsing or email while reading. While I love the Web and its hypertext links, there are times I just want to focus and read a book or a document.

The Kindle enables you to be more environment-friendly by saving trees. Many books, newspapers, magazines and blogs are already available on it. You can also transfer your own documents to it for convenient reading without printouts. (You email your document to a special automated email address for conversion. Amazon gives you two options to have it on your Kindle: One for a small fee where your document is wirelessly sent back to your Kindle, the other for free where they email it back to you and you need to copy it over from a computer to your Kindle using USB. You can also download free software to convert documents on your own computer.)

You save paper, yet still can carry your document to read in a convenient, lightweight, portable and easy to read medium. As a bonus, your document is searchable and your bookmarks, clippings, highlighting and notes can be transferred to your computer.

You don’t need a computer at all to take advantage of all the main features of a Kindle, but a computer does allow you to get even more value from your Kindle: You can use it instead of printouts and you can copy audio books and music to your Kindle for listening via its speakers or a headset.

As an educational tool, the Kindle comes with another useful and time-saving feature. You can ask a question using the Kindle which is answered by an Amazon-affiliated human researcher at no additional charge. The Kindle not distract your reading with Web browsing or email and it gives you a way to save some time which you would have spent researching yourself via Web searches — and we know how that can be: Sometimes you go the Web to look up something and end up wasting time on other things. With this Amazon Kindle’s research service called NowNow, you send your question via the Kindle and a human expert does the research for you and sends you the answers they find.

The Kindle can be charged using the A00 Tip with an iGo Adapter, which is great because you can carry it on hiking trips and to places where an electrical outlet is not conveniently available and charge it using two double-A batteries using the iGo powerXtender.

Want to take a break from Web surfing that encourages the attention span of a goldfish? Try the Kindle and enjoy being focussed and engrossed in a book. You can learn about all its features and benefits, watch videos and read its reviews at the Kindle page on Amazon.com.1

Rating: ★★★★☆

  1. Note & Disclosure: the links to the Kindle pages in this article tell Amazon that I referred them. If you happen to buy it in that session, I will get a commission but they will not charge you any extra. I like the Kindle and thus wrote this favorable, and in my opinion, fair review. It expresses my opinions and shares my experience with the Kindle. The purpose of this review is not at all to profit from selling Kindles. []

Why I’m not a fan of fingerprint scanners for computer security

These days many notebook computers and portable devices like USB drives are featuring fingerprint scanners which they advertise as biometric security.

I’ve never been a fan of biometric security of this type. I will explain why using different scenarios:

Likely scenario: Stolen or lost laptop

If your laptop is lost or stolen, it is bound to have nice samples of all your fingerprints all over its nice smooth body. Picking up samples of your fingerprints from your laptop surface is much easier than cracking your password. A few internet searches or a visit to a detective/spy shop will provide the person in possession of your notebook computer or other lost gadget all they need to make copies of your fingerprints and create a mold that they can use to authenticate as you.

If your laptop had been secured with a password and encryption, they’d likely reformat your hard drive and your losses would be limited to your hardware. If a fingerprint scan was all that was required to gain access to your account, then your data, your privacy, not to mention your peace of mind for years to come will likely be stolen too.

Another scenario: Forced access to your computer

Let us consider another likely scenario without going into the cinema-like gruesome situation of a villain cutting off your thumb to forcibly access your computer. Say you are sleeping in a shared college dorm. Your roommate or a friend can bring your laptop near you and easily swipe your finger on it to gain access to all your files. You don’t even have to be unconscious. A person or gang stronger than you can easily overpower you without hurting you physically and swipe your finger on your computer to gain access.

Security Related Cartoon from XKCD

You see? This type of fingerprint scanning biometric security alone replacing passwords (instead of being used in combination with them) is a lot less secure than one would think. Such advertising of biometric security might seem impressive, but it leads to a false sense of security. In this day or digital privacy and identity theft, relying on such an insecure authentication alone is not a good idea.

As an aside, here is an interesting article on how fingerprint scanners work at HowStuffWorks.com.

iGo Universal Charging Adapters for Multiple Devices (Product Review)

iGo everywhere85 Notebook Power AdapterI use an iGo adapter to power and charge my electronic devices when I’m traveling. The concept behind these is that you can use one adapter/charger for multiple devices like notebook computers, mobile phones, bluetooth headsets, music players, cameras and hand-held video game players. Having one charger for multiple devices cuts down on the clutter and makes it convenient to carry. iGo has been has been selling these for many years. Kensington and Targus also make similar universal adapters. Also, in the last couple of years, many phones and small devices have begun to support USB based charging.

Such universal charging systems have many benefits. For example:

  • I have different makes and models of notebook computers at work and home. Sometimes I need to bring my work laptop home or take my home laptop to the office. With a universal charging adapter that can be used with either of my notebooks, I don’t have to carry a charger between home and the office.
  • When I travel, I sometimes carry my work laptop. On other trips I carry my personal notebook computer. I can just keep the one (same) charger in my travel kit regardless of which laptop I’m traveling with.
  • When I change my mobile phone handset, I only need to buy one tip (~ $10) for my new phone. I don’t need to buy a new set of chargers for my home, office, car and travel. The same applies to a new laptop computer.
  • iGo powerXtender battery operated chargerI love the iGo powerXtender battery operated charger which allows me to charge my mobile phone or iPod Nano using two standard AA batteries when doing outdoor activities like hiking or exploring a city walking.
  • At places like Airports where there are not enough power outlets for everyone who needs to use one, I can charge up to three devices — my laptop, my mobile phone and another small mobile device (e.g. iPod, Amazon Kindle) while taking up only one power outlet on the wall. That’s a nice, friendly thing for my fellow passengers.
  • If I happen to be carrying a compatible tip and a colleague/friend/relative of mine needs to charge their computer or phone, but doesn’t have their charger handy, I am able to help out.

iGo manufactures a number of different chargers. While they are great, they have one shortcoming: At present, notebook tips between different iGo chargers are not interchangeable. (Their sales agent informed me of this in our pre-sales conversations.) For people who only need to have one iGo charger (e.g. for travel only), this is not a problem unless they change their adapter. For e.g., to upgrade from the iGo everywhere85 charger to the higher wattage iGo everywhere130 charger to support their new Macbook Pro (which needs more power than most notebooks). In fact, the iGo Frequently Asked Questions page explicitly states:

No, parts including notebook tips and adapter specific cables can’t be interchanged between adapters. Each adapter falls within a certain electrical range. The parts are designed to regulate the amount of volts and amps that flow in and out of the product. Altering or switching parts can cause serious damage to your equipment.

It would benefit the consumers even more if the notebook tips (and cables) were interchangeable between different iGo adapters. For example, I’d buy 3 or 4 or more iGo adapters:

  • One for travel that I’d take with me on trips and always keep in my travel bag. This would be a wall+car+airplane unit.
  • One for home. This would be a wall-only adapter.
  • One for the office. This would be a wall-only adapter
  • I’d keep a car/auto-only adapter in my car all the time.

This way, when I am at home or in my office, I don’t need to carry or take out my travel adapter. I would only keep & carry the tip with each device (which is much lighter and easier than always carrying the device + tip + adapter).

Also, in the future, I may need to buy new adapters. Say, for example, if iGo came up with a very lightweight one for travel.

Given this situation, which I think is hardly unique to me, it would be useful if iGo notebook tips were interchangeable among different iGo adapters, present and future. It wouldn’t make sense if I had to buy new tips for each device when I get a new adapter.

Having said that, iGo adapters are still excellent.

Rating: ★★★☆☆

Donate to a good cause and get a useful laptop computer

One Laptop Per Child LogoThe mission of One Laptop Per Child (OLPC) is to empower the children of developing countries to learn by providing one connected laptop to every school-age child. You can help accomplish the goal and help make education for the world’s children a priority, not a privilege. OLPC is offering1 a Give One Get One program in the United States and Canada. During this time, you can donate the revolutionary XO laptop to a child in a developing nation, and also receive one for a child in your life (or for yourself ;-) in recognition of your contribution.

When you make this donation, you also get one year of complimentary T-Mobile HotSpot access. This complimentary service from T-mobile for one year, valued at more than $350 is a sweet bonus you get for your for your good deed.

I just ordered one. This is an excellent, practical and useful laptop computer for kids or even for adults for basic computer needs. Check out the specs. It is a very rugged, portable, practical and cool computer to carry around at the fraction of the cost of rugged laptops like the Panasonic Toughbooks for business, which are also excellent, but meant to serve business users’ needs.

The XO can be used for basic Web use, writing documents and communications. The XO can even be recharged by human power. That makes it a great system to carry on personal travel, adventure trips and camping because of its rugged design, low cost and that it can provide basic computer needs during personal travel (writing, communicating, and accessing the Web).

Links:

  1. 2007-12-09 update: now extended through December 31 2007. Earlier was only between November 12 and November 26 []

The Evolution of Web Sites

Over the past 15 years, as the Web has evolved, the web sites have gone through these generations. What’s likely to be next in the future of what the Web will be? This article describes the Web so far and what form it will likely assume.

  • 1993-1997: Generation 1.0
    • These web sites can essentially be considered digital versions of printed newspapers, magazines and books.
    • Like with the printed products, the consumer is primarily a reader and interactivity is generally limited to filling out and submitting forms.
    • Content and design are the most important part.
    • Product = Content + Design
    • Examples: Most news and other content sites in the 1990s.
  • 1997-2004: Generation 1.5
    • These web sites are similar to what interactive CD-ROM based software used to be in the 1990s.
    • The consumer is a user (as in user of software). There can be significant interactivity between the web site and the user. Interactivity between users is generally limited to discussion boards and marketplace activities.
    • Product = Technology + Content + Design
    • Examples: Online multimedia sites, online gaming sites.
  • 2004-present: Generation 2.0
    • The concept of user-submitted-content grows stronger. Users in the virtual community of the site publish, share and view photos, videos and text.
    • The consumer is a community participant.
    • Product = People (User Community) + Technology + Content + Design
    • Examples: YouTube, del.icio.us, Wikipedia
  • 2006-future: Generation 3.0 (prediction)
    • Concept of user-submitted-interactivity / user-submitted-programming arises. The users create, own, sell, share, alter and use interactive objects in the virtual environment.
    • Consumers are co-developers.
    • Product = Community Developed Interactivity + People (User Community) + Technology + Content + Design
    • Examples: Virtual environments and ecosystems like Second Life and Kaneva.

I now use WordPress publishing software for this site (Product Review)

Managing blogs and news content with WordPress is a Zen-like experience. The inner-beauty of a product is felt when it becomes almost unnoticed, allowing the site authors and editors to focus on publishing content and providing useful interactive functionality to their readers and customers.

I say this as someone who has been immersed in web content management for major news media companies since 1995. I have spent over a decade leading teams evaluating, implementing, maintaining and developing content management and publishing systems, including some industry award winning ones. My teams (including me personally) have been working closely with writers, editors, designers, photo/multimedia staff, sales and marketing folks at companies whose livelihoods depend on publishing content. I’ve also maintained my personal web sites since 1994.

It is impressive how well WordPress has worked as a CMS for the blogs and pages on this site. It is simple to use and painless to configure, manage and upgrade. It minimizes overhead and maintenance work.

WordPress plays well with others. It doesn’t require you to convert all your static content and pages powered by other CMS systems and custom scripts into WordPress. This allows you to conveniently migrate content to WordPress over time, preserving the URLs and keeping your site functional.

No wonder so many non-technical people and technologists alike use it for their sites: I switched to WordPress inspired by reading the personal blog of a colleague and CTO at another major media company who had also switched to WordPress. It is one of the best solutions for personal web sites and small to medium size organizations.

WordPress also powers the blogs of several major media companies with millions of daily page views. It has an well-designed architecture that makes it an excellent choice for large-scale use. It is used by a large and growing number of sites, including CNN, Fox News, Wall Street Journal, Yahoo, General Motors, Southwest Airlines, People Magazine, Apple Computer, Sony PlayStation US, C|Net, NY Times, Ziff Davis, Xerox, Delta Airlines and many others.

WordPress is a great choice because

  • Simple to use for writers and editors
  • Quick and simple to install, maintain and upgrade for systems administrators
    • E.g. automated daily backups to remote systems using a plugin
  • Good architecture for programmers to extend functionality if needed
  • Search engine-friendly and people-friendly URL structure
  • Dynamic publishing model of content managed in and served from a relational database. Content management and delivery are seamlessly integrated.
    • Presentation, as in design, is well separated.
    • This is a superior approach compared to other blog / CMS systems that recommend publishing static files.
      • In the file publishing model, those files are then served directly by the web server or processed by a web application server / CMS. That architecture, used by other blog platforms does not scale well and has been found to be error-prone, especially under heavy publishing/editing/commenting use.
    • If needed, external caching1 can be used that provide all the benefits of static file publishing without the drawbacks.
  • Excellent content management in a relational database
  • Rich feature set for advanced web publishing needs
  • Large and growing user base, well-supported and actively developed by the community
  • A large and growing number of plugins that add functionality to WordPress
    • WordPress is used by so many people that it is often likely that someone has developed a good solution for what you require. The WordPress directory is teeming with plugins, themes and other extensions developed and given by the community.
    • For example, support for OpenID as a client and server, site usage tracking with web analytics.
  • Plethora of third-party commercial support options available if needed
  • Free of license costs. Simple to operate and operate. Low total cost of ownership. An economical solution.
  • Reliable. Good performance. Scalable. Secure.
  • Open source

What WordPress currently lacks

  • A simple, standard way to place a widget in the main content area of a blog post or WordPress page. Currently plugins that need to place a widget there require putting in some special markup whose syntax varies with each plugin. Many use an HTML <!–comment–> syntax in the Code editing mode. Some use a syntax of [commands in braces] in the Visual editing mode.
    • A good solution would be for wordpress to allow widget placement and manipulation completely within the Visual content editing mode. Behind the scenes, in the code view, all plugins would use consistent markup syntax and it would be editable using a menu option in the Visual editing mode.
  • A way for certain widgets to only appear in the sidebar(s) of particular WordPress Pages or particular blog posts.
    • A good solution would be to have the ability to place a widget only on certain URLs that match a regular expression. Also, the edit form should have an option to include a widget only on a particular post or Page.

Alternatives

Another excellent choice for a blogging CMS is MovableType. I’ve had extensive experience with it and like it a lot too. MovableType and WordPress are the two leading products in their category.

If you are looking for a full-fledged content management system, consider Drupal or Plone. After a successful run for many years, my own Java-based Cofax is heading towards retirement.

If you need to build your own custom CMS, build using frameworks like Python with Django, Ruby on Rails or Groovy with Grails.

Rating: ★★★★★

  1. E.g. content delivery network like Akamai, an accelerator/cache like Squid or Varnish []

List of Open Source or Free Software for Home and Business Use

Here is a list of some open source or free desktop software that you can use for personal use at home or at your business. Using open source software can save you thousands of dollars that you’d spend buying proprietary software. I’ve chosen software here that is comparable in ease of use, maintainability and upgrades to similar pay-for software. Keep in mind that the total cost of ownership includes more than just license fees. There will always be costs in time and/or money to install, maintain, reconfigure and upgrade the software over time.

Useful for most computer users:

  • OpenOffice.org – Productivity suite competing with Microsoft Office, includes word processor, spreadsheet, presentations, database and drawing software
  • Grisoft AVG Anti Virus (free for personal use only, not open source)
  • Mozilla Firefox – Web browser
  • Mozilla Thunderbird – Email client
  • GIMP – GNU Image Manipulation Program, an alternative to Adobe Photoshop. Also consider GimpShop and CinePaint.
  • 7-Zip – Decompresses and compresses files and folders. An alternative to WinZip.
  • JEdit – A powerful text editor

For relatively technical users:

The Free Software Foundation’s GNU Project has a large collection of open source software in a variety of categories. You will find things ranging from business productivity software to games there.

A web site called Open Source Alternatives helps you find open source software alternatives to well-known commercial software.

This list was inspired by my friend Karl Martino’s list of some software he uses.

Sometimes extra steps in workflows are good

When implementing a content management system or other product, customers often ask for workflows that require the least number of steps required to any given complete task. At first, this seems to make perfect sense; however consider this example of a car:

Before you can get inside your car and start driving you have to perform the following steps:

  1. unlock the car door
  2. pull the door handle
  3. open the door
  4. get inside the car
  5. close the door

Steps 1, 2, 3, and 5 seem to add unnecessary actions to the workflow. The goal here is to be able to start driving to get to the destination. Over the course multiple car trips over a day, these steps seem to “waste” a lot time. An easier and “better” workflow may be for cars not to have a door at all. Then you’d save the steps of having to open and close the door.

However, with the current level of commonly available technologies, it makes sense for a car to have a door and require these steps before you can start driving.

Extra steps are often required to provide security, maintainability, reuse, reliability, scalability and performance.

Shortcuts aren’t always the best solution. You may save steps and thus cost now with shortcuts, but as a result you may pay much more later in other costs.

As technology advances, some necessary steps can be automated or eliminated. For example, some cars now have keyless entry that eliminates some of these steps. In the future, an advanced version of keyless entry may even open and close the door for you. However, expecting those in a car of today would be impractical.

Similarly in content management and other software extra steps aren’t always a bad thing. A good content management system isn’t one that allows web site producers to complete their tasks in the least number of steps. It is one that enables completion of the task in an optimal number of steps balanced with other factors like reuse, maintainability, flexibility and security.

Integrating Legacy Technologies With Web Systems at Newspapers

The topic of integrating print technology systems with web technology systems often comes up in the newspaper, magazine and book publishing industries.

There is a key difference between Content Companies (e.g. newspapers, magazines) and Other Companies (e.g. pharmaceuticals). With the World Wide Web and information technology (IT) becoming part of everyday life, every company is becoming a content company in certain ways.

In the case of other companies like pharmaceuticals, aeronautics, construction, etc. their pre-digital products are not going away nor changing as drastically as a result of the world wide web and IT as is happening in the case of content companies like newspapers and magazines.

For those other companies, it makes sense to integrate the web systems like content management with their core products because their other core products are not fading away as a result of the web and IT.

However, in print media companies like newspapers whose legacy has been printing systems, their product in its printed form is fading away as a direct result of the Web and IT. So for them it may make sense to not spend too much effort on integrating legacy print systems with Web systems. Instead, it may be a better strategy to spend more resources on enhancing and upgrading the Web systems and digital media products. So for newspapers today, the 1990s holy grail of having one seamless print+web content management system may be less relevant in 2007. It may actually make better business sense to to keep the print publishing system and Web CMS separate, focus more on Web and digital media and allow the printed on paper versions of their products to gradually retire over the next two decades.