[PHP-DEV] Re: PHP support for matrix operations - BLAS, LAPACK.

2023-01-04 Thread j adams
://github.com/RubixML/Tensor/issues/33 It's surprisingly difficult to get fast matrix operations in PHP, given how fundamental they are to machine learning. On Sat, Dec 17, 2022 at 11:51 AM j adams wrote: > Christopher: > > I have carefully followed the instructions under 'Man

[PHP-DEV] Re: PHP support for matrix operations - BLAS, LAPACK.

2022-12-17 Thread j adams
pile-extension> On Tue, Dec 6, 2022 at 6:29 AM Christoph M. Becker wrote: > On 05.12.2022 at 20:05, j adams wrote: > > > Christoph, thanks for this tip. > > > > Unfortunately, pecl refuses to install Tensor either on my Macbook Pro or > > on my Ubuntu 20 works

[PHP-DEV] PHP support for matrix operations - BLAS, LAPACK.

2022-12-04 Thread j adams
I apologize if I have the wrong mailing list here. I'm hoping ot ask the PHP developer community if there's any appetite for functions to handle matrix operations and scientific computing. I took a course on machine learning which had us code solutions using matlab/octave. This year I embarked on

[PHP-DEV] incorrect mysqli_query return value? or documentation problem?

2021-01-09 Thread j adams
I apologize for troubling the list again, but I sent an email on the 5th which has so far received no response. Archived here: https://news-web.php.net/php.internals/112755 Put simply, the mysqli_query function does not return a boolean value as the documentation says it should. Is this an error w

[PHP-DEV] english documentation list?

2021-01-04 Thread j adams
Hello! I apologize for troubling this list. I found a problem with the english language documentation on mysqli_query and have attempted to send an email to php...@lists.php.net but am totally unsure if anyone will ever receive it. In any case, I expect the documentation people may need some help c

[PHP-DEV] Problems with mysqli code and documentation

2020-02-14 Thread j adams
I had considerable difficulty getting mysqli_connect to use SSL/TSL to connect to a db and I think some things need to be improved. I apologize for also describing documentation issues here, but I'll describe the coding issues first. I may need some help to prompt the documentation team to remedy s

Re: [PHP-DEV] [RFC] deprecate md5_file and sha1_file

2020-02-10 Thread j adams
I disagree. While MD5 and SHA1 might not be suitable for modern cryptographic operations, these functions might be needed for legacy situations -- e.g., munging through old data. On Mon, Feb 10, 2020 at 1:50 PM Tom Van Looy via internals < internals@lists.php.net> wrote: > Hi > > While in some e

[PHP-DEV] what's the official position on apache threaded environments

2018-03-21 Thread j adams
So what's the story with PHP and multithreaded environments these days? Does this statement on the PHP website still stand? http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2 Seems a bit archaic these days to eschew multithreaded environments, doesn't it? More specific que

[PHP-DEV] filter_var url validation needs help

2017-05-11 Thread j adams
Forgive me if I'm contacting the wrong list. If I am, someone please tell me who I should contact about this. I have been telling noob programmers for years to use filter_var with FILTER_VALIDATE_URL to validate urls but recently ran into some pretty disappointing behavior with it. It would appear

[PHP-DEV] amfext: a little weird behavior, a couple of memory leaks

2015-10-02 Thread j adams
I'm making slow progress on an updated version of AMFEXT. Most of the encoding functionality is complete but I'm struggling a bit with the decoding functions because I need to return zvals and other objects. In particular, I'm getting some memory leak notifications and I'm also getting some weird b

Re: [PHP-DEV] good example of unserialization fundamentals?

2015-09-30 Thread j adams
o on. [0] http://lxr.php.net/xref/PHP_5_6/ext/json/json.c#683 On Wed, Sep 30, 2015 at 1:58 PM, Sean DuBois wrote: > On Wed, Sep 30, 2015 at 01:39:26PM -0700, j adams wrote: > > I have completed a first draft of serialization functionality which is > > intended to be an upda

[PHP-DEV] good example of unserialization fundamentals?

2015-09-30 Thread j adams
I have completed a first draft of serialization functionality which is intended to be an updated to amfext. It's on github[0] if anyone is interested. I would now like to write all the unserialization routines and would like some suggestions from experienced php devs. I've been reading Sara Golemon

[PHP-DEV] recommended .gitignore for PHP/PECL extensions

2015-09-25 Thread j adams
I have made good progress on a PHP extension and I'd like to post it on github to get some review and help from some others. The folder has quite a few files and I'm hoping to avoid putting anything in git that doesn't need to be there. I see that php 5.6 has this .gitignore file: http://git.php.n

Re: [PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-24 Thread j adams
Thank you for this, Sean! I'm making headway for php 5.5/5.6. This should come in handy when/if I get around to PHP 7. On Wed, Sep 23, 2015 at 3:35 PM, Sean DuBois wrote: > On Wed, Sep 23, 2015 at 02:16:39PM -0700, j adams wrote: > > Not my intention to be combative, but wha

Re: [PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-24 Thread j adams
php_printf("dynamic property is %s, key_len is %d\n", prop_name, key_len); } } zend_hash_move_forward_ex(zobj->properties, &pos); } } On Thu, Sep 24, 2015 at 1:34 PM, Rowan Collins wrote: > On

Re: [PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-23 Thread j adams
e, &prop_name); php_printf("dynamic property is %s, key_len is %d\n", prop_name, key_len); } } zend_hash_move_forward_ex(zobj->properties, &pos); } } On Wed, Sep 23, 2015 at 1:33 PM, Rowan Collins wrote:

Re: [PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-23 Thread j adams
ass_name, &prop_name); php_printf("dynamic property is %s, key_len is %d\n", prop_name, key_len); } } zend_hash_move_forward_ex(zobj->properties, &pos); } } On Tue,

Re: [PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-22 Thread j adams
istinct object type. On Tue, Sep 22, 2015 at 12:32 PM, Sean DuBois wrote: > On Tue, Sep 22, 2015 at 11:16:46AM -0700, j adams wrote: > > I'm working on a data serialization routine wherein I must iterate > through > > an object's properties while distinguishing between

[PHP-DEV] Data serialization of objects, want to iterate 'sealed' properties then dynamic ones

2015-09-22 Thread j adams
I'm working on a data serialization routine wherein I must iterate through an object's properties while distinguishing between "sealed" properties (i.e., those specified by class definitions) and "dynamic" properties" (i.e., those assigned ad-hoc to some object that are not party of any class defin

Re: [PHP-DEV] Is OpCache enabled by default in php 5.5 and later or not?

2015-03-05 Thread j adams
ation at the top of google search results. On Thu, Mar 5, 2015 at 9:11 AM, Rowan Collins wrote: > j adams wrote on 05/03/2015 16:12: > > I don't know if this is a question for the documentation team or not, but >> figured I'd start here. There does not appear to be any

[PHP-DEV] Is OpCache enabled by default in php 5.5 and later or not?

2015-03-05 Thread j adams
I don't know if this is a question for the documentation team or not, but figured I'd start here. There does not appear to be any definitive, clear, reliable information on PHP's op caching functionality in recent 5.* versions and this problem needs to be remedied. Question 1: Is OpCache enabled b

Re: [PHP-DEV] filter_var doesn't support international email addresses

2015-02-16 Thread j adams
ey plan to support RFC6530: http://googleblog.blogspot.com/2014/08/a-first-step-toward-more-global-email.html On Fri, Feb 6, 2015 at 7:14 AM, Rowan Collins wrote: > j adams wrote on 06/02/2015 00:05: > > Please let me know which mailing list address to use if I have sent this >

[PHP-DEV] filter_var doesn't support international email addresses

2015-02-05 Thread j adams
Please let me know which mailing list address to use if I have sent this to the wrong list. filter_var does not properly validate emails with international characters. For example, this returns FALSE: var_dump(filter_var("Pelé@example.com", FILTER_VALIDATE_EMAIL)); Are there any plans to impleme

[PHP-DEV] Recommended ignore list for GIT/SVN?

2013-01-09 Thread J. Adams
Is there any official/doctrinal list of file types for a GIT/SVN ignore list when working on a PECL extension? I've been snooping around and found the following (from http://stackoverflow.com/questions/85353/best-general-svn-ignore-pattern) but was wondering if there was any ignore list that i

Re: [PHP-DEV] writing pecl's?

2012-12-30 Thread J. Adams
Please note: I'm hardly an advanced developer and have yet to produce any viable PHP extension. That said, I have found this book to be helpful: http://www.amazon.com/Extending-Embedding-PHP-Sara-Golemon/dp/067232704X All these links and books are probably dated in some respects, but will hel

[PHP-DEV] Compiling PHP on Windows 7 - wiki needs update

2012-12-24 Thread j adams
Hello all: I'm not sure if this is the right place to ask this question, but I'm wondering if there might be an update available for this wiki describing how to compile on Windows: https://wiki.php.net/internals/windows/stepbystepbuild In particular, there are a couple of aspects to that wiki ent

Re: [PHP-DEV] Alternatives to mailing list?

2012-10-16 Thread J. Adams
I agree. VBulletin rules. It also permits voluntary participation rather than getting every email for ever conversation. Should you prefer to get everything via email, I believe it is possible to sync VBulletin with a mailing list. On 10/16/2012 5:18 PM, Yahav Gindi Bar wrote: I may sound ol

Re: [PHP-DEV] Re: Time zone database shut down by legal threat

2011-10-07 Thread J. Adams
Is the IANA tz database subject to the same constraints as the old one? If so, it may be subject to the same legal constraints. I believe it would be wise to seek some quality legal advice on the issue. I have tried to contact the Free Software Foundation and the EFF just to see what they mig

Re: [PHP-DEV] Time zone database shut down by legal threat

2011-10-06 Thread J. Adams
Perhaps we could all contact Astrolabe and voice our complaints? http://alabe.com/ On 10/6/2011 3:24 PM, David Zülke wrote: FYI: http://blog.joda.org/2011/10/today-time-zone-database-was-closed.html This could impact PHP as well since it bundles the database. David P.S. I hope Google/IBM/O

Re: [PHP-DEV] PHP development environment

2011-01-14 Thread J. Adams
I'm curious about this too. I've been developing on a Mac using nano from the command line and it can be pretty tough. Any and all details welcome. I'm about to set up a 64-bit box with Ubuntu which would be my primary dev box. I also have a windows desktop. On 1/14/2011 5:40 PM, Martin Sc