Java Concurrency Tutorial: Synchronization and Locks

In the next 15 min you learn how to synchronize access to mutable shared variables via the synchronized keyword, locks and semaphores. The majority of concepts shown in this article also work in older versions of Java. However the code samples focus on Java 8 and make heavy use of lambda expressions and new concurrency … Continue reading Java Concurrency Tutorial: Synchronization and Locks

Java Concurrency Tutorial: Threads and Executors

This guide teaches you concurrent programming in Java 8 with easily understood code examples. It's the first part out of a series of tutorials covering the Java Concurrency API. In the next 15 min you learn how to execute code in parallel via threads, tasks and executor services. The Concurrency API was first introduced with … Continue reading Java Concurrency Tutorial: Threads and Executors

Can Heroku force an application to use SSL/TLS?

Issue You have configured an SSL endpoint and now you want your application to use https for all requests. Resolution Redirects need to be performed at the application level as the Heroku router does not provide this functionality. You should code the redirect logic into your application. Under the hood, Heroku router (over)writes the X-Forwarded-Proto … Continue reading Can Heroku force an application to use SSL/TLS?

Configure Rails on Windows 7

1. Go to https://rubyinstaller.org/downloads/ and download the recommended (not necessarily the latest version of the Ruby with Devkit to avoid potential gem compatibility issue (for example, sqlite3 on Windows platform) Which version to download? If you don’t know what version to install and you’re getting started with Ruby, we recommend you use Ruby+Devkit 2.4.X as … Continue reading Configure Rails on Windows 7

Hulu re-org sees departure of Content Chief Joel Stillerman, top SVPs

On the heels of Hulu’s news of its growing live TV business, which has now reached 800,000 subscribers, the streaming service today announced a major re-organization of it business focused on four strategic priorities, effective immediately. These include “the subscriber journey, technology & products, content and advertising,” says Hulu. The changes see three major execs … Continue reading Hulu re-org sees departure of Content Chief Joel Stillerman, top SVPs

How to make a custom build version (e.g., Ruby, Python, etc.) in Sublime Text 3

It looks like Sublime Text 3 uses OSX-default version of Ruby in build mode. I would like to change the version, since I'm using a newer one. I found some answers for privious version of sublime: How to edit a native build system in Sublime Text 2? Setting and changing build systems in Sublime Text … Continue reading How to make a custom build version (e.g., Ruby, Python, etc.) in Sublime Text 3

Amazon hires team behind deep learning startup Orbeus

Amazon has hired nearly all of the people who worked at Orbeus, a small startup with technology for identifying items and people in photos and videos using deep learning, a type of artificial intelligence. Orbeus built an app for iOS and Android that could instantly tag photos, called PhotoTime, as well as the underlying Rekognition … Continue reading Amazon hires team behind deep learning startup Orbeus