The Potential Future of Selfie Photography

Adobe Research: What happens when we tap into the power of artificial intelligence and deep learning to transform bad portrait shots into good ones – all on a smartphone? By combining perspective effect editing, automatic, software-only photo masking, and photo style transfer technology, we’re able to transform a typical selfie into a flattering portrait with …

Lexus Lane Valet

Debuting on the first-ever Lexus LC and all-new LS, Lane Valet is a breakthrough innovation that every driver will appreciate. A visionary semiautonomous passing-lane-assistance technology, it promises to bring us one step closer to a day when vehicles don’t just react to the world around them, they improve it. Making highways safer, vehicles more efficient, …

Next.js 2.0

Next.js is a very slim yet powerful framework. Place React components in a pages directory and running next, and you’ll get automatic code splitting, routing, hot code reloading and universal (server-side and client-side) rendering. Version 2 of Next.js was released earlier today, with server-side and client-side rendering, dynamic routing, component styling, and link pre-fetching. Next.js …

Snapshot testing with PHPUnit

use Spatie\Snapshots\MatchesSnapshots; class OrderTest { use MatchesSnapshot; class test_it_casts_to_json() { $orderId = new Order(1); $this->assertMatchesJsonSnapshot($order->toJson()); } } Again great work by the folks at Spatie: The difference between a classic assertEquals and an assertMatchesSnapshot is that you don’t write the expectation yourself when snapshot testing. When a snapshot assertion happens for the first time, it …

LocalStack – A fully functional local AWS cloud stack

At work we’ve been using several separate docker images – such as instructure/fake-s3 and airdock/fake-sqs, orchestrated by docker-compose – to run a few of the Amazon Web Services locally. LocalStack provides the whole lot in one: LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. Currently, the focus is primarily on supporting the AWS …

10 Lodash Features You Can Replace with ES6 ES2015

Lodash is the most depended on npm package right now, but if you’re using ES6 ES2015, you might not actually need it. In this article, we’re going to look at using native collection methods with arrow functions and other new ES6 features to help us cut corners around many popular use cases. 10 Lodash Features …