Getting Started with Node.js for the Rails Developer

Introduction In this article we are going to do a quick introduction to Node.js for Ruby on Rails minded developers. From Ruby to Node You’ve likely heard in the past few months that some big companies are starting to deploy Node applications in production and at scale. Walmart is running their entire mobile site on Node, … Continue reading Getting Started with Node.js for the Rails Developer

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?