Monthly Archiv: April, 2019
Courtesy of our friends over at Freepik, we have another freebie for you this week – a fantastic virtual reality icon set that you can download and use in both your commercial and personal projects.
In total there are 50 individual icons in the Virtual Reality Icon Pack, in three unique styles (Lined, Outlined & Flat), and in both PNG and SVG formats. Scroll down to download the icon pack.
Virtual Reality Icon Pack Preview
Download & License
Virtual Reality Icon Pack Free Download
You are free to use this free icon pack in both your personal and commercial projects.
The post Freebie: Virtual Reality Icon Pack (50 Icons, PNG & SVG) appeared first on Speckyboy Web Design Magazine.
Fig 1. A chap performing the Detroit JITUnless you have been living under a rock, or are from the past (in which case, welcome), you will be aware that a JIT is coming to PHP 8: The vote ended, quietly, today, with a vast majority in favour of merging into PHP 8, so, it's official.Throw some crazy s...
In part 3 of this series we looked at the more common patterns of Providers that may be used with a PSR-14 Event Dispatcher. In part 4 we looked at some more complex cases of Providers. Today, we'll bring them all together: Literally.
Recall that a Provider is responsible only for receiving an Event and returning a list of callables that it believes should be invoked on it, in the order it decides (if it cares). How it does that is up to the implementation. In fact, it's not even required to do so itself at all. A Provider can defer that decision to another Provider if it wishes, or, critically, to multiple Providers.
Continue reading this post on SteemIt.
There's not much wrong with Slim 3; lots of people are using it very successfully producing APIs and websites of all kinds. For Slim 4 the main goals have been to support PSR-15, make it easier to use your own PSR-7 implementation, improve error handling and remove assumptions that look magical if y...
@oliravi
Show Notes
Audio
This episode is sponsored by
The post Interview with Olivia Liddell appeared first on Voices of the ElePHPant.
Contributed by
Alex Rock and
Fabien Potencier
in #30813.
In Symfony applications, creating functional tests is simple thanks to the
utilities provi...
Recent posts from the PHP Quickfix site:
- Using GraphQL with Laravel and Vue - Freek Van der Herten's blog on PHP and Laravel
#laravel, #vuejs, #graphql, #tutorial, #video
- ˜… Preventing spam submitted through forms - Freek Van der Herten's blog on PHP and Laravel
#honeypot, #spam, #form
- Advanced Migration Workflow Tips For The Lazy WordPress Developer
#wordpress, #migration, #tips
- Laravel 5.8 Blade Template File Path - Laravel News
#laravel, #blade, #file, #template
Dr. Oz is getting called out again over a “magic weight-loss cure” he touted on his TV show … this time in a class action lawsuit.
The suit is all over weight loss supplements containing Garcinia Cambogia … which is green coffee bean extract. They’re sold by a company called Labrada, and Dr. Oz covered the products on an episode called “Five Biggest Fat Busters for Five Body Types in Just Five Days.”
The suit, filed by a consumer on behalf of all purchasers, says Oz described Garcinia Cambogia as a revolutionary fat buster which “could be the magic ingredient that lets you lose weight without diet or exercise.” The suit says the “Oz Effect” caused sales to skyrocket.
Oz already had to testify about this product for a Senate panel in 2014, and during the grilling he leaned on evidence from a scientific study. But the lawsuit points out that study has since been discredited.
According to the suit, “all credible scientific evidence” shows Garcinia Cambogia simply doesn’t work. The plaintiffs are going after Oz, Labrada, Harpo Productions and others to get their money back plus damages.
A rep for Oz’s show says the lawsuit attacks his right to free speech and, “As we have always explained to our viewers, the Dr. Oz Show does not sell these products nor does he have any financial ties to these companies.”
The internet era has enabled millions of consumers to get the inside scoop on merchandise they intend to buy through reading online reviews left by prior purchasers. Many of those reviews were written by legitimate individuals sharing their experience with a particular product or service. However other responses may have been left by trolls or people who have been paid to leave certain types of feedback. Although various review controversies have been covered by the media over the past several years, the FTC has just now settled its first lawsuit regarding fake online reviews.
The focus of the FTC’s first successful outcome in cases involving false reviews was a company named Cure Encapsulations, Inc. This organization sells a product called Quality Encapsulations Garcinia Cambogia Extract with HCA. The formulation of that supplement was designed to enable users to lose weight through appetite suppression. The product’s manufacturer also claimed that it could effectively prevent the formation of fat cells. Like many supplements, it was not vetted by the FDA and it is not backed by any scientific testing or results.
Despite lacking scientific evidence, the product garnered many positive reviews on internet superstore Amazon. During the FTC’s investigation, it was discovered that many of those positive reviews were purchased from AmazonVerifiedReviews.com. Even before this case, many Amazon consumers have sought to avoid fake reviews by instead visiting websites that provide unbiased reviews including an examination of a product’s pros and cons.
Although not the same as prosecution or a lawsuit levied by a federal government agency, Amazon has previously sued firms, including the one used by Cure Encapsulations, for publishing false reviews on their site. Amazon has also investigated significant time and resources in ferreting out false reviews and removing them from their site. At this time, Amazon has blocked Cure Encapsulation from continuing to sell products on their site. The supplement company, which sells a majority of its products as an Amazon third-party retail, may soon find itself in an economically negative situation.
The company’s attorney, August Horvath, has pledged to work with Amazon to find an amicable solution. Horvath also says that the company has not solicited or benefitted from fake reviews since the middle of 2015. Nevertheless, the FTC pursued charges of deceptive marketing against the organization, both for fake reviews and making unscientifically based claims as to their product’s efficacy. Terms of the settlement reached have not been released and will likely be subject to non-disclosure agreements.
Article source: https://www.legalscoops.com/fake-reviews-how-the-ftc-got-involved-reached-settlement/
There's not much wrong with Slim 3; lots of people are using it very successfully producing APIs and websites of all kinds. For Slim 4 the main goals have been to support PSR-15, make it easier to use your own PSR-7 implementation, improve error handling and remove assumptions that look magical if you don't know they are there. The latter one is the most important to me, personally!
Secondarily, Pierre has concentrated on making Slim's code more flexible and hopefully making it easier to swap out our internal components with your own if you need to. On a whim, I ran phploc on the current Slim 3 and Slim 4-dev codebases to see what differences were. The full results are in this gist.
Note that Slim 4 doesn't have the PSR-7 implementation or the container wrapper, so it's maybe not possible to directly compare some of the numbers, but the cyclomatic complexity numbers are interesting and a direct outcome of Pierre's work:
Slim 3 Slim 4-dev
Cyclomatic Complexity
Average Complexity per LLOC 0.30 0.18
Average Complexity per Class 10.40 4.76
Minimum Class Complexity 1.00 1.00
Maximum Class Complexity 67.00 25.00
Average Complexity per Method 2.44 2.05
Minimum Method Complexity 1.00 1.00
Maximum Method Complexity 15.00 15.00
Cyclomatic complexity is a measure of the complexity of a codebase. It's really hard to ensure that a method with a high cyclomatic complexity works as intended and I'm delighted to see these numbers go down! Hopefully this means that Slim 4's internals are easier to understand and it will be easier to contribute to.
We need to find, assess and simplify the method has that 15.00 though!