PHPnews.io

The Unattributable "Lead Hunter" Data Breach

Written by Troy Hunt / Original link on Jun. 3, 2020

Pwned again. Damn. That's me who's pwned again because my personal data has just turned up in yet another incident from a source I can't attribute. Less than 3 weeks ago I wrote about The Unattributable "db8151dd" Data Breach which, after posting that blog post and a sample of my own data, the comm…


Probabilistic Automata

Written by igorw / Original link on Jun. 3, 2020

Probabilistic AutomataHave you seen those twitter bots that generate fake or parody tweets? The ones that look almost legit but are pretty much complete jibberish when you read them?Quite often, such accounts use a so-called markov chain to generate the text. A markov chain is a state machine that …


Converting JSON to a struct in Go

Written by Rob Allen / Original link on Jun. 3, 2020

I'm in the process of writing a little command line app in Go that uploads images to Flickr. It's called Rodeo and it's working well as a project with which to learn Go in 2020.Rodeo uses ExifTool to interrogate an image file for meta data. ExifTool is wonderful and very comprehensive and with the …


Web Performance Recipes With Puppeteer [link]

Written by Remy Sharp / Original link on Jun. 3, 2020

A massive collection of recipes, with actual code 😱 written (or collected) by Addy Osmani.Having automated front end performance tracing is an exceptionally powerful tool, particularly to track regression.I'm in no doubt that there's a handful of quick grab recipes on this page that I can deploy in…


Oh Mummy - 3-Jun 2020 [devlog/oh-mummy]

Written by Remy Sharp / Original link on Jun. 3, 2020

After experiments in switching to using BANK memory instead of arrays proved only that there was no performance benefit - perhaps even a deficit. Thank god than that I'm writing my code on my Mac and am able to branch and commit into git.I was testing with 9 mummies, and even inlined the code (remo…




Survey: type systems in PHP

Written by Stitcher.io / Original link on Jun. 3, 2020

Hi there! Thanks for spending 5 minutes of your time on this quick survey. My goal with it is to investigate the correlation between type-systems and project size in the PHP community.Once this survey has gathered enough results, I will publish my conclusions on this blog. If you want stay updated …


Form Component

Written by Laracasts / Original link on Jun. 2, 2020

Let's continue with another simple, but very useful component for constructing forms. Once complete, you'll no longer need to include the necessary @method and @csrf tags for every form.View the sour…