Skip to content

Instantly share code, notes, and snippets.

@ms705
ms705 / gist:af0a71984ca28d9f3cfafa8c93f095c0
Created December 7, 2019 07:23
Facebook RFP deadline time proof
See https://twitter.com/ms705/status/1203211193965588480 for context.
malte@eucleia:~/Grants/2020-facebook(git)$ sha256sum proposal.pdf
cbaac38488aee797f6c27aa11042e7a6d3372bd29c14ed1d9a7c9e04e0d4b44b proposal.pdf
malte@eucleia:~/Grants/2020-facebook(git)$ sha256sum budget.pdf
d5ff9971d8b8604f4109d85f8ac0cb9147e1a47400fc7b60ee61d1259db17103 budget.pdf
malte@eucleia:~/Grants/2020-facebook(git)$ sha256sum cv.pdf
8a160b9acec48ac2bff7e92dfbf0acbad86aa147ca5e4927de7b6aac8eb37ffd cv.pdf
@ms705
ms705 / ex.cpp
Created November 23, 2019 00:13
C++ SoftPtr example
#include <functional>
#include <stdio.h>
template <class T> class SoftPtr {
public:
SoftPtr(T *inner) { this->inner = inner; }
SoftPtr<T> operator*() { return SoftPtr(this->inner); }
void use(std::function<void(T &)> code) {
@ms705
ms705 / gtrace-jobevents-sample.csv
Created October 2, 2019 17:10
Google Trace job events sample
0 3418309 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 IHgtoxEBuUTHNbUeVs4hzptMY4n8rZKLbZg+Jh5fNG4= wAmgn2H74cdoMuSFwJF3NaUEaudVBTZ0/HaNZBwIpEQ=
0 3418314 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 L52XDyhi9x9ChmVBZ1qavOFmnzPeVsvQ2QyGmBZcV4s= ShNjeaoUeqGV2i9WMKEX9HTeuc9K2Fdfovibt7Mp6qI=
0 3418319 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 vq0IN3BWEbkDjYgYvkrVyH6OWoUoDwFFf3j/syEZzLA= 1A2GM17AzHRcKJcJet/oIF7FOORyFcAOcUSpR9Fqou8=
0 3418324 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 X+Vce15Yu3BCKb7Ttc6hvINAzdfG3NtYEDNNsPdMGKo= seczVo7MBfi/kH3+eH/40Hxs0l2YKFtXFnamcvMjSQI=
0 3418329 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 EeK3DUWYi1P0vgBTp7wZdUos8UKj/+/FqudTLohMQ9M= OEeQsaVr4kdGHFwQ2liQlDZ18529HEMmu6B6/3K1cBA=
0 3418334 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 noCrQkR+8CU32ibuNmNvobHFFGuXRZ2aM/ZvcMHaOg4= ys6VJLz4Tz6SJxZJ7kwAZgxPgWnQAQiGIRIMcjOfU7I=
0 3418339 0 70s3v5qRyCO/1PCdI6fVXnrW8FU/w+5CKRSa72xgcIo= 3 ORioZ5deSIAxIuzqmXo1Ivac+22YZbCucJEC0EqRbDc= vnyDEfuZHSuCdaC9/e7
@ms705
ms705 / timings.html
Created September 23, 2019 18:42
Noria Rust compile time profile
<html>
<head>
<title>Cargo Build Timings — common 0.1.0, trawler-mysql 0.1.0, noria-benchmarks 0.0.1, dataflow 0.1.0, noria 0.1.2, noria-server 0.1.0, mir 0.1.0</title>
<meta charset="utf-8">
<style type="text/css">
html {
font-family: sans-serif;
}
@ms705
ms705 / patch.diff
Last active June 2, 2016 04:01
Musketeer Ubuntu 15.10 build fix
diff --git a/scripts/setup.sh b/scripts/setup.sh
index fadd7b0..bdee030 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -14,7 +14,7 @@ BASE_PKGS="wget subversion autoconf zlib1g-dev python-pip libcurl4-gnutls-dev li
BOOST_PKGS="libboost-math-dev libboost-system-dev libboost-thread-dev libboost-regex-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev mpich2"
ANTLR_PKGS="antlr3 libantlr3c-dev"
CTEMPLATE_PKGS="libctemplate-dev"
-GOOGLE_PKGS="libgflags-dev libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler libgoogle-perftools-dev protobuf-compiler"
+GOOGLE_PKGS="libgflags-dev libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler libgoogle-glog-dev libgoogle-perftools-dev protobuf-compiler"
@ms705
ms705 / keybase.md
Created May 27, 2016 18:01
Keybase proof

Keybase proof

I hereby claim:

  • I am ms705 on github.
  • I am malte (https://keybase.io/malte) on keybase.
  • I have a public key ASCP0pRzKbEmzcakqHu1qT9xCeJgcxRh1qmX0HTMJyiilAo

To claim this, I am signing this object:

@ms705
ms705 / typos.diff
Last active August 29, 2015 14:12
Typo patch for timely dataflow post
diff --git a/_posts/2014-12-27-Timely-Dataflow.md b/_posts/2014-12-27-Timely-Dataflow.md
index 0da039d..3ead17a 100644
--- a/_posts/2014-12-27-Timely-Dataflow.md
+++ b/_posts/2014-12-27-Timely-Dataflow.md
@@ -6,7 +6,7 @@ categories: dataflow naiad
published: true
---
-Dataflow is a popular basis for many scalable computations, because the structure of the computation is committed to in advance of the execution, and the only responsibility of workers is to react to incoming data. The primary responsibility of the host system is to deliver the data to the appropriate workers, and this is an reasonably tractable task.
+Dataflow is a popular basis for many scalable computations, because the structure of the computation is committed to in advance of the execution, and the only responsibility of workers is to react to incoming data. The primary responsibility of the host system is to deliver the data to the appropriate workers, and this is a reasonably tractable task.