[PHP] Re: Sad PHP Poem

2006-07-01 Thread tedd
At 1:26 AM -0300 7/1/06, Martin Alterisio wrote:
That's all folks. Coming up next: an innovative realistic soccer simulation
game: Fix the World Cup. Everything from bribing a referee to fixing the
team sorting. Do you lack the morality to make your team the world champion
by any means necessary? Take this chance to prove it!  (just joking...
really but it would be a good game, wouldn't it?)

Soccer... what's that?

tedd
-- 

http://sperling.com  http://ancientstones.com  http://earthstones.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread tg-php
I think they call it 'futbol' in your native language tedd.  Or was that 
'maize'.. it was one or the other :)

-TG

= = = Original message = = =

At 1:26 AM -0300 7/1/06, Martin Alterisio wrote:
That's all folks. Coming up next: an innovative realistic soccer simulation
game: Fix the World Cup. Everything from bribing a referee to fixing the
team sorting. Do you lack the morality to make your team the world champion
by any means necessary? Take this chance to prove it!  (just joking...
really but it would be a good game, wouldn't it?)

Soccer... what's that?

tedd
-- 

http://sperling.com  http://ancientstones.com  http://earthstones.com


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread Ryan A
 
 Soccer... what's that?
 
 tedd


Its a mis-spelling of two words taken out of context,
its actually sock her and meant for Hillary Clinton 






;))



Cheers!
Ryan

--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread Martin Marques

On Sat, 1 Jul 2006 07:03:54 -0700 (PDT), Ryan A [EMAIL PROTECTED] wrote:
 
 Soccer... what's that?

 tedd
 
 Its a mis-spelling of two words taken out of context,
 its actually sock her and meant for Hillary Clinton

Actually, Hillary wasn't the one sucking. ;-)

--
-
Lic. Martín Marqués |   SELECT 'mmarques' || 
Centro de Telemática|   '@' || 'unl.edu.ar';
Universidad Nacional|   DBA, Programador, 
del Litoral |   Administrador
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread Ryan A


--- Martin Marques martin@bugs.unl.edu.ar wrote:

 
 On Sat, 1 Jul 2006 07:03:54 -0700 (PDT), Ryan A
 [EMAIL PROTECTED] wrote:
  
  Soccer... what's that?
 
  tedd
  
  Its a mis-spelling of two words taken out of
 context,
  its actually sock her and meant for Hillary
 Clinton
 
 Actually, Hillary wasn't the one sucking. ;-)


Which was the problem
By the time Monica came in...Hillary should have
already been on her knees shouting...i got it, i got
it,you just go back to doing the paperwork 

:oD

--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread Micky Hulse

Ryan A wrote:

Its a mis-spelling of two words taken out of context,
its actually sock her and meant for Hillary Clinton 


Hehehe, n1!  :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Sad PHP Poem

2006-06-30 Thread Martin Alterisio

2006/6/26, Martin Alterisio [EMAIL PROTECTED]:


offtopic type=slightly offtopic class=poetic literary

A sad poem of an algorithm where solitude brought excessive use of cpu
cycles and memory allocation for redundant data (it copied over and over
again the same image till all memory was filled with it)

--

$timeWaiting = 0;
while (!$you-near($me)) {
  $me-thinkAbout($you);

  switch (true) {
case $timeWaiting  5:
  $me-wait($you);
  break;

case $timeWaiting  10:
  $me-worry();
  break;

case $timeWaiting  20:
  $me-lookFor($you) ;
  break;

case $timeWaiting  40:
  $me-worry();
   $me-lookFor($you) ;
  break;

case $timeWaiting  80:
  $me-worry();
   $me-cry();
   $me-lookFor($you) ;
   $me-lookFor($you) ;
   $me-lookFor($you) ;
  break;

case $timeWaiting  160:
  $me-worry();
   $me-cry();
   $me-drink();
   $me-lookFor($you) ;
   $me-lookFor($you) ;
   $me-lookFor($you) ;
  $me-thinkAbout($you);
   $me-thinkAbout($you);
   $me-cry();
   $me-lookFor($you) ;
   $me-lookFor($you) ;
   $me-drink();
   $me-drink();
   break;

default:
  throw new CantLiveWithoutYou();
  die(alone);
  }

  $timeWaiting++;
}

$me-happy = true;

--

I hope you enjoyed the poem and the fact that I didn't ask you to fix it
or find the bug in it =D

PD: Run in your web server at your own risk.

/offtopic



I guy over here completed the code to allow its execution
http://devzone.zend.com/node/view/id/576 (see the comments).

---

Then, I having trouble with this code, would you be so kind to look at it:

code
// He says he did it, but he's crazy. Who knows...
$poem-author = new Person(Martin Alterisio);
// TO DO: Person might not be the proper class here. Check that.

foreach (Person::$all as $you) {
 if ($you-like($poem)) {
   $poem-author-thank($you);
 } else {
   // TO DO: Spread the geekness



   // On second thought, maybe that's not a good idea
 }
}
/code

That's all folks. Coming up next: an innovative realistic soccer simulation
game: Fix the World Cup. Everything from bribing a referee to fixing the
team sorting. Do you lack the morality to make your team the world champion
by any means necessary? Take this chance to prove it!  (just joking...
really but it would be a good game, wouldn't it?)