ericfaller.com Pithy Quote Goes Here

Vous recherchez le Eric Faller français? Accédez au site ericfaller.fr

20Sep/091

New URL

If you've visited this site recently, you've probably noticed that it has a new URL: http://ericfaller.com. It took a few years, but the old owner of the domain finally let it expire, and I was able to capture it before it got taken over by domain squatters.

I've finally moved everything over from efaller.com to ericfaller.com. It was more difficult than I expected for a couple of reasons:

  • All of the pages on the old domain needed to point to the same pages on the new domain with a HTTP 301 "Moved Permanently" redirect. Google lets PageRank goodness flow through a 301 redirect, so you don't need to give up all of your PageRank points when you switch to a new domain. This means that you don't need to worry too much about updating all of the external links which point to your domain - they will still count for SEO purposes. It took a while to get the Apache mod_rewrite rules set up, but I think everything's redirecting appropriately now. It already appears to be working: a Google search for "eric faller" now has ericfaller.com as the #1 hit even though this site has only existed for a week. efaller.com still shows up in the results for some less-frequently crawled pages, but those should be updated soon.
  • All of the internal links on the site needed to be fixed up. I have a lot of blog posts which link to other posts, so just copying the contents of the posts would leave them pointing to the old domain.  WordPress helped a little bit here - it was somewhat easy to update all of the internal links which were tracked by the WordPress CMS database. Unfortunately, that didn't cover everything because I had a surprising number of links not stored in the CMS. These links used hardcoded URLs instead. Whenever I edited some HTML by hand because it would be "easier and quicker", I often created a hardcoded URL, not thinking of the consequences. Each of these URLs required fixing by hand, though I did come up with an easy way to find all of the URLs: run 'wget -mirror' on the site to create a fully-crawled local copy, and then grep for the old domain.

The result of all this effort is that everything should just work and nobody should need to update any bookmarks which point to the old site. Even the RSS feed should theoretically still work fine, as long as your client knows how to follow 301 & 302 redirects.  However, if your RSS client keeps track of unread posts based on their URLs, you might suddenly get a bunch of new 'unread' old posts - rest assured that it should only happen once.

Filed under: General, Website 1 Comment
13Sep/095

Managing photos with iPhoto + Flickr

This weekend I worked on setting up an organizational system for my digital photographs. Up until this point I've just been dumping pictures into folders, roughly organized by trips and dates. There were several problems with this system: there was no easy way to find pictures of specific people, it was difficult to browse through just the good photos, and they weren't automatically shared with anyone unless I manually uploaded them somewhere myself. It required too much work to upload and share photos that I often never got around to it.

I needed to find a system which would keep the photos organized and automatically share them on an internet site like Flickr for me. I looked at a lot of different photo apps and Flickr clients, and ultimately decided to use iPhoto. Its Flickr compatibility has some limitations, but it goes far beyond any other system in terms of ease of use. Here's how my setup works:

After a trip or a day of taking photos, plug in the camera to the computer. iPhoto pops up and offers to download all the pictures and automatically sort them into "Events".  Events are just collections of all the photographs taken over a certain time period. It defaults to splitting by days, but you can also split the events between certain photographs:

events

This works fairly well for a first level of organization. The events contain every single photo taken, even if you took 10 photos of a certain object in order to get the perfect shot - that's OK. We'll sort out the good photos from the rest when we get to the Album layer later. You can leave all the originals in the events and not have to worry about losing them.

While still working with the events, it's only a few clicks in iPhoto to automatically tag all the photos with the location of the event (if your camera does not have a GPS built-in). A Google Maps window pops up and allows you to search to assign the location ("Tiananmen Square"), or drop a pin on the exact coordinates. All the photos in the event are then automatically tagged with the GPS coordinates and the name of the location.

The next step is where iPhoto really shines. The "Faces" feature scans all your photos and automatically finds people's faces in the photos.  If it doesn't know who a certain person is, it prompts you to assign a name to the face. Once you assign a certain person's face in a couple of pictures, it automatically recognizes that person in the other photos. Then you just need to click "Confirm" or "Reject" on all of the other suggested faces to commit them. This will automatically tag all the photos with the names of the people in them. Overall I find that this feature works surprisingly well - you'll never want to go back to manually tagging people in photos again. Here are a few pictures of me that it automatically detected:

faces

Next I like to pull out just the good photos, for browsing and sharing on Flickr. iPhoto has "Albums" for this, and you just need to select the good photos from an event and drag them in.  One album can contain photos from multiple events, or not: how you want to organize things at this level is up to you. Unfortunately there's no hierarchy between Albums.  I would have liked to create a super album called "China Trip" which contains sub albums for "Bejing", "Shanghai", etc., but it's not possible to do this. That's probably just as well because most internet photo-sharing sites don't allow nested albums either (Facebook & Flickr being the two big ones).

Once everything is organized into albums, it's only a few clicks to sync all the albums to your Facebook or Flickr account. iPhoto takes care of automatically uploading all of the pictures and syncing the metadata like the location and people tags.  There's very little flexibility at this point - iPhoto will sync everything in the albums without giving you many options to control the details of what gets uploaded (for example, if you had kids you might not want to sync the names or photos of the kids). However, if you keep these limitations in mind while making the albums, it works out fine.

And that's it - once you have everything set up, then there's very little "maintenance" work that you have to do with the photos. Just plug the camera in, name the event, accept the detected faces (assuming it's already been trained), and pick out the best photos for an album that automatically gets syncd up to Flickr or Facebook.  You don't need to manually tag or upload anything (unless you want photo-specific tags like "street vendor" or something like that, which are significantly easier to tag right in iPhoto than on the web).

I've done all this with my recent photos and syncd them to my Flickr account, if you want to check out the results: http://www.flickr.com/photos/efaller/

Furthermore, if you use WordPress for your blog, it's easy to install a Flickr plugin which creates a new "Insert Flickr Photo" button, which makes it super-easy to insert your photos into a blog post. You just click the one you want, and it automatically chooses a thumbnail of appropriate size, inserts it, and links it to the full-res version on Flickr. No need to mess with manually resizing the photo and using the WordPress upload screen any more. Here's an example:

IMG_7801

The plugin linked above also includes a handy sidebar widget that automatically displays a random selection of your photos, linked to Flickr:

flickrgallery

All this without needing to manually upload anything! I expect that I'll be able to keep up with this system since it's so easy. There's no more excuse not to get all my good photos uploaded with the appropriate tags.

Filed under: General, Travel 5 Comments
7Sep/098

New WordPress

With all the hubbub this weekend about a new WordPress worm going around the internet, I decided to update my installation to the latest version. I had been keeping it up to date with security patches, but the version I had was so old that it had to be done manually, which was a real pain. The latest version (2.8) supposedly supports automatic updates so it should be much easier to stay up-to-date now. We'll see how it goes.

There have been a lot of changes since the release of the old version I was using, so it's possible a few links or other things have broken on the site. But I think it'll be worth it because there are also a lot of new features, most of which are under the cover. Some of the reader-visible features are:

  • Threaded comments!  Now in the comments it's actually possible to reply to other people's comments and have them show up in a group.
  • Commenter pictures. WordPress uses Gravatar avatars based on your email address. If you sign up for a Gravatar account, then your picture will show up on this blog and many other WordPress-based blogs. Of course you don't have to sign up for anything, and in that case then you will get a little auto-generated "Identicon" like this:

Gravatar Identicon

  • Better themes and widget support. I haven't decided whether to port over my old hand-made theme from the previous installation, since it would take considerable re-writing to support all the new features like threaded comments. I'll probably take an existing 2.8 theme and tweak it to my liking. In the meantime, I'm using one of the default themes. Everything's still under construction so it'll probably all change soon.
  • HTTPS on the admin and comment screens. This is long overdue.

Here's a picture of how the new threaded comment system looks:

Threaded comments

Filed under: General, Website 8 Comments
   

About Me

Eric Faller

Eric Faller

Software Engineer at Facebook
Palo Alto, CA
Résumé
Facebook Link
Eric Faller's Amazon Wishlist

Photos

DSC01517 IMG_5200 IMG_2837 DSC_4182 IMG_1039 IMG_5913 DSC_4098 DSC_4387 IMG_2804 DSC_4399 IMG_1954 IMG_0879
More Photos..

Recent Comments

Recent Posts

Topics

Archives

Site Tasks