php-general Digest 9 Dec 2008 11:44:26 -0000 Issue 5835

Topics (messages 284331 through 284352):

Re: A MySQL Question
        284331 by: Ashley Sheridan
        284334 by: Nathan Rixham
        284335 by: Robert Cummings
        284336 by: Micah Gersten
        284337 by: German Geek
        284338 by: Robert Cummings
        284339 by: Micah Gersten
        284340 by: Micah Gersten
        284341 by: Nathan Rixham
        284342 by: Nathan Rixham
        284343 by: German Geek
        284344 by: Robert Cummings
        284345 by: Yeti
        284346 by: Robert Cummings
        284347 by: Peter Ford
        284349 by: Yeti
        284352 by: German Geek

Re: Request to bash/jump/screw my code
        284332 by: ceo.l-i-e.com

PHP 5.2.8 Released
        284333 by: Ilia Alshanetsky

Stack Trace Length for Exceptions
        284348 by: Waynn Lue

Re: Accounting component in PHP
        284350 by: altern

Re: Poll of sorts: Javascript Form validation or PHP
        284351 by: LucaP

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
> Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
> processing the sub-query and kick things back out to the outer query.
> 
> 
> 
> IN has to process them all and find them all.
> 
> 
> 
Don't forget the special case use as well:

IF NOT EXISTS `universe` THEN bigbang()


Ash
www.ashleysheridan.co.uk


--- End Message ---
--- Begin Message ---
Ashley Sheridan wrote:
On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
processing the sub-query and kick things back out to the outer query.



IN has to process them all and find them all.



Don't forget the special case use as well:

IF NOT EXISTS `universe` THEN bigbang()


Ash
www.ashleysheridan.co.uk


any chance of writing the implementation of that bigbang() function? give you a pound!
--- End Message ---
--- Begin Message ---
On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
> Ashley Sheridan wrote:
> > On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
> >> Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
> >> processing the sub-query and kick things back out to the outer query.
> >>
> >>
> >>
> >> IN has to process them all and find them all.
> >>
> >>
> >>
> > Don't forget the special case use as well:
> > 
> > IF NOT EXISTS `universe` THEN bigbang()
> > 
> > 
> > Ash
> > www.ashleysheridan.co.uk
> > 
> 
> any chance of writing the implementation of that bigbang() function?

If nothing exists and a universe is created via a big bang... does it
make a sound? Can we realistically call it a big bang if it doesn't make
a sound? Couldn't we call it the big light show? But then again... if
nothing exists and a universe is created via a big light show... does it
matter? Can it be perceived? Is this just a proverbial pandrödinger's
box? You can't implement the bigbang() function if you don't exist.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
Robert Cummings wrote:
> On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
>   
>> Ashley Sheridan wrote:
>>     
>>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
>>>       
>>>> Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
>>>> processing the sub-query and kick things back out to the outer query.
>>>>
>>>>
>>>>
>>>> IN has to process them all and find them all.
>>>>
>>>>
>>>>
>>>>         
>>> Don't forget the special case use as well:
>>>
>>> IF NOT EXISTS `universe` THEN bigbang()
>>>
>>>
>>> Ash
>>> www.ashleysheridan.co.uk
>>>
>>>       
>> any chance of writing the implementation of that bigbang() function?
>>     
>
> If nothing exists and a universe is created via a big bang... does it
> make a sound? Can we realistically call it a big bang if it doesn't make
> a sound? Couldn't we call it the big light show? But then again... if
> nothing exists and a universe is created via a big light show... does it
> matter? Can it be perceived? Is this just a proverbial pandrödinger's
> box? You can't implement the bigbang() function if you don't exist.
>
> Cheers,
> Rob.
>   
The function doesn't say who's doing the creating, it just checks for
the existence of the universe.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com



--- End Message ---
--- Begin Message ---
On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:

> Robert Cummings wrote:
> > On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
> >
> >> Ashley Sheridan wrote:
> >>
> >>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
> >>>
> >>>> Presumable, the EXISTS sub-query can be optimized sometimes to just
> stop processing the sub-query and kick things back out to the outer query.
> >>>>
> >>>>
> >>>>
> >>>> IN has to process them all and find them all.
> >>>>
> >>>>
> >>>>
> >>>>
> >>> Don't forget the special case use as well:
> >>>
> >>> IF NOT EXISTS `universe` THEN bigbang()
> >>>
> >>>
> >>> Ash
> >>> www.ashleysheridan.co.uk
> >>>
> >>>
> >> any chance of writing the implementation of that bigbang() function?
> >>
> >
> > If nothing exists and a universe is created via a big bang... does it
> > make a sound? Can we realistically call it a big bang if it doesn't make
> > a sound? Couldn't we call it the big light show? But then again... if
> > nothing exists and a universe is created via a big light show... does it
> > matter? Can it be perceived? Is this just a proverbial pandrödinger's
> > box? You can't implement the bigbang() function if you don't exist.
> >
> > Cheers,
> > Rob.
> >
> The function doesn't say who's doing the creating, it just checks for
> the existence of the universe.

Lol, I agree, the function bigbang() doesn't need to be implemented (or it
could be empty if it needs to be there for this line to work), because by
definition, the universe must exist, if this statement is to exist.
Although it would be interesting to see an implementation of a simulation of
bigbang().
And, I would say there is a sound, even if no one is there to hear it,
assuming it to have happened. Also if there were no sound, there would be no
light show either, there would be nothing, which contradicts the assumption
that the big bang was there (exists)...

Guys, I think this is taking it a bit far...

--- End Message ---
--- Begin Message ---
On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
> Robert Cummings wrote:
> > On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
> >   
> >> Ashley Sheridan wrote:
> >>     
> >>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
> >>>       
> >>>> Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
> >>>> processing the sub-query and kick things back out to the outer query.
> >>>>
> >>>>
> >>>>
> >>>> IN has to process them all and find them all.
> >>>>
> >>>>
> >>>>
> >>>>         
> >>> Don't forget the special case use as well:
> >>>
> >>> IF NOT EXISTS `universe` THEN bigbang()
> >>>
> >>>
> >>> Ash
> >>> www.ashleysheridan.co.uk
> >>>
> >>>       
> >> any chance of writing the implementation of that bigbang() function?
> >>     
> >
> > If nothing exists and a universe is created via a big bang... does it
> > make a sound? Can we realistically call it a big bang if it doesn't make
> > a sound? Couldn't we call it the big light show? But then again... if
> > nothing exists and a universe is created via a big light show... does it
> > matter? Can it be perceived? Is this just a proverbial pandrödinger's
> > box? You can't implement the bigbang() function if you don't exist.
> >
> > Cheers,
> > Rob.
> >   
> The function doesn't say who's doing the creating, it just checks for
> the existence of the universe.

How do you know? Are you... God?

;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
Robert Cummings wrote:
> On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
>   
>> Robert Cummings wrote:
>>     
>>> On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
>>>   
>>>       
>>>> Ashley Sheridan wrote:
>>>>     
>>>>         
>>>>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
>>>>>       
>>>>>           
>>>>>> Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
>>>>>> processing the sub-query and kick things back out to the outer query.
>>>>>>
>>>>>>
>>>>>>
>>>>>> IN has to process them all and find them all.
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>             
>>>>> Don't forget the special case use as well:
>>>>>
>>>>> IF NOT EXISTS `universe` THEN bigbang()
>>>>>
>>>>>
>>>>> Ash
>>>>> www.ashleysheridan.co.uk
>>>>>
>>>>>       
>>>>>           
>>>> any chance of writing the implementation of that bigbang() function?
>>>>     
>>>>         
>>> If nothing exists and a universe is created via a big bang... does it
>>> make a sound? Can we realistically call it a big bang if it doesn't make
>>> a sound? Couldn't we call it the big light show? But then again... if
>>> nothing exists and a universe is created via a big light show... does it
>>> matter? Can it be perceived? Is this just a proverbial pandrödinger's
>>> box? You can't implement the bigbang() function if you don't exist.
>>>
>>> Cheers,
>>> Rob.
>>>   
>>>       
>> The function doesn't say who's doing the creating, it just checks for
>> the existence of the universe.
>>     
>
> How do you know? Are you... God?
>
> ;)
>
> Cheers,
> Rob.
>   

Sorry, term foul-up.  I meant the statement doesn't say who's doing the
creating, it just checks for existence of the universe.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com





--- End Message ---
--- Begin Message ---
German Geek wrote:
> On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Robert Cummings wrote:
>     > On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
>     >
>     >> Ashley Sheridan wrote:
>     >>
>     >>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]> wrote:
>     >>>
>     >>>> Presumable, the EXISTS sub-query can be optimized sometimes
>     to just stop processing the sub-query and kick things back out to
>     the outer query.
>     >>>>
>     >>>>
>     >>>>
>     >>>> IN has to process them all and find them all.
>     >>>>
>     >>>>
>     >>>>
>     >>>>
>     >>> Don't forget the special case use as well:
>     >>>
>     >>> IF NOT EXISTS `universe` THEN bigbang()
>     >>>
>     >>>
>     >>> Ash
>     >>> www.ashleysheridan.co.uk <http://www.ashleysheridan.co.uk>
>     >>>
>     >>>
>     >> any chance of writing the implementation of that bigbang()
>     function?
>     >>
>     >
>     > If nothing exists and a universe is created via a big bang...
>     does it
>     > make a sound? Can we realistically call it a big bang if it
>     doesn't make
>     > a sound? Couldn't we call it the big light show? But then
>     again... if
>     > nothing exists and a universe is created via a big light show...
>     does it
>     > matter? Can it be perceived? Is this just a proverbial
>     pandrödinger's
>     > box? You can't implement the bigbang() function if you don't exist.
>     >
>     > Cheers,
>     > Rob.
>     >
>     The function doesn't say who's doing the creating, it just checks for
>     the existence of the universe.
>
> Lol, I agree, the function bigbang() doesn't need to be implemented
> (or it could be empty if it needs to be there for this line to work),
> because by definition, the universe must exist, if this statement is
> to exist.
Who says this statement is run in this universe?  Who says it's not for
a simulator?
>
> Guys, I think this is taking it a bit far...

You new here? ;)

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com



--- End Message ---
--- Begin Message ---
Micah Gersten wrote:
Robert Cummings wrote:
On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
Robert Cummings wrote:
On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
processing the sub-query and kick things back out to the outer query.



IN has to process them all and find them all.



Don't forget the special case use as well:

IF NOT EXISTS `universe` THEN bigbang()


Ash
www.ashleysheridan.co.uk

any chance of writing the implementation of that bigbang() function?
If nothing exists and a universe is created via a big bang... does it
make a sound? Can we realistically call it a big bang if it doesn't make
a sound? Couldn't we call it the big light show? But then again... if
nothing exists and a universe is created via a big light show... does it
matter? Can it be perceived? Is this just a proverbial pandrödinger's
box? You can't implement the bigbang() function if you don't exist.

Cheers,
Rob.
The function doesn't say who's doing the creating, it just checks for
the existence of the universe.
How do you know? Are you... God?

;)

Cheers,
Rob.

Sorry, term foul-up.  I meant the statement doesn't say who's doing the
creating, it just checks for existence of the universe.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com





jesus stop the debating and get making it, there's a pound on offer here.

--- End Message ---
--- Begin Message ---
Micah Gersten wrote:
Robert Cummings wrote:
On Mon, 2008-12-08 at 19:46 -0600, Micah Gersten wrote:
Robert Cummings wrote:
On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
Presumable, the EXISTS sub-query can be optimized sometimes to just stop 
processing the sub-query and kick things back out to the outer query.



IN has to process them all and find them all.



Don't forget the special case use as well:

IF NOT EXISTS `universe` THEN bigbang()


Ash
www.ashleysheridan.co.uk

any chance of writing the implementation of that bigbang() function?
If nothing exists and a universe is created via a big bang... does it
make a sound? Can we realistically call it a big bang if it doesn't make
a sound? Couldn't we call it the big light show? But then again... if
nothing exists and a universe is created via a big light show... does it
matter? Can it be perceived? Is this just a proverbial pandrödinger's
box? You can't implement the bigbang() function if you don't exist.

Cheers,
Rob.
The function doesn't say who's doing the creating, it just checks for
the existence of the universe.
How do you know? Are you... God?

;)

Cheers,
Rob.

Sorry, term foul-up.  I meant the statement doesn't say who's doing the
creating, it just checks for existence of the universe.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com





jesus stop the debating and get making it, there's a pound on offer here.

--- End Message ---
--- Begin Message ---
On Tue, Dec 9, 2008 at 3:51 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:

> German Geek wrote:
> > On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Robert Cummings wrote:
> >     > On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
> >     >
> >     >> Ashley Sheridan wrote:
> >     >>
> >     >>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]> wrote:
> >     >>>
> >     >>>> Presumable, the EXISTS sub-query can be optimized sometimes
> >     to just stop processing the sub-query and kick things back out to
> >     the outer query.
> >     >>>>
> >     >>>>
> >     >>>>
> >     >>>> IN has to process them all and find them all.
> >     >>>>
> >     >>>>
> >     >>>>
> >     >>>>
> >     >>> Don't forget the special case use as well:
> >     >>>
> >     >>> IF NOT EXISTS `universe` THEN bigbang()
> >     >>>
> >     >>>
> >     >>> Ash
> >     >>> www.ashleysheridan.co.uk <http://www.ashleysheridan.co.uk>
> >     >>>
> >     >>>
> >     >> any chance of writing the implementation of that bigbang()
> >     function?
> >     >>
> >     >
> >     > If nothing exists and a universe is created via a big bang...
> >     does it
> >     > make a sound? Can we realistically call it a big bang if it
> >     doesn't make
> >     > a sound? Couldn't we call it the big light show? But then
> >     again... if
> >     > nothing exists and a universe is created via a big light show...
> >     does it
> >     > matter? Can it be perceived? Is this just a proverbial
> >     pandrödinger's
> >     > box? You can't implement the bigbang() function if you don't exist.
> >     >
> >     > Cheers,
> >     > Rob.
> >     >
> >     The function doesn't say who's doing the creating, it just checks for
> >     the existence of the universe.
> >
> > Lol, I agree, the function bigbang() doesn't need to be implemented
> > (or it could be empty if it needs to be there for this line to work),
> > because by definition, the universe must exist, if this statement is
> > to exist.
> Who says this statement is run in this universe?  Who says it's not for
> a simulator?
> >
> > Guys, I think this is taking it a bit far...
>
> You new here? ;)
>
Yep. I'm new here. :)

OK, to take this even further then...
How about a start of a high level function:

function bigbang() {
  $elementsNecessaryForBang = God::createElements(); // have to get it from
somewhere, don't know how to get this just yet
  $particleSimulator = new ParticleSimulator($elementsNecessaryForBang);
  $particleSimulator->start();
  // ...
  return $universe;
}

Oh, I forgot. We're writing this in plain MySQL? Don't know how to even
start this... :) I guess this is a PHP List, so I guess it's safe to use
PHP, no? Sorry for stealing the thread...

--- End Message ---
--- Begin Message ---
On Tue, 2008-12-09 at 17:40 +1300, German Geek wrote:
> On Tue, Dec 9, 2008 at 3:51 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> 
> > German Geek wrote:
> > > On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>> wrote:
> > >
> > >     Robert Cummings wrote:
> > >     > On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
> > >     >
> > >     >> Ashley Sheridan wrote:
> > >     >>
> > >     >>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED]
> > >     <mailto:[EMAIL PROTECTED]> wrote:
> > >     >>>
> > >     >>>> Presumable, the EXISTS sub-query can be optimized sometimes
> > >     to just stop processing the sub-query and kick things back out to
> > >     the outer query.
> > >     >>>>
> > >     >>>>
> > >     >>>>
> > >     >>>> IN has to process them all and find them all.
> > >     >>>>
> > >     >>>>
> > >     >>>>
> > >     >>>>
> > >     >>> Don't forget the special case use as well:
> > >     >>>
> > >     >>> IF NOT EXISTS `universe` THEN bigbang()
> > >     >>>
> > >     >>>
> > >     >>> Ash
> > >     >>> www.ashleysheridan.co.uk <http://www.ashleysheridan.co.uk>
> > >     >>>
> > >     >>>
> > >     >> any chance of writing the implementation of that bigbang()
> > >     function?
> > >     >>
> > >     >
> > >     > If nothing exists and a universe is created via a big bang...
> > >     does it
> > >     > make a sound? Can we realistically call it a big bang if it
> > >     doesn't make
> > >     > a sound? Couldn't we call it the big light show? But then
> > >     again... if
> > >     > nothing exists and a universe is created via a big light show...
> > >     does it
> > >     > matter? Can it be perceived? Is this just a proverbial
> > >     pandrödinger's
> > >     > box? You can't implement the bigbang() function if you don't exist.
> > >     >
> > >     > Cheers,
> > >     > Rob.
> > >     >
> > >     The function doesn't say who's doing the creating, it just checks for
> > >     the existence of the universe.
> > >
> > > Lol, I agree, the function bigbang() doesn't need to be implemented
> > > (or it could be empty if it needs to be there for this line to work),
> > > because by definition, the universe must exist, if this statement is
> > > to exist.
> > Who says this statement is run in this universe?  Who says it's not for
> > a simulator?
> > >
> > > Guys, I think this is taking it a bit far...
> >
> > You new here? ;)
> >
> Yep. I'm new here. :)
> 
> OK, to take this even further then...
> How about a start of a high level function:
> 
> function bigbang() {
>   $elementsNecessaryForBang = God::createElements(); // have to get it from
> somewhere, don't know how to get this just yet
>   $particleSimulator = new ParticleSimulator($elementsNecessaryForBang);
>   $particleSimulator->start();
>   // ...
>   return $universe;
> }
> 
> Oh, I forgot. We're writing this in plain MySQL? Don't know how to even
> start this... :) I guess this is a PHP List, so I guess it's safe to use
> PHP, no? Sorry for stealing the thread...


Wow! You really are new around here... the following is a better
solution:

<?php

require_once( 'reality.php' );

$stick = new Stick();
$drum = new Drum();

$bigbang = $stick->whack( $drum );

for( ; ; )
{
    $bigbang->expand();
}

?>

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
<?php
define('HUMAN_STUPIDITY', true);
function bigbang() {
        while (HUMAN_STUPIDITY || !isset($debate_is_over)) { }
        return true;
}
if (!isset($universe)) bigbang();
?>

Who says the big bang is past?

--- End Message ---
--- Begin Message ---
On Mon, 2008-12-08 at 23:50 -0800, Yeti wrote:
> <?php
> define('HUMAN_STUPIDITY', true);
> function bigbang() {
>       while (HUMAN_STUPIDITY || !isset($debate_is_over)) { }
>       return true;
> }
> if (!isset($universe)) bigbang();
> ?>
> 
> Who says the big bang is past?

I can't hear it.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
German Geek wrote:
> On Tue, Dec 9, 2008 at 2:46 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> 
>> Robert Cummings wrote:
>>> On Tue, 2008-12-09 at 00:16 +0000, Nathan Rixham wrote:
>>>
>>>> Ashley Sheridan wrote:
>>>>
>>>>> On Mon, 2008-12-08 at 23:23 +0000, [EMAIL PROTECTED] wrote:
>>>>>
>>>>>> Presumable, the EXISTS sub-query can be optimized sometimes to just
>> stop processing the sub-query and kick things back out to the outer query.
>>>>>>
>>>>>>
>>>>>> IN has to process them all and find them all.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> Don't forget the special case use as well:
>>>>>
>>>>> IF NOT EXISTS `universe` THEN bigbang()
>>>>>
>>>>>
>>>>> Ash
>>>>> www.ashleysheridan.co.uk
>>>>>
>>>>>
>>>> any chance of writing the implementation of that bigbang() function?
>>>>
>>> If nothing exists and a universe is created via a big bang... does it
>>> make a sound? Can we realistically call it a big bang if it doesn't make
>>> a sound? Couldn't we call it the big light show? But then again... if
>>> nothing exists and a universe is created via a big light show... does it
>>> matter? Can it be perceived? Is this just a proverbial pandrödinger's
>>> box? You can't implement the bigbang() function if you don't exist.
>>>
>>> Cheers,
>>> Rob.
>>>
>> The function doesn't say who's doing the creating, it just checks for
>> the existence of the universe.
> 
> Lol, I agree, the function bigbang() doesn't need to be implemented (or it
> could be empty if it needs to be there for this line to work), because by
> definition, the universe must exist, if this statement is to exist.
> Although it would be interesting to see an implementation of a simulation of
> bigbang().
> And, I would say there is a sound, even if no one is there to hear it,
> assuming it to have happened. Also if there were no sound, there would be no
> light show either, there would be nothing, which contradicts the assumption
> that the big bang was there (exists)...
> 
> Guys, I think this is taking it a bit far...
> 

In space, no one can hear you scream...

(or bang, for that matter)

-- 
Peter Ford                              phone: 01580 893333
Developer                               fax:   01580 893399
Justcroft International Ltd., Staplehurst, Kent

--- End Message ---
--- Begin Message ---
As a matter of fact, in space you can't even scream.

--- End Message ---
--- Begin Message ---
On Tue, Dec 9, 2008 at 10:49 PM, Yeti <[EMAIL PROTECTED]> wrote:

> As a matter of fact, in space you can't even scream.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> I don't know if there is a "better" or "best" solution to this, but an
infinite loop for something that is finite, I don't know...

I do like the stick whacking the drum part though. :)

And yes, you wouldnt hear anything in space, hadnt thought about that, so
you can argue that the big bang didnt make a noise because it wouldnt have
been hearable because there was nothing to carry the sound. For that matter
it wouldnt have been seeable either. Something being hearable or seeable is
different from someone/thing hearing or seeing it though. My point: Not
trying to make one, or any sense either, because im probably contradicting
myself here as are all of you, no offence.

However, I find the big bang theory more convincing than any 7 days creation
theory or things like that (sorry to all the religious people out there),
But then you can always ask what was before that and before that and so on.
But no one ever asks who or what created god in the first place, if s/he/it
exists. Was s/he/it always there? Well then one could argue that the
universe was always there too and there was no creation or big bang, or was
good there for infinity and after a few quadrillion years, s/he/it became so
bored and decided to make a big firework or only spend 7 days in creating
everything? 7 days is a horribly short time for such a task after an
infinite time of boredome. Maybe earth was always there (although this seems
unlikely too). But do we really know that? I mean, ive read it in a book and
learned it at school, but maybe we're all wrong and its all totally
different to what is expected. To me only one thing is clear: We will never
know how it all began, because a beginning of time and everything seems
illogical to me, because there must have been something before that.
Infinity, although to most not graspable seems a more graspable concept to
me than finity. Anybody agree or am i alone in this universe?

Sorry to go terribly off topic here...

--- End Message ---
--- Begin Message ---
> * Your output isn't cleaned up when coming from the database.  You need

> to put a few stripslashes() instances in there.



Actually, if you think you have to use stripslashes, then, in fact, you've used 
addslashes and/or Magic Quotes TWICE, and your db has BAD DATA in it.



Fix the data intake routines to escape your data ONCE, properly, using the db 
escape routine (like http://php.net/mysql_real_escape_string).



ANY time you find yourself using stripslashes, you messed up way back in the 
production line, and need to pull the big red handle and fix the process way 
before where you are now.



--- End Message ---
--- Begin Message --- The PHP development team would like to announce the immediate availability of PHP 5.2.8. This release addresses a regression introduced by 5.2.7 in regard to the magic_quotes functionality, that was broken by an incorrect fix to the filter extension. All users who have upgraded to 5.2.7 are encouraged to upgrade to this release, alternatively you can apply a work-around for the bug by changing "filter.default_flags=0" in php.ini.

For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available here (http://www.php.net/migration52), detailing the changes between those releases and PHP 5.2.8. For a full list of changes in PHP 5.2.8, see the ChangeLog (http://www.php.net/ChangeLog-5.php#5.2.8).

Ilia Alshanetsky
5.2 Release Master

--- End Message ---
--- Begin Message ---
I've been adding in exceptions at various points in the code so that I can
more easily track where things are breaking and through which code path, but
I just ran into a problem where it seems that the full stack trace isn't
showing up in the error_logs.  When I check out the logs, it only shows the
last three frames, but I'd like it go all the way up the stack.  Is the only
solution to use something like debug_backtrace() instead, or is there some
setting to change what gets printed to the error log?

Thanks!

Waynn

--- End Message ---
--- Begin Message ---
All my queries are complex. If I will use ORM, then I still will need another
wrapper to create, for example template criteria objects. I have application
that is very similar to billing system. Such type of applications definitely
have other business logic levels in addition to ORM queries, as you might
notice.


Geek (de=German top level domain) wrote:
> 
> You can do raw SQL queries with ORM as well, at least in symfony ;). An
> ORM
> makes other, rather trivial queries a whole lot easier though and a
> framework like symfony makes development of generic requirements a lot
> faster and cleaner.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Accounting-component-in-PHP-tp20897026p20911661.html
Sent from the PHP - General mailing list archive at Nabble.com.


--- End Message ---
--- Begin Message ---
Being JSON immediately parsable by both Javascript and PHP it is
possible to exploit it to keep the regular expressions for the input
fields in a single place, and avoid mantaining them synched between
the Js and PHP scripts!

--- End Message ---

Reply via email to