Skip to content

Instantly share code, notes, and snippets.

# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
@jazzdan
jazzdan / uppend_benchmarks.md
Last active November 30, 2017 19:17
Uppend Benchmarks

Running the benchmarks like so

./gradlew clean fatJar
java -jar build/libs/uppend-all-*.jar write ~/efs/uppend_test
Version Configuration Runtime (minutes)
master@702624 m4.2xlarge instance storage 7.5
@jazzdan
jazzdan / -
Created November 16, 2017 21:34
Printing Profile for: /home/ec2-user/log.hpl
21:33:32.388 [main] DEBUG com.insightfullogic.honest_profiler.core.Conductor - Reached end of log for FileLogSource{file=log.hpl} due to NOTHING
Number of stack traces: 7825
Flat Profile (by method):
(t 28.9,s 28.9) sun.nio.ch.FileDispatcherImpl::write0
(t 16.5,s 16.5) AGCT::Unknown not Java[ERR=-3]
(t 8.3,s 8.3) AGCT::Unknown Java[ERR=-5]
(t 5.0,s 4.9) org.apache.logging.slf4j.Log4jLogger::trace
@jazzdan
jazzdan / cracklepop.re
Last active June 4, 2017 15:15
Crackle Pop Implemented in Reason
let modulus numerator divisor => numerator - numerator / divisor * divisor;
let printNumberOrCracklePop number => {
let potentialCrackle = modulus number 3 == 0 ? "Crackle" : "";
let potentialPop = modulus number 5 == 0 ? "Pop" : "";
let potentialOutput = potentialCrackle ^ potentialPop;
if (potentialOutput == "") {
print_int number
} else {
print_string potentialOutput
@jazzdan
jazzdan / node.php
Last active February 25, 2017 22:06 — forked from anonymous/node.php
<?hh // strict
class Node {
private int $value;
public ?Node $left = null;
public ?Node $right = null;
public function __construct(int $value) {
$this->value = $value;
}
/*
* Copyright (C) 2008-2013 Stanislaw Findeisen <stf@eisenbits.com>
*
* This file is part of phphard.
*
* phphard is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
@jazzdan
jazzdan / putonglasses.txt
Last active July 28, 2016 18:29 — forked from cheeaun/putonglasses.txt
put on glasses unicode
(•_•)
( •_•)>⌐■-■
(⌐■_■)
childNodeFromParent: function(parentNode: TaxonomyNode, partialChild: Map<string, any>): Map<string, any> {
if (!partialChild.has("name")) {
throw Error("partialChild must contain a name key");
}
let newName = partialChild.get("name");
src/data/taxonomy.js:1238
1238: let newName = partialChild.get("name");
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `get`. Function cannot be called on