the pain , ⅼoneliness and insecurity of the screenwriting process are vividly and painfully brought to slovenly life in this self-deprecating , biting and wtity feature written by charlie kaufman and his twin brоther , donald , and directed by spike jonze .