Infinite Loop

From Uncyclopedia, the content-free encyclopedia.

(Redirected from Infinity)
Jump to: navigation, search


This unfortunate man is stuck in an infinite loop...
...and so is Hillary Clinton, screaming at Donald Sutherland screaming at Hillary Clinton screaming at Donald Sutherland.
Some actors, including Miley Cyrus, get stuck in an infinite loop at the worst of times.
      Whoops! Maybe you were looking for Infinite Loop?


Foreach (other use, see Infinite loops, use++).

In Soviet Russia, infinitive loop gets stuck in YOU, YOU, YOU, YOU...

~ Russian Reversal on Infinite Loop

You've got stuck in a moment, and now you can't get out of it.

~ U2 on Infinite Loop

A billion is equal to a billion billions.

~ Oscar Wilde on Infinite Loop

You know, I get this strange feeling that I've been here before...

~ Captain Oblivious on being stuck in an infinite loop

To infinity and beyond!!!!

~ Buzz Lightyear on on Infinite

(i = 1; i > 0; i++)



Contents

[edit] Infinite Loop in Art

Example: (sing aloud with great vigor)

Chorus:
 This is the song that never ends,
 Yes it goes on and on my friend!
 Some people, started singing it, not knowing what it was, 
 And they kept on singing it just because:
 This is the song that never ends....."

 Chorus

[edit] Infinite Loop in Engineering

If you stare intensively at this animation without break for about sixty years, it will turn into a painting of an old hag. It's true.

[edit] The Perl Fork Bomb

fork while fork;

[edit] Standard

Example:

 // JavaScript
 for (var i = 0; i != 1.1; i++) {
   alert ('In Soviet Russia, Infinity loops YOU!!');
 }
 // ActionScript
 for (var i = 0; i != 1.1; i++) {
   trace ('In Soviet Russia, Infinity loops YOU YOU!!');
 }
 // PHP
 for ($i = 0; $i != 1.1; $i++) {
   echo 'In Soviet Russia, Infinity loops YOU YOU YOU!!';
 }
 // Java
 for (int i = 0; i != 1.1; i++) {
   System.out.println ("In Soviet Russia, Infinity loops YOU YOU YOU YOU!!");
 }
 // Limp Bizkit Java
 while( true dat ){
   Syztem.out.println("Keep");
   fo (int sho = 0; sho < 4; sho++) {
     Syztem.out.println ("rollin");
   }
   Syztem.out.println("WHAT?!");
 }
 // C++
 while(1) {
   std::cout << "In Soviet Russia, Infinity loops YOU YOU YOU YOU YOU!!\n";
 }
 --Lua
 while true do
      local loop = Instance.new("Message")
      loop.Parent = Workspace
      loop.Text = "In Soviet Russia, Infinity loops YOU YOU YOU YOU YOU YOU!!")
      print(loop.Text)
 end
 ; Scheme
 (define (fu) (begin (display "In Soviet Russia, Infinity loops YOU YOU YOU YOU YOU YOU YOU!!") (fu)))
 (fu)
 ' Visual Basic
 Do
   MsgBox "In Soviet Russia, Infinity loops YOU YOU YOU YOU YOU YOU YOU YOU!!"
 Loop
 #!/usr/bin/perl -w
 #perl
 for ($count = 10;; $count--)
 {
 	print "In Soviet Russia, Infinity loops YOU YOU YOU YOU YOU YOU YOU YOU YOU!!\n";
 }
 #!/usr/bin/env python
 # Python!
 while True:
     print  "In Soviet Russia, Infinity loops %s!!"%"YOU"*10
 -- Haskell
 putStr $ "In Soviet Russia, Infinity loops " ++ cycle "YOU "

[edit] Sophisticated

It is rumoured, that there are many other ways to loop in engineering. Some gurus claim they succeeded overheating their PC's and braines using such nonsense operations like "repeat", "do", "try", "while" or even bringing these statements in conncetion with "until", "each" etc.

Example:

' BASIC
10 PRINT "In Soviet Russia, Infinity loops YOU!!"
20 GOTO 10
@ REM Batch
@ ECHO OFF
ECHO In Soviet Russia, Infinity loops YOU YOU!!
%0
# ruby
loop { puts "In Soviet Russia, Infinity loops YOU YOU YOU!!" }
#!/usr/bin/env python
#keep calling itself
#python
def loop():
	print "In Soviet Russia, Infinity loops YOU YOU YOU YOU!!"
	loop()

loop()
#!/usr/bin/perl
{redo;}

[edit] Infinite Loop in Theater

Ground Hog Day (contrary to popular belief) is not an Asian based Sex Trade group nor the terrorist sect but rather a movie in which Thine God of Golf Bill Murray plays a person who is so high on drugs (most likely LSD) that he keeps waking up, and running into a wall. When he awakens, he believes he has gone back in time and repeats this in an Infinite Loop

[edit] Infinite Loop in Nature

There is a lot of examples of infinite loops in the animal world as well. Although different scientific publications describe many cases of animal looping, the primary research is focused on the looping operations between an elephant and a mouse. The EleMaus Looping Model designed by Prof. Dr. Dr. Dr. Dr. Dr. Dr. Dr... (red. notice: another sample of endless looping in science) Schrosch Tsihnjbulsky from the University of Essen in Germany defines following stages for the animal-oriented infinite looping:

1) Take an elephant,
2) Take a mouse,
3) Put the selected mouse into the proboscis of the selected elephant,
4) Stick the selected proboscis of the selected elephant into the anus of the selected elephant,
5) Run the selected mouse.

The simple, but effective EleMaus model, also called TTPSR-ENLM-1421DIN_C/43-12a-ISO9OOO-45EPv69 for simplification, describes simple symbiotic relations between two species in the animal world and can easily be transferred to other similar situations.

Another recently developed discovery in infinite loops has been made by reading Dr.Seuss Books. This is called, the Cat Sandwich Effect The following steps are required to obtain said infinite loop.

1) Take a cat
2) Take a piece of toast (buttered, and slightly brown, almost mulatto)
3) Tie the bread(butterside up) to the cat's feet
4) Drop the cat/toast mixture out of a very high point

Since bread always lands butter side down, and since cats always land on their feet, you get an infinite loop.

See also Murphy's law application for antigravitatory cats.

[edit] Infinite Loop in Daily Life

Infinite loop in traffic

Another good explanation of the term "infinite loop" can provide daily situations. Following will describe many possible routines, that may be applied to the infinite loop in practice.

[edit] Situation 1

You can experience infinite loop by using your both mobile and stationary phone. Take the cellular in one hand and dial the stationary... Pick up the stationary and put it on your ear. You will probably hear some noises then, but never mind... Then shout loudly something like "Infinite loop, come to me!!!" and you will definitely hear strong feedbacks in the background. Your head may heat up and a splode, so be careful!

[edit] Situation 2

Another good impression of what actually infinite looping is can be delivered by putting two mirrors in front of each other. This situation has no practical use and will not be further discussed in detail.

The smart-heads from NASA actually found a practical use for this. Just put two or more mirrors reflecting each other and fire a flashlight to one of them. Free light, wheee! That should lower your energy bill.

One use for this infinite loop is seeing the back of your head. You have to position it just right, but it works. Another use is tricking morons into thinking you have a clone army ready for the republic to use, with 10, 000 more troops on the way, but this is cruel to the moron and doesn't always work. Please avoid doing the same with Jehovah's Witnesses!!!

[edit] Situation 3

The advanced method of learning infinite loop by practice requires hi-tech audio equipment. Switch the microphone to the device and bring it to the frontal side of you speaker. You will surely experience unique effect of acoustic infinite looping. You can also apply this knowledge to the approach already discussed in this article (see here) by simultaneous singing.

[edit] Situation 4

Take a video camera, especially an old one from the 1980s or 1990s. Make sure it is recording, and that the recording is showing on your television. Now point the video recorder at your television. If you don't have a video camera, stand between two full length mirrors arranged parallel to each other, to get a similar effect.

[edit] Situation 5

Click here.

[edit] See Also

Personal tools
projects
In other languages