startups, investing, and miscellaneous thoughts

Occasionally, you may need to interface with Java Futures in Scala. Unfortunately, it is “an abomination”. Several older Java libraries, like Amazon’s SDK, provides asynchronous interfaces using Java’s Futures. java.util.concurrent.Future only provides a .get, and no mechanism to react to completion. The best solution to avoid blocking a thread checking for completion (or simply .geting inside another thread) is to periodically check for completion. .. (more) →

Since many asynchronous APIs in Scala use Futures, if you prefer using Task, you’ll need to convert between the two. Here are two simple classes that enhance scalaz.concurrent.Task and scala.concurrent.Future: .. (more) →

Here’s a few classes and functions I’ve collected over the past few years that I find incredibly useful with day-to-day Scala development. .. (more) →

Dialogue above debate

I’m drawn to people who engage in direct dialogue about the fundamental concepts behind complex and polarizing issues. Recently I’ve been listening to podcast episodes about this — individuals who are a member of a “side”, and yet are drawn away from debate and instead deeply explore what the “other side” believes. Here are a few that I’ve especially enjoyed. .. (more) →

James Roper, tech lead of Play! at Typesafe, spoke at Box in Mountain View, CA on 4/24/2014. Code from the Java 8 project Play! Framework Meetup Group Java 8 heralds a new era of reactive programming, with lambdas and promises taking the limelight as the bright new features of the language. To best take advantage of these features, Play Framework offers a ground up asynchronous full stack web framework, with a high velocity development environment, making it the most natural web framework to use with Java 8... (more) →