Eternal Sunshine of the Spotless Mind was written by Charlie Kaufman, who is definitely a Dickhead. He wrote a screenplay of Scanner Darkly that went unproduced after the Linklater version came out. And of course, he wrote my favorite PKD movie not based on a PKD book, Being John Malkovich.