Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP Roundtable:
029: The Only Girl In The Room
Aug 26, 2015 @ 13:36:35

The PHP Roundtable podcast, hosted by Sammy K Powers, has released their latest episode today with guests Beth Tucker Long, Eyrn O'Neil and Samantha QuiƱones - Episode #29: The Only Girl in the Room

Inspired by a panel discussion at Midwest PHP 2015, we discuss what barriers exist for women in the PHP community and what we can all do to remove gender bias.

You can listen to this latest episode either through the in-page video player or directly over on YouTube. If you enjoy the episode be sure to subscribe to their feed and follow them on Twitter to get information about future episodes as they're released. You can also catch previous episodes by going to the main page of the site and scrolling through the "Past Episodes" section.

tagged: phproundtable podcast video girl female technology barriers gender bias

Link: https://www.phproundtable.com/episode/being-a-woman-in-the-php-community

Anthony Ferrara's Blog:
Random Number Generation In PHP
Jul 21, 2011 @ 15:03:28

Anthony Ferrara has a new post to his blog today looking at true random number generation as it relates to predictability and bias. He also talks about a method/tool you can use (based on RFC 4086) to generate truly random numbers - PHP-CryptLib.

When we talk about "random" numbers, we generally talk about two fundamental properties: Predictability and Bias. Both are closely related, but are subtly different. Predictability in reference to random numbers is the statistical problem of predicting the next value when knowing any number of previous values. Bias on the other hand is the statistical problem of predicting the next value when knowing the distribution of previous values.

He looks at how predictability can effect true random number generation and a common mistake in generation related to bias in the calculation method. He talks about some of the functions PHP includes to work with randomness, but notes that they all have their flaws. He points to the PHP-CryptLib package as a solution (adhering to the guidelines in RFC 4086 for randomness). He includes some sample code of how to use it to generate random numbers, tokens and sets of bytes. You can find the full source over on github.

tagged: random number generation library phpcryptlib library predictability bias

Link:


Trending Topics: