This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I161103 22:07:55.926466 1 cli/start.go:299 CockroachDB beta-20161103-52-gb34be88 (linux amd64, built 2016/11/03 20:08:41, go1.7.3) | |
I161103 22:07:56.032814 1 cli/backtrace.go:40 backtrace disabled: stat /opt/backtrace/bin/ptrace: no such file or directory | |
I161103 22:07:56.033018 1 cli/start.go:315 starting cockroach node | |
I161103 22:07:56.033086 1 cli/start.go:317 using local environment variables: COCKROACH_SCAN_MAX_IDLE_TIME, COCKROACH_CONSISTENCY_CHECK_PANIC_ON_FAILURE | |
I161103 22:07:56.051797 1 util/metric/registry.go:80 Added metric: gossip.connections.incoming (*metric.Gauge) | |
I161103 22:07:56.051905 1 util/metric/registry.go:80 Added metric: gossip.bytes.received (*metric.Counter) | |
I161103 22:07:56.051926 1 util/metric/registry.go:80 Added metric: gossip.bytes.sent (*metric.Counter) | |
I161103 22:07:56.051941 1 util/metric/registry.go:80 Added metric: gossip.infos.received (*metric.Counter) | |
I161103 22:07:56.051958 1 util/metric/registry.go:80 Added metric: gossip.infos.sent (*metric.Counter) | |
I161103 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I161103 20:02:03.581745 1 cli/start.go:299 CockroachDB beta-20161103-50-g206dea0 (linux amd64, built 2016/11/03 19:56:32, go1.7.3) | |
I161103 20:02:03.682189 1 cli/backtrace.go:40 backtrace disabled: stat /opt/backtrace/bin/ptrace: no such file or directory | |
I161103 20:02:03.682291 1 cli/start.go:315 starting cockroach node | |
I161103 20:02:03.682335 1 cli/start.go:317 using local environment variables: COCKROACH_CONSISTENCY_CHECK_PANIC_ON_FAILURE, COCKROACH_SCAN_MAX_IDLE_TIME | |
I161103 20:02:03.683289 1 gossip/gossip.go:237 [n?] initial resolvers: [roach-ab05ac12-0:26257] | |
W161103 20:02:03.683376 1 gossip/gossip.go:1057 [n?] no incoming or outgoing connections | |
I161103 20:02:03.685166 1 sql/session.go:171 [startup,n?] , memory usage max 0 B | |
I161103 20:02:03.685213 1 sql/session.go:172 [startup,n?] , memory usage max 0 B | |
I161103 20:02:03.686746 1 storage/engine/rocksdb.go:326 opening rocksdb instance at "/data3.0" | |
I161103 20:02:03.687286 35 rpc/context.go:220 [n?] dialing roach-ab05ac12-0:26257 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm ERR! Linux 4.4.12-boot2docker | |
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--progress=false" | |
npm ERR! node v5.11.1 | |
npm ERR! npm v3.8.6 | |
npm ERR! path /go/src/github.com/cockroachdb/cockroach/ui/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv | |
npm ERR! code ENOENT | |
npm ERR! errno -2 | |
npm ERR! syscall chmod | |
npm ERR! enoent ENOENT: no such file or directory, chmod '/go/src/github.com/cockroachdb/cockroach/ui/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== RUN TestDockerJava | |
I160608 10:46:43.400021 acceptance/cluster/localcluster.go:289 Initializing Cluster java: | |
{"name":"java","nodes":[{"count":1,"stores":[{"count":1,"max_ranges":0}]}],"duration":5000000000} | |
I160608 10:46:43.401475 acceptance/cluster/docker.go:105 ImagePull cockroachdb/builder:20160526-162455 already exists | |
I160608 10:46:43.584799 acceptance/cluster/localcluster.go:590 creating certs (1024bit) in: /Users/jordan/repo/src/github.com/cockroachdb/cockroach/acceptance/.localcluster.certs.680979335 | |
I160608 10:46:43.908623 acceptance/cluster/localcluster.go:490 *** started roach0 *** | |
ui: https://192.168.99.100:32913 | |
trace: https://192.168.99.100:32913/debug/requests | |
logs: /cockroach.INFO | |
pprof: docker exec -it 0962d /bin/bash -c 'go tool pprof /cockroach <(wget --no-check-certificate -qO- https://$(hostname):8080/debug/pprof/heap)' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generate_parens(n): | |
# this is a map from (n_unclosed, n_left) to result. | |
results = {} | |
def _generate_parens(n_unclosed, n_left): | |
# if we have a memoized value already, use it | |
already_computed = results.get((n_unclosed, n_left), None) | |
if already_computed is not None: | |
return already_computed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns overtoneplay.core | |
(:use [overtone.live :only [now at ctl definst saw env-gen perc FREE midi->hz]] | |
[leipzig.scale :as scale] | |
[leipzig.melody] | |
[leipzig.canon :as canon] | |
[leipzig.live :as live] | |
[overtone.inst.sampled-piano])) | |
(def melody |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hodor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am JordanLewis on github. | |
* I am jordanlewis (https://keybase.io/jordanlewis) on keybase. | |
* I have a public key whose fingerprint is B2E4 8028 65BC 67D1 1391 DB3A 5ED3 5C78 CB78 4169 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class Foo { | |
public boolean member = true; | |
} | |
@Test | |
public void testReflectionAllocation() throws Exception { | |
Foo foo = new Foo(); | |
IdentityHashMap<Boolean, Void> set = new IdentityHashMap<Boolean, Void>(); | |
for (int i = 0; i < 100; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn combinations [options n] | |
(let [syms (into [] (repeatedly n gensym)) | |
for-bindings (into [] (interleave syms (repeat options)))] | |
(eval `(for ~for-bindings ~syms)))) |