Entries from April 2006 ↓

Our Photo Album

For a while my wife has been into keeping our photos by scanning them into her PC and she will occassionally email a few off to people or print them for her scrapbooking. The challenge I have been seeing, is I store all of the images on my PC as well, on its own hard drive that has an automated backup procedure to ensure these memories are never lost or forgotten. So then the following question jumped in my head, “How can I make it so she can get to the photos stored on my PC without teaching her how to use Linux?”

No sooner than the question came, I had an answer. Write a photo album application that read the Photos on my hard drive and gave her a way to view them through our network. Now, before I started such an adventure, I wrote out a few things I wanted the application to do.

  1. Show all Folders and Images/Movies in the Folders in an easy to navigate form
  2. Create thumbnails of all of our photos for easy viewing automatically, and do not continously recreate the thumbnails, instead save them and pull them up so they are (in a sense) cached
  3. Allow anyone to Rename, Delete, Move, or Save the photos (I’ll explain these more later)
  4. Keep it protected so any unauthorized access is not permitted

Writing the initial system took me less than 4 hours and contained the functionality to Browse the Folders, see the Thumbnails, and save the Images to your PC locally by clicking on the image. This then evolved into add a toolbar beneath each photo allow the user to Save, Move, Erase, or Rename the image (Screenshot #2 shows this toolbar).

Finally, after all of the functionality was put into place, I needed to find a way to protect it from unauthorized access. Typically, I just use PHP to do this and write a login screen, but this time I decided to use htaccess since it is already a function of Apache. Any connection to my home computer from the network will bypass the htaccess file, however, any connection from an outside source will be asked for a username and password.

Finally, everything is complete, my wife loves it, and finds it easy to use, not to mention all she had to learn of Linux was how to load the images from our Digital Camera to the Picture Facility using the Compact Flash Drive. In the end, she can sit anywhere with her PC and get to the images she wants to work with from both inside the network and outside.

Screenshots:

Screenshot #1 - Click to Enlarge
Screenshot #2 - Click to Enlarge

Progressive Commercials Make Me Laugh

I don’t know how many people watch TV for the commercials, but I am a huge fan and critic when it comes to watching commercials. I thoroughly enjoy watching commercials and scrutinizing them for the idiosyncrisies, but that is just me.

The latest commercial from Progressive makes me laugh as they advertise a “real” quote in just 8 minutes. 8 MINUTES! HA! At Central we can produce a “real” quote sent by an XML stream in less than 10 seconds. Now lets compare, 8 minutes vs 10 seconds. I can go to a fast food restraunt and be served my order before 8 minutes pass by. The Progressive Commercial only lasts at max 30 seconds, and they are advertising something that takes 8 minutes. I can print 30 pages per minute, or roughly 240 pages of documents in 8 minutes versus having 1-2 pages stating my quote details from progressive. I can have 48 different quotes from Central in 8 minutes.

8 minutes is a long time. In fact, I would consider it too long. How do you entertain a web visitor for 8 minutes?! The average web user likely only spends 1-5 minutes on a website, although, if they are shopping for insurance they are likely to stay until they are finished purchasing it. 8 minutes is a lot to ask for “real-time”. Did you know I can run a File System Check on my computer and it takes less than 8 minutes and I have nearly 1.2 TB of storage?

Finally, the big trump, is I can compile my kernel in about 9.5 minutes. Think about it, I can compile my primary operating system in just a minute and a half more than it takes to get a “real” quote from Progressive. Progressive is a pretty large company and they can only quote in 8 minutes? I find that hard to believe. I admit, I do not work for a large company, but we are relatively good size, and we can quote in 10 seconds and it is a “real” quote.

Progressive, seriously, 8 minutes? Do you really see that as an improvement over your competition?