Today thousands of programmers around the world have given Facebook a broad menu of applications featuring everything from fantasy sports to photo sharing.
In "Eternal Sunshine, " Mr. Kaufman rides his hobby horses -- whimsical surrealism, acrobatic or elastic time, science or psychology reshaped by blithe fantasy -- to a photo finish in which almost everything is worked out elegantly.