The cruelest thing about reality is that it doesn't allow SL

Claud 2022-04-23 07:01:49

I like watching this type of movie very much. The acting is excellent, the plot is compact, it is ups and downs, and it is full of logical thinking about the concept of time and space. I like "The Butterfly Effect", "Clues in Time and Space", "Source Code", etc. are all of this type. However, the reason why this film is particularly attractive to me is that this film is just made for programmers. It introduces us to "breadth-first traversal" and "recursive thinking" in an easy-to-understand method and a specific image language. Application in programming...
Nicolas Cage's superpower in this film is "to foresee the future within two minutes", described in computer language is that he can initiate a recursive traversal with the current situation as the source point , the traversal is limited to a depth of two minutes, so the unfavorable positions will be pruned (so that our search can be optimized), and finally an optimal branch is selected and selected for action in the current situation. Take him flying over the railway as an example: he first tested the speed of 80, the result was blocked by the train, and then he was caught; then tested the speed of 90, when he was killed by the train; then tested 100, just enough to fly over the railway and use The train blocked the pursuers. Select this branch and prune the cases above 100. In fact, when your CPU and memory are enough, you can try more, but at a speed of 120+, it is very likely that you will not have time to turn and hit the opposite building. There is also the part of searching for his girlfriend in the warehouse, which reminds me of the Chinese chess program we compiled and the depth-first solution of the maze problem...
This movie is similar to the latest popular Men in Black 3. . "Seeing the future within two minutes" is equivalent to "going back to the past within two minutes", that is, allowing you to set storage points in the current time and space, if what happens next is not good for you (such as being killed , you are arrested, or the lottery ticket drawn is different from the one you bought), you can go back to the current time and space and choose again. This is a Save/Load process. In many games, SL is a winning weapon. And the cruelest thing about real life is that it's only once for everyone and doesn't allow SL.

View more about Next reviews

Extended Reading

Next quotes

  • Cris Johnson: I like rain.

    Liz: I like rain, too.

  • Cris Johnson: Here is the thing about the future. Every time you look at, it changes, because you looked at it, and that changes everything else.