Skip to content

Instantly share code, notes, and snippets.

@benjaminp
benjaminp / BUG.txt
Created May 9, 2018 21:58
a Bazel memory regression
The regression can be demonstrated with the workspace in this Gist and Bazel 0.11.1 and Bazel 0.13:
$ ../bazel-0.11.1/output/bazel build --nobuild //:my-target
$ ../bazel-0.11.1/output/bazel info used-heap-size-after-gc
37MB
$ ../bazel-0.13.0/output/bazel build --nobuild //:my-target
$ ../bazel-0.13.0/output/bazel info used-heap-size-after-gc
42MB
texlive-base:i386 conflicts with texlive-binaries:i386
texlive-base:i386 conflicts with texlive-binaries:i386
texlive-base:i386 conflicts with texlive-extra-utils:i386
texlive-base:i386 conflicts with texlive-font-utils:i386
texlive-base:i386 conflicts with texlive-binaries:i386
texlive-base:i386 conflicts with texlive-extra-utils:i386
texlive-base:i386 conflicts with texlive-font-utils:i386
texlive-base:i386 conflicts with texlive-fonts-extra:i386
texlive-base:i386 conflicts with texlive-binaries:i386
texlive-base:i386 conflicts with texlive-extra-utils:i386

Keybase proof

I hereby claim:

  • I am benjaminp on github.
  • I am bp (https://keybase.io/bp) on keybase.
  • I have a public key whose fingerprint is C01E 1CAD 5EA2 C4F0 B8E3 5715 04C3 67C2 18AD D4FF

To claim this, I am signing this object:

@benjaminp
benjaminp / gs.c
Created February 2, 2015 19:15
Double Gram-Schmidt inversion
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Get A_{ij} */
#define ENT(A, n, i, j) ((A)[(n)*(i) + (j)])
static void
@benjaminp
benjaminp / gist:92c2a21c347408c350a7
Last active August 29, 2015 14:09
On Word "Sums"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.