On Tue, Jul 10, 2018 at 10:58 PM, Alice Wonder <al...@librelamp.com> wrote:

> Using github may not be the most reliable method.
>

> Look at what is most popularly used in composer dependencies.


Absolutely - but it's the first one that came to mind when thinking of "how
to get popular repositories really quick".  I'm sorting by stars, but I can
definitely also check any dependencies if they aren't already in the list.


>
> For example, I know xor is used in PHP Codesniffer which while likely not
> often part of deployed code is very often a devel dependency.
>
> I think phpunit also uses xor and is also very popular.
>
> I use xor myself but my use is purely hobby (I have a pseudo-RNG written
> in PHP that can take any source of data, random or not, and pass it through
> a filter that makes it pass pRNG tests - showing that passing tests doesn't
> mean a random source is necessarily random enough for cryptography)
>
> Anyway as I believe you have already conceded, nuking xor would require
> many projects used a lot to have to change.


I'm absolutely not trying to take away behaviour with real use cases like
xor.  That's why I'm leaning more heavily on the aliasing side so it would
break very little code.  If the decision was made to remove the text
operators (or whatever the proper name for and, or, and xor is), there
would need to be a symbolic xor operator.



On Tue, Jul 10, 2018 at 11:37 PM, Walter Parker <walt...@gmail.com> wrote:

> There are 67 Million repositories on GitHub, is picking the top 30 PHP
> projects a representative sample of PHP use across the Internet?
> 80% of web servers where the back end language was known had PHP according
> to a recent survey.
> Picking 30 popular open source projects might bias the results of what you
> think is going in PHP usage.


Of course not - I'm working on expanding the search (right now to 300, and
then I'll probably do 3,000 overnight) as we speak and I'll go as far as my
hard drive (and patience, and GitHub API) will allow.  I don't really know
of a good way to get usage metrics for a token beyond "get some code using
PHP and check for the token".

Reply via email to