-
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.
-
Working with NPM Github dependencies turns out to be way harder than you'd expect it to be
-
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.
-
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.
-
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.
-
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.
-
A simple and perhaps a little naive way to prevent your code from hitting the rate limits set by a service provider.
-
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.
-
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.
-
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.
-
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.
-
If your organization has been doing Java for ages, should it move on and start using Scala? I think it should. Here's why.
-
An attempt to have better support for i18n in Scalate's SCAML.
-
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.
-
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.
-
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 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.
-
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.
-
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.
-
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).
-
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.
-
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.)
-
How do say goodbye to books you once loved so dearly? I didn’t know how to do it, but now I know.
-
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.
-
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.
-
Muddling through is what defines us as humans. We stumble from one solution into the other. Embrace the mud.
-
Covering the inner guts of Dispatch, Scala's de facto standard HTTP client library.
-
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.
-
Sometimes you want your software to detect clusters of similar things. K-means might be helpful here. I give you my Scala implementation.
-
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.
-
How do you remember CSS selector precedence rules? Perhaps a mnemonic helps.
-
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.
-
If your tools are itching, and nothing out there seems to ease the pain, you just craft your own tools.