Artem Veremey

DevOps at Wealthfront

A DevOps engineer starting a new position fully expects to be handed over keys to a custom model helicopter (aka company’s infrastructure) and encouraged to take a daring flight on day one. No two helicopters are quite the same, and flying a different model is not quite as intuitive as riding a new custom bike. […]

November 12, 2013

John Hitchings

GUI Testing, Without The Gooey Parts

Alright, so I know that Java on the desktop has never reached the level of popularity that it enjoys on the server side, but regardless of popularity, there are cases where the requirements favor or maybe even necessitate a desktop solution. Testing a user interface can get kinda sticky, but with the right abstractions, you’ll […]

November 16, 2010

Julien Wetterwald

Creating TypeLiterals in Scala

In case anyone wondered, here is how one can easily create instances of Google Guice’s TypeLiteral in Scala. Type literals are used for reifying types. def typeLiteralOf[T](implicit m: scala.reflect.Manifest[T]): TypeLiteral[T] = (m match { case m: ClassManifest[T] if m.typeArguments.isEmpty => TypeLiteral.get(m.erasure) case m: ClassManifest[T] => TypeLiteral.get(new ParameterizedTypeImpl(m.erasure, m.typeArguments.map { case n: ClassManifest[_] => typeLiteralOf(n).getType }.toArray)) […]

August 30, 2010

Pascal-Louis Perez

Just-in-time Providers for Guice

Guice is widely recognised as the best dependency injection framework for the JVM world and specifically for Java. It has brought together ideas from numerous projects, including Spring and PicoContainer, and popularised type driven development. Dependency injection is one of the principal enablers for test driven development, and as such central to our software practices […]

May 31, 2010