Gist: There’s this famous “Monads and Gonads” video from Doug Crockford. To me it is cryptic, kind of elitist: it… Read more Beyond “Monads and Gonads”
This is no tutorial about the state monad and I’d be foolish if I hoped to use all these convoluted… Read more The state monad in Java 8, eventually…
I feel I’ve possibly stumbled on an FP pattern. I wish to understand what its name and field of applicability… Read more An FP pattern. What is it? Is it a Thrush?
Code snippet to retrieve user credentials anywhere in the code: SecurityContextHolder .setStrategyName(SecurityContextHolder .MODE_INHERITABLETHREADLOCAL); Object principal = SecurityContextHolder .getContext().getAuthentication() .getPrincipal(); principal… Read more H2 retrieve Spring Security user credentials anywhere in the code
The WordPress.com stats helper monkeys prepared a 2013 annual report for this blog. Here’s an excerpt: A New York City… Read more 2013 in review
We have a bunch of audio files that must be downloaded from a remote site and stored locally. After all… Read more Multithread background executor using Guava