Skip to content

Instantly share code, notes, and snippets.

@meteficha
meteficha / gist:29bdec5a6ff168fabfa4
Created Oct 12, 2015
fbjs-0.3.1 + flow-0.17.0 = :(
View gist:29bdec5a6ff168fabfa4
node_modules/fbjs/flow/include/CSSCore.js:108
108: module.exports = CSSCore;
^^^^^^^^^^^^^^ Library type error:
108: module.exports = CSSCore;
^^^^^^^^^^^^^^ assignment of module.exports. Could not resolve name
node_modules/fbjs/flow/include/Deferred.js:66
66: module.exports = Deferred;
^^^^^^^^^^^^^^ Library type error:
66: module.exports = Deferred;
@meteficha
meteficha / Benchmarking AES-GCM at commit e5960ee
Created Apr 11, 2015
Benchmarking current clientsession-0.9.1.1 against a different AES-GCM implementation. Note that my CPU does not have AES-NI instructions.
View Benchmarking AES-GCM at commit e5960ee
benchmarking encrypt then decrypt/Message length = 0 bytes
time 18.50 μs (18.42 μs .. 18.60 μs)
1.000 R² (0.999 R² .. 1.000 R²)
mean 18.58 μs (18.46 μs .. 18.70 μs)
std dev 410.9 ns (331.7 ns .. 546.4 ns)
variance introduced by outliers: 21% (moderately inflated)
benchmarking encrypt then decrypt/Message length = 50 bytes
time 31.45 μs (31.24 μs .. 31.64 μs)
1.000 R² (1.000 R² .. 1.000 R²)
View keybase.md

Keybase proof

I hereby claim:

  • I am meteficha on github.
  • I am meteficha (https://keybase.io/meteficha) on keybase.
  • I have a public key whose fingerprint is D605 F037 533D D256 E7BC 1B61 A764 D184 3E96 6829

To claim this, I am signing this object:

@meteficha
meteficha / criterion_results.txt
Created Aug 21, 2014
Alexander Pakhomov's e-amil
View criterion_results.txt
benchmarking --nothing--/10
time 151.5 ns (151.2 ns .. 151.8 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 151.8 ns (151.6 ns .. 152.1 ns)
std dev 868.8 ps (732.4 ps .. 1.030 ns)
benchmarking --best--/10
time 157.4 ns (157.1 ns .. 157.7 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 157.1 ns (156.6 ns .. 157.4 ns)
@meteficha
meteficha / t.hs
Created Apr 15, 2013
Exceptions that should be caught... aren't
View t.hs
{-# LANGUAGE DeriveDataTypeable #-}
import Prelude hiding (catch)
import Control.Concurrent
import Control.Exception
import Control.Monad
import Data.Typeable
@meteficha
meteficha / a.c
Created Jul 30, 2012 — forked from danielsaad/Source Code
Realloc copy operations
View a.c
#include <stdio.h>
#include <stdlib.h>
const size_t MAX_SIZE = 1024*1024*1024; /* 1 GiB */
int main(){
void* ptr=NULL;
void* decoy=NULL;
void* last;
int n=0;