the pain , loneliness and insecurity of the screenwriting process are vividly and painfully brought to slovenly aliveness in this self-deprecating , biting and witty feature written by charlie kaufman and his similitude brother , donald , and directed by transfix jonze .