the pain , lonesomeness and insecurity of the screenwriting process are vividly and painfully brought to slovenly life in this self-deprecating , biting and witty characteristic written by charlie kaufman and his twin brother , donald , and train by spike jonze .