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… Read more
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>… Read more
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… Read more
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… Read more
The Crunchie award
Please nominate us:
Closure Compiler: Type Checking JavaScript, an overview
Type Checking JavaScript View more documents from Pascal-Louis Perez.