10/20/2014

An eternal looping

An eternal looping is a term among us who program computers, and it was this term I used in college at the time a looping happened Pascal (in numerical processing) (at the time of the decision) "If then else" or "repeat" . Hours we talked about these dangers looping algorithms, with few computers (all IBM PC XT) and counted hours of use.
The few computers were divided with passwords that had an hour meter usage. In other words, we had to program only 60 hours per month. Or 2 hours per day, this being to build; to see if the algorithm had an error; and then the best or the worst:
- If the mathematical result was presented by the computer in the end result could be that the good result sought. Worked with results in differential calculus, ie, the programs were made ​​to give results in differential equations Calculation stipulated by teachers. If the result of this 5 2 plus 2, and the problem defined that could give this result, it would be happiness. But if this 4 this was wrong. For example some of the teachers asked them to give something to "one more", this would be the result happiness.
After talks between friends and friends for weeks, came a call from smart attention of an old late Professor of Physics: "Sometimes the simulation tables on paper is necessary, before sitting down at the computer and see what happens. And there we were going to make mathematical tables conferences, or simulation.
Sometimes escaped, the simulation calculation tables somewhere or other, and when we put the program to work on the computer, get out to talk to, or have a coffee or take a few kisses on the friend who has wanted to be a girlfriend, and was also in the same type of problem. (hours of dawn computer to end the program and deliver to spend the semester in the matter. semiannual She was). And suddenly happy when we returned for coffee or cigarette to relax. We discovered the inevitable:
Just a black screen and a blinking cursor! And the computer calculating.
What was it?
A calculation that is repeated and repeated again and again repeated itself, because it does not put such a routine that order.
Other friends (some friends of the human sciences) when we talked did not understand what we said about what was happening did not finish the program because of an eternal loop.
They just thought we should place an order and ready. And we had no arguments or examples to explain in Human Sciences with what we had that was pure calculation. They left there and were going to take our beer or coffee.
It was an eternal looping just that, and there would be a few hours of processing and the coming end of the semester.
  Show only that the result had to be five, and from that number made ​​the conference. And that would come at the right point and then it was the end.
That was hard to explain. They did not understand in Human Sciences. And we trying to explain. Good times. Thanks to become friends and then lovers. Flirt is good at those hours.
Time passed and I review a series of tv childhood. I was about six years when the series began to pass where I live in 1971 was called "The Twilight Zone" A series that began in 1959.
This introductory part of the series, I'll put the link below, I have not seen. But when I was reviewing the show I ended up watching the introductory part, and liked it. Has other interesting aspects in the introduction, but I knew this was the time in 1991, I could have put into Universidade as an example to explain a kind of eternal Looping in Human Sciences has an almost mathematical and logical character strongly. And we talk a lot about many problems we saw that there ceased to be eternal looping Social. Good times. Would justify our Misantropia. How were misanthropic. He cheated on condition of reproach in matters concerned with students, things happened and saw and knew not explain and let us angry.
  In the rest of the series I remember when I was a kid, that deep down I was very scared of the plot and impressed me. Any child who lend itself to impress attention. Note: There were other kids around while we watched, and squeamish, always had a girl who complained. That I remember, was one of the girls.
Disrespectfully us impressed. Why? Kid stuff! Or not. Perhaps we understood the issues.
  But this has a looping introduction of interesting mathematical type, good for example in logic class in college:
"A man who considers himself immortal and wants to die; and suddenly thinks about committing crimes and are afraid of not winning the electric chair as punishment in court; so you can test if you can die. But are afraid to give him to life imprisonment in court. Would be immortal prison and could never experience the risk of death in order to achieve die. Would be arrested, and protected from death against the will of its own. An eternal loop.



The Twilight Zone S01E01 - Where Is Everybody? 

 http://youtu.be/6de1C2LWN1M






 Good Week

Benedito Ubirata

No comments:

Post a Comment