General Discussion > Humour and Jokes
Important life algorithms
aeTIos:
--- Quote from: DJ Omnimaga on November 11, 2014, 02:27:21 am ---
--- Quote from: Matrefeytontias on November 10, 2014, 02:30:36 pm ---Today I learnt something : life is made of algorithms. I discovered one today, being a student in my own appartment :
--- Code: ---while(oreo)
oreo--;
--- End code ---
Did you discover things like this ?
--- End quote ---
Assuming you mean Oreo biscuits, I think the following would be closer to reality :P
--- Code: ---oreoPurchase := 3
oreoEaten := 0
hospital :=0
WHILE 1 DO
oreoEaten = oreoEaten + 1;
oreoPurchase = oreoPurchase ^ 2;
IF oreoEaten > 256 THEN
hospital := 1;
END;
END;
--- End code ---
--- End quote ---
Well... that escalated quickly ^^'
Streetwalrus:
--- Quote from: aeTIos on November 10, 2014, 04:54:59 pm ---Oh yes, most definitely.
--- Code: ---while(time_until_test_minutes)
procrastinate;
go_to_test_unprepared_but_perfectly_cool();
--- End code ---
--- End quote ---
Ftfy. :P
DJ Omnimaga:
--- Quote from: aeTIos on November 11, 2014, 04:29:25 am ---
--- Quote from: DJ Omnimaga on November 11, 2014, 02:27:21 am ---
--- Quote from: Matrefeytontias on November 10, 2014, 02:30:36 pm ---Today I learnt something : life is made of algorithms. I discovered one today, being a student in my own appartment :
--- Code: ---while(oreo)
oreo--;
--- End code ---
Did you discover things like this ?
--- End quote ---
Assuming you mean Oreo biscuits, I think the following would be closer to reality :P
--- Code: ---oreoPurchase := 3
oreoEaten := 0
hospital :=0
WHILE 1 DO
oreoEaten = oreoEaten + 1;
oreoPurchase = oreoPurchase ^ 2;
IF oreoEaten > 256 THEN
hospital := 1;
END;
END;
--- End code ---
--- End quote ---
Well... that escalated quickly ^^'
--- End quote ---
And in HP PPL it escalates instantly. :P The speed at which ClassPad II Basic gets executed might be closer to reality.
Streetwalrus:
--- Quote from: DJ Omnimaga on November 12, 2014, 01:40:40 am ---And in HP PPL it escalates instantly. :P The speed at which ClassPad II Basic gets executed might be closer to reality.
--- End quote ---
Lol at that one. :P
bb010g:
--- Quote from: DJ Omnimaga on November 11, 2014, 02:27:21 am ---
--- Quote from: Matrefeytontias on November 10, 2014, 02:30:36 pm ---Today I learnt something : life is made of algorithms. I discovered one today, being a student in my own appartment :
--- Code: ---while(oreo)
oreo--;
--- End code ---
Did you discover things like this ?
--- End quote ---
Assuming you mean Oreo biscuits, I think the following would be closer to reality :P
--- Code: ---oreoPurchase := 3
oreoEaten := 0
hospital :=0
WHILE 1 DO
oreoEaten = oreoEaten + 1;
oreoPurchase = oreoPurchase ^ 2;
IF oreoEaten > 256 THEN
hospital := 1;
END;
END;
--- End code ---
--- End quote ---
Y U NO USE IFTE OR MAKELIST?!?!?! OPTAMAIZE!
--- Code: ---oreoPurchase := 3
oreoEaten := 0
hospital :=0
BEGIN f() oreoPurchase = oreoPurchase ^ 2; oreoEaten := oreoEaten+1; END;
MAKELIST(f(), O, 0, 255);
hospital := 1;
END;
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version