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
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
=== 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
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
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
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
SELECT NULL::text AS pktable_cat, | |
pkn.nspname AS pktable_schem, | |
pkc.relname AS pktable_name, | |
pka.attname AS pkcolumn_name, | |
NULL::text AS fktable_cat, | |
fkn.nspname AS fktable_schem, | |
fkc.relname AS fktable_name, | |
fka.attname AS fkcolumn_name, | |
pos.n AS key_seq, | |
CASE con.confupdtype |
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
SELECT * | |
FROM ( | |
SELECT n.nspname, | |
c.relname, | |
a.attname, | |
a.atttypid, | |
a.attnotnull | |
or ( | |
t.typtype = 'd' | |
AND t.typnotnull) AS attnotnull, |
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
classid | objid | objsubid | refclassid | refobjid | refobjsubid | deptype | claname | refname | |
1247,11632,0,1259,11631,0,i,pg_type,pg_class | |
1247,11636,0,1259,11635,0,i,pg_type,pg_class | |
1247,11640,0,1259,11639,0,i,pg_type,pg_class | |
1247,11643,0,1259,11642,0,i,pg_type,pg_class | |
1247,11646,0,1259,11645,0,i,pg_type,pg_class | |
1247,11650,0,1259,11649,0,i,pg_type,pg_class | |
1247,11654,0,1259,11653,0,i,pg_type,pg_class | |
1247,11658,0,1259,11657,0,i,pg_type,pg_class |
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
[16:50]% gradle run jordan@Termato:~/repo/examples-orms/java/hibernate on hibernate | |
:compileJava UP-TO-DATE | |
:processResources UP-TO-DATE | |
:classes UP-TO-DATE | |
:run | |
Dec 06, 2016 4:50:30 PM org.hibernate.Version logVersion | |
INFO: HHH000412: Hibernate Core {5.2.0.Final} | |
Dec 06, 2016 4:50:30 PM org.hibernate.cfg.Environment <clinit> | |
INFO: HHH000206: hibernate.properties not found | |
Dec 06, 2016 4:50:30 PM org.hibernate.cfg.Environment buildBytecodeProvider |