php-general Digest 26 Jul 2012 10:13:01 -0000 Issue 7898
Topics (messages 318555 through 318563):
Re: What do you call the end-user?
318555 by: Shawn McKenzie
318556 by: Paul M Foster
Re: E_STRICT safe PEAR
318557 by: Sebastian Krebs
318558 by: Lester Caine
318559 by: Sebastian Krebs
318560 by: Lester Caine
318561 by: Sebastian Krebs
318562 by: Lester Caine
How to write and read serial or parallel port
318563 by: viper
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On 07/19/2012 12:26 PM, Tedd Sperling wrote:
> Hi gang:
>
> I can't wait for tomorrow -- so here's my off-topic post today.
>
> First question:
>
> What do you call the people who ultimately use your code?
Many times I would call them dumb asses. Especially many of the users
of free software. Even with clear detailed user guides and the fact
that it is free, they are indignant about a missing feature or having to
look in the docs for anything.
--
Thanks!
-Shawn
http://www.spidean.com
--- End Message ---
--- Begin Message ---
On Tue, Jul 24, 2012 at 10:12:34AM -0500, Shawn McKenzie wrote:
> On 07/19/2012 12:26 PM, Tedd Sperling wrote:
> > Hi gang:
> >
> > I can't wait for tomorrow -- so here's my off-topic post today.
> >
> > First question:
> >
> > What do you call the people who ultimately use your code?
>
> Many times I would call them dumb asses. Especially many of the users
> of free software. Even with clear detailed user guides and the fact
> that it is free, they are indignant about a missing feature or having to
> look in the docs for anything.
Very true. Also, apparently in some quarters, "free" == "worthless". But
in the case of FOSS, nothing could be further from the truth.
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com
--- End Message ---
--- Begin Message ---
Hi,
I'm using Ubuntu, but here you can update the "system packages" with the
pear executable too
$ sudo pear update-channels && sudo pear upgrade --alldeps
Regards,
Sebastian
Am 24.07.2012 17:05, schrieb Lester Caine:
Not sure the best place to ask this ...
I've worked through all of my own codebase to eliminate E_STRICT
warnings/errors and now I'm working on the more basic ones coming from
PEAR such as
PHP Strict Standards: Non-static method PEAR::isError() should not be
called statically
Since these are installed by the distribution, in my case SUSE12.1, is
there a better version to download that is E_STRICT clean? Or o I h2ve
to work through that as well for the modules that the third party
libraries are picking up?
--- End Message ---
--- Begin Message ---
Sebastian Krebs wrote:
Hi,
I'm using Ubuntu, but here you can update the "system packages" with the pear
executable too
$ sudo pear update-channels && sudo pear upgrade --alldeps
The question is - Is the result E_STRICT safe?
I've got what I think is the latest from SUSE12.1 but with PHP5.4 I have to
disable E_STRICT again in order to use anything from it ...
Regards,
Sebastian
Am 24.07.2012 17:05, schrieb Lester Caine:
Not sure the best place to ask this ...
I've worked through all of my own codebase to eliminate E_STRICT
warnings/errors and now I'm working on the more basic ones coming from
PEAR such as
PHP Strict Standards: Non-static method PEAR::isError() should not be
called statically
Since these are installed by the distribution, in my case SUSE12.1, is
there a better version to download that is E_STRICT clean? Or o I h2ve
to work through that as well for the modules that the third party
libraries are picking up?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
Am 24.07.2012 18:46, schrieb Lester Caine:
Sebastian Krebs wrote:
Hi,
I'm using Ubuntu, but here you can update the "system packages" with
the pear
executable too
$ sudo pear update-channels && sudo pear upgrade --alldeps
The question is - Is the result E_STRICT safe?
Would say: Depends on the package you use. I don't use PEAR-packages
myself, thus I don't really know. I would say: Try it out :) Test it on
your dev-machine, or within a vm and nothing can break.
I've got what I think is the latest from SUSE12.1 but with PHP5.4 I have
to disable E_STRICT again in order to use anything from it ...
Regards,
Sebastian
Am 24.07.2012 17:05, schrieb Lester Caine:
Not sure the best place to ask this ...
I've worked through all of my own codebase to eliminate E_STRICT
warnings/errors and now I'm working on the more basic ones coming from
PEAR such as
PHP Strict Standards: Non-static method PEAR::isError() should not be
called statically
Since these are installed by the distribution, in my case SUSE12.1, is
there a better version to download that is E_STRICT clean? Or o I h2ve
to work through that as well for the modules that the third party
libraries are picking up?
--- End Message ---
--- Begin Message ---
Sebastian Krebs wrote:
The question is - Is the result E_STRICT safe?
Would say: Depends on the package you use. I don't use PEAR-packages myself,
thus I don't really know. I would say: Try it out :) Test it on your
dev-machine, or within a vm and nothing can break.
Sebastian I'm asking because what I have, which I think is the latest version of
PEAR, is throwing numerous E_STRICT errors!
I'm trying to establish if this is actually correct, and that PEAR has never
been brought up to date, or I'm still hitting a pre E_STRICT version. I suspect
the former which is not very helpful when I've been told simply to fix my own
E_STRICT problems ... I don't have time to rework PEAR as well as the libraries
I've already fixed :(
So is E_STRICT simply something that should be thrown in the bin and the
defaulting ON in PHP5.4 is somewhat premature?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
Am 24.07.2012 22:41, schrieb Lester Caine:
Sebastian Krebs wrote:
The question is - Is the result E_STRICT safe?
Would say: Depends on the package you use. I don't use PEAR-packages
myself,
thus I don't really know. I would say: Try it out :) Test it on your
dev-machine, or within a vm and nothing can break.
Sebastian I'm asking because what I have, which I think is the latest
version of PEAR, is throwing numerous E_STRICT errors!
Didn't you say you use the builtin packages from suse? I guess they are
_not_ the latest :X
I'm trying to establish if this is actually correct, and that PEAR has
never been brought up to date, or I'm still hitting a pre E_STRICT
version.
As mentioned: That depends on the packages. There are packages, that are
completely unmaintained nowadays. However, I have some tools, that
relies on PEAR-packages and I've seen no E_STRICT for a while now, which
makes me think, that at least some, if not all, are PHP5.4-compliant.
I suspect the former which is not very helpful when I've been
told simply to fix my own E_STRICT problems ... I don't have time to
rework PEAR as well as the libraries I've already fixed :(
So is E_STRICT simply something that should be thrown in the bin and the
defaulting ON in PHP5.4 is somewhat premature?
On my dev machine I use the same settings and it works well (I use
Ubuntu, but I cannot imagine, that this makes such a huge difference).
Did you try this in the meantime? (Replace "sudo" with the "execute as
root" suse uses ;))
$ sudo pear update-channels
$ sudo pear upgrade pear
$ sudo pear update-channels
$ sudo pear updrade --alldeps
Don't know, if 'update-channels' twice is really required, but it's
doesn't hurt and I have the pear installer in mind with some curious
behaviours ;)
--- End Message ---
--- Begin Message ---
Sebastian Krebs wrote:
Didn't you say you use the builtin packages from suse? I guess they are _not_
the latest :X
I'm trying to establish if this is actually correct, and that PEAR has
never been brought up to date, or I'm still hitting a pre E_STRICT
version.
As mentioned: That depends on the packages. There are packages, that are
completely unmaintained nowadays. However, I have some tools, that relies on
PEAR-packages and I've seen no E_STRICT for a while now, which makes me think,
that at least some, if not all, are PHP5.4-compliant.
http://pear.php.net/package/PEAR lists 1.9.4 as the current release, and this is
what has been loaded. PEAR::isError() is not defined as 'static', therefore the
error I am seeing.
http://pear.php.net/bugs/bug.php?id=19491
Many of the System.php functions are not static, but are called statically so I
am getting more suspicious that PEAR is simply not compatible with E_STRICT.
Simply adding 'static' against each function seems to have cleared all my
current messages.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--- End Message ---
--- Begin Message ---
hi all!
is it possible to write and read data on a COM or LPT port?
is there any function or class in PHP?
anyone has already done something similar?
thanks,
viper
--
+ http://vipertechnology.dyndns.org
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
+ http://vipertechnology.dyndns.org/cotnact/
--- End Message ---