Skip to content

Instantly share code, notes, and snippets.

View markallanson's full-sized avatar

Mark Allanson markallanson

View GitHub Profile
@markallanson
markallanson / hll_error_rate.md
Last active October 5, 2020 11:39
HLL Error Rate Quick Reference

HLL Error Rate Quick Reference

To save having to calculate this every time I think about HLL, here is a quick reference for log2m to error rate conversion. The error rate is presented to a max of 2 decimal places

Log2m Error Rate ± %
9 4.60
10 3.25
11 2.30

Keybase proof

I hereby claim:

  • I am markallanson on github.
  • I am markallanson (https://keybase.io/markallanson) on keybase.
  • I have a public key ASCrv4KAQNkCGQfDn2KRHDddYTjK9qOT3voV3Stcb0T30Ao

To claim this, I am signing this object:

@markallanson
markallanson / vuteTemplateUrl.js
Last active October 8, 2016 19:05
Beating Vue.js at it's own game - using require.js for psuedo templateUrl support for those of us who can't bear to mix markup and code.
define([
"Vue",
"text!./devices.html"
], function(Vue, devicesTemplate) {
"use strict";
return Vue.component("piarmed-devices", {
template: devicesTemplate
});
});