Another study of the theory of simulation of reality — as a starting point, the authors take a lecture by the American science fiction writer Philip K. Dick, who in September 1977 spoke to his fans in the French city of Metz. Dick’s belief that we live in a world artificially created by a computer seemed crazy at the time, but in 1999 the Wachowski brothers film "The Matrix" introduced the theory of simulation into everyday life. "A Glitch in the Matrix" illustrates its discussion with excursions into the philosophy of Plato and Descartes, the founder of solipsism, as well as fragments from films based on Dick’s works — "Minority Report", "Blade Runner", "Total Recall".