Category: Diffbot

Building Microsoft’s What-Dog AI in under 100 Lines of Code

Rather recently, Microsoft released an app using AI to detect a dog’s breed. When I tested it on my beagle, though… Hmm, not quite, app. Not quite. In my non-SitePoint time, I also work for Diffbot – the startup you may have heard of over the past few weeks – who also dabble in AI. To test how they com...

Building Microsoft’s What-Dog AI in under 100 Lines of Code

Rather recently, Microsoft released an app using AI to detect a dog’s breed. When I tested it on my beagle, though… Hmm, not quite, app. Not quite. In my non-SitePoint time, I also work for Diffbot – the startup you may have heard of over the past few weeks – who also dabble in AI. To test how they com...

Setting up PHP 7 Servers with Laravel Forge and DigitalOcean

One of the most popular requests in our end-year reader-satisfaction survey was more PHP 7 content. In this quick guide, we’ll cover two ways to bring a PHP 7 server online on DigitalOcean – a popular VPS provider. We’ll use two approaches, the latter of which will be applicable to any Ubuntu installation whe...

Suggesting Carbon with Composer – Date and Time the Right Way

Carbon is a small library for date and time manipulation in PHP. It relies on and extends the core DateTime class, adding helpful methods for a significantly saner experience. In this article, we’ll take a look at some basic usage examples, and then use it in a real project. Introduction Carbon is just a class which...

Breaking Free from Guzzle5 with PHP-HTTP and HTTPlug

This article was peer reviewed by Márk Sági-Kazár. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! In a previous series, we built a PHP client for Diffbot. The client works well and is in relatively widespread use – we even tested it on a live app to make sure it...

Powerful Custom Entities with the Diffbot PHP Client

A while back, we looked at Diffbot, the machine learning AI for processing web pages, as a means to extract SitePoint author portfolios. That tutorial focused on using the Diffbot UI only, and consuming the API created would entail pinging the API endpoint manually. Additionally, since then, the design of the pages we ...