Skip to content

Instantly share code, notes, and snippets.

View Connoropolous's full-sized avatar

Connor Turland Connoropolous

View GitHub Profile
<!doctype html>
<html class="no-js" dir="ltr" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head prefix="og: http://ogp.me/ns#"></head>
<body vocab="http://schema.org/" typeof="WebPage" resource="#wb-webpage">
<h2 id="appendix_A">Appendix A – Complete listing of the <abbr title="General Index of Financial Information">GIFI</abbr> items</h2>
<p>The following is a complete list of <abbr title="General Index of Financial Information">GIFI</abbr> items. Some of them include more detail about the type of information you could report in the item. Some items are intended for corporations only or for partnerships only. Some items apply only to certain industry sectors or types of business.</p>
<p>If you are eligible and have chosen to use the <abbr title="General Index of Financial Information">GIFI</abbr>-Short, pay special attention to descriptions beginning with “<abbr title="General Index of Financial Information">GIFI</abbr>-Short.” If a line appearing on Form&nbsp;T1178 does not have a “<abbr title="General
info 11:13:11.411087-0700 app starting holochain
info 11:13:11.411122-0700 app 1-1
info 11:13:11.411598-0700 app 1-2
info 11:13:11.411634-0700 app 1-3
info 11:13:11.411660-0700 app 1-4
info 11:13:11.411706-0700 app 1-5
info 11:13:11.411740-0700 app 1-6
info 11:13:11.411820-0700 app 1-7
info 11:13:11.412041-0700 app 1-8
info 11:13:11.412127-0700 app 1-9
@Connoropolous
Connoropolous / matrix-stream.test.js
Last active March 8, 2020 22:03
multiply two streams by one another, producing a matrix of the two streams
const { expect } = require('chai')
const sinon = require('sinon')
const matrix = require('../libs/matrix')
const { newMockMakeContactable } = require('rsf-contactable')
const pull = require('pull-stream')
const { tap } = require('pull-tap')
const pullParamap = require('pull-paramap')
const Pushable = require('pull-pushable')

Keybase proof

I hereby claim:

  • I am connoropolous on github.
  • I am connorscott (https://keybase.io/connorscott) on keybase.
  • I have a public key ASAO8n0BIkpZzFjkKxJ2kYwvV0XtvjMiB4uRuezKxeMk-wo

To claim this, I am signing this object:

@Connoropolous
Connoropolous / log-with-panic.txt
Created January 24, 2020 19:51
Get Entry panic full log with full backtrace
> acorn-release@1.0.0 start /Users/connor/code/hbe/acorn-release
> electron .
11:48:06.658 › Using config path: /Users/connor/Library/Application Support/Acorn/conductor-config.toml
Reading DNA from ./dna/acorn-hc.dna.json
Unlocking agent keys:
Unlocking key for agent 'hc-run-agent':
Reading keystore from /Users/connor/Library/Application Support/Acorn/keystore.key
conductor: boot_from_config
Reading DNA from ./dna/acorn-hc.dna.json
This file has been truncated, but you can view the full file.
> basic-chat@1.0.0 start /Users/connor/code/holochain/ready-chat-mac-electron
> electron .
08:52:57.188 › Using config path: ./conductor-config.toml
Unlocking agent keys:
Unlocking key for agent 'test_agent1':
Reading keystore from ./keystore.key
nix-shell --run hc-app-spec-cluster-test
Finished release [optimized] target(s) in 0.40s
Installing hc v0.0.17-alpha2 (/Users/connor/code/holochain/rust/cli)
Finished release [optimized] target(s) in 0.42s
Replacing /Users/connor/code/holochain/rust/.cargo/bin/hc
Finished release [optimized] target(s) in 0.42s
Installing holochain v0.0.17-alpha2 (/Users/connor/code/holochain/rust/conductor)
Finished release [optimized] target(s) in 0.40s
Replacing /Users/connor/code/holochain/rust/.cargo/bin/holochain
npm WARN hc_cluster_test@0.0.1 No repository field.
!C0! @@ fixme publish error catch @@ Error: Cannot connect to a peer with the same peerAddress: HcSCJKYKbh7Hdggn4z4NxW6GYhh6Q83wazVH76o4bJp39h3bSQuqzyDomrgfkqz
at P2pBackendHackmodePeer._ensureConnection (/Users/distiller/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.12-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/p2p-backend-hackmode-peer.js:264:13)
at P2pBackendHackmodePeer._ensureCIdForPeerAddress (/Users/distiller/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.12-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/p2p-backend-hackmode-peer.js:305:21)
at process._tickCallback (internal/process/next_tick.js:68:7)
!C1! @@ fixme publish error catch @@ Error: Cannot connect to a peer with the same peerAddress: HcSci5QM4aBm7ake3ggieEzfzvoqp474szaAROeXRvdkxjiyO4QiORFPPxxfg4z
at P2pBackendHackmodePeer._ensureConnection (/Users/distiller/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.12-alpha/n3h.app/Contents/Resour
TAP version 13
# Can create a list
Reading DNA from dist/holochain-rust-todo.dna.json
No chain found in the store
Initializing new chain...
Starting instance "alice"...
WAITER: Action::Commit -> Action::Hold
WAITER: Action::Commit -> Action::Hold
WAITER: Action::Commit -> Action::Hold
WAITER: Action::Commit -> Action::Hold
@Connoropolous
Connoropolous / index.js
Created February 20, 2019 23:02
DHT hold rejection example
const { Config, Scenario } = require("@holochain/holochain-nodejs")
Scenario.setTape(require('tape-catch'))
const dnaPath = "./dist/bundle.json"
const agentAlice = Config.agent("alice")
const agentBob = Config.agent("bob")
const dna = Config.dna(dnaPath)
const instanceAlice = Config.instance(agentAlice, dna)
const instanceBob = Config.instance(agentBob, dna)