.
Monitoring, Status Pages, Phabricator - see how exana.io can help you be more efficient.   Sign Up
  • Averages are useless. Use percentiles for meaningful metrics.

    Why averages are plain wrong Let’s say you served 10 requests and they took respectively: 100, 110, 130, 145, 980, 945, 110, 135, 120, 125 miliseconds. Why the jump to 980? Maybe you were in the middle of a backup. Maybe the network was a bit congested. Maybe anything else....


  • Yarn: a javascript package manager from Facebook

    Note: a dramatically quick quickstart, gotchas and caveats. Getting started Install yarnpkg via npm. npm install -g yarnpkg You can now run yarn from the command line. yarn replaces npm in your workflow: # instead of `npm install` do $ yarn # instead of `npm install --save <name>` do $...


  • jQuery post json

    Note: Just a quick recipe, since this is ridiculously Google-able. Posting JSON with jQuery To post a JSON with jQuery, stringify the object and send is as the data parameter. Done. vat data = { message: 'Hello, hello.' }; $.post('/api/foo', JSON.stringify(data)) .success(function(...) { ... });


  • Implementing a key-value table with history in MySQL

    Warning: as described here, this is in many, many ways a hack and has lots to improve when it comes to optimization. What are we up to? Basically, we want a table that will store key-value pairs. We’re assuming your app will have more than one user, so the actual...


  • Quickest guide to reviewing code with Phabricator and arcanist

    This is a work in progress, and first part of a three part guide to arcanist/differential. Your feedback is welcome. Now, let’s get to work. You can grab my hand. You’ll need Phabricator, obviously. First, you need Phabricator. Either your own, or hosted somewhere. And what a coincidence, we can...