Skip to content

Instantly share code, notes, and snippets.

#0 0x00000000020032a8 in bfd_elf64_slurp_reloc_table ()
#1 0x0000000002005ec6 in _bfd_elf_canonicalize_reloc ()
#2 0x0000000001c441ef in HPHP::StackTraceBase::Addr2line(char const*, char const*, HPHP::StackTraceBase::Frame*, void*, void*, unsigned int) ()
#3 0x0000000001c44b8d in HPHP::StackTraceNoHeap::Translate(int, void*, int, void*, unsigned int) ()
#4 0x0000000001c45197 in HPHP::StackTraceNoHeap::log(char const*, int, char const*, int) const ()
#5 0x00000000009651c9 in HPHP::bt_handler(int) ()
#6 <signal handler called>
#7 0x000000000097ae06 in HPHP::ObjectData::release() ()
#8 0x000000000080d368 in HPHP::PackedArray::Release(HPHP::ArrayData*) ()
#9 0x00000000009e5663 in HPHP::register_intercept(HPHP::String const&, HPHP::Variant const&, HPHP::Variant const&) ()
<?php
// derp
function_call();
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
@jazzdan
jazzdan / putonglasses.txt
Last active July 28, 2016 18:29 — forked from cheeaun/putonglasses.txt
put on glasses unicode
(•_•)
( •_•)>⌐■-■
(⌐■_■)
/*
* Copyright (C) 2008-2013 Stanislaw Findeisen <[email protected]>
*
* 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 / 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;
}
@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 / -
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 / 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
# 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: