Menu

Eishay Smith

Attaching a Java debugger to the Scala REPL

I’m using the Scala REPL to play around with java libraries and check their runtime behaviors. One of the things I’m using it for is to check how Voldemort’s client is behaving in different setups. For one of the checks I wanted to trace the client threads with an IDE debugger. To attach a debugger […]

December 29, 2009

Eishay Smith

Baking availability SLA into the code

Availability and Partition Tolerance are essential for many distributed systems. A simple (though not comprehensive) way to measure both is using response time SLAs between services as implied from Jeff Darcy‘s observation: Lynch (referring to the 2002 SIGACT paper) also makes the point that unbounded delay is indistinguishable from failure. Time is therefore an essential […]

December 09, 2009

Jared

emptyList(), emptySet(), emptyMap()

This is the first in a series of posts on under-utilized Java collection types and idioms worth adding to your Java vocabulary. Top 5 Under-utilized Java Collections #1: Empty Collections Every Java programmer has at least once declared a constant to represent an empty collection. It might have looked something like this: static final List<Result> […]

December 08, 2009

Pascal-Louis Perez

Roasted Butternut Squash Soup

Thanksgiving (or for some Frenchgiving) being upon us, it’s time for a different kind of recipe. You’ll need 2 Butternut squash 3 Scallions 1 Celery 3 Carrots Vegetable broth Olive oil, salt, pepper Optionally sour cream and pine nuts Peel and cut the butternut squash in pieces. Place them on a griddle and put them […]

November 28, 2009

Julien Wetterwald

Parsing Java annotations

At kaChing, we are on a 5-minute commit-to-production cycle. To achieve this extreme iteration cycle, we are running a series of very fast analyses on our code base. From discovering bad code snippets to detecting missing Guice‘s bindings, these tests strive to catch common mistakes due to distracted developers, new hires or bad APIs. As […]

November 19, 2009

Eishay Smith

The Crunchie award

Please nominate us:

November 18, 2009