Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Rasmus Lerdorf
On 02/07/2013 10:25 AM, Nikita Popov wrote: > On Thu, Feb 7, 2013 at 2:39 PM, Christoph Rosse wrote: > >> why wouldn't this go into core? setting the name of the current >> php-process is definitely something everyone that develops php-cli scripts >> could use. >> > I use a lot of php-cli scripts

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Keyur Govande
Addressing a bunch of comments at once: 1) I've removed is_available and renamed the set/get methods to: cli_process_title_set/get. I've also removed the test dependencies on pcntl and posix. The patch is updated: https://gist.github.com/keyurdg/4728770 2) Updated the RFC's introduction section wit

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Nikita Popov
On Thu, Feb 7, 2013 at 2:39 PM, Christoph Rosse wrote: > why wouldn't this go into core? setting the name of the current > php-process is definitely something everyone that develops php-cli scripts > could use. > I use a lot of php-cli scripts and I've never seen the need. Without having hard data

Re: [PHP-DEV] PHP 5.4.11 tests: floating point diff

2013-02-07 Thread Levi Morrison
I have a confirmed bug with Intel Engineering. For clarification purposes here, it only happens on 64-bit bit versions of icc and possibly only on Linux. If you link against the math library using `-lm` then this goes away at the cost of performance (though a negligible cost I would guess). Thanks

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Christoph Rosse
Am 2013-02-07 14:57, schrieb Christoph Rosse: Am 2013-02-07 14:00, schrieb Alexey Zakhlestin: On 07.02.2013, at 16:33, Leigh wrote: Why does this need to be in core? This could just be done as a set of improvements to the existing PECL extension instead. I'd guess that the number of people w

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Arvids Godjuks
Hello internals. I'm actually using proctitle extension and it's very handy because we run like 10+ daemons written in PHP that we manage. Without it we would be lost :) But the actual awareness of the proctitle PECL extension is very low. Also it does not work on windows. I'm all over the idea to

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Christoph Rosse
Am 2013-02-07 14:00, schrieb Alexey Zakhlestin: On 07.02.2013, at 16:33, Leigh wrote: Why does this need to be in core? This could just be done as a set of improvements to the existing PECL extension instead. I'd guess that the number of people who require (and would use) this functionality

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Christoph Rosse
Am 2013-02-07 13:33, schrieb Leigh: On 7 February 2013 12:22, Alexey Zakhlestin wrote: On 07.02.2013, at 13:54, Leigh wrote: There is a PECL extension that already does something similar. You may want to take a look at that. http://pecl.php.net/package/proctitle Did you read RFC? Keyu

Re: [PHP-DEV] operator-0.3 extension update

2013-02-07 Thread Gabriel Wu
On Thu, Feb 7, 2013 at 7:03 PM, Harald Lapp wrote: > Am 07.02.13 11:40, schrieb Michael Wallner: > >>> great, that someone is updating this extension. will you also offer an >>> updated version for php-5.5 later (if it does not already work)? i just >>> wanted to give it a try, but there seems to

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Alexey Zakhlestin
On 07.02.2013, at 16:33, Leigh wrote: > Why does this need to be in core? This could just be done as a set of > improvements to the existing PECL extension instead. I'd guess that the > number of people who require (and would use) this functionality is very very > small indeed. well, 2 reaso

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Michael Wallner
On 7 February 2013 13:33, Leigh wrote: > On 7 February 2013 12:22, Alexey Zakhlestin wrote: > >> >> On 07.02.2013, at 13:54, Leigh wrote: >> >> > There is a PECL extension that already does something similar. You may >> want >> > to take a look at that. >> > >> > http://pecl.php.net/package/proc

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Leigh
On 7 February 2013 12:22, Alexey Zakhlestin wrote: > > On 07.02.2013, at 13:54, Leigh wrote: > > > There is a PECL extension that already does something similar. You may > want > > to take a look at that. > > > > http://pecl.php.net/package/proctitle > > Did you read RFC? > Keyur mentions it and

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Alexey Zakhlestin
On 07.02.2013, at 13:54, Leigh wrote: > There is a PECL extension that already does something similar. You may want > to take a look at that. > > http://pecl.php.net/package/proctitle Did you read RFC? Keyur mentions it and its limitations there -- Alexey Zakhlestin https://github.com/indey

Re: [PHP-DEV] operator-0.3 extension update

2013-02-07 Thread Harald Lapp
Am 07.02.13 11:40, schrieb Michael Wallner: great, that someone is updating this extension. will you also offer an updated version for php-5.5 later (if it does not already work)? i just wanted to give it a try, but there seems to be a problem with the uploaded package: it seems to only contain t

Re: [PHP-DEV] operator-0.3 extension update

2013-02-07 Thread Michael Wallner
> great, that someone is updating this extension. will you also offer an > updated version for php-5.5 later (if it does not already work)? i just > wanted to give it a try, but there seems to be a problem with the uploaded > package: it seems to only contain the "package.xml"? % tar -i -- Rega

Re: [PHP-DEV] operator-0.3 extension update

2013-02-07 Thread Harald Lapp
Am 06.02.13 14:14, schrieb Gabriel Wu: On Wed, Feb 6, 2013 at 7:28 PM, Ferenc Kovacs wrote: I think mentioning Sara as a sponsor would weight in more than myself. ;) Oh, you aren't the one approving the application? Anyway I was wondering how to go about submitting the update - are there

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Leigh
There is a PECL extension that already does something similar. You may want to take a look at that. http://pecl.php.net/package/proctitle On 7 February 2013 05:40, Keyur Govande wrote: > Hello, > > I've created a new RFC to improve support for setting a CLI process' title > on Linux. It is bas

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Michael Wallner
On 7 February 2013 09:37, Christoph Rosse wrote: > Am 2013-02-07 08:45, schrieb Alexey Zakhlestin: > >> >> On 07.02.2013, at 9:40, Keyur Govande wrote: >> >>> Hello, >>> >>> I've created a new RFC to improve support for setting a CLI process' >>> title >>> on Linux. It is based off of the Postgre

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Christoph Rosse
Am 2013-02-07 08:45, schrieb Alexey Zakhlestin: On 07.02.2013, at 9:40, Keyur Govande wrote: Hello, I've created a new RFC to improve support for setting a CLI process' title on Linux. It is based off of the PostgreSQL implementation and is more robust than the proctitle extension. More det

Re: [PHP-DEV] [RFC] Improved Linux process title support in the CLI SAPI

2013-02-07 Thread Ivan Enderlin @ Hoa
Hi Keyur, On 07/02/13 06:40, Keyur Govande wrote: Hello, I've created a new RFC to improve support for setting a CLI process' title on Linux. It is based off of the PostgreSQL implementation and is more robust than the proctitle extension. More details and patch here: https://wiki.php.net/rfc