DG

  • About
  • Barhandles

    Friday July 17, 2015

    Barhandles extracts a schema from your Handlebars template; pretty neat if you want to check up front if your data actually matches the expectations of your template.

  • NPM Github Dependencies

    Wednesday March 18, 2015

    Working with NPM Github dependencies turns out to be way harder than you'd expect it to be

  • My Gitolite

    Saturday February 21, 2015

    Having git on your My Cloud is nice, but having fine grained access control to your repositories is even nicer. It turns out Gitolite is running fine on My Cloud. Here's how you set it up.

  • My Git

    Friday January 30, 2015

    If I'd have to pay Github for all the little private repositories I really want to have, it would cost me a fortune. About using Western Digital's My Cloud as a poor man's alternative. Unlimited private repositories – but not for free.

  • Bower support in Metalsmith

    Tuesday January 27, 2015

    I have been using Bower with static site generators a lot, but I somehow never succeeded to get exactly what I wanted. When I switched to Metalsmith, I found out that writing a plugin to get it to work exactly how you want it to work is actually ridiculously easy.

  • The Rise of the Smiths

    Wednesday January 21, 2015

    I started playing with Metalsmith for my web site. Metalsmith is one of the descendants of Blacksmith, one of the first static web site generators based on node. And I liked it. Here's why.

  • Rate limiting

    Monday January 12, 2015

    A simple and perhaps a little naive way to prevent your code from hitting the rate limits set by a service provider.

  • Four years of Scala

    Tuesday January 6, 2015

    A little less than four years ago, we started working on the ProQuest Flow codebase. Time to look back, to see what we learned. This episode is about the things we learned using Scala.

  • I have no map

    Sunday September 28, 2014

    If you think of JSON as a collection of Scala Maps and Seqs, then it actually makes sense to have collection operations defined on them. Which is what I started working on. But then I realized it actually doesn't make an awful lot of sense. My farewell message to map operations defined on SON of JSON objects.

  • SON of JSON II

    Sunday September 21, 2014

    SON of JSON is developing rappidly. I decided to drop json4s alltogether, since the immutable nature of it would never allow me to have something that resembles the way you work with it in JavaScript. This version also brings you a ton of new features.

  • SON of JSON

    Thursday September 18, 2014

    If Scala only would have been created two years later, it might have had JSON support baked in, instead of XML support. However, it wasn't, and using the existing libraries isn't always that easy. SON of JSON is aiming to change all of that.

  • Scala

    Monday July 7, 2014

    If your organization has been doing Java for ages, should it move on and start using Scala? I think it should. Here's why.

  • SCAML for the rest of us

    Saturday June 21, 2014

    An attempt to have better support for i18n in Scalate's SCAML.

  • Scripting ElasticSearch

    Friday June 20, 2014

    Many books and articles use CURL to interact with ElasticSearch. But is that really the ultimate way to go? I'm not to sure of it. In this post, I'll try to convince you to use node, CoffeeScript and elasticsearch.js instead.

  • Typical

    Monday February 3, 2014

    I had to solve a very simple problem, that I wished Fantastical would have solved for me. But when it didn't, I created my own version of Fantastical. Which took way more time than solving the original problem. On the plus side: I learned a couple of new things.

  • More than you wished for

    Monday December 30, 2013

    Unfortunately, Scala does not support JSON literals in a standard notation. There are libraries though. Perhaps a little too many. This post gives you some utilities to convert between them.

  • I Beg to Difr

    Thursday July 4, 2013

    I needed a way to review some code, and I didn't find the tools out there particularly compelling. Really, all I wanted was a tool that would allow me to annotate the output of the GitHub diff, but for some reason all of the existing tools were either too complicated, too pricy, or too limited. Then I gave up looking and implemented it myself.

  • Report your status

    Friday May 17, 2013

    Dispatch Classic doesn't always provide you with enough detail to find out why a request failed. However, you can write a trait that gives you more information in case of failures. This is how you do it.

  • The Missing Link

    Thursday May 9, 2013

    In order to sync your Monkeyman generated content with S3, Monkeyman always included the extensions in the HTML files it generated. As consequence, the files served from S3 had these extensions as well. The only solution to this is do the upload to S3 from within Monkeyman itself. This post describes how it was done.

  • Monkeymaniac

    Thursday April 18, 2013

    Last year, I started using Monkeyman for quite a few more things than just my blog, adding new features whenever I needed them. Let me give you an idea of what is available in the latest release 0.3 (Gibbon).

  • Retry

    Wednesday April 10, 2013

    In the ideal world, all of your API calls will always return. In reality, they sometimes do. I'll show you one of the ways in which you can make sure that calls are retried, based on Scala's Dispatch library.

  • Parallel Consensus

    Wednesday January 16, 2013

    At Xebia, we wanted to capture things that we considered to make us craftsmen into a deck of flashcards. In the end, we needed a way to get the most important ideas while wading through a pile of cards. The approach we took could be useful for other types of problems that require consensus as well. (And I think this is a human implementation of the actor framework. Well. In a way.)

  • Book Burning

    Monday November 12, 2012

    How do say goodbye to books you once loved so dearly? I didn’t know how to do it, but now I know.

  • Zip it

    Tuesday October 16, 2012

    The zipWithIndex function on Scala collections comes in handy in quite a few occasions. Not having it on Traversable is pretty inconvenient. In this post, I try to fix it.

  • Favorite Things

    Wednesday October 10, 2012

    I love them so much, I thought they had to be listed somewhere. Hopefully there is something you didn’t know about yet, and you love it as much as I do.

  • We Muddle Through

    Monday October 8, 2012

    Muddling through is what defines us as humans. We stumble from one solution into the other. Embrace the mud.

  • Dispatch dissected

    Tuesday August 7, 2012

    Covering the inner guts of Dispatch, Scala's de facto standard HTTP client library.

  • Finding Similarity

    Monday July 2, 2012

    Writing code that checks for equality is simple; I yet have to find a language in which it isn't baked in. However, in many cases, I have collections of things that are potentially similar to other things, but not identical. Jaro distance offers you a way to detect similarity.

  • K-Means Clustering

    Monday June 25, 2012

    Sometimes you want your software to detect clusters of similar things. K-means might be helpful here. I give you my Scala implementation.

  • Scala Days 2012

    Monday April 23, 2012

    Some notes on this year's Scala days. Just a fraction of all of the different things I learned, and hardly doing any justice to the depth of the talks, but still.

  • CSS Selector Precedence

    Tuesday April 10, 2012

    How do you remember CSS selector precedence rules? Perhaps a mnemonic helps.

  • Ears and eyes

    Tuesday March 27, 2012

    JMX is awesome, but JMX consoles don't always make it easy to find the attributes you're looking for. Creating a custom dashboard is not all that hard, with Jolokia, ICanHaz and HAML.

  • Leaving Blogger for Monkeyman

    Wednesday March 14, 2012

    If your tools are itching, and nothing out there seems to ease the pain, you just craft your own tools.

Back to top
Next  
Twitter / RSS