Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote:

 any idea?

 2011/5/25 李白|字一日 calid...@gmail.com

  hello,
 
  I am every interested in comet applications recently, and sadly found php
  is very weak in this area.
 
  i am just wondering if it is possible to write an extension to extend the
  ability of the php to easy the way to comet applications?
 
  if it possible for php to hold the connect from the client when it is in
  fast cgi mode or apache mod php mode?


Comet can use one of several techniques for low-latency data (
http://cometdaily.com/about/), with the long-polling mechanism to simulate
the realtime pushing of data from the server being a popular option:
http://cometdaily.com/2007/11/15/the-long-polling-technique/
http://en.wikipedia.org/wiki/Comet_(programming)

http://en.wikipedia.org/wiki/Comet_(programming)To my understanding, PHP
itself can accommodate this quite nicely. Merely start an infinite loop that
breaks and returns new data when available. You'll probably have to adjust
your web server settings and php.ini configuration to allow reasonably long
requests for this particular need. However, when requests do time out, it's
not a big deal as the javascript should be set up to reinitiate a new
request if that happens, just as it would if the request returned new data
and closed, giving the appearance of a continuous stream of pushed data.

This all said, if you wanted to write an extension to facilitate long
polling, you could, but given the natural latencies for these requests, I'm
not sure you'd find a significant benefit.

Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com


Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
is there an efficient way to hold the requests while loop is an expensive
way in most cases.

and i don't know how to notify the holding connections if the change need to
be notify to the holding requests?

writing extension to php is also a very expensive way for me:(

2011/6/3 Adam Richardson simples...@gmail.com

 On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote:

 any idea?

 2011/5/25 李白|字一日 calid...@gmail.com

  hello,
 
  I am every interested in comet applications recently, and sadly found
 php
  is very weak in this area.
 
  i am just wondering if it is possible to write an extension to extend
 the
  ability of the php to easy the way to comet applications?
 
  if it possible for php to hold the connect from the client when it is in
  fast cgi mode or apache mod php mode?


 Comet can use one of several techniques for low-latency data (
 http://cometdaily.com/about/), with the long-polling mechanism to simulate
 the realtime pushing of data from the server being a popular option:
 http://cometdaily.com/2007/11/15/the-long-polling-technique/
 http://en.wikipedia.org/wiki/Comet_(programming)

 http://en.wikipedia.org/wiki/Comet_(programming)To my understanding, PHP
 itself can accommodate this quite nicely. Merely start an infinite loop that
 breaks and returns new data when available. You'll probably have to adjust
 your web server settings and php.ini configuration to allow reasonably long
 requests for this particular need. However, when requests do time out, it's
 not a big deal as the javascript should be set up to reinitiate a new
 request if that happens, just as it would if the request returned new data
 and closed, giving the appearance of a continuous stream of pushed data.

 This all said, if you wanted to write an extension to facilitate long
 polling, you could, but given the natural latencies for these requests, I'm
 not sure you'd find a significant benefit.

 Adam

 --
 Nephtali:  A simple, flexible, fast, and security-focused PHP framework
 http://nephtaliproject.com



Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote:

 is there an efficient way to hold the requests while loop is an expensive
 way in most cases.


You can call sleep(number_of_seconds_to_sleep) within the while loop to
lower the cost, so to speak.


 and i don't know how to notify the holding connections if the change need
 to be notify to the holding requests?


Sorry, I'm not sure what you mean here.

Let's say you were checking a db table for new rows. When a new row
appeared, you'd break out of the loop and return the data to the page with
the javascript that initiated the request (maybe you're PHP is returning
JSON, XML, or an HTML fragment for the javascript to manipulate.) The
javascript would update the page content and then initiate a new
long-polling request and wait for new data.

writing extension to php is also a very expensive way for me:(


I agree with you. That's in part why I suggested that the extension wouldn't
be needed or worthwhile in this case and basic PHP would be a reasonable
solution.

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com


Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote:



 2011/6/3 Adam Richardson simples...@gmail.com

 On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote:

 is there an efficient way to hold the requests while loop is an expensive
 way in most cases.


 You can call sleep(number_of_seconds_to_sleep) within the while loop to
 lower the cost, so to speak.

 yes, an interrupt will be a better way. currently libevent is in beta
 state, and i don't know if the libevent extension can be used in mod_php to
 implement comet applications.


Oh, I see. Yes, I'm not sure I'd try using that extension yet.




 and i don't know how to notify the holding connections if the change need
 to be notify to the holding requests?


 Sorry, I'm not sure what you mean here.


 please forgive my poor english, i mean we may have projects need
 interaction with mulitple users and the state changes of one user should be
 send to the users involved, like online games chatting rooms.


I believe I understand you, now. This could get costly in terms of
resources, and I now better understand your interest in the libevent
extension.

I'd be tempted to write custom C extensions for a web server like nginx,
which naturally handles asynchronous IO. And, in this case, you could even
make use of fast polling instead of long polling, due to the performance of
nginx, such as demonstrated in the this example:
http://amix.dk/blog/post/19414

And, don't worry about your English too much. My Chinese stops after ni hao
;)

Adam

-- 
Nephtali:  A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com


Re: [PHP] Re: about php comet

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 7:11 AM, Adam Richardson simples...@gmail.comwrote:

 On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote:

  any idea?
 
  2011/5/25 李白|字一日 calid...@gmail.com
 
   hello,
  
   I am every interested in comet applications recently, and sadly found
 php
   is very weak in this area.
  
   i am just wondering if it is possible to write an extension to extend
 the
   ability of the php to easy the way to comet applications?
  
   if it possible for php to hold the connect from the client when it is
 in
   fast cgi mode or apache mod php mode?
 

 Comet can use one of several techniques for low-latency data (
 http://cometdaily.com/about/), with the long-polling mechanism to simulate
 the realtime pushing of data from the server being a popular option:
 http://cometdaily.com/2007/11/15/the-long-polling-technique/
 http://en.wikipedia.org/wiki/Comet_(programming)

 http://en.wikipedia.org/wiki/Comet_(programming)To my understanding, PHP
 itself can accommodate this quite nicely. Merely start an infinite loop
 that
 breaks and returns new data when available. You'll probably have to adjust
 your web server settings and php.ini configuration to allow reasonably long
 requests for this particular need. However, when requests do time out, it's
 not a big deal as the javascript should be set up to reinitiate a new
 request if that happens, just as it would if the request returned new data
 and closed, giving the appearance of a continuous stream of pushed data.

 This all said, if you wanted to write an extension to facilitate long
 polling, you could, but given the natural latencies for these requests, I'm
 not sure you'd find a significant benefit.


One word of caution... While PHP can be used to implement long polling, bear
in mind that PHP is fairly expensive in terms of resource usage per
connection. Unless you're swimming in servers or only expecting a few
concurrent connections at any one time, I'd recommend using something that
holds multiple connections per process, rather than one process per
connection.

IMO, web-based PHP is not the right solution to this problem. You could
write a select-based comet server in PHP, but it definitely wouldn't be in
my top 10 language choices.

I've just seen a later email in this thread that mentions that this is a
chat-type system. Watch this and have your mind blown...
http://vimeo.com/20605470 - at some point he describes how to write a pretty
efficient chat server in PHP using ZeroMQ, but the whole thing is worth
watching.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/


Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
2011/6/3 Adam Richardson simples...@gmail.com

 On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote:



 2011/6/3 Adam Richardson simples...@gmail.com

 On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote:

 is there an efficient way to hold the requests while loop is an
 expensive way in most cases.


 You can call sleep(number_of_seconds_to_sleep) within the while loop to
 lower the cost, so to speak.

 yes, an interrupt will be a better way. currently libevent is in beta
 state, and i don't know if the libevent extension can be used in mod_php to
 implement comet applications.


 Oh, I see. Yes, I'm not sure I'd try using that extension yet.




 and i don't know how to notify the holding connections if the change
 need to be notify to the holding requests?


 Sorry, I'm not sure what you mean here.


 please forgive my poor english, i mean we may have projects need
 interaction with mulitple users and the state changes of one user should be
 send to the users involved, like online games chatting rooms.


 I believe I understand you, now. This could get costly in terms of
 resources, and I now better understand your interest in the libevent
 extension.

 I'd be tempted to write custom C extensions for a web server like nginx,
 which naturally handles asynchronous IO. And, in this case, you could even
 make use of fast polling instead of long polling, due to the performance of
 nginx, such as demonstrated in the this example:
 http://amix.dk/blog/post/19414


thanks for the advice,
but i don't know if it can be integrated into web pages.
where in web pages,
browsers will stop the requests to different ports even when the url having
the save domain name.

if i want to host more pages, add more interactions, it would be every
difficult.

so it would be better to have php solutions to make it easier :)



 And, don't worry about your English too much. My Chinese stops after ni hao
 ;)


ni hao is a good start:)


 Adam

 --
 Nephtali:  A simple, flexible, fast, and security-focused PHP framework
 http://nephtaliproject.com



[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
Hi,

Using following code does not parse the xml:id attribute. If I change the 
attribute's namespace to anything other than xml ( e.g. new:id ) then it 
works.

$string = XML
TEI xml:id=decten1tlsg01
teiHeader 
profileDesc 
particDesc
 person xml:id=interviewerTlsg01 /person
 /particDesc
 /profileDesc 
 /teiHeader 
/TEI
XML;
$xml = simplexml_load_string($string);
foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a 
= $b) {
echo p$a = $b \n/p;
}

Is this a bug? And how do I get this to work?

Many thanks,
Anthony

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



[PHP] SimpleXML - parsing attributes with a namespace

2011-06-03 Thread Anthony Gladdish
Hi,

Using following code does not parse the xml:id attribute. If I change the 
attribute's namespace to anything other than xml ( e.g. new:id ) then it 
works.

$string = XML
TEI xml:id=decten1tlsg01
teiHeader 
profileDesc 
particDesc
 person xml:id=interviewerTlsg01 /person
 /particDesc
 /profileDesc 
 /teiHeader 
/TEI
XML;
$xml = simplexml_load_string($string);
foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a 
= $b) {
echo p$a = $b \n/p;
}

Is this a bug? And how do I get this to work?

Many thanks,
Anthony

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



Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-06-03 Thread Sean Greenslade
What happens if you create a test page with just the 500 header and some
html content in it? IIRC, apache won't override a php-generated error page.
On Jun 2, 2011 8:09 PM, Stephon Chen step...@gmail.com wrote:
 Hello Sean,

 1. while I directed connected to these error pages such as 403, 404, and
 500.html,
 they works correctly, showing correct error page

 2. but while I use something like header('HTTP/1.1 500') to trigger apache
 500
 the content of 500.html does not show, but blank page only.
 both header('HTTP/1.1 403') and header('HTTP/1.1 404') shows the correct
 custom error page.

 Thanks a lot
 --
 stephon

 On Fri, Jun 3, 2011 at 07:21, Sean Greenslade zootboys...@gmail.com
wrote:

 So do you get the contents of that page in the response? What happens
when
 you browse to that page manually?
 On Jun 1, 2011 2:14 AM, Stephon Chen step...@gmail.com wrote:
  All 403, 404, 500.html are static html pages like:
 
  div
  500 error happens
  /div
 
  On Wed, Jun 1, 2011 at 14:10, Tamara Temple tamouse.li...@gmail.com
 wrote:
 
 
  On May 31, 2011, at 8:14 AM, Stephon Chen wrote:
 
  Hello Sean,
 
  Here is my apache config for error handling.
  403, 404 works fine, but 500 shows blank page
 
  Alias /errorpage/ /usr/local/www/apache22/errorpage/
  Directory /usr/local/www/apache22/errorpage/
  AllowOverride None
  Options -Indexes FollowSymLinks MultiViews
  Order allow,deny
  Allow from all
  /Directory
  #
  ErrorDocument 403 /errorpage/403.html
  ErrorDocument 404 /errorpage/404.html
  ErrorDocument 500 /errorpage/500.html
 
 
  What's in 500.html?
 
 



Re: [PHP] phpsadness

2011-06-03 Thread tedd

At 1:02 PM -0400 6/2/11, Daniel Brown wrote:

On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:


 So if I understand, you want an explode() with empty parameters to explode
 the host machine?


That's correct.  If it causes too much userland confusion, we can
alias it as detonate() as well.


Yes, to be preceded with:

echo('Alaho Akbar');

Cheers,

tedd

--
---
http://sperling.com/

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



Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:

 At 1:02 PM -0400 6/2/11, Daniel Brown wrote:

 On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:


  So if I understand, you want an explode() with empty parameters to
explode
  the host machine?


That's correct.  If it causes too much userland confusion, we can
 alias it as detonate() as well.


 Yes, to be preceded with:

 echo('Alaho Akbar');


Nice ... any idea how many people you just insulted there?


Re: [PHP] phpsadness

2011-06-03 Thread Richard Quadling
On 3 June 2011 15:23, Peter Lind peter.e.l...@gmail.com wrote:
 echo('Alaho Akbar');
 Nice ... any idea how many people you just insulted there?

Not me! You can quote any religious clap-trap. I won't be offended!


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: [PHP] phpsadness

2011-06-03 Thread Paul M Foster
On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:

 On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
 
  At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
 
  On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
 
 
   So if I understand, you want an explode() with empty parameters to
 explode
   the host machine?
 
 
 That's correct.  If it causes too much userland confusion, we can
  alias it as detonate() as well.
 
 
  Yes, to be preceded with:
 
  echo('Alaho Akbar');
 
 
 Nice ... any idea how many people you just insulted there?

I'm guessing no one with an actual sense of humor.

I suspect most people snickered at the joke and admired the chutzpah it
took to post it.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



Re: [PHP] phpsadness

2011-06-03 Thread Marc Guay
Unsubscribe! Unsubscribe! Unsubscribe!

Can I detonate() the future of this thread before it goes where it's
about to go?

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



RE: [PHP] phpsadness

2011-06-03 Thread admin
I am writing a filter as I reply, to delete any comments to this thread that
come to my mailbox
So I do not have to deal with manually deleting them as they come in.

Richard L. Buskirk


-Original Message-
From: Marc Guay [mailto:marc.g...@gmail.com] 
Sent: Friday, June 03, 2011 10:58 AM
To: php-general@lists.php.net
Subject: Re: [PHP] phpsadness

Unsubscribe! Unsubscribe! Unsubscribe!

Can I detonate() the future of this thread before it goes where it's
about to go?

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


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



Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com wrote:

 On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:

  On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
  
   At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
  
   On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
  
  
So if I understand, you want an explode() with empty parameters to
  explode
the host machine?
  
  
  That's correct.  If it causes too much userland confusion, we can
   alias it as detonate() as well.
  
  
   Yes, to be preceded with:
  
   echo('Alaho Akbar');
  
 
  Nice ... any idea how many people you just insulted there?

 I'm guessing no one with an actual sense of humor.

 I suspect most people snickered at the joke and admired the chutzpah it
 took to post it.


Admiring people that insult an entire religion? Really, it does not take
chutzpah, it just takes ignorance or stupidity to do something like that.
Nothing admirable about it.


Re: [PHP] phpsadness

2011-06-03 Thread Daniel Brown
On Thu, Jun 2, 2011 at 22:14, Paul M Foster pa...@quillandmouse.com wrote:
 On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote:

 On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
 
  So if I understand, you want an explode() with empty parameters to explode
  the host machine?

     That's correct.  If it causes too much userland confusion, we can
 alias it as detonate() as well.

 It would be so hilarious if this made it into the docs as a (spoof)
 command. I could see some n00b skimming over the docs and going, Wait,
 what--?

 Oh-- how about if the detonate() command just echoed a series of tick
 strings to the web page? Can't you just imagine the frantic tech support
 calls from n00b PHP coders to the tech support departments of their
 hosting companies? Oh crap oh crap! Pick up the phone already! Oh
 crap I'm so busted!

 Reminds me (obliquely) of an entry in the index for The C Programming
 Language for recursion, which points right back to that index page. I
 about doubled over when I first discovered it.

That's hilarious.  I love subtle humor like that.

Incidentally, a new thread on this subject is forthcoming

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



Re: [PHP] phpsadness

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind peter.e.l...@gmail.com wrote:

 On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com wrote:
 
  On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:
 
   On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
   
At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
   
On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net
 wrote:
   
   
 So if I understand, you want an explode() with empty parameters to
   explode
 the host machine?
   
   
   That's correct.  If it causes too much userland confusion, we can
alias it as detonate() as well.
   
   
Yes, to be preceded with:
   
echo('Alaho Akbar');
   
  
   Nice ... any idea how many people you just insulted there?
 
  I'm guessing no one with an actual sense of humor.
 
  I suspect most people snickered at the joke and admired the chutzpah it
  took to post it.
 

 Admiring people that insult an entire religion? Really, it does not take
 chutzpah, it just takes ignorance or stupidity to do something like that.
 Nothing admirable about it.


There's everything admirable about it. Religion is not special, and does not
deserve any special treatment when it comes to critical comment. I can say
anything I want about a particular political party and that's ok, but I
can't express an opinion about a particular religion because it may cause
offence?

And that's not to mention the fact that tedd's comment is a fact - more than
a few people have detonated in the name of their religion, and chances are
that if someone does detonate themselves it will be in the name of their
religion. He didn't imply that everyone who follows that religion would do
the same, but that's the only interpretation I can think of that would cause
offence, so surely the offence is in the interpretation not the actual
words.

Offence, like all things, is in the eye of the beholder. If something
offends you, take responsibility for the fact that it's because someone is
challenging a belief that you don't want to be challenged so you're reacting
against it. It's not because it is objectively offensive. There is nothing
that is objectively offensive*.

Rant over.

-Stuart

* Nothing is objectively anything. Everything is subjective.

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

Please note that these comments reflect my opinion only, not those of my
employer.


Re: [PHP] phpsadness

2011-06-03 Thread Richard Quadling
On 3 June 2011 16:14, Peter Lind peter.e.l...@gmail.com wrote:
 Admiring people that insult an entire religion? Really, it does not take
 chutzpah, it just takes ignorance or stupidity to do something like that.
 Nothing admirable about it.


So says the man with muppet for an avatar!


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On 3 June 2011 17:36, Stuart Dallas stu...@3ft9.com wrote:
 On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind peter.e.l...@gmail.com wrote:

 On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com wrote:
 
  On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:
 
   On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:
   
At 1:02 PM -0400 6/2/11, Daniel Brown wrote:
   
On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net
wrote:
   
   
 So if I understand, you want an explode() with empty parameters
to
   explode
 the host machine?
   
   
   That's correct.  If it causes too much userland confusion, we
can
alias it as detonate() as well.
   
   
Yes, to be preceded with:
   
echo('Alaho Akbar');
   
  
   Nice ... any idea how many people you just insulted there?
 
  I'm guessing no one with an actual sense of humor.
 
  I suspect most people snickered at the joke and admired the chutzpah it
  took to post it.
 

 Admiring people that insult an entire religion? Really, it does not take
 chutzpah, it just takes ignorance or stupidity to do something like that.
 Nothing admirable about it.

 There's everything admirable about it. Religion is not special, and does not
 deserve any special treatment when it comes to critical comment. I can say
 anything I want about a particular political party and that's ok, but I
 can't express an opinion about a particular religion because it may cause
 offence?

Tedd's comment suggested that muslims are suicide bombers. That's not
a comment on religion, that's an insult to a large group of people.
Learn to tell the difference.

 And that's not to mention the fact that tedd's comment is a fact - more than
 a few people have detonated in the name of their religion, and chances are
 that if someone does detonate themselves it will be in the name of their
 religion.

And the vast majority of religious never have, nor never will detonate
in the name of religion. Yet they are being targeted and put to hate
just the same - then afterwards told to shut up and not feel offended.

 He didn't imply that everyone who follows that religion would do
 the same, but that's the only interpretation I can think of that would cause
 offence, so surely the offence is in the interpretation not the actual
 words.

Ahh, I see, that's why he wrote Praise Jesus and not Alaho Akbar -
he really didn't mean to say anything about muslims or islam as a
whole, he only wanted to comment on religion in an abstract way.

 Offence, like all things, is in the eye of the beholder. If something
 offends you, take responsibility for the fact that it's because someone is
 challenging a belief that you don't want to be challenged so you're reacting
 against it. It's not because it is objectively offensive. There is nothing
 that is objectively offensive*.

The fact that someone offends someone else is neither more nor less an
issue just because the offence is subjective. If I hold a certain
belief and you choose to stuff that down the toilet, you're a complete
dick, whether or not my belief makes sense.

And for the record, Tedd did not challenge any beliefs. He just made a
stupid joke at the expense of muslims.


 * Nothing is objectively anything. Everything is subjective.

Pure, unadulterated BS.

Peter

-- 
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype

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



[PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Daniel Brown
First of all, a happy Friday to all here.  Hopefully some of you
will be able to pass this on to your boss and get sent home early.

Second, as dreamed up in the previous thread, I've decided to take
a few moments this morning to build and release a new PHP extension,
which provides a single function: detonate().

Third, you can read about it and download it here:
http://links.parasane.net/29nh

That's all, folks.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



Re: [PHP] phpsadness

2011-06-03 Thread Larry Martell
On Fri, Jun 3, 2011 at 9:29 AM, Daniel Brown danbr...@php.net wrote:
 On Thu, Jun 2, 2011 at 22:14, Paul M Foster pa...@quillandmouse.com wrote:
 On Thu, Jun 02, 2011 at 01:02:26PM -0400, Daniel Brown wrote:

 On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
 
  So if I understand, you want an explode() with empty parameters to explode
  the host machine?

     That's correct.  If it causes too much userland confusion, we can
 alias it as detonate() as well.

 It would be so hilarious if this made it into the docs as a (spoof)
 command. I could see some n00b skimming over the docs and going, Wait,
 what--?

 Oh-- how about if the detonate() command just echoed a series of tick
 strings to the web page? Can't you just imagine the frantic tech support
 calls from n00b PHP coders to the tech support departments of their
 hosting companies? Oh crap oh crap! Pick up the phone already! Oh
 crap I'm so busted!

 Reminds me (obliquely) of an entry in the index for The C Programming
 Language for recursion, which points right back to that index page. I
 about doubled over when I first discovered it.

    That's hilarious.  I love subtle humor like that.

Check out intercal:

http://en.wikipedia.org/wiki/INTERCAL

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



Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 11:56 AM, Daniel Brown danbr...@php.net wrote:
    First of all, a happy Friday to all here.  Hopefully some of you
 will be able to pass this on to your boss and get sent home early.

    Second, as dreamed up in the previous thread, I've decided to take
 a few moments this morning to build and release a new PHP extension,
 which provides a single function: detonate().

    Third, you can read about it and download it here:
 http://links.parasane.net/29nh

    That's all, folks.

 --
 /Daniel P. Brown
 Network Infrastructure Manager
 http://www.php.net/

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



Why do you insist on invading my privacy by making me use your url
shortening service? :)

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



Re: [PHP] phpsadness

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:56 PM, Peter Lind peter.e.l...@gmail.com wrote:

 On 3 June 2011 17:36, Stuart Dallas stu...@3ft9.com wrote:
  On Fri, Jun 3, 2011 at 4:14 PM, Peter Lind peter.e.l...@gmail.com
 wrote:
 
  On Jun 3, 2011 4:52 PM, Paul M Foster pa...@quillandmouse.com
 wrote:
  
   On Fri, Jun 03, 2011 at 04:23:54PM +0200, Peter Lind wrote:
  
On Jun 3, 2011 3:48 PM, tedd tedd.sperl...@gmail.com wrote:

 At 1:02 PM -0400 6/2/11, Daniel Brown wrote:

 On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net
 wrote:


  So if I understand, you want an explode() with empty parameters
 to
explode
  the host machine?


That's correct.  If it causes too much userland confusion, we
 can
 alias it as detonate() as well.


 Yes, to be preceded with:

 echo('Alaho Akbar');

   
Nice ... any idea how many people you just insulted there?
  
   I'm guessing no one with an actual sense of humor.
  
   I suspect most people snickered at the joke and admired the chutzpah
 it
   took to post it.
  
 
  Admiring people that insult an entire religion? Really, it does not take
  chutzpah, it just takes ignorance or stupidity to do something like
 that.
  Nothing admirable about it.
 
  There's everything admirable about it. Religion is not special, and does
 not
  deserve any special treatment when it comes to critical comment. I can
 say
  anything I want about a particular political party and that's ok, but I
  can't express an opinion about a particular religion because it may cause
  offence?

 Tedd's comment suggested that muslims are suicide bombers. That's not
 a comment on religion, that's an insult to a large group of people.
 Learn to tell the difference.


I think you need to read it again. He said those who detonate would say
that, not the other way around.

 And that's not to mention the fact that tedd's comment is a fact - more
 than
  a few people have detonated in the name of their religion, and chances
 are
  that if someone does detonate themselves it will be in the name of their
  religion.

 And the vast majority of religious never have, nor never will detonate
 in the name of religion. Yet they are being targeted and put to hate
 just the same - then afterwards told to shut up and not feel offended.


You've just expanded the scope way beyond where it was. Religions don't
detonate anything, people do, whether they do it because their religion
encourages violence against non-believers or not. My point was and is
limited to a) my interpretation of tedd's comment did not extend to it being
a comment on a whole religion, and b) what you find offensive is not
objectively offensive.

 He didn't imply that everyone who follows that religion would do
  the same, but that's the only interpretation I can think of that would
 cause
  offence, so surely the offence is in the interpretation not the actual
  words.

 Ahh, I see, that's why he wrote Praise Jesus and not Alaho Akbar -
 he really didn't mean to say anything about muslims or islam as a
 whole, he only wanted to comment on religion in an abstract way.


I never said his comment wasn't related to a particular religion, just that
it didn't appear to me to be a comment on the religion so much as on those
who detonate themselves in the name of that religion.

 Offence, like all things, is in the eye of the beholder. If something
  offends you, take responsibility for the fact that it's because someone
 is
  challenging a belief that you don't want to be challenged so you're
 reacting
  against it. It's not because it is objectively offensive. There is
 nothing
  that is objectively offensive*.

 The fact that someone offends someone else is neither more nor less an
 issue just because the offence is subjective. If I hold a certain
 belief and you choose to stuff that down the toilet, you're a complete
 dick, whether or not my belief makes sense.


And this is where we disagree. Everyone is entitled to an opinion, and
they're also entitled to express that opinion, whether through humour or
simple statement. Tedd did not aim his comment at anyone in particular. He
didn't imply that anyone was guilty of anything they haven't done, or that
they hold beliefs they don't. He made a joke based on the fact that people
have detonated themselves in the name of their religion, specifically
muslims in this case, probably because it's topical. He could easily have
chosen other examples, but it wouldn't have been as humorous.

And for the record, Tedd did not challenge any beliefs. He just made a
 stupid joke at the expense of muslims.


All humour is at the expense of something, but why can I make a joke about
the clothes you choose to wear and get a laugh, but make a joke about your
religion and I've committed a crime? And that aside, I repeat that tedd did
not say anything about the religion, he simply referenced factual events.


  * Nothing is objectively 

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 4:56 PM, Daniel Brown danbr...@php.net wrote:

First of all, a happy Friday to all here.  Hopefully some of you
 will be able to pass this on to your boss and get sent home early.

Second, as dreamed up in the previous thread, I've decided to take
 a few moments this morning to build and release a new PHP extension,
 which provides a single function: detonate().

Third, you can read about it and download it here:
 http://links.parasane.net/29nh

That's all, folks.


You've got wy too much free time dude!

Tho I'd like to see a version that did the countdown with delayed echos :)

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/


Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Daniel Brown
On Fri, Jun 3, 2011 at 12:12, Eric Butera eric.but...@gmail.com wrote:

 Why do you insist on invading my privacy by making me use your url
 shortening service? :)

Because I've always hated you and everything it is for which you
stand.  I tell you that on your voicemail in the middle of the night
every night, you know that.

Plus, the links are so long that they're broken by most email
clients and archiving sites.  And, should I choose to update a link at
some point in the future, all I have to do is update it in the
database, and the archives around the world won't suffer the great
loss of information provided by one of the biggest idiots in the world
(namely, Yours Truly, of course).

Thanks for asking, Mr. Butera.  I thought we'd lost you for good here.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



RE: [PHP] phpsadness

2011-06-03 Thread Jasper Mulder

 Stuart Dallas wrote:
 
 [SNIP]

 And this is where we disagree. Everyone is entitled to an opinion, and
 they're also entitled to express that opinion, whether through humour or
 simple statement. 

Somehow in your response I taste that you don't like people, whose opinion 
is that not everybody has the right to express their opinion, expressing
their opinion. Which is an annoying fact about most free speech defenders 
and liberals. 

 [SNIP]
 I repeat that tedd did
 not say anything about the religion, he simply referenced factual events.
 [SNIP]

Whilst you may have a point here, I still think that we should be cautious
with saying what somebody else meant. After all, this is how misconceptions
and rumours are spread every day.

As a last, I must say that I liked this thread better when it considered PHP
only; though being aware that this post has only extended the list by one.
Let us get over it and get back to discussing what we all *do* like: PHP.

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



Re: [PHP] phpsadness

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 12:37 PM, Jasper Mulder lord_fa...@hotmail.com wrote:

 Stuart Dallas wrote:

 [SNIP]

 And this is where we disagree. Everyone is entitled to an opinion, and
 they're also entitled to express that opinion, whether through humour or
 simple statement.

 Somehow in your response I taste that you don't like people, whose opinion
 is that not everybody has the right to express their opinion, expressing
 their opinion. Which is an annoying fact about most free speech defenders
 and liberals.

 [SNIP]
 I repeat that tedd did
 not say anything about the religion, he simply referenced factual events.
 [SNIP]

 Whilst you may have a point here, I still think that we should be cautious
 with saying what somebody else meant. After all, this is how misconceptions
 and rumours are spread every day.

 As a last, I must say that I liked this thread better when it considered PHP
 only; though being aware that this post has only extended the list by one.
 Let us get over it and get back to discussing what we all *do* like: PHP.

 Best regards,
 Jasper Mulder

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



In the same vein it is a bit presumptuous to assume we all like PHP. :)

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



Re: [PHP] phpsadness

2011-06-03 Thread Marc Guay
What's PHP?  I thought this was the
top-posting-etiquette-discussion-and-simmering-race-war group.

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



Re: [PHP] phpsadness

2011-06-03 Thread Eric Butera
On Fri, Jun 3, 2011 at 1:05 PM, Marc Guay marc.g...@gmail.com wrote:
 What's PHP?  I thought this was the
 top-posting-etiquette-discussion-and-simmering-race-war group.

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



I just wanted to do my part to add to the noise-to-signal ratio.
Thanks for assisting!

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



Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-03 Thread Paul M Foster
On Fri, Jun 03, 2011 at 11:56:21AM -0400, Daniel Brown wrote:

 First of all, a happy Friday to all here.  Hopefully some of you
 will be able to pass this on to your boss and get sent home early.
 
 Second, as dreamed up in the previous thread, I've decided to take
 a few moments this morning to build and release a new PHP extension,
 which provides a single function: detonate().
 
 Third, you can read about it and download it here:
 http://links.parasane.net/29nh

+1!

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



Re: [PHP] phpsadness

2011-06-03 Thread tedd

At 4:23 PM +0200 6/3/11, Peter Lind wrote:
On Jun 3, 2011 3:48 PM, tedd 
mailto:tedd.sperl...@gmail.comtedd.sperl...@gmail.com wrote:

 That's correct.  If it causes too much userland confusion, we can
  alias it as detonate() as well.



  Yes, to be preceded with:



  echo('Alaho Akbar');
 

Nice ... any idea how many people you just insulted there?


Nope, and I don't think you do either.

Instead, I think you saw an opportunity to be politically correct 
and rise to the occasion in righteous indignation.


That's Okay, but the problem with politically correctness is that 
it often suppresses the truth in favor of meaningless sensitivity.


Unfortunately, the inconvenient truth is that phrase *IS* being 
spoken before killing innocent men, women, and children supposedly in 
the name of God. If anyone should be insulted, it should be those 
families who's that practice has killed, maimed, and injured -- as 
well -- as the followers of that religion who allow such practices to 
continue.


My stupid little joke has no meaning in the overall scheme of things 
as does your righteous indignation -- so, with all due respect, blow 
it out your shorts. :-)


Cheers,

tedd

--
---
http://sperling.com/

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



[PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Floyd Resler
I am having a really odd Apache2/PHP problem.  My employer set up a new Web 
server to migrate our Web sites to.  One site requires a log in and I have the 
ability to log in a someone else.  However, when I do this, Apache throws a 
Segmentation fault error.  It's happening when it tries to get user information 
from the database of the user I'm logged in as.  The data is stored in a FoxPro 
database and is retrieved through ODBC.  What is really odd is that the same 
functions work fine until I log in as someone. All this does is swap my id with 
the person I'm logging in as in the session variable.  I have no idea why this 
is happening.  So, I'm hoping someone may have some ideas or point in the right 
direction to find answers.

Thanks!
Floyd


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



Re: [PHP] php causes HTTP 500, but results in blank page in apache

2011-06-03 Thread Tamara Temple


On Jun 2, 2011, at 7:09 PM, Stephon Chen wrote:


Hello Sean,

1. while I directed connected to these error pages such as 403, 404,  
and 500.html,

they works correctly, showing correct error page

2. but while I use something like header('HTTP/1.1 500') to trigger  
apache 500

the content of 500.html does not show, but blank page only.
both header('HTTP/1.1 403') and header('HTTP/1.1 404') shows the  
correct custom error page.


Thanks a lot
--
stephon

On Fri, Jun 3, 2011 at 07:21, Sean Greenslade  
zootboys...@gmail.com wrote:
So do you get the contents of that page in the response? What  
happens when you browse to that page manually?


On Jun 1, 2011 2:14 AM, Stephon Chen step...@gmail.com wrote:
 All 403, 404, 500.html are static html pages like:

 div
 500 error happens
 /div

 On Wed, Jun 1, 2011 at 14:10, Tamara Temple  
tamouse.li...@gmail.com wrote:



 On May 31, 2011, at 8:14 AM, Stephon Chen wrote:

 Hello Sean,

 Here is my apache config for error handling.
 403, 404 works fine, but 500 shows blank page

 Alias /errorpage/ /usr/local/www/apache22/errorpage/
 Directory /usr/local/www/apache22/errorpage/
 AllowOverride None
 Options -Indexes FollowSymLinks MultiViews
 Order allow,deny
 Allow from all
 /Directory
 #
 ErrorDocument 403 /errorpage/403.html
 ErrorDocument 404 /errorpage/404.html
 ErrorDocument 500 /errorpage/500.html


 What's in 500.html?





Stephen,

This doesn't quite work how you're expecting it to.

If you have a php script that emits a 500 server error header, *you*  
have to supply the document contents. Thus:


?php
header('HTTP/1.1 500 Server Error');
include('/path/to/error_docs/500.html');
?

Will get you what you want.




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



Re: [PHP] phpsadness

2011-06-03 Thread Peter Lind
On 3 June 2011 20:42, tedd tedd.sperl...@gmail.com wrote:
 At 4:23 PM +0200 6/3/11, Peter Lind wrote:

 On Jun 3, 2011 3:48 PM, tedd
 mailto:tedd.sperl...@gmail.comtedd.sperl...@gmail.com wrote:
      That's correct.  If it causes too much userland confusion, we can
   alias it as detonate() as well.

   Yes, to be preceded with:

   echo('Alaho Akbar');
  

 Nice ... any idea how many people you just insulted there?

 Nope, and I don't think you do either.

 Instead, I think you saw an opportunity to be politically correct and rise
 to the occasion in righteous indignation.

I think you'll do anything to avoid facing the fact that you might
indeed have done some morally wrong. Or maybe I don't. It doesn't
matter - the question is whether or not you actually insulted a large
group of people by suggesting that detonate() should be prefixed with
echo Alaho akbar;

 That's Okay, but the problem with politically correctness is that it often
 suppresses the truth in favor of meaningless sensitivity.

We agree here, but unfortunately for you that's not the point being discussed.

 Unfortunately, the inconvenient truth is that phrase *IS* being spoken
 before killing innocent men, women, and children supposedly in the name of
 God. If anyone should be insulted, it should be those families who's that
 practice has killed, maimed, and injured -- as well -- as the followers of
 that religion who allow such practices to continue.

Do you feel better knowing you may have insulted even more people?
Does that thought even occur to you?

 My stupid little joke has no meaning in the overall scheme of things as does
 your righteous indignation -- so, with all due respect, blow it out your
 shorts. :-)

No, see, there's the problem. Your stupid little joke just makes it a
little bit harder to actually cross the gap between the different
cultures. And while that may be fine for you, I'd prefer actually
being able to speak to people from other cultures about the problems
we face. Having someone suggest that bombs go Alaho akbar before
they detonate don't help in any way, as that just promotes two
stereotypes: that suicide bombers are muslims, and that westerners are
stupid jerks that think all muslims are terrorists.

Anyway, I won't bother you with my political correctness any more -
the list has reached a too high noise-and-bs-to-signal ratio for me.

Peter

-- 
hype
WWW: plphp.dk / plind.dk
LinkedIn: plind
BeWelcome/Couchsurfing: Fake51
Twitter: kafe15
/hype

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



Re: [PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Daniel P. Brown
On Fri, Jun 3, 2011 at 15:12, Floyd Resler fres...@adex-intl.com wrote:
 I am having a really odd Apache2/PHP problem.  My employer set up a new Web 
 server to migrate our Web sites to.  One site requires a log in and I have 
 the ability to log in a someone else.  However, when I do this, Apache throws 
 a Segmentation fault error.  It's happening when it tries to get user 
 information from the database of the user I'm logged in as.  The data is 
 stored in a FoxPro database and is retrieved through ODBC.  What is really 
 odd is that the same functions work fine until I log in as someone. All this 
 does is swap my id with the person I'm logging in as in the session variable. 
  I have no idea why this is happening.  So, I'm hoping someone may have some 
 ideas or point in the right direction to find answers.

A lot of times, this happens because of a bad module,
poorly-compiled core or extension, missing dependencies, or even
mismatched architecture (for example, trying to run x86_64 code on an
i386 platform).  Do you have the capability to recompile PHP and the
extensions?

Also, presuming the logs strictly show segmentation fault (which
is less than helpful, I know), are there any filesystem logs that
might give a hint, such as bad blocks on the drive?  Have you tried
running an fsck on the drive?

Finally, you may want to check your core dumps and see if you can
glean any hints from there.  The file sizes themselves may even be
helpful --- for example, are you running out of disk space or memory
on that box when the code is executing?


-- 
/Daniel P. Brown
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/

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



Re: [PHP] phpsadness

2011-06-03 Thread David Harkness
The original PHP Sadness page didn't actually make me sad. This thread,
however, *is*. Can we all agree that we have different opinions on what
makes an appropriate joke and move on?

Here's to less sadness in the world . . .

David


Re: [PHP] phpsadness

2011-06-03 Thread Haig Dedeyan

On 11-06-03 04:47 PM, David Harkness wrote:

The original PHP Sadness page didn't actually make me sad. This thread,
however, *is*. Can we all agree that we have different opinions on what
makes an appropriate joke and move on?

Here's to less sadness in the world . . .

David


Here's some joy for all of us

http://damnyouautocorrect.com/

warning - do not read with kids near the monitor

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



RE: [PHP] phpsadness - P.C. shmee seee.

2011-06-03 Thread Daevid Vincent
  Reminds me (obliquely) of an entry in the index for The C Programming
  Language for recursion, which points right back to that index page. I
  about doubled over when I first discovered it.
 
 That's hilarious.  I love subtle humor like that.

This whole thread seems to echo the original subject recursively too... ;-)

How sad this topic has devolved from what was IMHO a fairly honest page someone 
created (with valid grievances) to one of religion and name calling. 

I tried to avoid commenting at all but I do have to agree with Tedd here:

 Instead, I think you saw an opportunity to be politically correct
 and rise to the occasion in righteous indignation.

I personally think Politically Correctness is a load of $h!t and causes more 
harm and trouble than it's worth. I'm so sick of it being dictated to me 
everywhere from media to schools to work to now even a programming language 
list. People need thicker skins. If you are so easily offended, then block that 
person's email from your mailbox. It's called the 1st Amendment. I may not 
agree with, or even like the things you say, but I'll defend to the death your 
right to say it -- whatever it is! I don't agree with radical Muslims wanting 
to kill me either, but I'll defend their right to protest and say whatever they 
want (as long as it's true!). Same goes for KKK or any other extremist group.

http://en.wikipedia.org/wiki/First_Amendment_to_the_United_States_Constitution

Ross Perot said it best, every time you pass a new law, you give up some of 
your freedoms.
And this P.C. crap is just an un-official law that is being imposed on people.

People aren't visually impaired, they are blind. They're not dwarfs or 
little people, they're midgets. A retard is handicapped and isn't 
mentally challenged. (there, how many people did I just offend?) DEAL WITH 
IT. I have a big nose and I'm balding from Alopecia -- I'm not olfactory 
gifted or follicly deficient either. Didn't your mommas ever teach you, 
sticks and stones will break my bones, but names can never hurt me??

And don’t even get me started on stereotypes -- because those are based on 
true observations too! If you don't like your stereotype, then collectively as 
a people, you need to change it. we didn’t make up your stereotype, you 
did! We just noticed it and pointed it out to you -- you're welcome.

...and watch this:
http://www.youtube.com/watch?v=iqVhtHapFW4

http://www.youtube.com/watch?v=UnDIvZKs4dA

http://www.metacafe.com/watch/457799/allahu_akbar/

http://nation.foxnews.com/germany-airport-shooting/2011/03/03/obama-administration-refuses-call-attack-germany-act-terrorism

shoot, I wouldn't be surprised if I just got myself on some government watch 
list now that I googled for those videos! 

...let the ~/.procmailrc filters begin!

Here use this:

:0
* ^FROM.*daevid
| (echo From: POSTMASTER@YOUR_NAME_HERE.com; \
   echo To: $FROM; \
   echo Subject: You have lost your email privileges to me you politically 
incorrect P.O.S.; \
   echo ;\
   echo I have banned you from emailing me and I hope you die painfully.\n \
  ) | $SENDMAIL -oi -t
/dev/null

...actually, I do have some good ones here:
http://daevid.com/content/examples/procmail.php

:)


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



RE: [PHP] phpsadness

2011-06-03 Thread Daevid Vincent
Damn. Ironically, I wanted to write something short and succinct like that
... then I got all worked up and started to rant. Well said 'guy with my
same name'. :)

 -Original Message-
 From: David Harkness [mailto:davi...@highgearmedia.com]
 Sent: Friday, June 03, 2011 1:47 PM
 To: PHP General
 Subject: Re: [PHP] phpsadness
 
 The original PHP Sadness page didn't actually make me sad. This thread,
 however, *is*. Can we all agree that we have different opinions on what
 makes an appropriate joke and move on?
 
 Here's to less sadness in the world . . .
 
 David


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